1 2014-02-11 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8 * sysdeps/mips/dl-lookup.c: Remove.
9 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14 * math/auto-libm-test-in: Add testcase for expl.
15 * math/auto-libm-test-out: Regenerate.
16 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17 calculation of unsafe.
18 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
20 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
22 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
23 * sysdeps/unix/sysv/linux/aarch64: Move directory from
24 ports/sysdeps/unix/sysv/linux/aarch64.
25 * README: Update listing for aarch64*-*-linux-gnu.
27 2014-02-11 Will Newton <will.newton@linaro.org>
29 * manual/probes.texi (Mathematical Function Probes): Use
30 "triggered" instead of "hit".
32 2014-02-11 Will Newton <will.newton@linaro.org>
34 * manual/probes.texi (Internal Probes): Add documentation
35 of setjmp, longjmp and longjmp_target probes.
37 2014-02-11 Will Newton <will.newton@linaro.org>
39 * include/stap-probe.h: Add comment about probe argument
42 2014-02-11 Will Newton <will.newton@linaro.org>
44 * malloc/mtrace.c (attribute_hidden): Remove unused macro
45 definition. (tr_where, tr_freehook, tr_mallochook,
46 tr_reallochook, tr_memalignhook): Use ANSI protoype.
48 2014-02-11 David S. Miller <davem@davemloft.net>
50 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
53 2014-02-10 Joseph Myers <joseph@codesourcery.com>
55 * sysdeps/mips: Move directory from ports/sysdeps/mips.
56 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
57 * sysdeps/unix/sysv/linux/mips: Move directory from
58 ports/sysdeps/unix/sysv/linux/mips.
59 * README: Update listing for mips-*-linux-gnu and
62 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
64 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
65 * sysdeps/unix/sysv/linux/m68k: Move directory from
66 ports/sysdeps/unix/sysv/linux/m68k.
67 * README: Update listing for m68k-*-linux-gnu.
69 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
71 * sysdeps/tile: Move directory from ports/sysdeps/tile.
72 * sysdeps/unix/sysv/linux/generic: Move directory from
73 ports/sysdeps/unix/sysv/linux/generic.
74 * sysdeps/unix/sysv/linux/tile: Move directory from
75 ports/sysdeps/unix/sysv/linux/tile.
76 * README: Update listing for tile*-*-linux-gnu.
78 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
80 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
81 * benchtests/bench-memmem.c (simple_memmem): Likewise.
82 * catgets/open_catalog.c (__open_catalog): Likewise.
83 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
84 * debug/confstr_chk.c: Likewise.
85 * debug/fread_chk.c (__fread_chk): Likewise.
86 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
87 * debug/getgroups_chk.c: Likewise.
88 * debug/mbsnrtowcs_chk.c: Likewise.
89 * debug/mbsrtowcs_chk.c: Likewise.
90 * debug/mbstowcs_chk.c: Likewise.
91 * debug/memcpy_chk.c: Likewise.
92 * debug/memmove_chk.c: Likewise.
93 * debug/mempcpy_chk.c: Likewise.
94 * debug/memset_chk.c: Likewise.
95 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
96 * debug/strcat_chk.c (__strcat_chk): Likewise.
97 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
98 * debug/strncat_chk.c (__strncat_chk): Likewise.
99 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
100 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
101 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
102 * debug/wcpncpy_chk.c: Likewise.
103 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
104 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
105 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
106 * debug/wcsncpy_chk.c: Likewise.
107 * debug/wcsnrtombs_chk.c: Likewise.
108 * debug/wcsrtombs_chk.c: Likewise.
109 * debug/wcstombs_chk.c: Likewise.
110 * debug/wmemcpy_chk.c: Likewise.
111 * debug/wmemmove_chk.c: Likewise.
112 * debug/wmempcpy_chk.c: Likewise.
113 * debug/wmemset_chk.c: Likewise.
114 * dirent/scandirat.c (SCANDIRAT): Likewise.
115 * dlfcn/dladdr1.c (dladdr1): Likewise.
116 * dlfcn/dladdr.c (dladdr): Likewise.
117 * dlfcn/dlclose.c (dlclose_doit): Likewise.
118 * dlfcn/dlerror.c (__dlerror): Likewise.
119 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
120 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
121 * dlfcn/dlopen.c (dlopen_doit): Likewise.
122 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
123 * dlfcn/dlsym.c (dlsym_doit): Likewise.
124 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
125 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
126 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
128 * elf/dl-conflict.c: Likewise.
129 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
130 * elf/dl-dst.h: Likewise.
131 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
132 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
133 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
134 * elf/dl-init.c (call_init, _dl_init): Likewise.
135 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
136 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
137 _dl_map_object_from_fd, open_verify, open_path,
138 _dl_map_object): Likewise.
139 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
141 * elf/dl-minimal.c (__libc_memalign): Likewise.
142 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
143 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
144 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
145 * elf/dl-sym.c (do_sym): Likewise.
146 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
147 _dl_tls_get_addr_soft): Likewise.
148 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
149 * elf/dl-writev.h (_dl_writev): Likewise.
150 * elf/ldconfig.c (search_dir): Likewise.
151 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
153 * elf/setup-vdso.h (setup_vdso): Likewise.
154 * grp/compat-initgroups.c (compat_call): Likewise.
155 * grp/fgetgrent.c (fgetgrent): Likewise.
156 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
157 * grp/putgrent.c (putgrent): Likewise.
158 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
160 * hurd/hurdinit.c: Likewise.
161 * iconvdata/8bit-gap.c (struct): Likewise.
162 * iconvdata/ansi_x3.110.c : Likewise.
163 * iconvdata/big5.c : Likewise.
164 * iconvdata/big5hkscs.c : Likewise.
165 * iconvdata/cp1255.c: Likewise.
166 * iconvdata/cp1258.c : Likewise.
167 * iconvdata/cp932.c : Likewise.
168 * iconvdata/euc-cn.c: Likewise.
169 * iconvdata/euc-jisx0213.c : Likewise.
170 * iconvdata/euc-jp.c: Likewise.
171 * iconvdata/euc-jp-ms.c : Likewise.
172 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
173 * iconvdata/gb18030.c : Likewise.
174 * iconvdata/gbbig5.c (const): Likewise.
175 * iconvdata/gbgbk.c: Likewise.
176 * iconvdata/gbk.c : Likewise.
177 * iconvdata/ibm1364.c : Likewise.
178 * iconvdata/ibm930.c : Likewise.
179 * iconvdata/ibm932.c: Likewise.
180 * iconvdata/ibm933.c : Likewise.
181 * iconvdata/ibm935.c : Likewise.
182 * iconvdata/ibm937.c : Likewise.
183 * iconvdata/ibm939.c : Likewise.
184 * iconvdata/ibm943.c: Likewise.
185 * iconvdata/iso_11548-1.c: Likewise.
186 * iconvdata/iso-2022-cn.c : Likewise.
187 * iconvdata/iso-2022-cn-ext.c : Likewise.
188 * iconvdata/iso-2022-jp-3.c: Likewise.
189 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
190 * iconvdata/iso-2022-kr.c : Likewise.
191 * iconvdata/iso646.c (gconv_end): Likewise.
192 * iconvdata/iso_6937-2.c : Likewise.
193 * iconvdata/iso_6937.c : Likewise.
194 * iconvdata/iso8859-1.c: Likewise.
195 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
196 * iconvdata/shift_jisx0213.c : Likewise.
197 * iconvdata/sjis.c : Likewise.
198 * iconvdata/t.61.c : Likewise.
199 * iconvdata/tcvn5712-1.c : Likewise.
200 * iconvdata/tscii.c: Likewise.
201 * iconvdata/uhc.c : Likewise.
202 * iconvdata/unicode.c (gconv_end): Likewise.
203 * iconvdata/utf-16.c (gconv_end): Likewise.
204 * iconvdata/utf-32.c (gconv_end): Likewise.
205 * iconvdata/utf-7.c (base64): Likewise.
206 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
207 * iconv/gconv_close.c (__gconv_close): Likewise.
208 * iconv/gconv_open.c (__gconv_open): Likewise.
209 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
210 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
211 internal_ucs4le_loop_single, ucs4le_internal_loop,
212 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
213 * iconv/iconv.c (iconv): Likewise.
214 * iconv/iconv_close.c: Likewise.
215 * iconv/loop.c (SINGLE): Likewise.
216 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
217 * include/atomic.h: Likewise.
218 * inet/inet6_option.c (option_alloc): Likewise.
219 * intl/bindtextdom.c (set_binding_values): Likewise.
220 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
221 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
222 * intl/localealias.c (read_alias_file): Likewise.
223 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
224 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
225 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
226 * libio/fmemopen.c (fmemopen): Likewise.
227 * libio/iofgets.c (_IO_fgets): Likewise.
228 * libio/iofgets_u.c (fgets_unlocked): Likewise.
229 * libio/iofgetws.c (fgetws): Likewise.
230 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
231 * libio/iogetdelim.c (_IO_getdelim): Likewise.
232 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
233 adjust_wide_data, _IO_wfile_seekoff): Likewise.
234 * locale/findlocale.c (_nl_find_locale): Likewise.
235 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
236 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
238 * locale/setlocale.c (setlocale): Likewise.
239 * login/programs/pt_chown.c (main): Likewise.
240 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
241 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
242 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
243 mmap, mmap64, mremap, munmap): Likewise.
244 * math/e_exp2l.c: Likewise.
245 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
246 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
247 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
248 * math/s_catan.c (__catan): Likewise.
249 * math/s_catanf.c (__catanf): Likewise.
250 * math/s_catanh.c (__catanh): Likewise.
251 * math/s_catanhf.c (__catanhf): Likewise.
252 * math/s_catanhl.c (__catanhl): Likewise.
253 * math/s_catanl.c (__catanl): Likewise.
254 * math/s_ccosh.c (__ccosh): Likewise.
255 * math/s_ccoshf.c (__ccoshf): Likewise.
256 * math/s_ccoshl.c (__ccoshl): Likewise.
257 * math/s_cexp.c (__cexp): Likewise.
258 * math/s_cexpf.c (__cexpf): Likewise.
259 * math/s_cexpl.c (__cexpl): Likewise.
260 * math/s_clog10.c (__clog10): Likewise.
261 * math/s_clog10f.c (__clog10f): Likewise.
262 * math/s_clog10l.c (__clog10l): Likewise.
263 * math/s_clog.c (__clog): Likewise.
264 * math/s_clogf.c (__clogf): Likewise.
265 * math/s_clogl.c (__clogl): Likewise.
266 * math/s_csin.c (__csin): Likewise.
267 * math/s_csinf.c (__csinf): Likewise.
268 * math/s_csinh.c (__csinh): Likewise.
269 * math/s_csinhf.c (__csinhf): Likewise.
270 * math/s_csinhl.c (__csinhl): Likewise.
271 * math/s_csinl.c (__csinl): Likewise.
272 * math/s_csqrt.c (__csqrt): Likewise.
273 * math/s_csqrtf.c (__csqrtf): Likewise.
274 * math/s_csqrtl.c (__csqrtl): Likewise.
275 * math/s_ctan.c (__ctan): Likewise.
276 * math/s_ctanf.c (__ctanf): Likewise.
277 * math/s_ctanh.c (__ctanh): Likewise.
278 * math/s_ctanhf.c (__ctanhf): Likewise.
279 * math/s_ctanhl.c (__ctanhl): Likewise.
280 * math/s_ctanl.c (__ctanl): Likewise.
281 * math/w_pow.c: Likewise.
282 * math/w_powf.c: Likewise.
283 * math/w_powl.c: Likewise.
284 * math/w_scalb.c (sysv_scalb): Likewise.
285 * math/w_scalbf.c (sysv_scalbf): Likewise.
286 * math/w_scalbl.c (sysv_scalbl): Likewise.
287 * misc/error.c (error_tail): Likewise.
288 * misc/pselect.c (__pselect): Likewise.
289 * nis/nis_callback.c (__nis_create_callback): Likewise.
290 * nis/nis_call.c (__nisfind_server): Likewise.
291 * nis/nis_creategroup.c (nis_creategroup): Likewise.
292 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
293 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
294 * nis/nis_getservlist.c (nis_getservlist): Likewise.
295 * nis/nis_lookup.c (nis_lookup): Likewise.
296 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
297 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
298 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
299 * nis/nis_xdr.c (xdr_endpoint): Likewise.
300 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
301 internal_getgrgid_r): Likewise.
302 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
304 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
305 internal_getpwuid_r): Likewise.
306 * nis/nss_compat/compat-spwd.c (getspent_next_file,
307 internal_getspnam_r): Likewise.
308 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
309 _nss_nis_getaliasbyname_r): Likewise.
310 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
311 _nss_nis_getntohost_r): Likewise.
312 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
313 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
315 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
316 internal_nis_gethostent_r, internal_gethostbyname2_r,
317 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
318 _nss_nis_gethostbyname4_r): Likewise.
319 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
320 initgroups_netid): Likewise.
321 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
322 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
323 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
324 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
325 _nss_nis_getprotobynumber_r): Likewise.
326 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
327 _nss_nis_getsecretkey): Likewise.
328 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
329 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
331 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
332 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
333 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
334 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
335 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
336 _nss_nis_getspnam_r): Likewise.
337 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
339 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
340 _nss_nisplus_getntohost_r): Likewise.
341 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
342 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
343 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
344 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
345 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
347 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
348 _nss_nisplus_getnetbyaddr_r): Likewise.
349 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
350 _nss_nisplus_getprotobynumber_r): Likewise.
351 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
352 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
353 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
355 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
356 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
357 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
358 _nss_nisplus_getspnam_r): Likewise.
359 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
360 * nscd/aicache.c (addhstaiX): Likewise.
361 * nscd/cache.c (cache_search, prune_cache): Likewise.
362 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
363 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
364 * nscd/grpcache.c (addgrbyX): Likewise.
365 * nscd/hstcache.c (addhstbyX): Likewise.
366 * nscd/initgrcache.c (addinitgroupsX): Likewise.
367 * nscd/mem.c (gc, mempool_alloc): Likewise.
368 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
370 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
372 * nscd/nscd_getai.c (__nscd_getai): Likewise.
373 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
374 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
376 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
377 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
378 * nscd/nscd_helper.c (__readvall, open_socket,
379 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
380 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
381 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
382 * nscd/pwdcache.c (addpwbyX): Likewise.
383 * nscd/selinux.c (preserve_capabilities): Likewise.
384 * nscd/servicescache.c (addservbyX): Likewise.
385 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
386 * posix/fnmatch.c (fnmatch): Likewise.
387 * posix/getopt.c (_getopt_internal_r): Likewise.
388 * posix/glob.c (glob, glob_in_dir): Likewise.
389 * posix/wordexp.c (exec_comm_child): Likewise.
390 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
391 gaih_getanswer_slice): Likewise.
392 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
393 * resolv/res_init.c: Likewise.
394 * resolv/res_mkquery.c (res_nmkquery): Likewise.
395 * resolv/res_query.c (__libc_res_nquery): Likewise.
396 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
398 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
399 * stdio-common/perror.c (perror): Likewise.
400 * stdio-common/printf_fp.c (___printf_fp): Likewise.
401 * stdio-common/tmpnam.c (tmpnam): Likewise.
402 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
403 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
404 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
405 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
406 * stdlib/putenv.c (putenv): Likewise.
407 * stdlib/setenv.c (__add_to_environ): Likewise.
408 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
409 * stdlib/strtol_l.c (INTERNAL): Likewise.
410 * string/memmem.c (memmem): Likewise.
411 * string/strerror.c (strerror): Likewise.
412 * string/strnlen.c (__strnlen): Likewise.
413 * string/test-memmem.c (simple_memmem): Likewise.
414 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
415 * sunrpc/pm_getport.c (__get_socket): Likewise.
416 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
417 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
418 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
419 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
421 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
422 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
423 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
424 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
425 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
426 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
427 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
428 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
429 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
430 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
431 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
432 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
433 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
434 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
435 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
436 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
437 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
438 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
439 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
441 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
443 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
445 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
446 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
447 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
448 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
449 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
450 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
451 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
452 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
453 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
454 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
455 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
456 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
457 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
458 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
459 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
460 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
461 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
463 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
465 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
467 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
468 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
469 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
471 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
472 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
473 * sysdeps/posix/opendir.c (__opendirat): Likewise.
474 * sysdeps/posix/sleep.c: Likewise.
475 * sysdeps/posix/tempname.c: Likewise.
476 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
477 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
479 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
480 elf_machine_rela): Likewise.
481 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
482 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
483 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
484 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
486 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
487 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
488 elf_machine_rela, elf_machine_lazy_rel): Likewise.
489 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
490 elf_machine_rela, elf_machine_lazy_rel): Likewise.
491 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
492 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
493 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
494 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
495 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
496 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
497 elf_machine_lazy_rel): Likewise.
498 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
499 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
500 elf_machine_lazy_rel): Likewise.
501 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
502 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
503 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
504 * sysdeps/unix/grantpt.c (grantpt): Likewise.
505 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
506 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
507 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
508 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
510 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
511 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
512 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
513 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
514 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
515 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
516 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
517 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
518 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
519 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
520 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
522 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
523 (__posix_fallocate64_l64): Likewise.
524 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
525 (posix_fallocate): Likewise.
526 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
527 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
528 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
529 getifaddrs_internal): Likewise.
530 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
531 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
532 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
533 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
534 * sysdeps/unix/sysv/linux/posix_fallocate64.c
535 (__posix_fallocate64_l64): Likewise.
536 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
538 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
539 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
541 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
542 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
543 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
544 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
545 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
546 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
547 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
548 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
550 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
551 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
552 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
553 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
554 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
555 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
556 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
558 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
559 (posix_fallocate): Likewise.
560 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
561 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
562 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
563 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
564 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
566 * time/asctime.c (asctime_internal): Likewise.
567 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
568 * time/tzset.c (__tzset_parse_tz): Likewise.
569 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
570 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
571 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
572 * wcsmbs/wcsmbsload.h: Likewise.
574 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
577 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
579 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
581 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
582 arena_get2): Remove THREAD_STATS conditionals.
583 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
584 __malloc_stats, int): Likewise.
586 2014-02-08 Mike Frysinger <vapier@gentoo.org>
588 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
589 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
591 2014-02-08 Mike Frysinger <vapier@gentoo.org>
593 * manual/setjmp.texi: Fix typos/grammar errors.
595 2014-02-08 Mike Frysinger <vapier@gentoo.org>
597 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
598 Only return early when n is <= 0. Delete unused return statement.
600 2014-02-08 Mike Frysinger <vapier@gentoo.org>
602 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
603 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
604 * debug/tst-longjmp_chk3.c: New file.
606 2014-02-08 Mike Frysinger <vapier@gentoo.org>
608 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
609 (test_main): Replace code with set_fortify_handler call.
610 * debug/test-strcpy_chk.c: Likewise.
611 * debug/tst-chk1.c: Likewise.
612 * debug/tst-longjmp_chk.c: Likewise.
613 * test-skeleton.c: Include fcntl.h & paths.h
614 (set_fortify_handler): Define.
616 2014-02-08 Mike Frysinger <vapier@gentoo.org>
618 * debug/tst-longjmp_chk.c: Add header comment and include
620 (do_test): Mark static.
621 (TEST_FUNCTION): Define.
623 2014-02-08 Mike Frysinger <vapier@gentoo.org>
625 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
626 (IP_PMTUDISC_INTERFACE): Likewise.
627 (IP_MULTICAST_IF): Likewise.
628 (IP_MULTICAST_TTL): Likewise.
629 (IP_MULTICAST_LOOP): Likewise.
630 (IP_ADD_MEMBERSHIP): Likewise.
631 (IP_DROP_MEMBERSHIP): Likewise.
632 (IP_UNBLOCK_SOURCE): Likewise.
633 (IP_BLOCK_SOURCE): Likewise.
634 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
635 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
636 (IP_MSFILTER): Likewise.
637 (MCAST_JOIN_GROUP): Likewise.
638 (MCAST_BLOCK_SOURCE): Likewise.
639 (MCAST_UNBLOCK_SOURCE): Likewise.
640 (MCAST_LEAVE_GROUP): Likewise.
641 (MCAST_JOIN_SOURCE_GROUP): Likewise.
642 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
643 (MCAST_MSFILTER): Likewise.
644 (IP_MULTICAST_ALL): Likewise.
645 (IP_UNICAST_IF): Likewise.
647 2014-02-08 Mike Frysinger <vapier@gentoo.org>
649 * timezone/Makefile: Delete $(have-ksh) check.
650 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
651 * timezone/tzselect.ksh: Add +x mode bits.
653 2014-02-08 Mike Frysinger <vapier@gentoo.org>
655 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
656 (ANON_INODE_FS_MAGIC): Likewise.
657 (BDEVFS_MAGIC): Likewise.
658 (BINFMTFS_MAGIC): Likewise.
659 (BTRFS_TEST_MAGIC): Likewise.
660 (CRAMFS_MAGIC_WEND): Likewise.
661 (DEBUGFS_MAGIC): Likewise.
662 (ECRYPTFS_SUPER_MAGIC): Likewise.
663 (EXT3_SUPER_MAGIC): Likewise.
664 (EXT4_SUPER_MAGIC): Likewise.
665 (FUTEXFS_SUPER_MAGIC): Likewise.
666 (HOSTFS_SUPER_MAGIC): Likewise.
667 (HUGETLBFS_MAGIC): Likewise.
668 (MINIX3_SUPER_MAGIC): Likewise.
669 (MTD_INODE_FS_MAGIC): Likewise.
670 (NILFS_SUPER_MAGIC): Likewise.
671 (OPENPROM_SUPER_MAGIC): Likewise.
672 (PIPEFS_MAGIC): Likewise.
673 (PSTOREFS_MAGIC): Likewise.
674 (QNX6_SUPER_MAGIC): Likewise.
675 (RAMFS_MAGIC): Likewise.
676 (REISERFS_SUPER_MAGIC_STRING): Likewise.
677 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
678 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
679 (SECURITYFS_MAGIC): Likewise.
680 (SELINUX_MAGIC): Likewise.
681 (SMACK_MAGIC): Likewise.
682 (SOCKFS_MAGIC): Likewise.
683 (SQUASHFS_MAGIC): Likewise.
684 (STACK_END_MAGIC): Likewise.
685 (TMPFS_MAGIC): Likewise.
686 (USBDEVICE_SUPER_MAGIC): Likewise.
687 (V9FS_MAGIC): Likewise.
688 (XENFS_SUPER_MAGIC): Likewise.
689 (CRAMFS_MAGIC): Fix typo in comment.
690 (EXT2_SUPER_MAGIC): Update comment.
691 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
693 2014-02-08 Joseph Myers <joseph@codesourcery.com>
695 * sysdeps/arm: Move directory from ports/sysdeps/arm.
696 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
697 * sysdeps/unix/sysv/linux/arm: Move directory from
698 ports/sysdeps/unix/sysv/linux/arm.
699 * README: Update listing for arm-*-linux-gnueabi.
701 * README: Remove mention of am33.
703 2014-02-07 Roland McGrath <roland@hack.frob.com>
705 * bits/sigset.h (__sigemptyset): Use a statement expression rather
706 than the comma operator, to avoid "rhs of comma has no effect"
708 (__sigfillset, __sigandset, __sigorset): Likewise.
709 * include/signal.h (__sigemptyset): Likewise.
710 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
712 2014-02-07 Allan McRae <allan@archlinux.org>
714 * version.h (RELEASE): Set to "development".
715 (VERSION): Set to "2.19.90"
716 * NEWS: Add 2.20 section.
718 2014-02-06 Carlos O'Donell <carlos@redhat.com>
721 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
723 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
725 * manual/contrib.texi: Update entry for Carlos O'Donell,
726 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
728 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
730 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
732 * sysdeps/unix/sysv/linux/kernel-features.h
733 [__LINUX_KERNEL_VERSION >= 0x020621]
734 (__ASSUME_PROC_PID_TASK_COMM): Define.
736 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
738 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
739 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
740 Leonard and Allan McRae.
742 2014-02-04 David S. Miller <davem@davemloft.net>
744 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
747 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
776 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
778 * nptl/shlib-versions: Change powerpc*le start to 2.17.
779 * shlib-versions: Likewise.
781 2014-02-04 Roland McGrath <roland@hack.frob.com>
782 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
784 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
785 (abilist-pattern): New variable, set to %-le.abilist.
787 * Makerules (abilist-pattern): New variable.
788 (vpath): Use $(abilist-pattern) in place of %.abilist.
789 (check-abi-% pattern rule): Likewise.
790 (check-abi, update-abi): Likewise.
792 2014-02-04 Eric Wong <normalperson@yhbt.net>
794 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
796 2014-02-04 Eric Wong <normalperson@yhbt.net>
798 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
800 2014-02-03 Carlos O'Donell <carlos@redhat.com>
802 * manual/startup.texi: Add next, previous, and top entries for
803 the `Program Arguments' and `Environment Variables' nodes.
805 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
807 * manual/macros.texi: Add comments before MTASC-safety macros.
809 * manual/users.texi: Document MTASC-safety properties.
811 * manual/threads.texi (pthread_key_create, pthread_key_delete,
812 pthread_getspecific, pthread_setspecific): Format with
813 @deftypefun, and add @safety note.
814 * manual/signal.texi: Move comments that analyze the above
815 functions to their home place.
817 2014-02-03 Allan McRae <allan@archlinux.org>
819 * po/sl.po: Update Slovenian translation from translation project.
821 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
823 * manual/time.texi (timegm): Add missing blank after @c.
824 Reported by Joseph Myers <joseph@codesourcery.com>.
826 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
828 * manual/check-safety.sh: New.
829 * manual/Makefile ($(objpfx)stamp-summary): Run it.
831 * manual/terminal.texi: Document MTASC-safety properties.
833 * manual/filesys.texi: Document MTASC-safety properties.
835 * manual/errno.texi: Document MTASC-safety properties.
837 * manual/intro.texi: Document safety identifiers and
840 * manual/string.texi (wcstok): Fix prototype.
841 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
843 * manual/time.texi: Document MTASC-safety properties.
845 * manual/string.texi: Document MTASC-safety properties.
847 * manual/threads.texi: Document MTASC-safety properties.
849 * manual/stdio.texi: Document MTASC-safety properties.
851 * manual/syslog.texi: Document MTASC-safety properties.
853 * manual/sysinfo.texi: Document MTASC-safety properties.
855 * manual/startup.texi: Document MTASC-safety properties.
857 * manual/socket.texi: Document MTASC-safety properties.
859 * manual/signal.texi: Document MTASC-safety properties.
861 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
863 * manual/setjmp.texi: Document MTASC-safety properties.
865 * manual/search.texi: Document MTASC-safety properties.
867 * manual/resource.texi: Document MTASC-safety properties.
869 * manual/process.texi: Document MTASC-safety properties.
871 * manual/platform.texi: Document MTASC-safety properties.
873 * manual/pipe.texi: Document MTASC-safety properties.
875 * manual/pattern.texi: Document MTASC-safety properties.
877 * manual/message.texi: Document MTASC-safety properties.
880 * manual/memory.texi: Document MTASC-safety properties.
882 * manual/math.texi: Document MTASC-safety properties.
884 * manual/locale.texi: Document MTASC-safety properties.
886 * manual/llio.texi: Document MTASC-safety properties.
888 * manual/libdl.texi: New.
890 * manual/lang.texi: Document MTASC-safety properties.
892 * manual/job.texi: Document MTASC-safety properties.
894 * manual/getopt.texi: Document MTASC-safety properties.
896 * manual/ctype.texi: Document MTASC-safety properties.
898 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
901 * csu/libc-tls.c (static_map): Remove variable.
902 (__libc_setup_tls): Use main executable's link map for TLS data.
903 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
904 casing for LM_ID_BASE and GL(dl_nns).
905 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
906 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
907 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
908 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
909 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
911 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
914 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
916 * manual/debug.texi: Document MTASC-safety properties.
918 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
921 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
922 of __x86_64__ when disabling x87 inline functions.
924 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
926 * manual/charset.texi: Document MTASC-safety properties.
928 * manual/crypt.texi: Document MTASC-safety properties.
930 * manual/conf.texi: Document MTASC-safety properties.
932 * manual/arith.texi: Document MTASC-safety properties.
934 * manual/argp.texi: Document MTASC-safety properties.
936 * manual/macros.texi: Introduce macros to document multi
937 thread, asynchronous signal and asynchronous cancellation
939 * manual/intro.texi: Introduce the properties themselves.
941 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
943 * sysdeps/sh/sh4/Makefile: New file.
945 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
947 * math/gen-libm-test.pl ($srcdir): New variable.
948 ($auto_input): Use it.
950 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
953 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
954 access beyond array bounds when parsing netgroups file.
956 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
957 the old buffer before realloc.
959 2014-01-27 Allan McRae <allan@archlinux.org>
961 * po/fr.po: Update French translation from translation project.
963 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
965 * sysdeps/sh/libm-test-ulps: Regenerate.
967 2014-01-24 David S. Miller <davem@davemloft.net>
969 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
971 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
973 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
974 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
976 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
979 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
980 string pointers after reallocation.
982 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
984 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
985 __SH4A__ instead of __SH_FPU_ANY__.
987 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
989 * sysdeps/sh/fpu_control.h: New file.
990 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
991 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
992 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
993 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
994 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
995 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
996 * sysdeps/sh/sys/ucontext.h: Remove.
997 * sysdeps/sh/sys: Remove directory.
999 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1001 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
1002 s390/sys/ucontext.h.
1003 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1004 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1006 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
1009 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
1011 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1014 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1015 Adjust the vDSO correctly for internal calls.
1016 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1018 2014-01-20 Allan McRae <allan@archlinux.org>
1020 * po/ca.po: Update Catalan translation from translation project.
1022 2014-01-16 Mike Frysinger <vapier@gentoo.org>
1024 * sysdeps/s390/sotruss-lib.c: New file.
1026 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1029 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
1030 (__GI___gettimeofday): Alias for a different internal symbol to avoid
1031 local calls issues by not having a PLT stub required for IFUNC calls.
1032 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
1034 2014-01-16 Joseph Myers <joseph@codesourcery.com>
1036 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
1037 * math/test-fpucw-static.c: Likewise.
1039 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1042 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1044 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1046 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1047 implementation for powerpc.
1049 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
1052 * sysdeps/posix/system.c (__libc_system): Do not enable
1053 asynchronous cancellation.
1055 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1058 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1059 handling only for numbers special also in the IEEE case.
1061 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1063 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1065 2014-01-11 Allan McRae <allan@archlinux.org>
1067 * po/bg.po: Update Bulgarian translation from translation project.
1069 * po/de.po: Update German translation from translation project.
1071 2014-01-10 Roland McGrath <roland@hack.frob.com>
1073 * sysdeps/generic/gcc-compat.h: New file.
1075 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1077 * benchtests/asin-inputs: Correct slow inputs.
1078 * benchtests/acos-inputs: Likewise.
1080 2014-01-10 Allan McRae <allan@archlinux.org>
1082 * po:sv.po: Update Swedish translation from translation project.
1084 * po/vi.po: Update Vietnamese translation from translation project.
1086 * po/eo.po: Update Esperanto translation from translation project.
1088 * po/cs.po: Update Czech translation from translation project.
1090 * po/nl.po: Update Dutch translation from translation project.
1092 * po/pl.po: Update Polish translation from translation project.
1094 * po/ru.po: Update Russian translation from translation project.
1096 * po/uk.po: Update Ukrainian translation from translation project.
1098 2014-01-08 Brooks Moses <bmoses@google.com>
1100 * elf/dl-load.c: Fix comment typo.
1102 2014-01-08 Carlos O'Donell <carlos@redhat.com>
1104 * po/header.pot: Rename to...
1105 * po/pot.header: ... this.
1106 * po/Makefile: Use pot.header.
1108 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
1109 Maxim Kuvyrkov <maxim@kugelworks.com>
1112 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
1113 SRC and DEST against LEN.
1115 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1118 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
1120 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
1122 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1126 2014-01-08 Joseph Myers <joseph@codesourcery.com>
1129 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
1130 for large positive arguments.
1132 2014-01-07 Joseph Myers <joseph@codesourcery.com>
1134 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1136 * math/auto-libm-test-in: Mark various tests with
1137 xfail-rounding:ldbl-128ibm.
1138 * math/auto-libm-test-out: Regenerated.
1141 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1142 Increase overflow threshold.
1144 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
1147 * stdio-common/vfprintf.c: Check for integer overflow.
1149 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1151 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
1152 the first argument and return value of __tls_get_addr_internal.
1154 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1156 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
1157 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
1159 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1161 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
1162 * sysdeps/s390/rtld-global-offsets.sym: New file.
1163 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
1165 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
1166 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
1167 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1169 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
1170 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1176 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
1177 halfs of GPRs for high_gprs contexts.
1178 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
1179 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
1181 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
1183 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
1185 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
1186 for high GPRs (uc_high_gprs) and for future extensions
1188 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
1189 for future extensions (__reserved).
1190 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
1192 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
1193 SC_HIGHGPRS offset definition.
1194 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
1195 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
1197 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1199 * Versions.def: Add GLIBC_2.19 for libpthread.
1200 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
1201 siglongjmp for libpthread with GLIBC_2.19 symver.
1202 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
1203 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
1204 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
1205 * sysdeps/s390/__longjmp.c: New file.
1206 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
1207 * sysdeps/s390/longjmp.c: New file.
1208 * sysdeps/s390/setjmp.S: New file.
1209 * sysdeps/s390/sigjmp.S: New file.
1210 * sysdeps/s390/v1-longjmp.c: New file.
1211 * sysdeps/s390/v1-setjmp.h: New file.
1212 * sysdeps/s390/v1-sigjmp.c: New file.
1213 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
1214 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
1216 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
1217 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
1218 versioned symbols for ____longjmp_chk.
1219 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1229 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
1230 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
1231 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
1232 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
1233 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
1234 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
1235 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
1236 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
1237 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
1238 * sysdeps/s390/rtld-__longjmp.c: New file.
1239 * sysdeps/s390/rtld-setjmp.S: New file.
1241 2014-01-06 Joseph Myers <joseph@codesourcery.com>
1244 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1245 Return -__logl (x) for small positive arguments without evaluating
1248 2014-01-06 Mike Frysinger <vapier@gentoo.org>
1250 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
1252 (__ptrace_peeksiginfo_args): ... this.
1253 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1254 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1255 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1257 2014-01-06 Allan McRae <allan@archlinux.org>
1259 * inet/netinet/in.h: Fix typo in comment.
1261 2014-01-05 Andreas Jaeger <aj@suse.de>
1263 * sysdeps/i386/fpu/libm-test-ulps: Update.
1265 2014-01-05 Allan McRae <allan@archlinux.org>
1267 * po/libc.pot: Regenerated.
1269 * malloc/memusagestat.c: Fix gettext call formatting.
1271 2014-01-04 Sami Kerola <kerolasa@iki.fi>
1273 * nscd/nscd.c: Improve usage() output.
1275 2014-01-04 Mike Frysinger <vapier@gentoo.org>
1277 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
1278 * sysdeps/unix/sysv/linux/configure: Regenerated.
1279 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
1280 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
1282 2014-01-03 Joseph Myers <joseph@codesourcery.com>
1285 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1286 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
1288 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1290 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
1291 extra tokens at end of #undef directive.
1292 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
1293 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
1294 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1296 2014-01-03 Joseph Myers <joseph@codesourcery.com>
1298 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1300 * math/auto-libm-test-in: Mark various tests with
1301 xfail-rounding:ldbl-128ibm.
1302 * math/auto-libm-test-out: Regenerated.
1304 2014-01-02 Joseph Myers <joseph@codesourcery.com>
1307 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
1308 numbers with subnormal high part when calculating exponent.
1311 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
1315 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
1317 (__ieee754_acoshl): Use __log1pl not __log1p.
1319 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
1321 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
1322 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
1323 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
1324 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
1325 Convert to GNU style.
1326 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
1327 mem2mem_check, mem2chunk_check, top_check, realloc_check,
1328 memalign_check, __malloc_set_state): Likewise.
1329 * malloc/mallocbug.c (main): Likewise.
1330 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
1331 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
1332 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
1333 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
1334 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
1335 * malloc/malloc.h: Likewise.
1336 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
1337 memalignhook, reallochook, mabort): Likewise.
1338 * malloc/mcheck.h: Likewise.
1339 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
1340 mmap64, mremap, munmap, dest): Likewise.
1341 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
1342 * malloc/morecore.c (__default_morecore): Likewise.
1343 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
1344 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
1345 _obstack_allocated_p, obstack_free, _obstack_memory_used,
1346 print_and_abort): Likewise.
1347 * malloc/obstack.h: Likewise.
1348 * malloc/set-freeres.c (__libc_freeres): Likewise.
1349 * malloc/tst-mallocstate.c (main): Likewise.
1350 * malloc/tst-mtrace.c (main): Likewise.
1351 * malloc/tst-realloc.c (do_test): Likewise.
1353 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1356 * nscd/netgroupcache.c (do_notfound): New function.
1357 (addgetnetgrentX): Use it.
1360 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
1361 NSS_STATUS_NOTFOUND.
1363 2014-01-01 Joseph Myers <joseph@codesourcery.com>
1365 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1368 2014-01-01 Allan McRae <allan@archlinux.org>
1370 * scripts/update-copyrights: Update configure input file suffix.
1372 * NEWS: Update copyright year.
1373 * catgets/gencat.c: Likewise.
1374 * csu/version.c: Likewise.
1375 * debug/catchsegv.sh: Likewise.
1376 * debug/pcprofiledump.c: Likewise.
1377 * debug/xtrace.sh: Likewise.
1378 * elf/ldconfig.c: Likewise.
1379 * elf/ldd.bash.in: Likewise.
1380 * elf/pldd.c: Likewise.
1381 * elf/sotruss.ksh: Likewise.
1382 * elf/sprof.c: Likewise.
1383 * iconv/iconv_prog.c: Likewise.
1384 * iconv/iconvconfig.c: Likewise.
1385 * locale/programs/locale.c: Likewise.
1386 * locale/programs/localedef.c: Likewise.
1387 * login/programs/pt_chown.c: Likewise.
1388 * malloc/memusage.sh: Likewise.
1389 * malloc/memusagestat.c: Likewise.
1390 * malloc/mtrace.pl: Likewise.
1391 * manual/libc.texinfo: Likewise.
1392 * nscd/nscd.c: Likewise.
1393 * nss/getent.c: Likewise.
1394 * nss/makedb.c: Likewise.
1395 * posix/getconf.c: Likewise.
1396 * scripts/test-installation.pl: Likewise.
1398 * All files with FSF copyright notices: Update copyright dates
1399 using scripts/update-copyrights.
1400 * intl/plural.c: Regenerated.
1401 * locale/programs/charmap-kw.h: Likewise.
1402 * locale/programs/locfile-kw.h: Likewise.
1404 2013-12-31 Mike Frysinger <vapier@gentoo.org>
1406 * sysdeps/unix/sysv/linux/configure: Regenerated.
1407 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
1408 the linux/fanotify.h header.
1409 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
1410 HAVE_LINUX_FANOTIFY_H is defined.
1412 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1414 * benchtests/cos-inputs: New inputs.
1415 * benchtests/sin-inputs: Likewise.
1417 * benchtests/atan-inputs: New inputs. Fix name of multiple
1418 precision fallback inputs.
1420 * benchtests/atanh-inputs: New inputs.
1421 * benchtests/tanh-inputs: Likewise.
1423 * benchtests/acosh-inputs: New inputs.
1424 * benchtests/asinh-inputs: Likewise.
1426 * benchtests/cosh-inputs: New inputs.
1427 * benchtests/sinh-inputs: Likewise.
1429 * benchtests/acos-inputs: Add more inputs.
1430 * benchtests/asin-inputs: Likewise.
1432 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
1435 * manual/arith.texi: Fix spelling.
1436 * manual/charset.texi: Likewise.
1437 * manual/errno.texi: Likewise.
1438 * manual/filesys.texi: Likewise.
1439 * manual/lang.texi: Likewise.
1440 * manual/llio.texi: Likewise.
1441 * manual/locale.texi: Likewise.
1442 * manual/message.texi: Likewise.
1443 * manual/resource.texi: Likewise.
1444 * manual/search.texi: Likewise.
1445 * manual/setjmp.texi: Likewise.
1446 * manual/stdio.texi: Likewise.
1447 * manual/string.texi: Likewise.
1448 * manual/sysinfo.texi: Likewise.
1449 * manual/time.texi: Likewise.
1451 2013-12-27 Carlos O'Donell <carlos@redhat.com>
1453 * po/sl.po: New file.
1455 2013-12-27 Mike Frysinger <vapier@gentoo.org>
1457 * .gitignore: Add core/.gdbinit/.gdb_history.
1459 2013-12-27 Allan McRae <allan@archlinux.org>
1462 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
1463 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
1465 2013-12-24 Brooks Moses <bmoses@google.com>
1467 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
1468 all compilers that claim C++98 compliance, not just GCC.
1469 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1472 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
1474 * NEWS: Restore accidentally deleted bug-fix entries.
1476 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
1477 Ondřej Bílka <neleai@seznam.cz>
1480 * malloc/malloc.c (_int_free): Perform sanity check only if we
1483 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
1486 * manual/stdio.texi (String Input Conversions): Clarify that character
1487 classes are not supported.
1489 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1493 2013-12-22 Joseph Myers <joseph@codesourcery.com>
1496 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1497 Calculate results for small negative arguments directly rather
1498 than using reflection formula with special underflow handling.
1500 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
1501 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
1502 sysdeps/unix/bsd/bsd4.4/syscalls.list.
1503 (fchflags): Likewise.
1505 (setlogin): Likewise.
1506 (sigaltstack): Likewise.
1509 (sigsetmask): Likewise.
1511 (waitpid): Likewise.
1512 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
1513 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
1515 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
1516 * sysdeps/unix/bsd/Makefile: ... here.
1517 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
1518 * sysdeps/unix/bsd/Versions: ... here.
1519 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
1520 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
1521 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
1522 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
1523 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
1524 * sysdeps/unix/bsd/sigblock.c: ... here.
1525 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
1526 * sysdeps/unix/bsd/sigsetmask.c: ... here.
1527 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
1528 * sysdeps/unix/bsd/sigvec.c: ... here.
1529 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
1530 * sysdeps/unix/bsd/tcdrain.c: ... here.
1531 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
1532 * sysdeps/unix/bsd/tcgetattr.c: ... here.
1533 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
1534 * sysdeps/unix/bsd/tcsetattr.c: ... here.
1535 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
1536 * sysdeps/unix/bsd/wait.c: ... here.
1537 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
1538 * sysdeps/unix/bsd/wait3.c: ... here.
1539 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
1540 * sysdeps/unix/bsd/waitpid.c: ... here.
1542 2013-12-21 Joseph Myers <joseph@codesourcery.com>
1545 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
1546 round-to-nearest for [!USE_AS_EXPM1L].
1547 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1548 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
1549 more tests of exp and exp10. Expect some exp10 tests to miss
1550 exceptions or fail in directed rounding modes.
1551 * math/auto-libm-test-out: Regenerated.
1552 * math/libm-test.inc (exp10_tonearest_test_data): New array.
1553 (exp10_test_tonearest): New function.
1554 (exp10_towardzero_test_data): New array.
1555 (exp10_test_towardzero): New function.
1556 (exp10_downward_test_data): New array.
1557 (exp10_test_downward): New function.
1558 (exp10_upward_test_data): New array.
1559 (exp10_test_upward): New function.
1560 (main): Call the new functions.
1561 * sysdeps/i386/fpu/libm-test-ulps: Update.
1562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1564 2013-12-20 Joseph Myers <joseph@codesourcery.com>
1566 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1567 asinh, atan, atan2, atanh, cbrt, cos and cosh.
1568 * math/auto-libm-test-out: Regenerated.
1569 * math/libm-test.inc (acosh_test_data): Add more tests.
1570 (atanh_test_data): Likewise.
1571 (ceil_test_data): Likewise.
1572 (copysign_test_data): Likewise.
1573 * sysdeps/i386/fpu/libm-test-ulps: Update.
1574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1576 * timezone/checktab.awk: Update from tzcode 2013i.
1577 * timezone/private.h: Likewise.
1578 * timezone/scheck.c: Likewise.
1579 * timezone/tzfile.h: Likewise.
1580 * timezone/tzselect.ksh: Likewise.
1581 * timezone/zdump.c: Likewise.
1582 * timezone/zic.c: Likewise.
1584 * math/auto-libm-test-in: Add tests of cpow.
1585 * math/auto-libm-test-out: Regenerated.
1586 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
1587 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
1589 (func_calc_desc): Add mpc_cc_c union field.
1590 (test_functions): Add cpow.
1591 (special_fill_2pi): New function.
1592 (special_real_inputs): Add 2pi.
1593 (calc_generic_results): Handle mpc_cc_c.
1594 * sysdeps/i386/fpu/libm-test-ulps: Update.
1595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1597 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
1598 csqrt, ctan and ctanh.
1599 * math/auto-libm-test-out: Regenerated.
1600 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1601 (TEST_COND_x86): Likewise.
1602 (ccos_test_data): Use AUTO_TESTS_c_c.
1603 (ccosh_test_data): Likewise.
1604 (cexp_test_data): Likewise.
1605 (clog_test_data): Likewise.
1606 (csqrt_test_data): Likewise.
1607 (ctan_test_data): Likewise.
1608 (ctan_tonearest_test_data): Likewise.
1609 (ctan_towardzero_test_data): Likewise.
1610 (ctan_downward_test_data): Likewise.
1611 (ctan_upward_test_data): Likewise.
1612 (ctanh_test_data): Likewise.
1613 (ctanh_tonearest_test_data): Likewise.
1614 (ctanh_towardzero_test_data): Likewise.
1615 (ctanh_downward_test_data): Likewise.
1616 (ctanh_upward_test_data): Likewise.
1617 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1619 (func_calc_desc): Add mpc_c_c union field.
1620 (FUNC_mpc_c_c): New macro.
1621 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
1622 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
1624 (special_fill_min_subnorm_p120): New function.
1625 (special_real_inputs): Add min_subnorm_p120.
1626 (calc_generic_results): Handle mpc_c_c.
1627 * sysdeps/i386/fpu/libm-test-ulps: Update.
1628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1630 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1632 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
1633 do_sin_slow): New functions.
1634 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
1635 cslow2, csloww1, csloww2): Use the new functions.
1637 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
1638 Use M to change sign of result instead of X. Assume X is
1640 (csloww1): Likewise.
1644 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
1649 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
1651 (sloww1): Don't adjust sign of DX.
1652 (csloww1): Likewise.
1653 (sloww2): Use X directly and don't adjust sign of DX.
1654 (csloww2): Likewise.
1656 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1658 * math/auto-libm-test-in: Add tests of cabs and carg.
1659 * math/auto-libm-test-out: Regenerated.
1660 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
1661 (carg_test_data): Likewise.
1662 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1664 (func_calc_desc): Add mpc_c_f union field.
1665 (test_functions): Add cabs and carg.
1666 (calc_generic_results): Handle mpc_c_f.
1668 * sysdeps/powerpc/powerpc32/libgcc-compat.S
1669 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
1670 as a macro and a compat symbol.
1671 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1672 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1673 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1674 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1675 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
1676 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
1678 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
1680 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
1682 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
1684 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
1686 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
1688 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
1689 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
1692 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1696 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1698 * manual/texinfo.tex: Update to version 2013-11-26.10 with
1699 trailing whitespace removed.
1700 * scripts/config.guess: Update to version 2013-11-29.
1701 * scripts/config.sub: Update to version 2013-10-01.
1703 * math/auto-libm-test-in: Add tests of sincos.
1704 * math/auto-libm-test-out: Regenerated.
1705 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
1706 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1708 (func_calc_desc): Add mpfr_f_11 union field.
1709 (test_functions): Add sincos.
1710 (calc_generic_results): Handle mpfr_f_11.
1711 * sysdeps/i386/fpu/libm-test-ulps: Update.
1712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1714 2013-12-19 Andreas Schwab <schwab@suse.de>
1716 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
1718 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1719 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1720 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
1722 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1724 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
1725 * sysdeps/i386/fpu/libm-test-ulps: Update.
1726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1729 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
1730 round-to-nearest mode when using frndint.
1731 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
1732 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1733 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1735 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
1737 * math/auto-libm-test-out: Regenerated.
1738 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
1739 (TEST_COND_x86): Likewise.
1740 (expm1_tonearest_test_data): New array.
1741 (expm1_test_tonearest): New function.
1742 (expm1_towardzero_test_data): New array.
1743 (expm1_test_towardzero): New function.
1744 (expm1_downward_test_data): New array.
1745 (expm1_test_downward): New function.
1746 (expm1_upward_test_data): New array.
1747 (expm1_test_upward): New function.
1748 (main): Run the new test functions.
1749 * sysdeps/i386/fpu/libm-test-ulps: Update.
1750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1752 * include/features.h: Update comment documenting feature test
1753 macros. Mention _DEFAULT_SOURCE in comment.
1754 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
1755 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
1756 _BSD_SOURCE and _SVID_SOURCE.
1757 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
1758 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
1759 !_SVID_SOURCE]: Likewise.
1760 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1761 (__USE_POSIX_IMPLICITLY): Define.
1762 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1763 (_POSIX_SOURCE): Undefine and redefine.
1764 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1765 (_POSIX_C_SOURCE): Likewise.
1766 * manual/creature.texi (_DEFAULT_SOURCE): Document.
1767 (Feature Test Macros): Update documentation of default features.
1769 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1771 * benchtests/Makefile: Add bench-strtok.
1772 * benchtests/bench-strtok.c: New file: strtok benchtest.
1774 2013-12-19 Allan McRae <allan@archlinux.org>
1776 * manual/install.texi: Suppress menu for plain text output.
1777 * INSTALL: Regenerated.
1779 2013-12-18 Brooks Moses <bmoses@google.com>
1782 * misc/getauxval.c: Include errno.h.
1783 (__getauxval): Set errno to ENOENT if the requested type is not
1785 * misc/sys/auxv.h (getauxval): Document that it may set errno;
1786 don't declare with __attribute_const__.
1787 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1788 * manual/startup.texi: Document that getauxval sets errno.
1790 2013-12-18 Joseph Myers <joseph@codesourcery.com>
1792 * math/auto-libm-test-in: Add tests of jn and yn.
1793 * math/auto-libm-test-out: Regenerated.
1794 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1795 (yn_test_data): Likewise.
1796 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1798 (func_calc_desc): Add mpfr_if_f union field.
1799 (FUNC_mpfr_if_f): New macro.
1800 (test_functions): Add jn and yn.
1801 (calc_generic_results): Assert type of second input for
1802 mpfr_ff_f. Handle mpfr_if_f.
1803 (output_for_one_input_case): Disable all checking for arguments
1804 fitting floating-point types in case of an integer argument.
1805 * sysdeps/i386/fpu/libm-test-ulps: Update.
1806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1809 Don't expect fegetround reference in libm.so.
1811 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1813 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1814 $(config-cflags-nofma).
1816 2013-12-18 Joseph Myers <joseph@codesourcery.com>
1818 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1819 * math/auto-libm-test-out: Regenerated.
1822 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1823 to determine exponent and adjust argument to have exponent of -1.
1824 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1826 * math/auto-libm-test-out: Regenerated.
1827 * sysdeps/i386/fpu/libm-test-ulps: Update.
1828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1830 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
1832 * manual/probes.texi: Remove cases when per-thread arenas are
1835 2013-12-18 Andreas Schwab <schwab@suse.de>
1837 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1838 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1839 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1840 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1841 * sysdeps/i386/i686/multiarch/Makefile: Update.
1842 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1844 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1846 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1847 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1849 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
1852 Support TZ transition times < 00:00:00.
1853 This is needed for version-3 tz-format files; it supports time
1854 stamps past 2037 for America/Godthab (the only entry in the tz
1855 database for which this change is relevant).
1856 * manual/time.texi (TZ Variable): Document transition times
1857 from -167:59:59 through -00:00:01.
1858 * time/tzset.c (tz_rule): Time of day is now signed.
1859 (__tzset_parse_tz): Parse negative time of day.
1861 Document TZ transition times >= 25:00:00.
1862 * manual/time.texi (TZ Variable): Document transition times from
1863 25:00:00 through 167:59:59. These are already supported, and this
1864 support will help with version-3 tz-format files.
1866 * manual/time.texi (TZ Variable): Modernize North America example
1867 to reflect current (i.e., 2007-and-later) daylight saving rules.
1869 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1871 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1873 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1874 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1875 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1876 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1877 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1878 * sysdeps/unix/bsd/bsdstat.h: Likewise.
1879 * sysdeps/unix/bsd/clock.c: Likewise.
1880 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1881 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1882 * sysdeps/unix/bsd/init-posix.c: Likewise.
1883 * sysdeps/unix/bsd/poll.c: Likewise.
1884 * sysdeps/unix/bsd/ptsname.c: Likewise.
1885 * sysdeps/unix/bsd/seekdir.c: Likewise.
1886 * sysdeps/unix/bsd/setegid.c: Likewise.
1887 * sysdeps/unix/bsd/seteuid.c: Likewise.
1888 * sysdeps/unix/bsd/setgid.c: Likewise.
1889 * sysdeps/unix/bsd/setrgid.c: Likewise.
1890 * sysdeps/unix/bsd/setruid.c: Likewise.
1891 * sysdeps/unix/bsd/setsid.c: Likewise.
1892 * sysdeps/unix/bsd/setuid.c: Likewise.
1893 * sysdeps/unix/bsd/sigaction.c: Likewise.
1894 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1895 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1896 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1897 * sysdeps/unix/bsd/telldir.c: Likewise.
1898 * sysdeps/unix/bsd/times.c: Likewise.
1899 * sysdeps/unix/bsd/usleep.c: Likewise.
1901 * misc/Makefile (install-lib): Remove libbsd-compat.a.
1902 ($(objpfx)libbsd-compat.a): Remove rule.
1904 * include/features.h (__FAVOR_BSD): Do not define.
1905 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1906 features conflicting with POSIX.
1907 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1908 (_BSD_SOURCE): Remove description of not being a subset of other
1909 feature test macros.
1910 * manual/job.texi (getpgrp): Do not document BSD version.
1911 (getpgid): Do not document by reference to BSD getpgrp.
1912 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1913 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1914 * signal/signal.h [__FAVOR_BSD]: Likewise.
1915 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1916 instead of making contents conditional on [__FAVOR_BSD].
1917 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1919 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1921 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1923 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1926 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1927 values below 2**-450, not 2**-500.
1928 * math/auto-libm-test-in: Don't allow spurious underflow from
1930 * math/auto-libm-test-out: Regenerated.
1934 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1935 values of ha and hb and sort them after adjusting subnormal
1937 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1939 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1940 values of ea and eb and sort them after adjusting subnormal
1942 * math/auto-libm-test-in: Do not expect some hypot tests of
1943 subnormals to fail. Add more hypot tests.
1944 * math/auto-libm-test-out: Regenerated.
1946 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1949 * sysdeps/sh/s_fma.c: New file.
1950 * sysdeps/sh/s_fmaf.c: New file.
1951 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
1953 * sysdeps/sh/Implies: Add sh/soft-fp.
1955 2013-12-16 Roland McGrath <roland@hack.frob.com>
1957 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
1958 level of indirection to members `objname', `errstring', `malloced'.
1959 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1960 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
1961 it as the __longjmp argument (just pass 1 instead).
1962 (_dl_catch_error): Initialize C with argument pointers and address of
1963 volatile local ERRCODE rather than copying values out of C at return.
1965 2013-12-16 Joseph Myers <joseph@codesourcery.com>
1967 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1968 * math/auto-libm-test-out: Regenerated.
1969 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1970 (hypot_test_data): Likewise.
1971 (pow_test_data): Likewise.
1972 (pow_tonearest_test_data): Likewise.
1973 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1975 (func_calc_desc): Add mpfr_ff_f union field.
1976 (FUNC_mpfr_ff_f): New macro.
1977 (test_functions): Add atan2, hypot and pow.
1978 (special_fill_min): New function.
1979 (special_fill_minus_min): Likewise.
1980 (special_fill_min_subnorm): Likewise.
1981 (special_fill_minus_min_subnorm): Likewise.
1982 (special_real_inputs): Add min, -min, min_subnorm and
1984 (calc_generic_results): Handle mpfr_ff_f.
1985 * sysdeps/i386/fpu/libm-test-ulps: Update.
1986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1988 2013-12-16 Will Newton <will.newton@linaro.org>
1990 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1991 (Aligned Memory Blocks): Add documentation for aligned_alloc
1992 and suggest it as an alternative to posix_memalign.
1993 (Hooks for Malloc): Document __memalign_hook is also called
1994 for aligned_alloc. (Summary of Malloc): Add summary for
1995 aligned alloc. Document __memalign_hook is also called
1998 2013-12-16 Will Newton <will.newton@linaro.org>
2000 * manual/memory.texi (Malloc Examples): Clarify default
2001 alignment documentation. Suggest posix_memalign rather
2002 than memalign or valloc.
2003 (Aligned Memory Blocks): Remove suggestion to use memalign
2004 or valloc. Remove obsolete comment about BSD.
2005 Document memalign errno values and mark the function obsolete.
2006 Document posix_memalign returned error codes. Mark valloc
2007 as obsolete. (Hooks for Malloc): __memalign_hook is also
2008 called for posix_memalign and valloc.
2009 (Summary of Malloc): Add posix_memalign to function summary.
2010 __memalign_hook is also called for posix_memalign and valloc.
2012 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2014 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
2018 (sloww): Use mynumber union. Expand ternary operator into
2020 (cslow): use mynumber union.
2022 2013-12-16 Allan McRae <allan@archlinux.org>
2024 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
2025 * configure: Regenerated.
2027 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
2030 * configure.ac: Added --enable-maintainer-mode. Check for
2031 autoconf when enabled.
2032 * configure: Regenerated.
2034 * nscd/nscd.service: New file.
2035 * nscd/nscd.tmpfiles: New file.
2037 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
2040 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
2041 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
2042 * sysdeps/x86_64/multiarch/strstr.c: ... here.
2043 (strstr): Add __strstr_sse2_unaligned ifunc.
2044 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
2045 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
2046 (strcasestr): Remove __strcasestr_sse42 ifunc.
2047 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
2048 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2049 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2051 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2053 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2054 * sysdeps/sh/bits/fenv.h: ... here.
2055 * sysdeps/sh/sh4/fpu/bits: Remove directory.
2057 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2059 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2061 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2063 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2064 hypotf multiarch implementations.
2065 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2066 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2067 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2068 multiarch hypot for PPC64.
2069 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2070 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2071 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2072 multiarch hypotf for PPC64.
2074 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2076 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2077 modff multiarch implementations.
2078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
2079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
2080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
2081 multiarch modf for PPC64.
2082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
2083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
2084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
2085 multiarch modff for PPC64.
2087 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2089 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
2090 and logl multiarch implementations.
2091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
2092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
2093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
2094 multiarch logb for PPC64.
2095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
2096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
2097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
2098 multiarch logb for PPC64.
2099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
2100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
2101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
2102 multiarch logb for PPC64.
2104 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2106 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
2107 isinff multiarch implementation.
2108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
2110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
2111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
2112 multiarch isinf for PPC64.
2113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
2115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
2116 multiarch isinff for PPC64.
2118 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2120 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
2121 finitef multiarch implementation.
2122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
2124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
2125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
2126 multiarch finite for PPC64.
2127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
2129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
2130 multiarch finitef for PPC64.
2132 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2134 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
2135 lrint multiarch implementation.
2136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
2138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
2139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
2140 multiarch llrint for PPC64.
2141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
2142 multiarch lrint for PPC64.
2144 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2146 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
2147 copysignf multiarch implementation.
2148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
2150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
2152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
2153 multiarch copysign for PPC64.
2154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
2155 multiarch copysignf for PPC64.
2157 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2159 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
2160 multiarch implementation.
2161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
2163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
2165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
2167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
2169 multiarch llround for PPC64.
2170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
2171 multiarch trunc for PPC64.
2172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
2173 multiarch truncf for PPC64.
2175 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2177 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
2178 multiarch implementation.
2179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
2181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
2183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
2185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
2187 multiarch llround for PPC64.
2188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
2189 multiarch round for PPC64.
2190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
2191 multiarch roundf for PPC64.
2193 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2195 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
2196 multiarch implementation.
2197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
2199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
2201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
2203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
2205 multiarch llround for PPC64.
2206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
2207 multiarch floor for PPC64.
2208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
2209 multiarch floorf for PPC64.
2211 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2213 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
2214 multiarch implementation.
2215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
2217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
2219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
2221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
2223 multiarch llround for PPC64.
2224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
2225 multiarch ceil for PPC64.
2226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
2227 multiarch ceilf for PPC64.
2229 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2231 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2232 multiarch implementation.
2233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
2235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
2237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
2239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
2240 multiarch llround for PPC64.
2241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
2242 multiarch lround for PPC64.
2244 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2246 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
2247 multiarch implementation.
2248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
2249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
2250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
2252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
2253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
2254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
2255 multiarch isnan for PPC64.
2256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
2257 multiarch isnanf for PPC64.
2259 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2261 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
2262 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
2263 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
2264 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
2265 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
2266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
2268 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2270 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
2271 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2272 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2273 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2275 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2277 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
2278 multiarch implementations.
2279 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2280 (__libc_ifunc_impl_list): Likewise.
2281 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2282 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
2283 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
2284 multiarch stpcpy for PPC64.
2286 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2288 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
2289 multiarch implementations.
2290 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2291 (__libc_ifunc_impl_list): Likewise.
2292 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
2293 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
2294 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
2295 multiarch strcpy for PPC64.
2297 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2299 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
2300 redefine function name.
2301 (_wordcopy_fwd_dest_aligned): Likewise.
2302 (_wordcopy_bwd_aligned): Likewise.
2303 (_wordcopy_bwd_dest_aligned): Likewise.
2304 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
2305 multiarch implementations.
2306 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2307 (__libc_ifunc_impl_list): Likewise.
2308 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
2309 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
2310 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
2311 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
2312 multiarch wcscpy for PPC64.
2314 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2316 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
2317 multiarch implementations.
2318 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2319 (__libc_ifunc_impl_list): Likewise.
2320 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
2321 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
2322 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
2323 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
2324 multiarch wcscpy for PPC64.
2326 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2328 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
2329 multiarch implementations.
2330 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2331 (__libc_ifunc_impl_list): Likewise.
2332 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
2333 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
2334 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
2335 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
2336 multiarch wcsrchr for PPC64.
2338 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2340 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
2341 multiarch implementations.
2342 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2343 (__libc_ifunc_impl_list): Likewise.
2344 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
2345 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
2346 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
2347 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
2348 multiarch wcschr for PPC64.
2350 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2352 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
2353 multiarch implementations.
2354 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2355 (__libc_ifunc_impl_list): Likewise.
2356 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
2357 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
2358 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
2359 multiarch strchrnul for PPC64.
2361 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2363 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
2365 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2366 (__libc_ifunc_impl_list): Likewise.
2367 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
2368 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
2369 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
2370 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
2373 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2375 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
2377 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2378 (__libc_ifunc_impl_list): Likewise.
2379 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
2380 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
2381 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
2382 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
2385 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2387 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
2388 multiarch implementations.
2389 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2390 (__libc_ifunc_impl_list): Likewise.
2391 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
2392 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
2393 strncasecmp for PPC64.
2394 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
2395 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
2396 multiarch strncasecmp_l for PPC64.
2398 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2400 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
2401 multiarch implementations.
2402 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2403 (__libc_ifunc_impl_list): Likewise.
2404 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
2405 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
2406 multiarch strcasecmp for PPC64.
2407 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
2409 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
2410 multiarch strcasecmp_l for PPC64.
2412 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2414 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
2416 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2417 (__libc_ifunc_impl_list): Likewise.
2418 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
2419 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
2420 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
2423 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2425 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
2427 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2428 (__libc_ifunc_impl_list): Likewise.
2429 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
2430 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
2431 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
2434 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2436 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
2438 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2439 (__libc_ifunc_impl_list): Likewise.
2440 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
2441 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
2442 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
2443 rawmemrchr for PPC64.
2445 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2447 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
2449 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2450 (__libc_ifunc_impl_list): Likewise.
2451 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
2452 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
2453 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
2456 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2458 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
2460 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2461 (__libc_ifunc_impl_list): Likewise.
2462 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
2463 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
2464 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
2467 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2469 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
2471 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2472 (__libc_ifunc_impl_list): Likewise.
2473 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
2474 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
2475 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
2478 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2480 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
2481 avoid cretion of __bzero symbol.
2482 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
2484 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
2486 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
2488 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
2489 multiarch implementations.
2490 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2491 (__libc_ifunc_impl_list): Likewise.
2492 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
2493 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
2494 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
2495 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
2497 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
2498 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
2499 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
2500 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
2501 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
2503 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
2505 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2507 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
2508 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
2510 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2511 (__libc_ifunc_impl_list): Likewise.
2512 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
2513 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
2514 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
2515 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
2518 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2520 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
2521 multiarch for POWER/PPC64.
2522 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2523 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
2524 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
2525 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
2526 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
2527 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
2528 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
2529 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
2530 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
2533 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2535 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
2536 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
2537 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
2538 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
2539 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
2540 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
2541 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
2542 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
2543 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
2544 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
2545 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
2546 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
2547 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
2548 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
2549 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
2550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
2551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
2552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
2553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
2554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
2555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
2556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
2558 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2560 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
2562 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2564 * benchtests/Makefile (bench): Add exp2 and log2.
2565 (LDLIBS-bench-exp2): Add -lm.
2566 (LDLIBS-bench-log2): Likewise.
2567 * benchtests/exp2-inputs: New inputs file.
2568 * benchtests/log2-inputs: New inputs file.
2569 * benchtests/log-inputs: Add new inputs.
2570 * benchtests/tan-inputs: Likewise.
2572 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2574 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
2576 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
2577 csloww1, csloww2): ... from here.
2579 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
2580 instead of structures.
2581 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
2582 (POLYNOMIAL): Likewise.
2583 (TAYLOR_SLOW): Likewise.
2591 (bsloww1): Likewise.
2592 (bsloww2): Likewise.
2595 (csloww1): Likewise.
2596 (csloww2): Likewise.
2598 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
2600 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
2601 (__malloc_assert, __libc_realloc, __libc_calloc,
2602 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
2604 * malloc/hooks.c (realloc_check): Likewise.
2606 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
2608 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
2609 * malloc/arena.c: Remove PER_THREAD conditional.
2610 [!PER_THREAD]: Remove code.
2611 (ptmalloc_unlock_all2): Likewise.
2612 (ptmalloc_init): Likewise.
2613 (_int_new_arena): Likewise.
2614 (arena_get2): Likewise.
2615 * malloc/hooks.c (__malloc_get_state): Likewise.
2616 (__malloc_set_state): Likewise.
2617 * malloc/malloc.c: Likewise.
2618 (struct malloc_state): Likewise.
2619 (struct malloc_par): Likewise.
2620 (__libc_realloc): Likewise.
2621 (__libc_mallopt): Likewise.
2623 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2625 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
2627 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
2629 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
2630 macro to a function. Check for zero perturb_byte.
2631 (_int_malloc, _int_free): Remove zero perturb_byte checks.
2633 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
2635 * malloc/malloc.c: (force_reg): Remove.
2636 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
2637 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
2638 force_reg by atomic_forced_read.
2639 * malloc/arena.c (ptmalloc_init): Likewise.
2640 * malloc/hooks.c (top_check): Likewise.
2642 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2644 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2646 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
2648 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2650 2013-12-08 Joseph Myers <joseph@codesourcery.com>
2652 * math/auto-libm-test-in: Add tests of lgamma.
2653 * math/auto-libm-test-out: Regenerated.
2654 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
2655 (M_LOG_2_SQRT_PIl): Likewise.
2656 (lgamma_test_data): Use AUTO_TESTS_f_f1.
2657 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2659 (func_calc_desc): Add mpfr_f_f1 union field.
2668 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
2669 (test_functions): Add lgamma.
2670 (calc_generic_results): Handle mpfr_f_f1.
2671 * sysdeps/i386/fpu/libm-test-ulps: Update.
2672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2674 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2676 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
2677 __mpn_add_n for PowerPC64/POWER7.
2678 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
2679 __mpn_sub_n for PowerPC64/POWER7.
2681 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2683 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
2684 __mpn_addmul_1 for PowerPC64.
2685 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
2686 __mpn_submul_1 for PowerPC64.
2687 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
2689 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
2692 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
2695 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
2697 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2699 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
2701 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2703 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
2704 add multiarch folders.
2705 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
2706 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
2707 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
2708 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
2709 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
2710 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
2711 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
2712 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
2713 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
2714 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
2715 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
2716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
2717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
2718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
2719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
2720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
2721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
2723 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2726 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
2727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
2729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
2731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
2732 multiarch __ieee754_hypot for PowerPC32.
2733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
2735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
2737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
2738 multiarch __ieee754_hypotf for PowerPC32.
2740 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2742 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
2743 long_double_symbol only if __logbl is defined.
2744 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
2745 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
2746 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
2747 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
2748 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
2749 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
2750 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
2751 path for implementation.
2752 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2753 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2755 logb, and logbl multiarch implementations for PowerPC32.
2756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2761 multiarch logb for PowerPC32.
2762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2767 multiarch logbf for PowerPC32.
2768 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2772 multiarch logbl implementation for PowerPC32.
2774 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2777 and modff multiarch implementations.
2778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2783 multiarch modf for PowerPC32.
2784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2789 multiarch modff for PowerPC32.
2791 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2794 and lrintf multiarch implementations.
2795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2800 multiarch lrint for PowerPC32.
2801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2802 file: multiarch lrintf for PowerPC32.
2804 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2807 and lroundf multiarch implementations.
2808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2815 multiarch lround for PowerPC32.
2816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2817 file: multiarch lroundf for PowerPC32.
2819 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2822 copysign and copysignf multiarch implementations.
2823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2828 file: multiarch copysign for PowerPC32.
2829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2830 file: multiarch copysignf for PowerPC32.
2832 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2835 and truncf multiarch implementations.
2836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2841 multiarch trunc for PowerPC32.
2842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2847 multiarch truncf for PowerPC32.
2849 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2852 and roundf multiarch implementations.
2853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2858 multiarch round for PowerPC32.
2859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2864 multiarch roundf for PowerPC32.
2866 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2869 and floorf multiarch implementations.
2870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2875 multiarch floor for PowerPC32.
2876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2881 multiarch floorf for PowerPC32.
2883 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2886 and ceilf multiarch implementations.
2887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2892 multiarch ceil for PowerPC32.
2893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2898 multiarch ceilf for PowerPC32.
2900 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2902 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2904 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2907 and finitef multiarch implementations.
2908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2913 multiarch finite for PowerPC32.
2914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2917 file: multiarch finitef for PowerPC32.
2919 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2922 and isinff multiarch implementations.
2923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2928 multiarch isinf for PowerPC32.
2929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2932 multiarch isinff for PowerPC32.
2934 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2936 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2937 alias when __isnan is defined.
2938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2939 and isnanf multiarch implementations.
2940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2949 multiarch isnan for PowerPC32.
2950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2955 multiarch isnanf for PowerPC32.
2957 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2960 and sqrtf multiarch implementations.
2961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2966 multiarch sqrt for PowerPC32.
2967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2972 multiarch sqrtf for PowerPC32.
2974 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2977 and llroundf multiarch implementations.
2978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2985 file: multiarch llround for PowerPC32.
2986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2987 file: multiarch llroundf for PowerPC32.
2989 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2992 multiarch PowerPC32 fpu implementations.
2993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2998 multiarch llrint for PowerPC32.
2999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
3006 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
3010 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3012 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
3014 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
3016 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
3018 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
3019 multiarch wordcopy for PPC32.
3020 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3022 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3023 (__libc_ifunc_impl_list): Likewise.
3024 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
3025 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
3026 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
3027 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
3028 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
3029 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
3031 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3033 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
3034 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
3036 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
3038 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
3040 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3041 multiarch wcscpy for PPC32.
3042 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3044 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3045 (__libc_ifunc_impl_list): Likewise.
3046 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3047 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3048 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
3049 sysdeps/powerpc/power6/wcscpy.c.
3051 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3053 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3054 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3056 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3058 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3060 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3061 multiarch wcsrchr for PPC32.
3062 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3064 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3065 (__libc_ifunc_impl_list): Likewise.
3066 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3067 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3068 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3069 sysdeps/powerpc/power6/wcsrchr.c.
3071 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3073 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3075 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3077 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3078 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
3079 multiarch wcschr for PPc32.
3080 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3082 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3083 (__libc_ifunc_impl_list): Likewise.
3084 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
3085 * sysdeps/powerpc/power6/wcschr.c: ... to here.
3086 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
3087 sysdeps/powerpc/power6/wcschr.c.
3089 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3091 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
3092 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
3094 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
3095 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
3096 file: multiarch strchr for PPC32.
3097 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
3099 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3100 (__libc_ifunc_impl_list): Likewise.
3102 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3104 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
3106 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
3108 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
3110 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
3111 multiarch strchrnul for PPC32.
3112 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
3114 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3115 (__libc_ifunc_impl_list): Likewise.
3117 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3119 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
3121 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
3122 multiarch strncasecmp for PPC32.
3123 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
3125 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
3126 multiarch strncasecmp_l for PPC32.
3127 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
3128 strncasecmp multiarch objects.
3129 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3130 (__libc_ifunc_impl_list): Likewise.
3132 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3134 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
3136 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
3137 multiarch strncasecmp for PPC32.
3138 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3140 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
3141 multiarch strcasecmp_l for PPC32.
3142 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
3144 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3145 (__libc_ifunc_impl_list): Likewise.
3147 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3149 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
3151 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
3153 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
3154 multiarch strncmp for PPC32.
3155 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
3157 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3158 (__libc_ifunc_impl_list): Likewise.
3160 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3162 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
3163 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
3165 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
3166 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
3167 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
3169 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3170 (__libc_ifunc_impl_list): Likewise.
3172 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3174 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
3176 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
3178 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
3179 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
3181 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3182 (__libc_ifunc_impl_list): Likewise.
3184 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3186 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
3188 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
3190 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
3191 multiarch rawmemchr for PPC32.
3192 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
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/memrchr-power7.S: New
3201 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
3203 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
3204 file: memrchr multiarch for PPC32.
3205 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
3207 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3208 (__libc_ifunc_impl_list): Likewise.
3210 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3212 * string/memchr.c (__memchr): Using macro to redefine symbol name.
3213 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
3215 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
3216 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
3217 multiarch memchr for PPC32.
3218 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
3220 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3221 (__libc_ifunc_impl_list): Likewise.
3223 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3225 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
3226 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
3228 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
3230 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
3231 file: multiarch mempcpy for PPC32.
3232 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
3234 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3235 (__libc_ifunc_impl_list): Likewise.
3237 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3239 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
3240 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
3241 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
3242 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
3243 multiarch bzero for PPC32.
3244 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
3246 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
3248 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
3249 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
3250 file: multiarch memset for PPC32.
3251 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
3252 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
3253 memset multiarch objects.
3254 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3255 (__libc_ifunc_impl_list): Likewise.
3257 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3259 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
3261 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
3262 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
3264 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
3265 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
3267 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3268 (__libc_ifunc_impl_list): Likewise.
3270 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3272 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
3273 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
3274 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
3276 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
3278 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
3280 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
3281 multiarch memcpy for PPC32.
3282 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
3284 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3285 (__libc_ifunc_impl_list): Likewise.
3287 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3289 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
3290 support multiarch for POWER/PPC32.
3291 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3293 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
3295 Implies file to make multiarch folder appers before the fpu and
3296 default folder for power4 configuration.
3298 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3300 * scripts/bench.pl: Append volatile keyword to type.
3302 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3304 * sysdeps/sh/sotruss-lib.c: New file.
3305 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
3307 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3311 2013-12-05 Joseph Myers <joseph@codesourcery.com>
3314 * math/w_tgamma.c: Include <errno.h>.
3315 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
3316 * math/w_tgammaf.c: Include <errno.h>.
3317 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
3318 * math/w_tgammal.c: Include <errno.h>.
3319 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
3320 * math/auto-libm-test-in: Do not allow missing errno on tgamma
3321 underflow. Add more tgamma tests.
3322 * math/auto-libm-test-out: Regenerated.
3323 * sysdeps/i386/fpu/libm-test-ulps: Update.
3324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3326 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
3327 sin, sinh, tan, tanh, tgamma, y0 and y1.
3328 * math/auto-libm-test-out: Regenerated.
3329 * math/libm-test.inc (TEST_COND_x86_64): New macro.
3330 (TEST_COND_x86): Likewise.
3331 (M_E2l): Remove macro.
3333 (M_2_SQRT_PIl): Likewise.
3334 (M_SQRT_PIl): Likewise.
3335 (M_1_DIV_El): Likewise.
3336 (log_test_data): Use AUTO_TESTS_f_f.
3337 (log10_test_data): Likewise.
3338 (log1p_test_data): Likewise.
3339 (log2_test_data): Likewise.
3340 (sin_test_data): Likewise.
3341 (sin_tonearest_test_data): Likewise.
3342 (sin_towardzero_test_data): Likewise.
3343 (sin_downward_test_data): Likewise.
3344 (sin_upward_test_data): Likewise.
3345 (sinh_test_data): Likewise.
3346 (sinh_tonearest_test_data): Likewise.
3347 (sinh_towardzero_test_data): Likewise.
3348 (sinh_downward_test_data): Likewise.
3349 (sinh_upward_test_data): Likewise.
3350 (tan_test_data): Likewise.
3351 (tan_tonearest_test_data): Likewise.
3352 (tan_towardzero_test_data): Likewise.
3353 (tan_downward_test_data): Likewise.
3354 (tan_upward_test_data): Likewise.
3355 (tanh_test_data): Likewise.
3356 (tgamma_test_data): Likewise.
3357 (y0_test_data): Likewise.
3358 (y1_test_data): Likewise.
3359 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
3360 (special_real_inputs): Add pi/4.
3361 * sysdeps/i386/fpu/libm-test-ulps: Update.
3362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3364 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3366 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
3367 "longjmp_target" static probes.
3368 (__longjmp): Rename to __longjmp_symbol.
3369 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3370 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
3371 on which longjmp to generate.
3372 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3373 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
3375 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3376 (__sigjmp_save): Rename to __sigjmp_save_symbol.
3377 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3378 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
3379 and __sigjmp_save_symbol based on which sigsetjmp to generated.
3380 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
3381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
3382 __longjmp_symbol based on which __longjmp to generate.
3383 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
3385 (setjmp): Rename to setjmp_symbol.
3386 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3387 (_setjmp): Rename to _setjmp_symbol.
3388 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3389 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
3390 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
3391 which setjmp to generate.
3392 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
3393 "longjmp_target" static probes.
3395 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3397 * benchtests/README: Add note about output arguments.
3398 * benchtests/bench-sincos.c: Remove file.
3399 * benchtests/sincos-inputs: New file.
3400 * scripts/bench.pl: Identify output arguments and define
3401 static variables for them.
3403 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
3406 * Makefile (INSTALL): Add install-plain.texi as the primary
3408 * manual/install-plain.texi: New file.
3409 * manual/install.texi: Include node directive only for
3410 non-plaintext output.
3412 2013-12-04 Joseph Myers <joseph@codesourcery.com>
3414 * stdlib/longlong.h: Update from GCC.
3418 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
3419 * math/w_j0f.c (y0f): Likewise.
3420 * math/w_j0l.c (__y0l): Likewise.
3421 * math/w_j1.c (y1): Likewise.
3422 * math/w_j1f.c (y1f): Likewise.
3423 * math/w_j1l.c (__y1l): Likewise
3424 * math/w_jn.c (yn): Likewise.
3425 * math/w_jnf.c (ynf): Likewise.
3426 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
3427 Bessel function pole errors in _POSIX_ mode. Use NAN as return
3428 value for Bessel function domain errors outside _SVID_ mode.
3429 Adjust sign of return value for yn (negative integer, 0).
3430 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
3431 by zero in return for negative x and set sign appropriately for
3433 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
3434 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3435 * math/libm-test.inc (y0_test_data): Add more tests and adjust
3436 expectations in error cases.
3437 (y1_test_data): Likewise.
3438 (yn_test_data): Likewise.
3439 * sysdeps/i386/fpu/libm-test-ulps: Update.
3440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3442 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3444 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
3445 "64" to "64-v1". Add "64-v2".
3446 (abi-64-options): Rename to ...
3447 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
3448 (abi-64-condition): Rename to ...
3449 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
3450 (abi-64-ld-soname): Rename to ...
3451 (abi-64-v1-ld-soname): ... this.
3452 (abi-64-v2-options): Define.
3453 (abi-64-v2-condition): Likewise.
3454 (abi-64-v2-ld-soname): Likewise.
3455 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
3456 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
3457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
3458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
3459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
3461 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3462 Alan Modra <amodra@gmail.com>
3464 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
3465 New versions for use with the ELFv2 ABI.
3466 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
3467 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
3469 (struct La_ppc64v2_retval): Likewise.
3470 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
3471 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
3472 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
3473 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
3474 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
3475 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
3476 Do not save or restore CR.
3477 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
3478 (_dl_profile_resolve): Do no save or restore CR. Support extended
3479 return values for ELFv2 ABI. Fix location of FPR return registers.
3480 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
3481 updated values for _CALL_ELF == 2.
3482 (La_regs, La_retval, int_retval): Likewise.
3484 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3486 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
3487 (FRAME_MIN_SIZE_PARM): Likewise.
3488 (FRAME_BACKCHAIN): Likewise.
3489 (FRAME_CR_SAVE): Likewise.
3490 (FRAME_LR_SAVE): Likewise.
3491 (FRAME_TOC_SAVE): Likewise.
3492 (FRAME_PARM_SAVE): Likewise.
3493 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3494 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3495 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3496 (call_mcount_parm_offset): New macro.
3497 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
3498 (PROF): Use symbolic stack frame offsets.
3499 (TAIL_CALL_SYSCALL_ERROR): Likewise.
3500 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
3501 Redefine in terms of FRAME_MIN_SIZE.
3502 (_dl_runtime_resolve): Use symbolic stack frame offsets.
3503 (_dl_profile_resolve): Likewise. Update comment.
3504 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
3505 symbols stack frame offsets.
3506 (__sigsetjmp): Likewise.
3507 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
3508 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
3509 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
3510 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
3512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
3513 (FRAME_BACKCHAIN): Remove.
3514 (FRAME_CR_SAVE): Likewise.
3515 (FRAME_LR_SAVE): Likewise.
3516 (FRAME_COMPILER_DW): Likewise.
3517 (FRAME_LINKER_DW): Likewise.
3518 (FRAME_TOC_SAVE): Likewise.
3519 (FRAME_PARM_SAVE): Likewise.
3520 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3521 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3522 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
3524 (CHECK_SP): Use symbolic stack frame offsets.
3525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
3526 zone" instead of caller's parameter save area for temp storage.
3527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3528 Likewise. Also, use symbolic stack frame offsets.
3529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
3530 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
3531 our own stack frame instead of the caller's.
3532 (__socket): Use symbolic stack frame offsets.
3534 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3535 Alan Modra <amodra@gmail.com>
3537 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
3539 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
3540 PPC64_LOCAL_ENTRY_OFFSET): Define.
3541 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
3543 (elf_machine_fixup_plt): Call it.
3544 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
3546 (elf_machine_rela): Update call to elf_machine_plt_conflict.
3547 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3548 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
3549 r2 before calling target.
3551 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3552 Alan Modra <amodra@gmail.com>
3554 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
3555 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
3556 versions of macros to support ELFv2 ABI.
3557 (LOCALENTRY): New macro.
3558 (ENTRY, EALIGN): Use it.
3559 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
3560 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
3561 fall through into ENTRY entry point.
3562 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
3563 Only define if _CALL_ELF != 2.
3565 (elf_machine_matches_host): Verify ABI version matches.
3566 (RTLD_START): Use LOCALENTRY.
3567 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
3568 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
3569 (PLT_ENTRY_WORDS): New macro.
3570 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
3571 (elf_machine_runtime_setup): Support ELFv2 ABI.
3572 (elf_machine_fixup_plt): Likewise.
3573 (elf_machine_plt_conflict): Likewise.
3574 (resolve_ifunc): Likewise.
3575 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3576 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
3579 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
3580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3581 (makecontext): Support ELFv2 ABI.
3582 * elf/elf.h (EF_PPC64_ABI): Define.
3584 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3586 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
3587 New assembler macro.
3588 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
3589 [ASSEMBLER] (ENTRY): ... but instead here ...
3590 [ASSEMBLER] (EALIGN): ... and here.
3591 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
3592 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
3593 [!ASSEMBLER] (ENTRY_2): Use it.
3594 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
3595 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
3596 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3597 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
3598 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
3599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
3600 Use PPC64_LOAD_FUNCPTR.
3602 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3604 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
3606 2013-12-04 Alan Modra <amodra@gmail.com>
3608 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
3609 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
3610 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
3611 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
3613 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
3614 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
3615 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
3616 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
3617 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
3618 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
3620 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3623 (__makecontext): Fix incorrect CFI when backtracing out of
3624 context created via makecontext.
3625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
3626 (__setcontext): Fix incorrect CFI during switch to new context.
3627 (__novec_setcontext): Likewise.
3629 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
3632 * time/strptime_l.c (__strptime_internal): Allow modifiers
3634 * time/tst-strptime.c (day_tests): Add testcase.
3637 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3639 * scripts/bench.pl: Skip over blank lines.
3641 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
3644 * manual/time.texi (Calendar Time): Clarify what timezone functions
3647 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3651 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
3653 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
3655 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3656 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3657 * debug/memset_chk.c (__memset_chk): Likewise.
3658 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
3659 * debug/strncpy_chk.c: Likewise.
3661 2013-12-03 Joseph Myers <joseph@codesourcery.com>
3665 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
3666 (__ieee754_exp): For possibly underflowing results, check size of
3667 result and force underflow exception if required.
3668 * math/auto-libm-test-in: Add more tests of exp.
3669 * math/auto-libm-test-out: Regenerated.
3670 * sysdeps/i386/fpu/libm-test-ulps: Update.
3671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3674 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
3675 * math/w_exp2f.c (__exp2f): Likewise.
3676 * math/w_exp2l.c (__exp2l): Likewise.
3677 * math/auto-libm-test-in: Do not allow missing errno on exp2
3679 * math/auto-libm-test-out: Regenerated.
3681 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
3684 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
3685 handle filename validation.
3686 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
3689 2013-12-03 Joseph Myers <joseph@codesourcery.com>
3692 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
3693 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
3694 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
3696 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
3697 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
3698 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3699 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
3700 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3701 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
3702 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3703 * math/auto-libm-test-in: Don't allow missing errno from erfc.
3704 Add more erfc tests.
3705 * math/auto-libm-test-out: Regenerated.
3706 * sysdeps/i386/fpu/libm-test-ulps: Update.
3707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3709 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
3710 exp2, expm1, j0 and j1.
3711 * math/auto-libm-test-out: Regenerated.
3712 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
3713 (erfc_test_data): Likewise.
3714 (exp_test_data): Likewise.
3715 (exp_tonearest_test_data): Likewise.
3716 (exp_towardzero_test_data): Likewise.
3717 (exp_downward_test_data): Likewise.
3718 (exp_upward_test_data): Likewise.
3719 (exp10_test_data): Likewise.
3720 (exp2_test_data): Likewise.
3721 (expm1_test_data): Likewise.
3722 (j0_test_data): Likewise.
3723 (j1_test_data): Likewise.
3724 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
3725 (input_flag_type): Add flag_xfail_rounding.
3726 (input_flags): Add xfail-rounding.
3727 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
3728 (output_for_one_input_case): Handle flag_xfail_rounding.
3729 * sysdeps/i386/fpu/libm-test-ulps: Update.
3730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3732 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
3735 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
3738 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3741 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3742 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
3743 (STAP_PROBE0): New macro.
3744 (STAP_PROBE1): Likewise.
3745 (STAP_PROBE2): Likewise.
3746 (STAP_PROBE3): Likewise.
3747 (STAP_PROBE4): Likewise.
3749 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
3751 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3753 2013-12-02 Steve Ellcey <sellcey@mips.com>
3755 * benchtests/Makefile (bench): Add sqrt.
3756 (LDLIBS-bench-sqrt): New.
3757 * benchtests/sqrt-input: New.
3759 2013-12-02 Pavel Simerda <psimerda@redhat.com>
3761 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3762 (GAIH_EAI): Likewise.
3763 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3764 (gaih_inet): Likewise.
3765 (getaddrinfo): Don't use GAIH_EAI.
3767 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3768 (struct gaih): Remove definition.
3770 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3772 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3773 Use HERRNOP directly.
3775 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3779 2013-11-30 Joseph Myers <joseph@codesourcery.com>
3781 * math/gen-auto-libm-tests.c (test_functions): Add more
3782 single-argument functions.
3783 (special_fill_pi_2): New function.
3784 (special_fill_minus_pi_2): Likewise.
3785 (special_fill_pi_6): Likewise.
3786 (special_fill_minus_pi_6): Likewise.
3787 (special_fill_pi_3): Likewise.
3788 (special_fill_2pi_3): Likewise.
3789 (special_fill_e): Likewise.
3790 (special_fill_1_e): Likewise.
3791 (special_fill_e_minus_1): Likewise.
3792 (special_real_inputs): Add more special inputs.
3793 (output_for_one_input_case): Do not require ERANGE on underflow to
3794 zero if round-to-nearest result does not underflow to zero, unless
3795 exact results required.
3796 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3797 atan, atanh, cbrt, cos and cosh.
3798 * math/auto-libm-test-out: Regenerated.
3799 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3800 (acos_tonearest_test_data): Likewise.
3801 (acos_towardzero_test_data): Likewise.
3802 (acos_downward_test_data): Likewise.
3803 (acos_upward_test_data): Likewise.
3804 (acosh_test_data): Likewise.
3805 (asin_test_data): Likewise.
3806 (asin_tonearest_test_data): Likewise.
3807 (asin_towardzero_test_data): Likewise.
3808 (asin_upward_test_data): Likewise.
3809 (asinh_test_data): Likewise.
3810 (atan_test_data): Likewise.
3811 (atanh_test_data): Likewise.
3812 (cbrt_test_data): Likewise.
3813 (cos_test_data): Likewise.
3814 (cos_tonearest_test_data): Likewise.
3815 (cos_towardzero_test_data): Likewise.
3816 (cos_downward_test_data): Likewise.
3817 (cos_upward_test_data): Likewise.
3818 (cosh_test_data): Likewise.
3819 (cosh_tonearest_test_data): Likewise.
3820 (cosh_towardzero_test_data): Likewise.
3821 (cosh_downward_test_data): Likewise.
3822 (cosh_upward_test_data): Likewise.
3823 * sysdeps/i386/fpu/libm-test-ulps: Update.
3824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3826 2013-11-29 Joseph Myers <joseph@codesourcery.com>
3829 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3830 * math/w_exp10f.c (__exp10f): Likewise.
3831 * math/w_exp10l.c (__exp10l): Likewise.
3832 * math/libm-test.inc (exp10_test_data): Add more tests and expect
3833 errno settings in existing tests.
3836 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3837 precision control set to double precision.
3838 * sysdeps/i386/fpu/w_sqrt.c: New file.
3839 * math/auto-libm-test-in: Add more tests.
3840 * math/auto-libm-test-out: Update.
3842 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3843 (sqrt_test_tonearest): New function.
3844 (sqrt_towardzero_test_data): New variable.
3845 (sqrt_test_towardzero): New function.
3846 (sqrt_downward_test_data): New variable.
3847 (sqrt_test_downward): New function.
3848 (sqrt_upward_test_data): New variable.
3849 (sqrt_test_upward): New function.
3850 (main): Call the new functions.
3852 * math/gen-auto-libm-tests.c: New file.
3853 * math/auto-libm-test-in: Likewise.
3854 * math/auto-libm-test-out: New generated file.
3855 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3857 (%beautify): Add generated representations of zero.
3858 (top level): Set $auto_input and call parse_auto_input.
3859 (beautify): Remove trailing "f" from hex float constants.
3860 (parse_args): Handle XFAIL_TEST.
3861 (convert_condition): New function.
3862 (or_value): Likewise.
3863 (or_cond_value): Likewise.
3864 (generate_testfile): Handle AUTO_TESTS_* lines.
3865 (parse_auto_input): New function.
3866 * math/libm-test.inc (XFAIL_TEST): New macro.
3867 (ERRNO_UNCHANGED): Update value.
3868 (ERRNO_EDOM): Likewise.
3869 (ERRNO_ERANGE): Likewise.
3870 (IGNORE_RESULT): Likewise.
3871 (TEST_COND_flt_32): New macro.
3872 (TEST_COND_dbl_64): Likewise.
3873 (TEST_COND_ldbl_96_intel): Likewise.
3874 (TEST_COND_ldbl_96_m68k): Likewise.
3875 (TEST_COND_ldbl_128): Likewise.
3876 (TEST_COND_ldbl_128ibm): Likewise.
3877 (TEST_COND_long32): Likewise.
3878 (TEST_COND_long64): Likewise.
3879 (TEST_COND_before_rounding): Likewise.
3880 (TEST_COND_after_rounding): Likewise.
3881 (enable_test): Handle XFAIL_TEST flag.
3882 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3883 with finite results.
3884 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3887 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3888 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3891 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3892 __tls_get_addr_internal instead of __tls_get_offset in order to
3893 avoid GOT pointer dependency. Make rtld export
3894 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3895 __tls_get_addr since we are a __tls_get_offset platform.
3896 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3897 GOT pointer being set up before.
3898 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3900 2013-11-28 Joseph Myers <joseph@codesourcery.com>
3902 * manual/math.texi (Errors in Math Functions): Document accuracy
3906 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3907 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3908 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3909 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3910 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3911 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3912 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3913 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3914 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3915 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3916 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3917 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3918 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3919 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3920 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3921 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3923 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3924 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3925 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3926 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3927 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3929 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3931 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3933 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3934 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3935 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3936 atomic-feupdateenv and flt-rounds.
3937 * sysdeps/powerpc/nofpu/Versions (libc): Add
3938 __atomic_feholdexcept, __atomic_feclearexcept,
3939 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3940 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3941 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3942 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3943 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3948 * manual/arith.texi (FP Exceptions): Document that exceptions may
3949 not be raised when matherr is used.
3950 (Math Error Reporting): Document overflow in directed rounding
3951 modes. Document that errno may not be set when finite values are
3952 returned on overflow. Document intent to set errno on underflow
3953 only for underflow to zero.
3956 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3957 round-to-nearest then adjust result for other rounding modes.
3958 * include/fenv.h (fegetround): Use libm_hidden_proto.
3959 * math/fegetround.c (fegetround): Use libm_hidden_def.
3960 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3961 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3962 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3963 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3965 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3966 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3967 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3968 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3970 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3973 * nss/Versions (libnss_files): Add
3974 _nss_files_gethostbyname3_r.
3975 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3977 (HOST_DB_LOOKUP): Remove macro.
3978 (_nss_files_gethostbyname_r): Implement function without the
3979 HOST_DB_LOOKUP macro.
3980 (_nss_files_gethostbyname2_r): Likewise.
3982 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
3984 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3986 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
3988 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3989 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3992 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3994 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3995 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3996 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3997 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3998 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3999 __fe_nomask_env_priv and attribute_hidden.
4000 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
4001 (libc_feupdateenv_test_ppc): Likewise.
4002 (libc_feresetround_ppc): Likewise.
4003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4004 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
4005 compat_symbol macro.
4006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4007 (__fe_nomask_env): Likewise.
4008 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
4010 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4012 * string/Makefile: Remove ifunc tests.
4013 * string/test-string.h: Define TEST_IFUNC.
4014 * string/test-bcopy-ifunc.c: Remove.
4015 * string/test-bzero-ifunc.c: Likewise.
4016 * string/test-memccpy-ifunc.c: Likewise.
4017 * string/test-memchr-ifunc.c: Likewise.
4018 * string/test-memcmp-ifunc.c: Likewise.
4019 * string/test-memcpy-ifunc.c: Likewise.
4020 * string/test-memmem-ifunc.c: Likewise.
4021 * string/test-memmove-ifunc.c: Likewise.
4022 * string/test-mempcpy-ifunc.c: Likewise.
4023 * string/test-memrchr-ifunc.c: Likewise.
4024 * string/test-memset-ifunc.c: Likewise.
4025 * string/test-rawmemchr-ifunc.c: Likewise.
4026 * string/test-stpcpy-ifunc.c: Likewise.
4027 * string/test-stpncpy-ifunc.c: Likewise.
4028 * string/test-strcasecmp-ifunc.c: Likewise.
4029 * string/test-strcasestr-ifunc.c: Likewise.
4030 * string/test-strcat-ifunc.c: Likewise.
4031 * string/test-strchr-ifunc.c: Likewise.
4032 * string/test-strchrnul-ifunc.c: Likewise.
4033 * string/test-strcmp-ifunc.c: Likewise.
4034 * string/test-strcpy-ifunc.c: Likewise.
4035 * string/test-strcspn-ifunc.c: Likewise.
4036 * string/test-strlen-ifunc.c: Likewise.
4037 * string/test-strncasecmp-ifunc.c: Likewise.
4038 * string/test-strncat-ifunc.c: Likewise.
4039 * string/test-strncmp-ifunc.c: Likewise.
4040 * string/test-strncpy-ifunc.c: Likewise.
4041 * string/test-strnlen-ifunc.c: Likewise.
4042 * string/test-strpbrk-ifunc.c: Likewise.
4043 * string/test-strrchr-ifunc.c: Likewise.
4044 * string/test-strspn-ifunc.c: Likewise.
4045 * string/test-strstr-ifunc.c: Likewise.
4047 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4049 * benchtests/Makefile: Remove ifunc tests.
4050 * benchtests/bench-string.h: Define TEST_IFUNC.
4051 * benchtests/bench-bcopy-ifunc.c: Remove.
4052 * benchtests/bench-bzero-ifunc.c: Likewise.
4053 * benchtests/bench-memccpy-ifunc.c: Likewise.
4054 * benchtests/bench-memchr-ifunc.c: Likewise.
4055 * benchtests/bench-memcmp-ifunc.c: Likewise.
4056 * benchtests/bench-memcpy-ifunc.c: Likewise.
4057 * benchtests/bench-memmem-ifunc.c: Likewise.
4058 * benchtests/bench-memmove-ifunc.c: Likewise.
4059 * benchtests/bench-mempcpy-ifunc.c: Likewise.
4060 * benchtests/bench-memrchr-ifunc.c: Likewise.
4061 * benchtests/bench-memset-ifunc.c: Likewise.
4062 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4063 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4064 * benchtests/bench-stpcpy-ifunc.c: Likewise.
4065 * benchtests/bench-stpncpy-ifunc.c: Likewise.
4066 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4067 * benchtests/bench-strcasestr-ifunc.c: Likewise.
4068 * benchtests/bench-strcat-ifunc.c: Likewise.
4069 * benchtests/bench-strchr-ifunc.c: Likewise.
4070 * benchtests/bench-strchrnul-ifunc.c: Likewise.
4071 * benchtests/bench-strcmp-ifunc.c: Likewise.
4072 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4073 * benchtests/bench-strcpy-ifunc.c: Likewise.
4074 * benchtests/bench-strcspn-ifunc.c: Likewise.
4075 * benchtests/bench-strlen-ifunc.c: Likewise.
4076 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4077 * benchtests/bench-strncat-ifunc.c: Likewise.
4078 * benchtests/bench-strncmp-ifunc.c: Likewise.
4079 * benchtests/bench-strncpy-ifunc.c: Likewise.
4080 * benchtests/bench-strnlen-ifunc.c: Likewise.
4081 * benchtests/bench-strpbrk-ifunc.c: Likewise.
4082 * benchtests/bench-strrchr-ifunc.c: Likewise.
4083 * benchtests/bench-strsep-ifunc.c: Likewise.
4084 * benchtests/bench-strspn-ifunc.c: Likewise.
4085 * benchtests/bench-strstr-ifunc.c: Likewise.
4087 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4089 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4091 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4093 * resolv/netdb.h: Use __glibc_reserved instead __unused.
4094 * rt/aio.h: Likewise.
4095 * sysdeps/gnu/bits/utmp.h: Likewise.
4096 * sysdeps/gnu/bits/utmpx.h: Likewise.
4097 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4098 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4099 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4100 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4101 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4102 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4103 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
4104 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
4105 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4106 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4107 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4108 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4109 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
4111 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4112 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
4113 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4114 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4115 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4116 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4117 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
4118 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
4119 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
4120 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4121 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4122 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4123 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
4124 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4125 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4126 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4127 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4128 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
4129 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
4130 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4131 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4132 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4133 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4134 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4135 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4136 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
4137 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4138 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4140 2013-11-25 Carlos O'Donell <carlos@redhat.com>
4143 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
4144 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
4146 2013-11-25 Joseph Myers <joseph@codesourcery.com>
4148 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4149 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4152 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4154 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
4155 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
4156 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
4157 (__fesetround): Remove define.
4158 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
4159 rounding and exceptions handling.
4160 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
4161 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
4162 (__fe_nomask_env): Likewise.
4163 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
4164 __fegetround instead of fegetround.
4165 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4166 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4168 2013-11-21 Roland McGrath <roland@hack.frob.com>
4170 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
4173 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4175 2013-11-21 Meador Inge <meadori@codesourcery.com>
4178 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
4179 (encrypt_r): Likewise.
4180 * malloc/obstack.h (obstack_free): Likewise.
4181 * posix/unistd.h (encrypt): Likewise.
4183 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
4185 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
4186 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
4187 DL_CALL_DT_FINI() that call the functions directly.
4188 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
4189 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
4190 * elf/dl-fini.c: Likewise.
4192 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
4194 * malloc/hooks.c (memalign_check): Add alignment rounding.
4195 * malloc/malloc.c (_mid_memalign): New function.
4196 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
4197 Implement by calling _mid_memalign.
4198 * manual/probes.texi (Memory Allocation Probes): Remove
4199 memory_valloc_retry and memory_pvalloc_retry.
4201 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4203 * locale/programs/locarchive.c (open_archive): Add const
4204 qualifier to ARCHIVEFNAME and copy default fname to
4208 * libio/tst-widetext.input: Rename Oriya to Odia.
4209 * locale/iso-639.def: Likewise.
4211 * manual/probes.texi (Mathematical Function Probes): Add
4212 documentation for sin, cos, asin and acos probes.
4213 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
4214 (__sin32): Add slowasin probe.
4215 (__cos32): Add slowacos probe.
4216 (__mpsin): Add slowsin probe.
4217 (__mpcos): Add slowcos probe.
4219 2013-11-19 Joseph Myers <joseph@codesourcery.com>
4222 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
4223 thread-local __sim_exceptions_thread and global
4224 __sim_exceptions_global.
4225 (__sim_disabled_exceptions): Change to thread-local
4226 __sim_disabled_exceptions_thread and global
4227 __sim_disabled_exceptions_global.
4228 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4229 and global __sim_round_mode_global.
4230 (__simulate_exceptions): Use thread-local floating-point state and
4231 set global state from it as needed.
4232 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
4233 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
4234 __sim_round_mode_thread.
4235 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
4236 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
4237 and global __sim_exceptions_global.
4238 (__sim_disabled_exceptions): Change to thread-local
4239 __sim_disabled_exceptions_thread and global
4240 __sim_disabled_exceptions_global.
4241 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4242 and global __sim_round_mode_global.
4243 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
4244 (SIM_SET_GLOBAL): Likewise.
4245 * sysdeps/powerpc/soft-fp/sfp-machine.h
4246 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
4247 __sim_round_mode_thread.
4248 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
4249 __sim_disabled_exceptions_thread.
4250 (__sim_exceptions): Change to __sim_exceptions_thread.
4251 (__sim_disabled_exceptions): Change to
4252 __sim_disabled_exceptions_thread.
4253 (__sim_round_mode): Change to __sim_round_mode_thread.
4254 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
4255 thread-local floating-point state and set global state from it as
4257 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
4258 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
4259 (__sim_disabled_exceptions): Remove extern declaration.
4260 (feenableexcept): Use thread-local floating-point state and set
4261 global state from it as needed.
4262 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
4264 (__sim_disabled_exceptions): Likewise.
4265 (__sim_round_mode): Likewise.
4266 (__fegetenv): Use thread-local floating-point state.
4267 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
4268 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4269 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
4270 floating-point state and set global state from it as needed.
4271 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
4272 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4273 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
4275 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4276 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
4278 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
4279 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
4280 Use __sim_round_mode_thread.
4281 * math/test-fenv-tls.c: New file.
4282 * math/Makefile (tests): Add test-fenv-tls.
4283 ($(objpfx)test-fenv-tls): Depend on
4284 $(common-objpfx)nptl/libpthread.so.
4286 2013-11-19 Andreas Schwab <schwab@suse.de>
4288 * locale/programs/locale.c (show_info): Decode wordarray elements.
4289 * locale/categories.def (LC_MONETARY): Add element for
4290 _NL_MONETARY_CRNCYSTR.
4291 * locale/C-monetary.c (conversion_rate): New variable.
4292 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
4295 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
4297 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
4298 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
4300 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4302 * elf/Makefile (tst-auxv): New test.
4303 * elf/tst-auxv.c: New
4304 * elf/rtld.c (dl_main): Adjust AT_EXECFN
4306 2013-11-18 Joseph Myers <joseph@codesourcery.com>
4308 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
4309 (hidden_proto): Caller changed.
4310 (hidden_tls_proto): New macro.
4311 (libc_hidden_tls_proto): Likewise.
4312 (rtld_hidden_tls_proto): Likewise.
4313 (libm_hidden_tls_proto): Likewise.
4314 (libresolv_hidden_tls_proto): Likewise.
4315 (librt_hidden_tls_proto): Likewise.
4316 (libdl_hidden_tls_proto): Likewise.
4317 (libnss_files_hidden_tls_proto): Likewise.
4318 (libnsl_hidden_tls_proto): Likewise.
4319 (libnss_nisplus_hidden_tls_proto): Likewise.
4320 (libutil_hidden_tls_proto): Likewise.
4322 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
4325 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
4326 (decompose_rpath): Defer expansion to fillin_rpath.
4327 (_dl_init_paths): Pass linkmap to fillin_rpath.
4329 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4331 * benchtests/Makefile: Add strsep.
4332 * benchtests/bench-strsep.c: New file: strsep benchtest.
4333 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
4335 2013-11-18 Andreas Schwab <schwab@suse.de>
4337 * locale/programs/locale.c (show_info) [case byte]: Check for
4338 '\377' instead of '\177'.
4339 * locale/C-monetary.c (not_available): Always use "\377".
4340 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
4341 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
4342 detect unavailable sign_posn locale elements.
4343 * locale/localeconv.c (__localeconv): For grouping and
4344 mon_grouping handle "\177" and "\377" like no grouping.
4345 (INT_ELEM): New macro. Use it to set all numeric members.
4346 * locale/programs/ld-monetary.c (monetary_read)
4347 <tok_mon_grouping>: Normalize single -1 to the empty string.
4348 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
4351 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
4354 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
4355 when we match (nil).
4356 * stdio-common/tst-sscanf.c (struct test): Add testcase.
4358 2013-11-16 Joseph Myers <joseph@codesourcery.com>
4360 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
4361 (NO_TEST_INLINE): Update value.
4362 (ERRNO_UNCHANGED): Likewise.
4363 (ERRNO_EDOM): Likewise.
4364 (ERRNO_ERANGE): Likewise.
4365 (IGNORE_RESULT): Likewise.
4366 (check_float_internal): Check signs of NaN results if
4368 (check_complex): Pass TEST_NAN_SIGN flag through to second
4369 check_float_internal call.
4370 (copysign_test_data): Add tests with quiet NaNs as second
4371 argument. Use TEST_NAN_SIGN.
4372 (fabs_test_data): Add test of negative quiet NaN argument. Use
4374 (signbit_test_data): Add tests of quiet NaN argument.
4375 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
4377 * math/gen-libm-test.pl (show_exceptions): Take extra argument
4379 (parse_args): Handle function results specified as IGNORE.
4380 * math/libm-test.inc (IGNORE_RESULT): New macro.
4381 (check_float_internal): Do not check numerical result if flag
4383 (check_complex): Pass through IGNORE_RESULT to second
4384 check_float_internal call.
4385 (check_int): Do not check numerical result if flag IGNORE_RESULT
4387 (check_long): Likewise.
4388 (check_bool): Likewise.
4389 (check_longlong): Likewise.
4390 (lrint_test_data): Add tests of infinite and NaN arguments.
4391 (lrint_tonearest_test_data): Likewise.
4392 (lrint_towardzero_test_data): Likewise.
4393 (lrint_downward_test_data): Likewise.
4394 (lrint_upward_test_data): Likewise.
4395 (llrint_test_data): Likewise.
4396 (llrint_tonearest_test_data): Likewise.
4397 (llrint_towardzero_test_data): Likewise.
4398 (llrint_downward_test_data): Likewise.
4399 (llrint_upward_test_data): Likewise.
4400 (lround_test_data): Likewise.
4401 (llround_test_data): Likewise.
4403 * math/libm-test.inc (NO_TEST_INLINE): New macro.
4404 (ERRNO_UNCHANGED): Update value.
4405 (ERRNO_EDOM): Likewise.
4406 (ERRNO_ERANGE): Likewise.
4407 (NO_TEST_INLINE_FLOAT): New macro.
4408 (NO_TEST_INLINE_DOUBLE): Likewise.
4409 (enable_test): New function.
4410 (RUN_TEST_f_f): Check enable_test before running test.
4411 (RUN_TEST_2_f): Likewise.
4412 (RUN_TEST_fff_f): Likewise.
4413 (RUN_TEST_c_f): Likewise.
4414 (RUN_TEST_f_f1): Likewise.
4415 (RUN_TEST_fF_f1): Likewise.
4416 (RUN_TEST_fI_f1): Likewise.
4417 (RUN_TEST_ffI_f1): Likewise.
4418 (RUN_TEST_c_c): Likewise.
4419 (RUN_TEST_cc_c): Likewise.
4420 (RUN_TEST_f_i): Likewise.
4421 (RUN_TEST_f_i_tg): Likewise.
4422 (RUN_TEST_ff_i_tg): Likewise.
4423 (RUN_TEST_f_b): Likewise.
4424 (RUN_TEST_f_b_tg): Likewise.
4425 (RUN_TEST_f_l): Likewise.
4426 (RUN_TEST_f_L): Likewise.
4427 (RUN_TEST_fFF_11): Likewise.
4428 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
4430 (cosh_test_data): Likewise.
4431 (exp_test_data): Likewise.
4432 (expm1_test_data): Likewise.
4433 (hypot_test_data): Likewise.
4434 (pow_test_data): Likewise.
4435 (sinh_test_data): Likewise.
4436 (tanh_test_data): Likewise.
4437 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
4440 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
4441 tests with quiet NaN input and output.
4442 (acosh_test_data): Likewise.
4443 (asin_test_data): Likewise.
4444 (asinh_test_data): Likewise.
4445 (atan_test_data): Likewise.
4446 (atanh_test_data): Likewise.
4447 (atan2_test_data): Likewise.
4448 (cbrt_test_data): Likewise.
4449 (cos_test_data): Likewise.
4450 (cosh_test_data): Likewise.
4451 (erf_test_data): Likewise.
4452 (erfc_test_data): Likewise.
4453 (exp_test_data): Likewise.
4454 (exp10_test_data): Likewise.
4455 (exp2_test_data): Likewise.
4456 (expm1_test_data): Likewise.
4457 (hypot_test_data): Likewise.
4458 (j0_test_data): Likewise.
4459 (j1_test_data): Likewise.
4460 (jn_test_data): Likewise.
4461 (lgamma_test_data): Likewise.
4462 (log_test_data): Likewise.
4463 (log10_test_data): Likewise.
4464 (log1p_test_data): Likewise.
4465 (log2_test_data): Likewise.
4466 (pow_test_data): Likewise.
4467 (scalb_test_data): Likewise.
4468 (sin_test_data): Likewise.
4469 (sincos_test_data): Likewise.
4470 (sinh_test_data): Likewise.
4471 (tan_test_data): Likewise.
4472 (tanh_test_data): Likewise.
4473 (tgamma_test_data): Likewise.
4474 (y0_test_data): Likewise.
4475 (y1_test_data): Likewise.
4476 (yn_test_data): Likewise.
4479 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
4480 argument being NaN and avoid computations with second argument in
4482 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4483 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4484 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4486 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
4488 * locale/iso-639.def: Add Chitwani Tharu (the).
4490 2013-11-14 Andreas Schwab <schwab@suse.de>
4492 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
4493 word instead of empty string.
4495 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4498 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
4499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4500 (__fe_nomask_env): Likewise.
4502 2013-11-13 Steve Ellcey <sellcey@mips.com>
4504 * benchtests/bench-timing.h: Include time.h.
4506 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
4509 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
4511 * sysdeps/unix/sysv/linux/configure: Regenerated.
4513 2013-11-13 Joseph Myers <joseph@codesourcery.com>
4516 * stdlib/strtod_l.c (round_and_return): Do not consider
4517 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
4518 exponent one less than half the least subnormal exponent.
4519 * stdlib/test-strtod-round-data: Add more tests.
4520 * stdlib/tst-strtod-round.c (tests): Regenerated.
4522 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4525 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
4526 (__fe_mask_env): Likewise.
4527 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
4528 libm_hidden_proto and add function prototype.
4529 (__fe_mask_env): Add function prototype.
4530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4531 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
4532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4533 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
4534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4535 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
4537 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4539 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
4540 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
4542 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4544 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
4545 of htab_find_slot().
4547 2013-11-11 David S. Miller <davem@davemloft.net>
4550 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
4551 symbol in the non-vis3 case in static builds.
4552 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
4553 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
4554 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
4555 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
4557 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4560 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
4563 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4565 * benchtests/Makefile: Add bench-strtod.
4566 * benchtests/bench-strtod.c: New file: strtod benchtest
4568 2013-11-11 Andreas Schwab <schwab@suse.de>
4571 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
4572 terminating NUL in key length.
4574 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4576 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4577 Add artificial ODP entry for vDSO symbol for PPC64.
4578 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
4579 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4581 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
4584 * nss/getent.c (services_keys): Recognize services starting with digit.
4586 2013-11-06 David S. Miller <davem@davemloft.net>
4589 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
4590 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
4592 2013-11-06 Will Newton <will.newton@linaro.org>
4594 * manual/memory.texi (Malloc Examples): Remove register
4595 keyword from examples.
4597 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
4599 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
4601 2013-11-04 Joseph Myers <joseph@codesourcery.com>
4604 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
4605 depending on [__GCC_IEC_559 > 0].
4606 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
4607 depending on [__GCC_IEC_559_COMPLEX > 0].
4609 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
4611 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
4614 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
4616 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
4618 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
4621 * malloc/malloc (malloc_info): Do not handle first bin as
4624 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
4626 * locale/iso-639.def: Add Central Nahuatl (nhn).
4628 2013-11-01 Bruno Haible <bruno@clisp.org>
4631 * manual/math.texi (BSD Random): Specify range upper bound as
4634 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
4636 * locale/iso-639.def: Add Meadow Mari (mhr).
4638 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
4640 [BZ #14752], [BZ #15763]
4641 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
4643 * rt/tst_shm.c: Add test for escaping directory.
4645 2013-10-31 Andreas Schwab <schwab@suse.de>
4648 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
4649 followed by 'x' as part of digit sequence.
4650 * stdio-common/tst-sscanf.c (double_tests2): New tests.
4652 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4655 * configure.ac: allow GNU Make 4.0 and greater.
4656 * configure: Regenerated.
4658 2013-10-30 Will Newton <will.newton@linaro.org>
4661 * malloc/hooks.c (memalign_check): Limit alignment to the
4662 maximum representable power of two.
4663 * malloc/malloc.c (__libc_memalign): Likewise.
4664 * malloc/tst-memalign.c (do_test): Add test for very
4665 large alignment values.
4666 * malloc/tst-posix_memalign.c (do_test): Likewise.
4668 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
4671 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
4672 (munmap_chunk): Likewise.
4673 (mremap_chunk): Likewise.
4675 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
4678 * stdlib/div.c (div): Remove obsolete code.
4679 * stdlib/ldiv.c (ldiv): Likewise.
4680 * stdlib/lldiv.c (lldiv): Likewise.
4682 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4685 * nss/nss_files/files-XXX.c (get_contents_ret): New
4687 (get_contents): New function.
4688 (internal_getent): Use it. Expand size of LINEBUFLEN.
4690 2013-10-30 Mike Frysinger <vapier@gentoo.org>
4692 * configure.in: Moved to ...
4693 * configure.ac: ... here. Change reference to configure.in
4695 * sysdeps/arm/preconfigure.ac: ... here.
4696 configure.in to configure.ac.
4697 * sysdeps/gnu/configure.in: Moved to ...
4698 * sysdeps/gnu/configure.ac: ... here.
4699 * sysdeps/i386/configure.in: Moved to ...
4700 * sysdeps/i386/configure.ac: ... here.
4701 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
4702 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
4703 * sysdeps/mach/configure.in: Moved to ...
4704 * sysdeps/mach/configure.ac: ... here.
4705 * sysdeps/mach/hurd/configure.in: Moved to ...
4706 * sysdeps/mach/hurd/configure.ac: ... here.
4707 * sysdeps/powerpc/configure.in: Moved to ...
4708 * sysdeps/powerpc/configure.ac: ... here.
4709 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
4710 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
4711 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
4712 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
4713 * sysdeps/s390/s390-32/configure.in: Moved to ...
4714 * sysdeps/s390/s390-32/configure.ac: ... here.
4715 * sysdeps/s390/s390-64/configure.in: Moved to ...
4716 * sysdeps/s390/s390-64/configure.ac: ... here.
4717 * sysdeps/sh/configure.in: Moved to ...
4718 * sysdeps/sh/configure.ac: ... here.
4719 * sysdeps/sparc/configure.in: Moved to ...
4720 * sysdeps/sparc/configure.ac: ... here.
4721 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
4722 * sysdeps/unix/sysv/linux/configure.ac: ... here.
4723 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
4724 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
4725 * sysdeps/x86_64/configure.in: Moved to ...
4726 * sysdeps/x86_64/configure.ac: ... here.
4727 * sysdeps/x86_64/preconfigure.in: Moved to ...
4728 * sysdeps/x86_64/preconfigure.ac: ... here.
4729 * aclocal.m4: Change reference to configure.in to configure.ac.
4730 * config.h.in: Likewise.
4731 * manual/install.texi: Likewise.
4732 * manual/maint.texi: Likewise.
4733 * Makefile: Likewise.
4734 * malloc/Makefile: Likewise.
4735 * nscd/Makefile: Likewise.
4736 * Makeconfig: Change reference to configure.in and
4737 preconfigure.in to configure.ac and preconfigure.ac
4739 * INSTALL: Regenerated.
4740 * configure: Likewise.
4741 * sysdeps/gnu/configure: Likewise.
4742 * sysdeps/i386/configure: Likewise.
4743 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
4744 * sysdeps/mach/configure: Likewise.
4745 * sysdeps/mach/hurd/configure: Likewise.
4746 * sysdeps/powerpc/configure: Likewise.
4747 * sysdeps/powerpc/powerpc32/configure: Likewise.
4748 * sysdeps/powerpc/powerpc64/configure: Likewise.
4749 * sysdeps/s390/s390-32/configure: Likewise.
4750 * sysdeps/s390/s390-64/configure: Likewise.
4751 * sysdeps/sh/configure: Likewise.
4752 * sysdeps/sparc/configure: Likewise.
4753 * sysdeps/unix/sysv/linux/configure: Likewise.
4754 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4755 * sysdeps/x86_64/configure: Likewise.
4756 * sysdeps/x86_64/preconfigure: Likewise.
4758 2013-10-29 Andreas Schwab <schwab@suse.de>
4760 * stdio-common/Makefile (tst-swscanf-ENV): Define.
4762 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4764 * benchtests/pow-inputs: Add new inputs.
4766 * benchtests/exp-inputs: Add new inputs.
4768 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4769 conditional check for return value.
4770 (__cos32): Likewise.
4772 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4774 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4775 to provide a boost for large inputs with word alignment.
4776 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4777 implementation based on optimized PPC64 strcpy.
4778 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4779 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4780 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4781 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4783 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4786 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4788 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4791 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4792 * time/tst-strptime.c (day_tests): Add testcase.
4794 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4797 * manual/pattern.texi: Acknowledge that fnmatch can fail.
4799 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
4802 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4803 MAP_FAILED on error.
4805 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4808 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4809 heap for large requests.
4811 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
4814 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4815 result if the result has no associated interface.
4816 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4817 interface for all 127.X.Y.Z addresses.
4819 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
4821 * locale/iso-639.def: Add Ligurian (lij)
4823 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
4826 * sunrpc/rpc_main.c: Document rpcgen -5.
4828 2013-10-19 Michael Stahl <mstahl@redhat.com>
4830 * elf/rtld.c (do_preload): Print the reason why preloading failed.
4832 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4835 * posix/glob.c: Match only directories when trailing slash is present.
4836 * posix/tst-gnuglob.c (my_opendir): Do not open files.
4837 (main): Add testcase.
4839 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4842 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4844 2013-10-18 Carlos O'Donell <carlos@redhat.com>
4846 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4847 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4848 AUTH_DES and cindex for FIPS 140-2.
4849 (DES Encryption): Add cindex FIPS 46-3.
4851 * locale/locarchive.h (struct locarhandle): Add fname.
4852 * locale/programs/localedef.c (main): Pass ARGV[remaining]
4853 if an optional argument was specified to --list-archive,
4855 * locale/programs/locarchive.c (show_archive_content): Take new
4856 argument fname and pass it via ah.fname to open_archive.
4857 * locale/programs/localedef.h: Update decl.
4858 (open_archive): If AH->fname is non-null, open that file
4859 rather than the default file name, and don't ignore ENOENT.
4860 (create_archive): Set AH.fname to NULL.
4861 (delete_locales_from_archive): Likewise.
4862 (add_locales_to_archive): Likewise.
4863 * locale/programs/locfile.c (write_all_categories): Likewise.
4865 2013-10-18 Joseph Myers <joseph@codesourcery.com>
4866 Aldy Hernandez <aldyh@redhat.com>
4868 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4869 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4870 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4871 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4872 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4873 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4874 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4875 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4876 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4877 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4878 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4879 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4880 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4881 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4882 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4884 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4886 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4888 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4890 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4891 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4893 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4894 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4895 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4896 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4898 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4899 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4900 * sysdeps/powerpc/preconfigure: Likewise.
4901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4903 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4904 Replace contents of file by #include of <fenv_libc.h>.
4905 * sysdeps/powerpc/soft-fp/sfp-machine.h
4906 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4908 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4909 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4910 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4911 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4912 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4913 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4914 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4915 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4916 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4917 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4918 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4919 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4921 Allow copysignl PLT reference to be missing.
4923 2013-10-18 Richard Sandiford <richard@codesourcery.com>
4924 Joseph Myers <joseph@codesourcery.com
4927 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4929 (add_to_tablewc): Assert sequence of wide characters is nonempty.
4931 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4933 * elf/tst-tls-dlinfo.c: Don't include tls.h.
4934 * elf/tst-tls1.c: Likewise.
4935 * elf/tst-tls10.h: Likewise.
4936 * elf/tst-tls14.c: Likewise.
4937 * elf/tst-tls2.c: Likewise.
4938 * elf/tst-tls3.c: Likewise.
4939 * elf/tst-tls4.c: Likewise.
4940 * elf/tst-tls5.c: Likewise.
4941 * elf/tst-tls6.c: Likewise.
4942 * elf/tst-tls7.c: Likewise.
4943 * elf/tst-tls8.c: Likewise.
4944 * elf/tst-tls9.c: Likewise.
4945 * elf/tst-tlsmod1.c: Likewise.
4946 * elf/tst-tlsmod13.c: Likewise.
4947 * elf/tst-tlsmod13a.c: Likewise.
4948 * elf/tst-tlsmod14a.c: Likewise.
4949 * elf/tst-tlsmod16a.c: Likewise.
4950 * elf/tst-tlsmod16b.c: Likewise.
4951 * elf/tst-tlsmod2.c: Likewise.
4952 * elf/tst-tlsmod3.c: Likewise.
4953 * elf/tst-tlsmod4.c: Likewise.
4954 * elf/tst-tlsmod5.c: Likewise.
4955 * elf/tst-tlsmod6.c: Likewise.
4957 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
4960 * malloc/malloc.c: remove checks for statistics.
4962 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4965 * inet/inet_net.c (inet_network): Detect additional invalid strings.
4966 * inet/tst-network.c: Add testcase.
4968 2013-10-17 Andreas Schwab <schwab@suse.de>
4971 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4972 to determine canonical name.
4974 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4976 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4977 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4978 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4979 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4980 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4981 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4982 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4983 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4984 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4985 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4986 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4987 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4988 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4989 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4990 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4991 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4992 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4993 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4994 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4995 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4996 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4997 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4998 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4999 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
5000 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
5001 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5002 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5003 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
5004 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5005 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
5006 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5007 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5008 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5009 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5010 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5011 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5012 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5013 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5014 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5015 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5016 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5017 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5018 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5019 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5020 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5021 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5022 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5023 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5024 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5025 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5026 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5027 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5028 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5029 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5030 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5031 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5032 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5033 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5035 2013-10-17 Joseph Myers <joseph@codesourcery.com>
5038 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5039 make result into a quiet NaN.
5041 2013-10-16 Joseph Myers <joseph@codesourcery.com>
5043 * soft-fp/adddf3.c: Fix horizontal whitespace.
5044 * soft-fp/addsf3.c: Likewise.
5045 * soft-fp/addtf3.c: Likewise.
5046 * soft-fp/divdf3.c: Likewise.
5047 * soft-fp/divsf3.c: Likewise.
5048 * soft-fp/divtf3.c: Likewise.
5049 * soft-fp/double.h: Likewise.
5050 * soft-fp/eqdf2.c: Likewise.
5051 * soft-fp/eqsf2.c: Likewise.
5052 * soft-fp/eqtf2.c: Likewise.
5053 * soft-fp/extenddftf2.c: Likewise.
5054 * soft-fp/extended.h: Likewise.
5055 * soft-fp/extendsfdf2.c: Likewise.
5056 * soft-fp/extendsftf2.c: Likewise.
5057 * soft-fp/extendxftf2.c: Likewise.
5058 * soft-fp/fixdfdi.c: Likewise.
5059 * soft-fp/fixdfsi.c: Likewise.
5060 * soft-fp/fixdfti.c: Likewise.
5061 * soft-fp/fixsfdi.c: Likewise.
5062 * soft-fp/fixsfsi.c: Likewise.
5063 * soft-fp/fixsfti.c: Likewise.
5064 * soft-fp/fixtfdi.c: Likewise.
5065 * soft-fp/fixtfsi.c: Likewise.
5066 * soft-fp/fixtfti.c: Likewise.
5067 * soft-fp/fixunsdfdi.c: Likewise.
5068 * soft-fp/fixunsdfsi.c: Likewise.
5069 * soft-fp/fixunsdfti.c: Likewise.
5070 * soft-fp/fixunssfdi.c: Likewise.
5071 * soft-fp/fixunssfsi.c: Likewise.
5072 * soft-fp/fixunssfti.c: Likewise.
5073 * soft-fp/fixunstfdi.c: Likewise.
5074 * soft-fp/fixunstfsi.c: Likewise.
5075 * soft-fp/fixunstfti.c: Likewise.
5076 * soft-fp/floatdidf.c: Likewise.
5077 * soft-fp/floatdisf.c: Likewise.
5078 * soft-fp/floatditf.c: Likewise.
5079 * soft-fp/floatsidf.c: Likewise.
5080 * soft-fp/floatsisf.c: Likewise.
5081 * soft-fp/floatsitf.c: Likewise.
5082 * soft-fp/floattidf.c: Likewise.
5083 * soft-fp/floattisf.c: Likewise.
5084 * soft-fp/floattitf.c: Likewise.
5085 * soft-fp/floatundidf.c: Likewise.
5086 * soft-fp/floatundisf.c: Likewise.
5087 * soft-fp/floatunditf.c: Likewise.
5088 * soft-fp/floatunsidf.c: Likewise.
5089 * soft-fp/floatunsisf.c: Likewise.
5090 * soft-fp/floatunsitf.c: Likewise.
5091 * soft-fp/floatuntidf.c: Likewise.
5092 * soft-fp/floatuntisf.c: Likewise.
5093 * soft-fp/floatuntitf.c: Likewise.
5094 * soft-fp/fmadf4.c: Likewise.
5095 * soft-fp/fmasf4.c: Likewise.
5096 * soft-fp/fmatf4.c: Likewise.
5097 * soft-fp/gedf2.c: Likewise.
5098 * soft-fp/gesf2.c: Likewise.
5099 * soft-fp/getf2.c: Likewise.
5100 * soft-fp/ledf2.c: Likewise.
5101 * soft-fp/lesf2.c: Likewise.
5102 * soft-fp/letf2.c: Likewise.
5103 * soft-fp/muldf3.c: Likewise.
5104 * soft-fp/mulsf3.c: Likewise.
5105 * soft-fp/multf3.c: Likewise.
5106 * soft-fp/negdf2.c: Likewise.
5107 * soft-fp/negsf2.c: Likewise.
5108 * soft-fp/negtf2.c: Likewise.
5109 * soft-fp/op-1.h: Likewise.
5110 * soft-fp/op-2.h: Likewise.
5111 * soft-fp/op-4.h: Likewise.
5112 * soft-fp/op-8.h: Likewise.
5113 * soft-fp/op-common.h: Likewise.
5114 * soft-fp/quad.h: Likewise.
5115 * soft-fp/single.h: Likewise.
5116 * soft-fp/soft-fp.h: Likewise.
5117 * soft-fp/sqrtdf2.c: Likewise.
5118 * soft-fp/sqrtsf2.c: Likewise.
5119 * soft-fp/sqrttf2.c: Likewise.
5120 * soft-fp/subdf3.c: Likewise.
5121 * soft-fp/subsf3.c: Likewise.
5122 * soft-fp/subtf3.c: Likewise.
5123 * soft-fp/truncdfsf2.c: Likewise.
5124 * soft-fp/trunctfdf2.c: Likewise.
5125 * soft-fp/trunctfsf2.c: Likewise.
5126 * soft-fp/trunctfxf2.c: Likewise.
5127 * soft-fp/unorddf2.c: Likewise.
5128 * soft-fp/unordsf2.c: Likewise.
5129 * soft-fp/unordtf2.c: Likewise.
5131 2013-10-15 Joseph Myers <joseph@codesourcery.com>
5133 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
5134 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
5136 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
5138 * elf/dl-libc.c: Clear initfini list after freeing.
5140 2013-10-14 Joseph Myers <joseph@codesourcery.com>
5142 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
5143 * soft-fp/addsf3.c: Likewise.
5144 * soft-fp/addtf3.c: Likewise.
5145 * soft-fp/divdf3.c: Likewise.
5146 * soft-fp/divsf3.c: Likewise.
5147 * soft-fp/divtf3.c: Likewise.
5148 * soft-fp/double.h: Likewise.
5149 * soft-fp/eqdf2.c: Likewise.
5150 * soft-fp/eqsf2.c: Likewise.
5151 * soft-fp/eqtf2.c: Likewise.
5152 * soft-fp/extenddftf2.c: Likewise.
5153 * soft-fp/extended.h: Likewise.
5154 * soft-fp/extendsfdf2.c: Likewise.
5155 * soft-fp/extendsftf2.c: Likewise.
5156 * soft-fp/extendxftf2.c: Likewise.
5157 * soft-fp/fixdfdi.c: Likewise.
5158 * soft-fp/fixdfsi.c: Likewise.
5159 * soft-fp/fixdfti.c: Likewise.
5160 * soft-fp/fixsfdi.c: Likewise.
5161 * soft-fp/fixsfsi.c: Likewise.
5162 * soft-fp/fixsfti.c: Likewise.
5163 * soft-fp/fixtfdi.c: Likewise.
5164 * soft-fp/fixtfsi.c: Likewise.
5165 * soft-fp/fixtfti.c: Likewise.
5166 * soft-fp/fixunsdfdi.c: Likewise.
5167 * soft-fp/fixunsdfsi.c: Likewise.
5168 * soft-fp/fixunsdfti.c: Likewise.
5169 * soft-fp/fixunssfdi.c: Likewise.
5170 * soft-fp/fixunssfsi.c: Likewise.
5171 * soft-fp/fixunssfti.c: Likewise.
5172 * soft-fp/fixunstfdi.c: Likewise.
5173 * soft-fp/fixunstfsi.c: Likewise.
5174 * soft-fp/fixunstfti.c: Likewise.
5175 * soft-fp/floatdidf.c: Likewise.
5176 * soft-fp/floatdisf.c: Likewise.
5177 * soft-fp/floatditf.c: Likewise.
5178 * soft-fp/floatsidf.c: Likewise.
5179 * soft-fp/floatsisf.c: Likewise.
5180 * soft-fp/floatsitf.c: Likewise.
5181 * soft-fp/floattidf.c: Likewise.
5182 * soft-fp/floattisf.c: Likewise.
5183 * soft-fp/floattitf.c: Likewise.
5184 * soft-fp/floatundidf.c: Likewise.
5185 * soft-fp/floatundisf.c: Likewise.
5186 * soft-fp/floatunsidf.c: Likewise.
5187 * soft-fp/floatunsisf.c: Likewise.
5188 * soft-fp/floatuntidf.c: Likewise.
5189 * soft-fp/floatuntisf.c: Likewise.
5190 * soft-fp/floatuntitf.c: Likewise.
5191 * soft-fp/fmadf4.c: Likewise.
5192 * soft-fp/fmasf4.c: Likewise.
5193 * soft-fp/fmatf4.c: Likewise.
5194 * soft-fp/gedf2.c: Likewise.
5195 * soft-fp/gesf2.c: Likewise.
5196 * soft-fp/getf2.c: Likewise.
5197 * soft-fp/ledf2.c: Likewise.
5198 * soft-fp/lesf2.c: Likewise.
5199 * soft-fp/letf2.c: Likewise.
5200 * soft-fp/muldf3.c: Likewise.
5201 * soft-fp/mulsf3.c: Likewise.
5202 * soft-fp/multf3.c: Likewise.
5203 * soft-fp/negdf2.c: Likewise.
5204 * soft-fp/negsf2.c: Likewise.
5205 * soft-fp/negtf2.c: Likewise.
5206 * soft-fp/op-1.h: Likewise.
5207 * soft-fp/op-2.h: Likewise.
5208 * soft-fp/op-4.h: Likewise.
5209 * soft-fp/op-8.h: Likewise.
5210 * soft-fp/op-common.h: Likewise.
5211 * soft-fp/quad.h: Likewise.
5212 * soft-fp/single.h: Likewise.
5213 * soft-fp/soft-fp.h: Likewise.
5214 * soft-fp/sqrtdf2.c: Likewise.
5215 * soft-fp/sqrtsf2.c: Likewise.
5216 * soft-fp/sqrttf2.c: Likewise.
5217 * soft-fp/subdf3.c: Likewise.
5218 * soft-fp/subsf3.c: Likewise.
5219 * soft-fp/subtf3.c: Likewise.
5220 * soft-fp/truncdfsf2.c: Likewise.
5221 * soft-fp/trunctfdf2.c: Likewise.
5222 * soft-fp/trunctfsf2.c: Likewise.
5223 * soft-fp/trunctfxf2.c: Likewise.
5224 * soft-fp/unorddf2.c: Likewise.
5225 * soft-fp/unordsf2.c: Likewise.
5226 * soft-fp/unordtf2.c: Likewise.
5228 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
5231 * misc/error.c (error_tail): Fix possible buffer overflow.
5233 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
5236 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
5239 2013-10-14 P. J. McDermott <pj@pehjota.net>
5242 * elf/ldd.bash.in (try_trace): New function. Delete previous code
5243 testing pipefail option.
5245 2013-10-12 Joseph Myers <joseph@codesourcery.com>
5247 * soft-fp/double.h: Indent preprocessor directives inside #if.
5248 * soft-fp/extended.h: Likewise.
5249 * soft-fp/op-2.h: Likewise.
5250 * soft-fp/op-4.h: Likewise.
5251 * soft-fp/op-common.h: Likewise.
5252 * soft-fp/quad.h: Likewise.
5253 * soft-fp/single.h: Likewise.
5254 * soft-fp/soft-fp.h: Likewise.
5256 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
5258 * iconv/iconv_prog.c: Fix typos.
5259 * stdio-common/psiginfo-data.h: Likewise.
5261 2013-10-12 Reuben Thomas <rrt@sc3d.org>
5264 * locale/setlocale.c: Fix typo.
5266 2013-10-12 Joseph Myers <joseph@codesourcery.com>
5269 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
5270 signaling NaN arguments.
5271 * soft-fp/unordsf2.c (__unordsf2): Likewise.
5272 * soft-fp/unordtf2.c (__unordtf2): Likewise.
5275 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
5277 * soft-fp/gesf2.c (__gesf2): Likewise.
5278 * soft-fp/getf2.c (__getf2): Likewise.
5279 * soft-fp/ledf2.c (__ledf2): Likewise.
5280 * soft-fp/lesf2.c (__lesf2): Likewise.
5281 * soft-fp/letf2.c (__letf2): Likewise.
5283 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
5284 * soft-fp/eqsf2.c (__eqsf2): Likewise.
5285 * soft-fp/eqtf2.c (__eqtf2): Likewise.
5286 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
5287 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
5288 * soft-fp/fixdfti.c (__fixdfti): Likewise.
5289 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
5290 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
5291 * soft-fp/fixsfti.c (__fixsfti): Likewise.
5292 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
5293 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
5294 * soft-fp/fixtfti.c (__fixtfti): Likewise.
5295 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
5296 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
5297 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
5298 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
5299 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
5300 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
5301 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
5302 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
5303 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
5304 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
5305 * soft-fp/floatdisf.c (__floatdisf): Likewise.
5306 * soft-fp/floatsisf.c (__floatsisf): Likewise.
5307 * soft-fp/floattidf.c (__floattidf): Likewise.
5308 * soft-fp/floattisf.c (__floattisf): Likewise.
5309 * soft-fp/floattitf.c (__floattitf): Likewise.
5310 * soft-fp/floatundidf.c (__floatundidf): Likewise.
5311 * soft-fp/floatundisf.c (__floatundisf): Likewise.
5312 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
5313 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
5314 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
5315 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
5316 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
5317 * soft-fp/gesf2.c (__gesf2): Likewise.
5318 * soft-fp/getf2.c (__getf2): Likewise.
5319 * soft-fp/ledf2.c (__ledf2): Likewise.
5320 * soft-fp/lesf2.c (__lesf2): Likewise.
5321 * soft-fp/letf2.c (__letf2): Likewise.
5323 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
5324 Undefine and redefine.
5325 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
5326 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
5327 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
5328 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
5329 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5330 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
5331 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5332 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
5333 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5334 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
5335 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5336 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
5337 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5338 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
5339 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5342 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
5343 without decrementing exponent if mantissa >= that for the
5345 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
5346 denominator, not >. Decrement exponent in < case instead of
5347 incrementing in >= case.
5348 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
5349 without decrementing exponent if mantissa >= that for the
5352 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
5353 computing saturated result for unsigned overflow.
5355 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5356 Jeff Law <law@redhat.com>
5358 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
5359 (atan2Mp): Add systemtap probe marker.
5360 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
5361 (__ieee754_log): Add systemtap probe marker.
5362 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
5363 (atanMp): Add systemtap probe marker.
5364 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
5365 (tanMp): Add systemtap probe marker.
5366 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
5367 (__slowexp): Add systemtap probe marker.
5368 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
5369 (__slowpow): Add systemtap probe marker.
5370 * manual/probes.texi: Document probes.
5372 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
5375 * libio/fileops.c (_IO_new_file_write): Return count of bytes
5377 (_IO_new_file_xsputn): Don't return EOF if nothing has been
5379 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
5380 written to buffer but not flushed.
5381 * libio/iofwrite_u.c: Likewise.
5382 * libio/iopadn.c: Return bytes returned even if EOF was
5384 * libio/iowpadn.c: Likewise.
5385 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
5386 if _IO_padn does not write the whole buffer.
5387 [!COMPILE_WPRINTF] (PAD): Likewise.
5389 2013-10-10 David S. Miller <davem@davemloft.net>
5391 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
5394 2013-10-10 Joseph Myers <joseph@codesourcery.com>
5396 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
5397 instead of FSF address.
5398 * soft-fp/fixdfti.c: Likewise.
5399 * soft-fp/fixsfti.c: Likewise.
5400 * soft-fp/fixtfti.c: Likewise.
5401 * soft-fp/fixunsdfti.c: Likewise.
5402 * soft-fp/fixunssfti.c: Likewise.
5403 * soft-fp/fixunstfti.c: Likewise.
5404 * soft-fp/floattidf.c: Likewise.
5405 * soft-fp/floattisf.c: Likewise.
5406 * soft-fp/floattitf.c: Likewise.
5407 * soft-fp/floatuntidf.c: Likewise.
5408 * soft-fp/floatuntisf.c: Likewise.
5409 * soft-fp/floatuntitf.c: Likewise.
5410 * soft-fp/trunctfxf2.c: Likewise.
5412 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
5413 * soft-fp/fixdfti.c: Likewise.
5414 * soft-fp/fixsfti.c: Likewise.
5415 * soft-fp/fixtfti.c: Likewise.
5416 * soft-fp/fixunsdfti.c: Likewise.
5417 * soft-fp/fixunssfti.c: Likewise.
5418 * soft-fp/fixunstfti.c: Likewise.
5419 * soft-fp/floattidf.c: Likewise.
5420 * soft-fp/floattisf.c: Likewise.
5421 * soft-fp/floattitf.c: Likewise.
5422 * soft-fp/floatuntidf.c: Likewise.
5423 * soft-fp/floatuntisf.c: Likewise.
5424 * soft-fp/floatuntitf.c: Likewise.
5425 * soft-fp/trunctfxf2.c: Likewise.
5427 2013-10-10 David S. Miller <davem@davemloft.net>
5429 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5431 2013-10-10 Joseph Myers <joseph@codsourcery.com>
5433 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5434 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
5435 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
5436 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
5437 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
5438 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
5439 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
5441 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
5442 for NaNs before doing comparisons on argument.
5443 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5446 2013-10-10 Will Newton <will.newton@linaro.org>
5448 * malloc/hooks.c (memalign_check): Ensure the value of bytes
5449 passed to _int_memalign does not overflow.
5451 2013-10-10 Torvald Riegel <triegel@redhat.com>
5453 * scripts/bench.pl: Add include-sources directive.
5454 * benchtests/README: Update documentation.
5456 2013-10-10 Joseph Myers <joseph@codesourcery.com>
5458 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
5459 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
5460 instead of FP_INIT_ROUNDMODE.
5461 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
5462 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
5465 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
5466 copy class of input value.
5467 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
5468 not handle exceptions.
5469 * soft-fp/negsf2.c (__negsf2): Likewise.
5470 * soft-fp/negtf2.c (__negtf2): Likewise.
5471 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
5473 2013-10-09 Joseph Myers <joseph@codesourcery.com>
5475 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
5476 semicolon. From Linux kernel.
5478 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
5480 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
5482 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
5485 * manual/socket.texi: Added statement about buffer
5486 for gethostbyname2_r.
5488 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
5490 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
5491 Use .p2align directive instead, throughout.
5492 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5493 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5494 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5495 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5496 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5497 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
5498 * sysdeps/x86_64/strchr.S: Likewise.
5499 * sysdeps/x86_64/strrchr.S: Likewise.
5501 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5503 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
5505 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
5507 * sysdeps/generic/math_private.h (__mpsin1): Remove
5509 (__mpcos1): Likewise.
5510 (__mpsin): New argument __range_reduce.
5511 (__mpcos): Likewise.
5512 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5513 (slow): Use __mpsin and __mpcos.
5520 (bsloww1): Likewise.
5521 (bsloww2): Likewise.
5524 (csloww1): Likewise.
5525 (csloww2): Likewise.
5526 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
5527 range_reduce. Merge in __mpsin1.
5528 (__mpcos): Likewise.
5530 (__mpcos1): Likewise.
5532 2013-10-07 Joseph Myers <joseph@codesourcery.com>
5534 * locale/loadlocale.c (_nl_intern_locale_data): Use
5536 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
5537 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
5538 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
5539 obstack data is appropriately aligned.
5540 (obstack_int32_grow_fast): Likewise.
5541 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
5542 * locale/programs/locfile.c (add_locale_uint32): Likewise.
5543 (add_locale_uint32_array): Likewise.
5545 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5547 * benchtests/Makefile: Remove ARGLIST and RET variables.
5548 ($(objpfx)bench-%.c): Pass only function name to the script.
5549 * benchtests/README: Update documentation.
5550 * benchtests/acos-inputs: Add new directives.
5551 * benchtests/acosh-inputs: Likewise.
5552 * benchtests/asin-inputs: Likewise.
5553 * benchtests/asinh-inputs: Likewise.
5554 * benchtests/atan-inputs: Likewise.
5555 * benchtests/atanh-inputs: Likewise.
5556 * benchtests/cos-inputs: Likewise.
5557 * benchtests/cosh-inputs: Likewise.
5558 * benchtests/exp-inputs: Likewise.
5559 * benchtests/log-inputs: Likewise.
5560 * benchtests/pow-inputs: Likewise.
5561 * benchtests/rint-inputs: Likewise.
5562 * benchtests/sin-inputs: Likewise.
5563 * benchtests/sinh-inputs: Likewise.
5564 * benchtests/tan-inputs: Likewise.
5565 * benchtests/tanh-inputs: Likewise.
5566 * scripts/bench.pl: Add support for new directives.
5568 2013-10-07 Alan Modra <amodra@gmail.com>
5570 * README: Fix careless merge.
5572 2013-10-05 Alan Modra <amodra@gmail.com>
5574 * NEWS: Mention powerpc64le support and bugs fixed.
5575 * README: Both big-endian and little-endian powerpc64 supported.
5577 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5579 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
5580 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
5581 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
5582 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
5584 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
5586 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
5589 2013-10-04 Joseph Myers <joseph@codesourcery.com>
5591 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
5592 Move -mhard-float appending from
5593 ports/sysdeps/powerpc/powerpc32/Makefile.
5594 [$(with-fp) = yes] (ASFLAGS): Likewise.
5595 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
5596 * sysdeps/powerpc/nofpu: Move directory from
5597 ports/sysdeps/powerpc/nofpu.
5598 * sysdeps/powerpc/soft-fp: Move directory from
5599 ports/sysdeps/powerpc/soft-fp.
5600 * sysdeps/powerpc/powerpc32/405: Move directory from
5601 ports/sysdeps/powerpc/powerpc32/405.
5602 * sysdeps/powerpc/powerpc32/440: Move directory from
5603 ports/sysdeps/powerpc/powerpc32/440.
5604 * sysdeps/powerpc/powerpc32/464: Move directory from
5605 ports/sysdeps/powerpc/powerpc32/464.
5606 * sysdeps/powerpc/powerpc32/476: Move directory from
5607 ports/sysdeps/powerpc/powerpc32/476.
5608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
5609 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
5610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
5611 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
5612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
5613 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
5614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
5615 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
5616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
5617 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
5618 * README: Update for powerpc-*-linux-gnu software floating point
5621 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
5622 case to powerpc/powerpc32*.
5623 * sysdeps/unix/sysv/linux/configure: Regenerated.
5625 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
5626 (_FPU_MASK_OM): Define as 0x04.
5627 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
5628 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
5630 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
5632 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
5634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
5635 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
5638 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
5641 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
5642 and setcontext_e500.
5644 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
5646 * locale/iso-3166.def: Update iso-1366.def and related occurrences
5648 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5650 * manual/threads.texi (Default Thread Attributes): Fix typo.
5652 2013-10-04 Will Newton <will.newton@linaro.org>
5654 * malloc/Makefile: Add tst-memalign.
5655 * malloc/tst-memalign.c: New file.
5657 * malloc/tst-posix_memalign.c: Add comments.
5658 (do_test): Add comments and call free on all potentially
5659 allocated pointers. Add space after cast.
5661 * malloc/tst-pvalloc.c: Add comments.
5662 (do_test): Add comments and call free on all potentially
5663 allocated pointers. Remove duplicate check for NULL pointer.
5664 Add space after cast.
5666 * malloc/tst-valloc.c: Add comments.
5667 (do_test): Add comments and call free on all potentially
5668 allocated pointers. Remove duplicate check for NULL pointer.
5669 Add space after cast.
5671 2013-10-04 Alan Modra <amodra@gmail.com>
5673 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5674 Use stdint types in rather than __attribute__((mode())).
5675 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5677 2013-10-04 Alan Modra <amodra@gmail.com>
5679 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5680 Correct handling of unaligned relocs for little-endian.
5681 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5683 2013-10-04 Alan Modra <amodra@gmail.com>
5685 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
5686 * configure: Regenerate.
5687 * nptl/shlib-versions: Powerpc*le starts at 2.18.
5688 * shlib-versions: Likewise.
5690 2013-10-04 Alan Modra <amodra@gmail.com>
5692 * string/tester.c (test_memrchr): Increment reported test cycle.
5694 2013-10-04 Alan Modra <amodra@gmail.com>
5696 * string/test-memcpy.c (do_one_test): When reporting errors, print
5697 string address and don't overrun end of string.
5699 2013-10-04 Alan Modra <amodra@gmail.com>
5701 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
5702 insrdi. Make better use of reg selection to speed exit slightly.
5703 Schedule entry path a little better. Remove useless "are we done"
5704 checks on entry to main loop. Handle wrapping around zero address.
5705 Correct main loop count. Handle single left-over word from main
5706 loop inline rather than by using loop_small. Remove extra word
5707 case in loop_small caused by wrong loop count. Add little-endian
5709 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5710 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
5712 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5713 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
5714 support. Avoid rlwimi.
5715 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
5717 2013-10-04 Alan Modra <amodra@gmail.com>
5719 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
5721 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5722 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5723 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5724 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5725 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5726 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
5728 2013-10-04 Alan Modra <amodra@gmail.com>
5730 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
5731 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5732 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5733 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
5734 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5735 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5736 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5737 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5738 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
5739 use of regs. Use power7 mtocrf. Tidy function tails.
5741 2013-10-04 Alan Modra <amodra@gmail.com>
5743 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
5744 Formatting. Consistently use rXXX register defines or rN defines.
5745 Use early exit labels that avoid restoring unused non-volatile regs.
5746 Make cr field use more consistent with rWORDn compares. Rename
5747 regs used as shift registers for unaligned loop, using rN defines
5748 for short lifetime/multiple use regs.
5749 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5750 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
5751 addi 1,1,64 to pop stack frame. Simplify return value code.
5752 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5754 2013-10-04 Alan Modra <amodra@gmail.com>
5756 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5757 support. Correct typos, formatting. Optimize tail. Use insrdi
5759 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5760 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5761 little-endian support. Correct typos.
5762 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
5764 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
5765 in loop and entry code to keep "and." results.
5766 (strchr): Add little-endian support. Comment. Move cntlzd
5768 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5770 2013-10-04 Alan Modra <amodra@gmail.com>
5772 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5773 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5774 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5775 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5777 2013-10-04 Alan Modra <amodra@gmail.com>
5779 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5780 (rTMP): Define as r11.
5781 (strcmp): Add little-endian support. Optimise tail.
5782 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5783 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5784 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5785 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5786 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5787 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5788 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5790 2013-10-04 Alan Modra <amodra@gmail.com>
5792 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5793 little-endian support. Remove unnecessary "are we done" tests.
5794 Handle "s" wrapping around zero and extremely large "size".
5795 Correct main loop count. Handle single left-over word from main
5796 loop inline rather than by using small_loop. Correct comments.
5797 Delete "zero" tail, use "end_max" instead.
5798 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5800 2013-10-04 Alan Modra <amodra@gmail.com>
5802 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5803 support. Don't branch over align.
5804 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5805 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5806 support. Rearrange tmp reg use to suit. Comment.
5807 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5809 2013-10-04 Alan Modra <amodra@gmail.com>
5811 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5813 2013-10-04 Alan Modra <amodra@gmail.com>
5815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5816 conditional form of branch and link when obtaining pc.
5817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5819 2013-10-04 Alan Modra <amodra@gmail.com>
5821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5826 2013-10-04 Alan Modra <amodra@gmail.com>
5828 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5829 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5830 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5831 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5832 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5833 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5834 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5835 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5836 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5837 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5839 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5840 Alistair Popple <alistair@ozlabs.au.ibm.com>
5841 Alan Modra <amodra@gmail.com>
5844 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5845 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5846 _dl_hwcap access for little-endian.
5847 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
5848 destroy vmx regs when saving unaligned.
5849 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5850 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
5851 destroy vmx regs when saving unaligned.
5853 2013-10-04 Alan Modra <amodra@gmail.com>
5855 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5856 Don't use a union to pack hi/low value.
5858 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5860 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5862 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5863 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5864 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5865 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5866 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5868 2013-10-04 Alan Modra <amodra@gmail.com>
5870 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5871 constants to usual value for .cst8 section, and remove redundant
5873 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5874 constant for 0x1p52. Load little-endian words of double from
5875 correct stack offsets.
5877 2013-10-04 Alan Modra <amodra@gmail.com>
5879 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5880 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5881 words of double from correct stack offsets.
5882 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5883 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5884 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5885 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5886 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5887 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5888 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5889 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5890 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5891 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5892 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5893 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5894 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5895 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5896 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5897 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5898 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5900 2013-10-04 Alan Modra <amodra@gmail.com>
5902 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5903 64-bit int/double union.
5904 (_FPU_SETCW): Likewise.
5905 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5906 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5908 2013-10-04 Alan Modra <amodra@gmail.com>
5910 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5911 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5913 2013-10-04 Alan Modra <amodra@gmail.com>
5915 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5916 use vector int constants.
5917 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5919 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5921 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5922 array with long long.
5923 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5924 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5925 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5926 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5927 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5928 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5929 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5930 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5931 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5932 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5933 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5934 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5935 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5937 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5939 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5940 (__signbit): Likewise. Correct for little-endian.
5941 (__signbitl): Call __signbit.
5942 (lrint): Correct for little-endian.
5943 (lrintf): Call lrint.
5945 2013-10-04 Alan Modra <amodra@gmail.com>
5947 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5948 union 32-bit int array member with 64-bit int array.
5949 (t515, tm256): Double rather than long double.
5950 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5952 2013-10-04 Alan Modra <amodra@gmail.com>
5954 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5956 (IEEE854_LONG_DOUBLE_BIAS): Delete.
5957 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5958 version of math_ldbl.h.
5960 2013-10-04 Alan Modra <amodra@gmail.com>
5962 [BZ #15734], [BZ #15735]
5963 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5964 all uses of ieee875 long double macros and unions. Simplify test
5965 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
5966 ldbl_extract_mantissa value for ix,iy exponents. Properly
5967 normalize after ldbl_extract_mantissa, and don't add hidden bit
5968 already handled. Don't treat low word of ieee854 mantissa like
5969 low word of IBM long double and mask off bit when testing for
5971 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5972 all uses of ieee875 long double macros and unions. Simplify tests
5973 for 0.0L and inf. Correct double adjustment of k. Delete dead code
5974 adjusting ha,hb. Simplify code setting kld. Delete two600 and
5975 two1022, instead use their values. Recognise that tests for large
5976 "a" and small "b" are mutually exclusive. Rename vars. Comment.
5977 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5978 Rewrite all uses of ieee875 long double macros and unions. Simplify
5979 test for 0.0L and nan. Correct negation.
5980 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5981 ieee875 long double macros and unions. Correct output for large
5982 magnitude x. Correct absolute value calculation.
5983 (__erfcl): Likewise.
5984 * math/libm-test.inc: Add tests for errors discovered in IBM long
5985 double versions of fmodl, remainderl, erfl and erfcl.
5987 2013-10-04 Alan Modra <amodra@gmail.com>
5989 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5990 all uses of ieee854 long double macros and unions. Simplify tests
5991 for long doubles that are fully specified by the high double.
5992 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5994 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5995 Remove dead code too.
5996 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5997 (__ieee754_ynl): Likewise.
5998 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5999 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
6000 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6001 Remove dead code too.
6002 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6003 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6004 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6005 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
6007 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
6009 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
6010 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
6011 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
6012 Comment on variable precision.
6013 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
6014 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6016 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6017 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6018 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6019 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6020 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
6022 2013-10-04 Alan Modra <amodra@gmail.com>
6024 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
6025 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
6026 all uses of ieee854 long double macros and unions.
6027 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
6028 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6029 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
6030 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
6031 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6032 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6034 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
6035 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6036 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
6037 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6038 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6039 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6040 Simplify sign and nan test too.
6041 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
6042 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6043 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
6044 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6046 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6047 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6049 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6050 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6051 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6052 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6053 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6054 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6056 2013-10-04 Alan Modra <amodra@gmail.com>
6058 * stdio-common/printf_size.c (__printf_size): Don't use
6059 union ieee854_long_double in fpnum union.
6060 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
6061 signbit macro to retrieve sign from long double.
6062 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6063 retrieve sign from long double.
6064 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6065 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6066 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6067 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6068 * math/test-misc.c (main): Don't use union ieee854_long_double.
6070 2013-10-04 Alan Modra <amodra@gmail.com>
6073 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6074 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6075 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6076 calculation. Remove unnecessary test for denormal exponent.
6077 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6078 Correct handling of denormals. Avoid undefined shift behaviour.
6079 Correct normalisation of low mantissa when low double is denormal.
6080 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6081 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
6082 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
6083 Correct normalisation of low mantissa. Test for overflow of high
6084 mantissa and normalise.
6085 (ldbl_nearbyint): Use more readable constant for two52.
6086 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
6087 (__mpn_construct_long_double): Fix test for overflow of high
6088 mantissa and correct normalisation. Avoid undefined shift.
6090 2013-10-04 Alan Modra <amodra@gmail.com>
6092 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6093 (union ibm_extended_long_double): Define as an array of ieee754_double.
6094 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
6095 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
6096 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
6097 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6098 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6099 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
6100 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6101 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6102 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6103 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
6104 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6106 2013-10-03 Joseph Myers <joseph@codesourcery.com>
6108 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
6109 page size instead of calling getpagesize.
6111 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
6112 (LOCFILE_ALIGN_MASK): Likewise.
6113 (LOCFILE_ALIGN_UP): Likewise.
6114 (LOCFILE_ALIGNED_P): Likewise.
6115 * locale/programs/ld-collate.c (collate_output): Use the new
6116 macros instead of __alignof__ (int32_t).
6117 * locale/weight.h (findidx): Likewise.
6119 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
6122 * manual/string.texi: Fix strncat and wcsncat.
6124 2013-10-03 Brooks Moses <bmoses@google.com>
6127 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
6128 * Makerules: ...here, and adjust associated comments.
6130 2013-10-02 Will Newton <will.newton@linaro.org>
6132 * malloc/Makefile: Add tst-pvalloc.
6133 * malloc/tst-pvalloc.c: New file.
6135 2013-10-02 Will Newton <will.newton@linaro.org>
6137 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
6138 improve test coverage.
6140 2013-10-02 Will Newton <will.newton@linaro.org>
6142 * malloc/Makefile: Add tst-posix_memalign.
6143 * malloc/tst-posix_memalign.c: New file.
6145 2013-10-01 Eric Blake <eblake@redhat.com>
6147 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
6148 Use __THROWNL rather than __THROW on static functions.
6150 2013-09-30 Petr Machata <pmachata@redhat.com>
6152 * elf/elf.h (R_AARCH64_ABS16): New macro.
6153 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
6154 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
6155 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
6156 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
6157 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
6158 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
6159 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
6160 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
6161 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
6162 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
6163 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
6164 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
6165 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
6166 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
6167 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
6168 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
6169 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
6170 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
6171 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
6172 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
6173 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
6174 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
6175 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
6176 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
6177 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
6178 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
6179 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
6180 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
6181 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
6182 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
6183 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
6184 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
6185 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
6186 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
6187 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
6188 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
6189 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
6190 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
6191 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
6192 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
6193 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
6194 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
6195 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
6196 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
6197 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
6198 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
6199 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
6200 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
6201 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
6202 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
6203 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
6204 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
6205 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
6206 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
6207 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
6208 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
6209 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
6210 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
6211 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
6212 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
6213 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
6214 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
6215 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
6216 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
6217 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
6218 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
6219 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
6220 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
6221 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
6222 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
6223 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
6224 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
6225 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
6226 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
6227 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
6228 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
6229 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
6230 (R_AARCH64_TLSDESC_LDR): Likewise.
6231 (R_AARCH64_TLSDESC_ADD): Likewise.
6232 (R_AARCH64_TLSDESC_CALL): Likewise.
6234 2013-09-30 Andreas Schwab <schwab@suse.de>
6237 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
6238 the nss database lookup.
6239 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6240 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6242 2013-09-28 Mike Frysinger <vapier@gentoo.org>
6244 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
6246 2013-09-28 P. J. McDermott <pj@pehjota.net>
6248 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
6249 ${Bash-specific parameter/pattern/string} parameter expansion.
6250 * sysdeps/unix/make-syscalls.sh: Likewise.
6252 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6254 * sysdeps/sh/stackguard-macros.h: New file.
6256 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
6258 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6259 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
6260 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
6261 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
6262 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6263 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
6265 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6267 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
6268 Fix thread ID register.
6270 2013-09-25 Joseph Myers <joseph@codesourcery.com>
6272 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
6273 [POSIX || UNIX98]: Require rather than permitting all symbols from
6275 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
6276 element of struct sched_param.
6277 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
6278 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
6279 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
6280 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
6283 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
6285 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
6286 argument calculation.
6288 2013-09-24 Joseph Myers <joseph@codesourcery.com>
6290 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
6292 [POSIX] (pthread_attr_t): Do not require type.
6293 [POSIX] (pthread_cond_t): Likewise.
6294 [POSIX] (pthread_condattr_t): Likewise.
6295 [POSIX] (pthread_key_t): Likewise.
6296 [POSIX] (pthread_mutex_t): Likewise.
6297 [POSIX] (pthread_mutexattr_t): Likewise.
6298 [POSIX] (pthread_once_t): Likewise.
6299 [POSIX] (pthread_t): Likewise.
6300 [POSIX-based standards] (pthread_atfork): Expect function.
6302 2013-09-24 Joseph Myers <joseph@codesourcery.com>
6303 Richard Sandiford <richard@codesourcery.com>
6305 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
6306 (swap_endianness_p): New extern variable.
6307 (set_big_endian): New inline function.
6308 (maybe_swap_uint32): Likewise.
6309 (maybe_swap_uint32_array): Likewise.
6310 (maybe_swap_uint32_obstack): Likewise.
6311 * locale/programs/locfile.c: Include <stdbool.h>.
6312 (swap_endianness_p): New variable.
6313 (add_locale_uint32): Call maybe_swap_uint32.
6314 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
6315 (write_locale_data): Call maybe_swap_uint32_array.
6316 * locale/programs/ld-collate.c (obstack_int32_grow): Call
6318 (obstack_int32_grow_fast): Likewise.
6319 (output_weightwc): Call maybe_swap_uint32_obstack.
6320 (collate_output): Likewise.
6321 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
6322 (OPT_LITTLE_ENDIAN): Likewise.
6323 (options): Add --little-endian and --big-endian options.
6324 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
6325 * locale/programs/locarchive.c: Include "locfile.h".
6329 (create_archive): Use the new macros to access fields of
6330 structures directly mapped from or written to locale archives.
6331 (oldlocrecentcmp): Likewise.
6332 (enlarge_archive): Likewise.
6333 (insert_name): Likewise.
6334 (add_alias): Likewise.
6335 (add_locale): Likewise.
6336 (delete_locales_from_archive): Likewise.
6337 (show_archive_content): Likewise.
6338 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
6341 2013-09-24 Roland McGrath <roland@hack.frob.com>
6343 * manual/freemanuals.texi: Updated from (newly) canonical copy at
6344 http://www.gnu.org/doc/freemanuals.texi.
6345 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
6347 2013-09-24 Will Newton <will.newton@linaro.org>
6349 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
6352 2013-09-23 Joseph Myers <joseph@codesourcery.com>
6354 * locale/hashval.h (compute_hashval): Interpret bytes of key as
6357 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
6359 * manual/threads.texi (POSIX Threads): Fix a typo.
6361 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6364 * string/tst-strcoll-overflow.c: New test case.
6365 * string/Makefile (xtests): Add tst-strcoll-overflow.
6366 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
6367 cache if string sizes may cause integer overflow.
6370 * string/strcoll_l.c (coll_seq): New members rule, idx,
6371 save_idx and back_us.
6372 (get_next_seq_nocache): New function.
6373 (do_compare_nocache): New function.
6374 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
6377 2013-09-23 Carlos O'Donell <carlos@redhat.com>
6380 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
6381 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
6382 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
6385 * elf/Makefile (tests): Add tst-ptrguard1.
6386 (tests-static): Add tst-ptrguard1-static.
6387 (tst-ptrguard1-ARGS): Define.
6388 (tst-ptrguard1-static-ARGS): Define.
6389 * elf/tst-ptrguard1.c: New file.
6390 * elf/tst-ptrguard1-static.c: New file.
6391 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
6392 * sysdeps/i386/stackguard-macros.h: Likewise.
6393 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6394 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6395 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6396 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6397 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6398 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6400 2013-09-23 Hector Marco <hecmargi@upv.es>
6401 Ismael Ripoll <iripoll@disca.upv.es>
6402 Carlos O'Donell <carlos@redhat.com>
6405 * sysdeps/generic/stackguard-macros.h: Define
6406 __pointer_chk_guard_local and POINTER_CHK_GUARD.
6407 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
6408 Define __pointer_chk_guard_local.
6409 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
6410 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
6412 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
6415 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
6417 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
6419 * include/string.h (__ffs): Declare as hidden.
6420 * string/ffs.c (__ffs): Define as hidden.
6421 * sysdeps/i386/ffs.c (__ffs): Likewise.
6422 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6423 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
6424 * sysdeps/s390/ffs.c (__ffs): Likewise.
6425 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
6427 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
6429 * NEWS: Mention malloc probes.
6431 * malloc/arena.c (new_heap): New memory_heap_new probe.
6432 (grow_heap): New memory_heap_more probe.
6433 (shrink_heap): New memory_heap_less probe.
6434 (heap_trim): New memory_heap_free probe.
6435 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
6436 (systrim): New memory_sbrk_less probe.
6437 * manual/probes.texi: Document them.
6439 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
6440 * manual/probes.texi: Document it.
6442 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
6443 (__libc_realloc): Add memory_realloc_retry probe.
6444 (__libc_memalign): Add memory_memalign_retry probe.
6445 (__libc_valloc): Add memory_valloc_retry probe.
6446 (__libc_pvalloc): Add memory_pvalloc_retry probe.
6447 (__libc_calloc): Add memory_calloc_retry probe.
6448 * manual/probes.texi: Document them.
6450 * malloc/arena.c (get_free_list): Add probe
6451 memory_arena_reuse_free_list.
6452 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
6453 and memory_arena_reuse.
6454 (arena_get2) [!PER_THREAD]: Likewise.
6455 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
6456 memory_arena_reuse_realloc.
6457 * manual/probes.texi: Document them.
6459 * malloc/malloc.c (__libc_free): Add
6460 memory_mallopt_free_dyn_thresholds probe.
6461 (__libc_mallopt): Add multiple memory_mallopt probes.
6462 * manual/probes.texi: Document them.
6464 * malloc/malloc.c: Include stap-probe.h.
6465 (__libc_mallopt): Add memory_mallopt probe.
6466 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
6467 * manual/probes.texi: New.
6468 * manual/Makefile (chapters): Add probes.
6469 * manual/threads.texi: Set next node.
6471 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
6474 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
6475 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
6476 Add `Chinese' to `nan' entry name.
6478 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6480 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
6481 (POLYNOMIAL): Likewise.
6482 (TAYLOR_SINCOS): Likewise.
6483 (TAYLOR_SLOW): Likewise.
6484 (__sin): Use TAYLOR_SINCOS.
6486 (slow): Use TAYLOR_SLOW.
6491 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6493 * stdlib/strtod_l.c: Fix buffer overrun.
6495 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6497 * benchtests/Makefile (bench): Add sincos.
6498 * benchtests/bench-sincos.c: New file.
6500 * math/libm-test.inc (cos_test_data): New test inputs.
6501 (sin_test_data): Likewise.
6503 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
6511 (bsloww1): Likewise.
6512 (bsloww2): Likewise.
6514 (csloww1): Likewise.
6515 (csloww2): Likewise.
6517 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
6522 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
6526 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
6528 * config.h.in (HAVE_MIPS_NAN2008): New macro.
6529 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
6530 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
6531 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
6532 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
6533 * elf/cache.c (print_entry): Handle the new cache flags.
6535 2013-09-18 Joseph Myers <joseph@codesourcery.com>
6536 Aldy Hernandez <aldyh@redhat.com>
6538 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
6539 Change condition to [_SOFT_FLOAT].
6540 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
6541 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
6542 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
6543 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
6544 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
6545 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
6546 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
6547 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
6548 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
6549 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
6550 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
6551 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
6552 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
6553 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
6554 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
6555 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
6558 2013-09-18 Joseph Myers <joseph@codesourcery.com>
6560 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
6561 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6562 (__longjmp): Use LOAD_GP to load saved GPRs.
6563 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
6564 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6565 (__sigsetjmp): Use SAVE_GP to save GPRs.
6567 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
6568 Do not append -msoft-float.
6569 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
6571 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6573 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
6575 2013-09-17 Joseph Myers <joseph@codesourcery.com>
6578 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
6579 (_FPU_GETCW): Use initial "__" on variable and field names but not
6580 on macro parameter name.
6581 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
6582 parentheses around reference to macro parameter.
6584 2013-09-13 Richard Sandiford <richard@codesourcery.com>
6586 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
6588 (ctype_startup): Use uint32_t in cast and sizeof for
6591 2013-09-11 Jia Liu <proljc@gmail.com>
6593 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
6595 [__FreeBSD__]: Likewise.
6597 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
6599 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6600 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
6601 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
6602 (strchr): Remove __strchr_sse42 ifunc selection.
6603 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
6604 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
6606 2013-09-11 Will Newton <will.newton@linaro.org>
6608 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
6609 parameter to RES. Remove hardcoded 1000 value.
6610 * benchtests/bench-skeleton.c (main): Pass RES parameter
6611 to TIMING_INIT and multiply result by 1000.
6613 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6617 2013-09-11 Andreas Schwab <schwab@suse.de>
6619 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6621 (O_TMPFILE) [__USE_GNU]: Define.
6622 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
6625 2013-09-11 Will Newton <will.newton@linaro.org>
6628 * malloc/malloc.c (__libc_memalign): Check the value of bytes
6631 2013-09-11 Will Newton <will.newton@linaro.org>
6634 * malloc/malloc.c (__libc_valloc): Check the value of bytes
6637 2013-09-11 Will Newton <will.newton@linaro.org>
6640 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
6643 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
6645 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
6646 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6647 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6648 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6649 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6651 2013-09-10 Allan McRae <allan@archlinux.org>
6654 * manual/arith.texi (Parsing of Floats): Clarify
6658 * manual/install.texi (Running make install): Mention
6660 * INSTALL: Regenerated.
6662 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6664 * csu/init-first.c (_init): Remove the !SHARED condition around
6665 FPU control word initialization.
6666 * elf/dl-support.c (_dl_fpu_control): New variable.
6667 (_dl_aux_init) <AT_FPUCW>: Initialize it.
6668 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
6669 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
6670 * math/test-fpucw-static.c: New file.
6671 * math/test-fpucw-ieee.c: New file.
6672 * math/test-fpucw-ieee-static.c: New file.
6673 * math/Makefile (tests): Add `test-fpucw-ieee' and
6675 (tests-static): New variable.
6676 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
6678 [($(build-shared),yes)]
6679 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6681 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
6684 2013-09-09 Allan McRae <allan@archlinux.org>
6687 * manual/string.texi (Collation Functions): Fix typo in
6689 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
6692 * stdlib/isomac.c (get_null_defines): Fix memory leak.
6695 * libio/memstream.c (open_memstream): Fix memory leak.
6696 * libio/wmemstream.c (open_wmemstream): Likewise.
6699 * nscd/netgroupcache.c: Fix nesting of ifdefs.
6701 2013-09-09 Will Newton <will.newton@linaro.org>
6703 * malloc/Makefile: Add tst-realloc to tests.
6704 * malloc/tst-realloc.c: New file.
6706 2013-09-09 Allan McRae <allan@archlinux.org>
6709 * COPYING: Update from GNU website to fix FSF address.
6710 * COPYING.LIB: Likewise.
6712 2013-09-06 David S. Miller <davem@davemloft.net>
6714 * po/zh_TW.po: Update Chinese (traditional) translation from
6715 translation project.
6717 2013-09-06 Richard Sandiford <richard@codesourcery.com>
6718 Joseph Myers <joseph@codesourcery.com>
6720 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
6722 (obstack_chunk_alloc): New macro.
6723 (obstack_chunk_free): Likewise.
6724 (record_offset): New function.
6725 (init_locale_data): Likewise.
6726 (align_locale_data): Likewise.
6727 (add_locale_empty): Likewise.
6728 (add_locale_raw_data): Likewise.
6729 (add_locale_raw_obstack): Likewise.
6730 (add_locale_string): Likewise.
6731 (add_locale_wstring): Likewise.
6732 (add_locale_uint32): Likewise.
6733 (add_locale_uint32_array): Likewise.
6734 (add_locale_char): Likewise.
6735 (start_locale_structure): Likewise.
6736 (end_locale_structure): Likewise.
6737 (start_locale_prelude): Likewise.
6738 (end_locale_prelude): Likewise.
6739 (write_locale_data): Take locale_file structure rather than an
6741 * locale/programs/locfile.h: Include "obstack.h".
6742 (struct locale_file): Change to store locale file contents instead
6744 (init_locale_data): New prototype.
6745 (align_locale_data): Likewise.
6746 (add_locale_empty): Likewise.
6747 (add_locale_raw_data): Likewise.
6748 (add_locale_raw_obstack): Likewise.
6749 (add_locale_string): Likewise.
6750 (add_locale_wstring): Likewise.
6751 (add_locale_uint32): Likewise.
6752 (add_locale_uint32_array): Likewise.
6753 (add_locale_char): Likewise.
6754 (start_locale_structure): Likewise.
6755 (end_locale_structure): Likewise.
6756 (start_locale_prelude): Likewise.
6757 (end_locale_prelude): Likewise.
6758 (write_locale_data): Update prototype.
6759 * locale/programs/3level.h (struct TABLE): Remove result field.
6760 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6761 Use new locale_file interface.
6762 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6763 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6764 * locale/programs/ld-address.c (address_output): Use new
6765 locale_file interface.
6766 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6768 (collate_finish): Don't call collseq_table_finalize.
6769 (collate_output): Use new locale_file interface.
6770 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6772 (NO_FINALIZE): Change to NO_ADD_LOCALE.
6773 (TABLE): Move defines earlier in file.
6774 (ELEMENT): Likewise.
6775 (DEFAULT): Likewise.
6776 (wctrans_table_add): Move macro and inline function earlier in
6778 (struct wctype_table): Move type earlier in file.
6779 (add_locale_wctype_table): New static prototype.
6780 (struct locale_ctype_t): Use logical types instead of struct iovec
6781 pointers for members.
6782 (ctype_output): Use new locale_file interface.
6783 (wctype_table_finalize): Change to add_locale_wctype_table. Use
6784 new locale_file interface.
6785 (allocate_arrays): Update for use of new locale_file interface.
6786 * locale/programs/ld-identification.c (identification_output): Use
6787 new locale_file interface.
6788 * locale/programs/ld-measurement.c (measurement_output): Likewise.
6789 * locale/programs/ld-messages.c (messages_output): Likewise.
6790 * locale/programs/ld-monetary.c (monetary_output): Likewise.
6791 * locale/programs/ld-name.c (name_output): Likewise.
6792 * locale/programs/ld-numeric.c (numeric_output): Likewise.
6793 * locale/programs/ld-paper.c (paper_output): Likewise.
6794 * locale/programs/ld-telephone.c (telephone_output): Likewise.
6795 * locale/programs/ld-time.c (time_output): Likewise.
6797 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6799 * benchtests/Makefile: Add memrchr benchmark.
6800 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6801 benchmark as memrchr.
6802 * benchtests/bench-memrchr-ifunc.c: New file.
6803 * benchtests/bench-memrchr.c: New file.
6805 2013-09-06 Will Newton <will.newton@linaro.org>
6807 * benchtests/Makefile (string-bench): Add memcpy.
6809 2013-09-05 Carlos O'Donell <carlos@redhat.com>
6810 Cong Wang <amwang@redhat.com>
6813 * sysdeps/unix/sysv/linux/bits/in.h
6814 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6815 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6816 before __USE_KERNEL_IPV6_DEFS uses.
6817 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6819 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6820 sockaddr_in6, or ipv6_mreq.
6822 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6824 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6825 memory access for final bytes in some large inputs.
6826 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6828 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6830 * string/test-memrchr.c: New file.
6831 * string/test-memrchr-ifunc.c: New file.
6832 * string/Makefile: Add new memrchr testcase.
6834 2013-09-05 Mike Frysinger <vapier@gentoo.org>
6836 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6837 fanotify_init returns EPERM.
6839 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6841 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6843 (top level): Treat second token from macro or constant entries for
6844 allowed headers as allowed.
6845 * include/complex.h: Condition internal declarations on
6847 * include/fenv.h: Condition include of <stdbool.h> and internal
6848 declarations on [!_ISOMAC].
6850 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
6853 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6855 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6857 * configure.in (--enable-versioning): Remove configure option.
6858 (libc_cv_asm_symver_directive): Remove configure test.
6859 (libc_cv_ld_version_script_option): Likewise.
6860 (VERSIONING): Remove variable and AC_SUBST.
6861 (DO_VERSIONING): Remove AC_DEFINE.
6862 * configure: Regenerated.
6863 * config.h.in (DO_VERSIONING): Remove macro.
6864 * Makerules [$(versioning) = yes]: Change conditionals to
6865 [$(build-shared) = yes].
6866 * config.make.in (versioning): Remove variable.
6867 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6868 [$(build-shared) = yes].
6869 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6870 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6871 * elf/Makefile [$(versioning) = yes]: Change conditionals to
6872 [$(build-shared) = yes].
6873 * extra-lib.mk [$(versioning) = yes]: Likewise.
6874 * hurd/Makefile [$(versioning) = yes]: Likewise.
6875 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6877 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6879 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6880 [SHARED && !NO_HIDDEN].
6881 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6883 [SHARED && DO_VERSIONING]: Likewise..
6884 * libio/Makefile [$(versioning) = yes]: Change conditionals to
6885 [$(build-shared) = yes].
6886 * manual/install.texi (--disable-versioning): Remove
6888 * INSTALL: Regenerated.
6889 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6891 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6892 [$(build-shared) = yes].
6893 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6894 * sysdeps/i386/i686/multiarch/strstr-c.c
6895 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6896 [SHARED && !NO_HIDDEN].
6897 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6898 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6899 * sysdeps/powerpc/powerpc32/dl-machine.c
6900 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6901 * sysdeps/powerpc/powerpc32/sysdep.h
6902 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6903 to [SHARED && PIC && !NO_HIDDEN].
6904 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6905 conditional to [SHARED].
6907 2013-09-04 Will Newton <will.newton@linaro.org>
6909 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6910 * benchtests/bench-string.h: Include bench-timing.h instead
6911 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6912 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6913 call to HP_TIMING_DIFF_INIT.
6914 * benchtests/bench-memccpy.c: Use bench-timing.h macros
6915 instead of hp-timing.h macros.
6916 * benchtests/bench-memchr.c: Likewise.
6917 * benchtests/bench-memcmp.c: Likewise.
6918 * benchtests/bench-memcpy.c: Likewise.
6919 * benchtests/bench-memmem.c: Likewise.
6920 * benchtests/bench-memmove.c: Likewise.
6921 * benchtests/bench-memset.c: Likewise.
6922 * benchtests/bench-rawmemchr.c: Likewise.
6923 * benchtests/bench-strcasecmp.c: Likewise.
6924 * benchtests/bench-strcasestr.c: Likewise.
6925 * benchtests/bench-strcat.c: Likewise.
6926 * benchtests/bench-strchr.c: Likewise.
6927 * benchtests/bench-strcmp.c: Likewise.
6928 * benchtests/bench-strcpy.c: Likewise.
6929 * benchtests/bench-strcpy_chk.c: Likewise.
6930 * benchtests/bench-strlen.c: Likewise.
6931 * benchtests/bench-strncasecmp.c: Likewise.
6932 * benchtests/bench-strncat.c: Likewise.
6933 * benchtests/bench-strncmp.c: Likewise.
6934 * benchtests/bench-strncpy.c: Likewise.
6935 * benchtests/bench-strnlen.c: Likewise.
6936 * benchtests/bench-strpbrk.c: Likewise.
6937 * benchtests/bench-strrchr.c: Likewise.
6938 * benchtests/bench-strspn.c: Likewise.
6939 * benchtests/bench-strstr.c: Likewise.
6941 2013-09-04 Will Newton <will.newton@linaro.org>
6943 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6945 2013-09-03 Joseph Myers <joseph@codesourcery.com>
6948 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6949 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6950 * math/libm-test.inc (lgamma_test_data): Add more tests.
6951 * sysdeps/i386/fpu/libm-test-ulps: Update.
6952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6954 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
6956 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6957 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6959 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6960 Add strcmp-sse2-unaligned
6961 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6963 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6965 * Versions.def (libc): Add GLIBC_2.19.
6967 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6969 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6970 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6972 2013-09-02 Joseph Myers <joseph@codesourcery.com>
6975 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6976 intermediate calculations in recurrence.
6977 (__ieee754_ynf): Likewise.
6978 * math/libm-test.inc (jn_test_data): Do not allow spurious
6979 underflow exception. Add more tests.
6980 (yn_test_data): Add more tests.
6981 * sysdeps/i386/fpu/libm-test-ulps: Update.
6982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6984 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
6986 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6988 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6990 * csu/init-first.c: Fix then/than typos.
6991 * locale/programs/ld-collate.c: Likewise.
6992 * locale/programs/linereader.h: Likewise.
6993 * manual/charset.texi: Likewise.
6994 * manual/filesys.texi: Likewise.
6995 * manual/stdio.texi: Likewise.
6996 * manual/string.texi: Likewise.
6997 * stdlib/fmtmsg.c: Likewise.
6998 * sysdeps/i386/stpncpy.S: Likewise.
6999 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7000 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7001 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7002 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7004 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7006 * elf/dl-open.c: Fix typos.
7007 * iconvdata/gbbig5.c: Likewise.
7008 * iconvdata/iso-2022-jp.c: Likewise.
7009 * iconv/gconv_int.h: Likewise.
7010 * iconv/loop.c: Likewise.
7011 * nis/rpcsvc/nis.h: Likewise.
7012 * resolv/ns_name.c: Likewise.
7013 * stdio-common/vfscanf.c: Likewise.
7014 * streams/stropts.h: Likewise.
7015 * sunrpc/rpc_thread.c: Likewise.
7016 * sysdeps/i386/strpbrk.S: Likewise.
7017 * sysdeps/ieee754/k_standard.c: Likewise.
7018 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7019 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7020 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7021 * sysdeps/mach/hurd/profil.c: Likewise.
7022 * sysdeps/s390/dl-procinfo.h: Likewise.
7023 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7024 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7025 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
7026 * sysdeps/x86_64/dl-trampoline.S: Likewise.
7027 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7029 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7031 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
7032 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
7034 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
7036 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
7038 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
7039 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
7040 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
7041 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
7042 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
7043 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
7044 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
7045 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
7047 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7048 Roland McGrath <roland@hack.frob.com>
7050 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7051 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7053 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
7055 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7056 __executable_start symbol instead of _start.
7058 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7060 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7061 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7063 * sysdeps/gnu/ldsodefs.h: ... this new file.
7065 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7066 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7067 instead of ELFOSABI_LINUX.
7069 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
7070 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7071 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7072 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7074 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7075 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7076 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7078 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7079 (ibm_extended_long_double): Add ieee_nan member.
7080 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
7081 (do_test): New function.
7083 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7085 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7086 functions, renamed from truncdfsf_test, trunctfsf_test,
7088 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7090 (do_test): Run all these.
7092 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
7094 * argp/argp-help.c: Fix typos.
7095 * argp/argp-parse.c: Likewise.
7096 * debug/backtracesyms.c: Likewise.
7097 * elf/elf.h: Likewise.
7098 * malloc/malloc.c: Likewise.
7099 * nis/nis_print.c: Likewise.
7100 * resolv/res_comp.c: Likewise.
7101 * stdlib/stdlib.h: Likewise.
7102 * sunrpc/clnt_tcp.c: Likewise.
7103 * sunrpc/clnt_udp.c: Likewise.
7104 * sunrpc/clnt_unix.c: Likewise.
7105 * sysdeps/unix/bsd/ptsname.c: Likewise.
7106 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7107 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
7108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
7110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
7112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7114 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7116 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7118 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
7119 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7121 2013-08-27 Mike Frysinger <vapier@gentoo.org>
7124 * dlfcn/Makefile (tests): Add bug-dl-leaf.
7125 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
7126 ($(objpfx)bug-dl-leaf): New rule.
7127 ($(objpfx)bug-dl-leaf.so): Likewise.
7128 ($(objpfx)bug-dl-leaf.out): Likewise.
7129 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
7130 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
7131 * dlfcn/bug-dl-leaf.c: New test.
7132 * dlfcn/bug-dl-leaf-lib.c: Likewise.
7133 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
7134 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
7135 (dlclose): Likewise.
7136 (dlmopen): Likewise.
7138 2013-08-27 Roland McGrath <roland@hack.frob.com>
7140 * include/netdb.h [!_ISOMAC]:
7141 Don't include <tls.h>.
7142 (h_errno, __libc_h_errno): Move declaration and macros out of
7145 * include/resolv.h [_RESOLV_H_]:
7146 Don't include <tls.h>.
7147 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
7148 * resolv/res_libc.c: Don't include <tls.h>.
7149 (_res): Use __attribute__ ((nocommon)) in place of
7150 __attribute__ ((section (".bss"))).
7152 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
7153 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
7155 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
7157 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
7158 only under [SIOCGIFCONF && SIOCGIFNETMASK].
7160 * resolv/res_mkquery.c: Include <sys/time.h>.
7162 * inet/ifreq.c: Moved to ...
7163 * sysdeps/unix/ifreq.c: ... here.
7164 * inet/ifreq.c: New file, true stub version.
7166 * socket/sa_len.c: New file.
7167 * socket/Makefile (aux): Add it.
7168 * sysdeps/unix/sysv/linux/Makefile
7169 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
7170 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
7171 and #include <socket/sa_len.c>.
7172 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
7173 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
7175 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
7176 * bits/socket.h: ... here.
7178 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
7179 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
7180 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
7182 2013-08-27 Andreas Schwab <schwab@suse.de>
7185 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
7186 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
7187 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
7188 * string/test-strcasecmp.c (test_main): Run tests in several
7190 * string/test-strncasecmp.c (test_main): Likewise.
7192 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
7193 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
7194 to __strcasecmp_nonascii and __strncasecmp_nonascii.
7195 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
7196 (__strncasecmp_ssse3) [PIC]: Likewise.
7198 2013-08-26 Roland McGrath <roland@hack.frob.com>
7200 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
7202 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
7203 instead of explicitly declaring xdecrypt.
7204 * nis/nss_nis/nis-publickey.c: Likewise.
7206 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7209 * nscd/aicache.c: Include res_hconf.h.
7210 (addhstaiX): Initialize res_hconf.
7212 2013-08-26 Andreas Schwab <schwab@suse.de>
7214 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
7215 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
7217 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7219 * nscd/aicache.c (addhstaiX): Fix indentation.
7221 2013-08-25 Mike Frysinger <vapier@gentoo.org>
7223 * configure.ac: Quote $build_pt_chown test.
7224 * configure: Regenerated.
7226 2013-08-23 Joseph Myers <joseph@codesourcery.com>
7229 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
7230 * math/s_cexpf.c (__cexpf): Likewise.
7231 * math/s_cexpl.c (__cexpl): Likewise.
7232 * math/libm-test.inc (cexp_test_data): Correct expected return
7233 value for NaN + i0. Add another test.
7235 2013-08-22 David S. Miller <davem@davemloft.net>
7237 * po/ca.po: Update Catalan translation from translation project.
7238 * po/uk.po: Add Ukrainian translations from translation project.
7240 2013-08-21 Joseph Myers <joseph@codesourcery.com>
7243 * math/s_fdim.c (__fdim): Check for infinite arguments if result
7244 is infinite, not alongside NaN test.
7245 * math/s_fdimf.c (__fdimf): Likewise.
7246 * math/s_fdiml.c (__fdiml): Likewise.
7247 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
7250 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
7252 * argp/argp-help.c: Fix typos.
7253 * crypt/speeds.c: Likewise.
7254 * csu/check_fds.c: Likewise.
7255 * elf/dl-load.c: Likewise.
7256 * elf/dl-open.c: Likewise.
7257 * elf/reldep3.c: Likewise.
7258 * elf/reldep.c: Likewise.
7259 * elf/sprof.c: Likewise.
7260 * iconv/iconv_charmap.c: Likewise.
7261 * iconv/skeleton.c: Likewise.
7262 * iconv/strtab.c: Likewise.
7263 * io/lockf64.c: Likewise.
7264 * libio/libioP.h: Likewise.
7265 * resolv/gai_notify.c: Likewise.
7266 * resolv/ns_name.c: Likewise.
7267 * resolv/ns_samedomain.c: Likewise.
7268 * resolv/res_send.c: Likewise.
7269 * stdlib/random.c: Likewise.
7270 * sunrpc/rpc/xdr.h: Likewise.
7271 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
7272 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7273 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7274 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7275 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7276 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7277 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7278 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7279 * sysdeps/mach/hurd/check_fds.c: Likewise.
7280 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7281 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7282 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7283 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7284 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7285 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7286 * sysdeps/pthread/aio_notify.c: Likewise.
7287 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
7288 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
7289 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
7290 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7291 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7293 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7295 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
7296 version if bit_Slow_SSE4_2 is set.
7297 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7298 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7300 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7303 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
7304 trampoline stack frame information.
7305 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
7306 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
7307 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
7308 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
7309 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
7310 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7311 (_libc_vdso_platform_setup): Initialize the signal trampolines.
7312 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
7314 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
7315 interrupting a syscall and set with option SA_SIGINFO.
7317 2013-08-20 Joseph Myers <joseph@codesourcery.com>
7320 * math/s_cproj.c (__cproj): Only return an infinity if one part of
7321 argument is infinite.
7322 * math/s_cprojf.c (__cprojf): Likewise.
7323 * math/s_cprojl.c (__cprojl): Likewise.
7324 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
7325 * math/libm-test.inc (cproj_test_data): Add more tests.
7327 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
7329 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
7330 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
7331 size. Use __ffs to determine corresponding shift.
7333 2013-08-20 Joseph Myers <joseph@codesourcery.com>
7334 Roland McGrath <roland@hack.frob.com>
7336 * Makefile (INSTALL): Remove trailing blank lines from output of
7339 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7341 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
7342 Align 32 bit compat elf_greg to 8 bytes.
7344 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7346 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
7348 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7350 * string/strcoll_l.c (coll_seq): New structure.
7351 (get_next_seq_cached): New function.
7352 (get_next_seq): New function.
7353 (do_compare): New function.
7354 (STRCOLL): Use GNU style definition. Simplify implementation
7355 by using get_next_seq, get_next_seq_cached and do_compare.
7357 2013-08-16 Florian Weimer <fweimer@redhat.com>
7361 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
7363 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
7365 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
7366 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
7367 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
7369 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
7370 GETDENTS_64BIT_ALIGNED.
7371 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7372 * manual/filesys.texi (Reading/Closing Directory): Document
7373 ENAMETOOLONG return value of readdir_r. Recommend readdir more
7375 * manual/conf.texi (Limits for Files): Add portability note to
7377 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
7379 2013-08-13 Andreas Schwab <schwab@suse.de>
7382 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
7384 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
7385 LDBL_MAX_EXP >= 16384]: Add tests for it.
7387 2013-08-12 David S. Miller <davem@davemloft.net>
7389 * version.h (RELEASE): Set to "development".
7390 (VERSION): Set to "2.18.90".
7391 * NEWS: Add 2.19 section.
7393 2013-08-03 David S. Miller <davem@davemloft.net>
7395 * po/ko.po: Update Korean translation from translation project.
7397 2013-08-01 David S. Miller <davem@davemloft.net>
7399 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
7400 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
7403 2013-07-30 David S. Miller <davem@davemloft.net>
7405 * po/fr.po: Update French translation from translation project.
7407 2013-07-28 David S. Miller <davem@davemloft.net>
7409 * po/cs.po: Update Czech translation from translation project.
7411 * po/sv.po: Update Swedish translation from translation project.
7413 2013-07-27 David S. Miller <davem@davemloft.net>
7415 * po/eo.po: Update Esperanto translation from translation project.
7417 * po/vi.po: Update Vietnamese translation from translation project.
7419 * po/de.po: Update German translation from translation project.
7421 2013-07-26 David S. Miller <davem@davemloft.net>
7423 * po/bg.po: Update Bulgarian translation from translation project.
7425 * po/nl.po: Update Dutch translation from translation project.
7426 * po/pl.po: Update Polish translation from translation project.
7427 * po/ru.po: Update Russian translation from translation project.
7429 2013-07-24 David S. Miller <davem@davemloft.net>
7431 * po/libc.pot: Update.
7433 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7435 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
7437 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
7438 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
7439 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
7441 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7443 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
7445 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7446 Andreas Schwab <schwab@suse.de>
7447 Roland McGrath <roland@hack.frob.com>
7448 Joseph Myers <joseph@codesourcery.com>
7449 Carlos O'Donell <carlos@redhat.com>
7452 * config.h.in: Define HAVE_PT_CHOWN.
7453 * config.make.in (build-pt-chown): New variable.
7454 * configure.in (--enable-pt_chown): New configure option.
7455 * configure: Regenerate.
7456 * login/Makefile: Include Makeconfig. Build pt_chown only if
7457 build-pt-chown is enabled.
7458 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
7459 pt_chown to fix pty ownership.
7460 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
7462 * manual/install.texi (Configuring and compiling): Mention
7463 --enable-pt_chown. Add @findex for grantpt.
7464 * INSTALL: Regenerate.
7466 2013-07-20 David S. Miller <davem@davemloft.net>
7468 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
7469 difference between 32-bit and 64-bit.
7471 2013-07-15 Carlos O'Donell <carlos@redhat.com>
7474 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
7475 Avoid system header dependency with -ffreestanding.
7476 ($(objpfx)bits/syscall%d): Likewise.
7478 2013-07-13 David S. Miller <davem@davemloft.net>
7480 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
7481 underflows from atanl/atan2l due to bug 15319.
7482 (casinh_test_data): Likewise.
7484 2013-07-07 David S. Miller <davem@davemloft.net>
7486 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7488 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
7490 * sysdeps/i386/fpu/libm-test-ulps: Update.
7491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7493 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7495 * configure.in (--enable-lock-elision): Fix message text.
7496 * INSTALL: Regenerate.
7497 * configure: Regenerate.
7499 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7503 2013-07-03 Andreas Jaeger <aj@suse.de>
7505 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
7507 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
7508 (ptrace_peeksiginfo_args): Add.
7509 (__ptrace_peeksiginfo_flags): Add.
7510 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7511 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7512 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7514 2013-07-03 Allan McRae <allan@archlinux.org>
7516 * sysdeps/i386/fpu/libm-test-ulps: Update.
7518 2013-07-02 David S. Miller <davem@davemloft.net>
7520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7522 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
7524 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7526 2013-07-02 Joseph Myers <joseph@codesourcery.com>
7528 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7531 2013-07-02 Andi Kleen <ak@linux.intel.com>
7533 * config.h.in (ENABLE_LOCK_ELISION): Add.
7534 * configure.in (--enable-lock-elision): Add option.
7535 * manual/install.texi: Document --enable lock elision.
7536 * configure: Regenerate
7537 * INSTALL: Regenerate.
7539 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
7541 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
7542 SSE4.2 strcasecmp for libc.a.
7543 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7545 2013-07-02 Joseph Myers <joseph@codesourcery.com>
7548 * soft-fp/op-common.h (_FP_FMA): New macro.
7549 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
7550 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
7551 (_FP_MUL_MEAT_1_imm): ... here.
7552 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
7553 (_FP_MUL_MEAT_1_wide): ... here.
7554 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
7555 (_FP_MUL_MEAT_1_hard): ... here.
7556 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
7557 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
7558 (_FP_MUL_MEAT_2_wide): ... here.
7559 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
7560 (_FP_MUL_MEAT_2_wide_3mul): ... here.
7561 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
7562 (_FP_MUL_MEAT_2_gmp): ... here.
7563 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
7564 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
7565 (_FP_MUL_MEAT_4_wide): ... here.
7566 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
7567 (_FP_MUL_MEAT_4_gmp): ... here.
7568 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
7569 (_FP_WFRACBITS_DW_S): Likewise.
7570 (_FP_WFRACXBITS_DW_S): Likewise.
7571 (_FP_HIGHBIT_DW_S): Likewise.
7572 (FP_FMA_S): Likewise.
7573 (_FP_FRAC_HIGH_DW_S): Likewise.
7574 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
7575 (_FP_WFRACBITS_DW_D): Likewise.
7576 (_FP_WFRACXBITS_DW_D): Likewise.
7577 (_FP_HIGHBIT_DW_D): Likewise.
7578 (FP_FMA_D): Likewise.
7579 (_FP_FRAC_HIGH_DW_D): Likewise.
7580 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
7581 (_FP_WFRACBITS_DW_E): Likewise.
7582 (_FP_WFRACXBITS_DW_E): Likewise.
7583 (_FP_HIGHBIT_DW_E): Likewise.
7584 (FP_FMA_E): Likewise.
7585 (_FP_FRAC_HIGH_DW_E): Likewise.
7586 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
7587 (_FP_WFRACBITS_DW_Q): Likewise.
7588 (_FP_WFRACXBITS_DW_Q): Likewise.
7589 (_FP_HIGHBIT_DW_Q): Likewise.
7590 (FP_FMA_Q): Likewise.
7591 (_FP_FRAC_HIGH_DW_Q): Likewise.
7592 * soft-fp/fmasf4.c: New file.
7593 * soft-fp/fmadf4.c: Likewise.
7594 * soft-fp/fmatf4.c: Likewise.
7596 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7598 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
7599 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
7601 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
7603 (index_Slow_SSE4_2): Likewise.
7604 (index_Prefer_PMINUB_for_stringop): Likewise.
7605 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
7606 bit_Slow_SSE4_2 is set.
7607 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7608 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7610 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7612 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
7613 rtld_global._dl_hwcap2.
7614 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
7616 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
7617 POWER8 feature descriptions defined in _dl_hwcap2.
7618 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
7619 string handling for POWER8 feature bits.
7620 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
7621 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
7622 _dl_powerpc_cap_flags.
7623 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
7624 * sysdeps/powerpc/rtld-global-offsets.sym
7625 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
7626 _dl_hwcap2 in the rtld_global_ro structure.
7628 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7630 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
7631 hardware capabilities in support of AT_HWCAP2.
7632 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
7633 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
7635 (_dl_show_auxv): Add support for calling _dl_procinfo to display
7636 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
7637 explicitly the unknown a_type display mechanism is used.
7638 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
7639 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
7641 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
7642 to macro prototype for AT_HWCAP2 support.
7643 * sysdeps/i386/dl-procinfo.h: Likewise.
7644 * sysdeps/s390/dl-procinfo.h: Likewise.
7645 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
7646 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
7647 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
7648 return -1 for unknown a_type display fallback.
7649 * sysdeps/sparc/dl-procinfo.h: Likewise.
7650 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
7651 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
7653 2013-06-28 Joseph Myers <joseph@codesourcery.com>
7655 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
7656 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
7658 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
7661 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
7662 mprotect making __stack_prot writable.
7664 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
7665 Joseph Myers <joseph@codesourcery.com>
7667 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
7668 as being properly aligned.
7670 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
7672 * dlfcn/modstatic5.c: New file.
7673 * dlfcn/tststatic5.c: New file.
7674 * dlfcn/Makefile (tests): Add tststatic5.
7675 (tests-static): Likewise.
7676 (modules-names): Add modstatic5.
7677 (tststatic5-ENV): New variable.
7678 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
7681 * elf/dl-support.c (_dl_main_map): New variable.
7682 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
7683 (_dl_nns, _dl_load_adds): Set to 1.
7684 (_dl_initial_searchlist): Refer to _dl_main_map.
7685 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
7686 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
7687 call to _dl_get_origin.
7688 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
7690 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
7691 * dlfcn/modstatic3.c: New file.
7692 * dlfcn/tststatic3.c: New file.
7693 * dlfcn/tststatic4.c: New file.
7694 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
7695 (tests-static): Likewise.
7696 (modules-names): Add modstatic3.
7697 (tststatic3-ENV, tststatic4-ENV): New variables.
7698 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
7699 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
7701 2013-06-26 Joseph Myers <joseph@codesourcery.com>
7703 * configure.in (CC): Require GCC version 4.4 or later.
7704 * configure: Regenerated.
7705 * manual/install.texi (Tools for Compilation): Update GCC version
7707 * INSTALL: Regenerated.
7709 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7712 * string/test-memcmp.c (check2): New.
7713 (main): Call check2.
7715 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
7717 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
7720 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
7722 (dl_open_worker) [!SHARED]: ... here.
7724 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7726 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
7728 2013-06-25 Richard Henderson <rth@redhat.com>
7730 * locale/programs/locarchive.c: Include <libc-internal.h>
7732 2013-06-25 Joseph Myers <joseph@codesourcery.com>
7734 * manual/texinfo.tex: Update to version 2013-06-21.17, with
7735 trailing whitespace removed.
7737 2013-06-24 Mike Frysinger <vapier@gentoo.org>
7740 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
7741 * locale/programs/locarchive.c: Include libc-mmap.h.
7742 (prepare_address_space): Take two new outputs (the mmap base and len).
7743 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
7745 (create_archive): Declare new mmap base and len values for
7746 prepare_address_space, and store the result in ah.
7747 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
7748 (enlarge_archive): If ah->mmap_base is not NULL, use that and
7749 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7750 Declare new mmap base and len values for
7751 prepare_address_space, and store the result in new_ah.
7752 (open_archive): Declare new mmap base and len values for
7753 prepare_address_space, and store the result in ah.
7754 (close_archive): If ah->mmap_base is not NULL, use that and
7755 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7756 * sysdeps/generic/libc-mmap.h: New file.
7758 2013-06-24 Mike Frysinger <vapier@gentoo.org>
7760 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7761 (ALIGN_UP): Likewise.
7762 (PTR_ALIGN_DOWN): Likewise.
7763 (PTR_ALIGN_UP): Likewise.
7765 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7767 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7768 entry mapped to PPC_PLATFORM_POWER8.
7769 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7771 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7772 (_dl_string_platform): Add case for exporting platform position for
7774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7775 search path to sysdeps/powerpc/powerpc32/power8 directory.
7776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7777 search path to sysdeps/powerpc/powerpc64/power8 directory.
7778 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7780 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7783 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7785 * INSTALL: Regenerate.
7787 * nscd/connections.c (nscd_init): Fix comment.
7789 2013-06-22 Joseph Myers <joseph@codesourcery.com>
7791 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7794 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7795 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7797 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7799 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7801 (DL_DST_REQ_STATIC): Remove macro.
7803 2013-06-21 Joseph Myers <joseph@codesourcery.com>
7806 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7807 with a shift of 0 bits.
7809 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7811 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7814 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7817 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7819 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7821 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7822 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7823 accepts -fno-tree-loop-distribute-patterns.
7824 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7825 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7827 * string/memset.c (memset): Likewise.
7828 * string/test-memmove.c (simple_memmove): Disable loop transformation
7830 * string/test-memset.c (simple_memset): Likewise.
7831 * benchtests/bench-memmove.c (simple_memmove): Likewise.
7832 * benchtests/bench-memset.c (simple_memset): Likewise.
7833 * configure: Regenerated.
7835 2013-06-20 Joseph Myers <joseph@codesourcery.com>
7837 * math/test-misc.c (main): Ignore fesetround failure when failures
7838 of subsequent rounding tests would be ignored.
7841 * math/fedisblxcpt.c (fedisableexcept): Return 0.
7842 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7843 * math/fegetenv.c (__fegetenv): Return 0.
7844 * math/fegetexcept.c (fegetexcept): Return 0.
7845 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7847 * math/feholdexcpt.c (feholdexcept): Return 0.
7848 * math/fesetenv.c (__fesetenv): Return 0.
7849 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7850 argument FE_TONEAREST.
7851 * math/feupdateenv.c (__feupdateenv): Return 0.
7852 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7854 2013-06-18 Roland McGrath <roland@hack.frob.com>
7856 * elf/rtld-Rules (rtld-compile-command.S): New variable.
7857 (rtld-compile-command.s, rtld-compile-command.c): New variables.
7858 ($(objpfx)rtld-%.os rules): Use them.
7860 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7862 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7865 2013-06-17 Roland McGrath <roland@hack.frob.com>
7867 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7868 length of target pattern, then descending length of dependency pattern.
7869 * configure.in (AWK): Require gawk 3.1.2 or newer.
7870 * manual/install.texi (Tools for Compilation): Say that we do.
7871 * configure: Regenerated.
7873 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7874 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7875 * scripts/sysd-rules.awk: ... this new script.
7876 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7877 than a glob-style pattern.
7879 2013-06-17 Joseph Myers <joseph@codesourcery.com>
7881 * math/test-misc.c (main): Do not treat incorrectly rounded
7882 conversions as failure unless ROUNDING_TESTS passes.
7884 2013-06-15 Joseph Myers <joseph@codesourcery.com>
7887 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7888 restore exception state around main square root computation, then
7889 check for inexactness explicitly.
7891 * math/libm-test.inc (fma_test_data): Add another test.
7893 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7895 * manual/threads.texi (Non-POSIX Extensions): New document
7896 node. Document pthread_getattr_default_np and
7897 pthread_setattr_default_np.
7899 * Versions.def (libpthread): Add GLIBC_2.18.
7900 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7909 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7915 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7920 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7922 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7923 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7925 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7926 H.J. Lu <hjl.tools@gmail.com>
7929 * sysdeps/x86_64/rtld-memset.c: Remove file.
7930 * sysdeps/x86_64/rtld-memset.S: New file.
7932 2013-06-14 Joseph Myers <joseph@codesourcery.com>
7934 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7935 (test_in_one_mode): Take arguments for whether the rounding mode
7936 is supported for each floating-point type.
7937 (do_test): Pass new arguments to test_in_one_mode using
7940 2013-06-13 Roland McGrath <roland@hack.frob.com>
7942 * posix/tst-waitid.c (do_test): Distinguish different instances of
7943 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
7944 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7945 before entering the kernel for waitpid.
7947 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7949 * NEWS: Fix note on clock function precision. Text by Roland
7952 2013-06-13 Roland McGrath <roland@hack.frob.com>
7954 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7955 it into place only when and if the sanity check passes.
7957 2013-06-13 Joseph Myers <joseph@codesourcery.com>
7959 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7960 output for whether conversion result is exact. Take argument
7961 indicating whether type is IBM long double.
7962 (round_for_all): Change need_exact field to ibm_ld.
7963 * stdlib/tst-strtod-round.c (struct exactness): New type.
7964 (struct test): Change bool ld_ok field to struct exactness exact.
7965 (TEST): Update all definitions for change to field.
7966 (tests): Regenerate array contents.
7967 (test_in_one_mode): Take pointer to new field instead of old ld_ok
7968 field value. Check for IBM long double here.
7969 (do_test): Update calls to test_in_one_mode.
7971 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7974 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7975 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7977 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7980 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7981 generated by the compiler on loop optimizations.
7982 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7983 general definitions.
7985 2013-06-12 Joseph Myers <joseph@codesourcery.com>
7987 * math/bug-nextafter.c: Include <math-tests.h>.
7988 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7990 * math/bug-nexttoward.c: Include <math-tests.h>.
7991 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7993 * math/test-misc.c: Include <math-tests.h>.
7994 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7997 2013-06-12 Andreas Jaeger <aj@suse.de>
7999 * po/ia.po: Update Interlingua translation from translation
8002 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8004 * include/fenv.h: Include stdbool.h.
8005 (struct rm_ctx): New structure.
8006 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
8008 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
8009 (SET_RESTORE_ROUNDF): Likewise.
8010 (SET_RESTORE_ROUNDL): Likewise.
8011 (SET_RESTORE_ROUND_NOEX): Likewise.
8012 (SET_RESTORE_ROUND_NOEXF): Likewise.
8013 (SET_RESTORE_ROUND_NOEXL): Likewise.
8014 (SET_RESTORE_ROUND_53BIT): Likewise.
8015 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
8016 (libc_feresetround_noexf_ctx): Likewise.
8017 (libc_feresetround_noexl_ctx): Likewise.
8018 (libc_feholdsetround_53bit_ctx): Likewise.
8019 (libc_feresetround_53bit_ctx): Likewise.
8020 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
8021 (libc_feholdexcept_setround_sse_ctx): New function.
8022 (libc_fesetenv_sse_ctx): Likewise.
8023 (libc_feupdateenv_sse_ctx): Likewise.
8024 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
8025 (libc_feholdexcept_setround_387_ctx): Likewise.
8026 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
8027 (libc_feholdsetround_387_prec_ctx): Likewise.
8028 (libc_feholdsetround_387_ctx): Likewise.
8029 (libc_feholdsetround_387_53bit_ctx): Likewise.
8030 (libc_feholdsetround_sse_ctx): Likewise.
8031 (libc_feresetround_sse_ctx): Likewise.
8032 (libc_feresetround_387_ctx): Likewise.
8033 (libc_feupdateenv_387_ctx): Likewise.
8034 (libc_feholdexcept_setroundf_ctx): Define macro.
8035 (libc_fesetenvf_ctx): Likewise.
8036 (libc_feupdateenvf_ctx): Likewise.
8037 (libc_feholdsetroundf_ctx): Likewise.
8038 (libc_feresetroundf_ctx): Likewise.
8039 (libc_feholdexcept_setround_ctx): Likewise.
8040 (libc_fesetenv_ctx): Likewise.
8041 (libc_feupdateenv_ctx): Likewise.
8042 (libc_feholdsetround_ctx): Likewise.
8043 (libc_feresetround_ctx): Likewise.
8044 (libc_feholdexcept_setroundl_ctx): Likewise.
8045 (libc_feupdateenvl_ctx): Likewise.
8046 (libc_feholdsetroundl_ctx): Likewise.
8047 (libc_feresetroundl_ctx): Likewise.
8048 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
8049 (libc_feresetround_53bit_ctx): Likewise.
8051 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8053 * locale/iso-639.def: Convert to UTF-8.
8055 2013-06-11 Joseph Myers <joseph@codesourcery.com>
8057 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8058 (EXCEPTION_TESTS_double): Likewise.
8059 (EXCEPTION_TESTS_long_double): Likewise.
8060 (EXCEPTION_TESTS): Likewise.
8061 * math/libm-test.inc (test_exceptions): Only test exceptions if
8062 EXCEPTION_TESTS (FLOAT).
8064 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8066 * benchtests/Makefile (string-bench): Add strcpy_chk and
8068 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8069 * benchtests/bench-stpcpy_chk.c: New file.
8070 * benchtests/bench-strcpy_chk-ifunc.c: New file.
8071 * benchtests/bench-strcpy_chk.c: New file.
8072 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8074 (do_test): Likewise.
8076 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8078 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
8079 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
8080 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
8081 with tabs where appropriate.
8082 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
8084 [PPC_PLATFORM_PPC440]: Likewise.
8085 [PPC_PLATFORM_PPC464]: Likewise.
8086 [PPC_PLATFORM_PPC476]: Likewise.
8087 (_dl_string_platform): Add support for detecting ppc405, ppc440,
8088 ppc464, and ppc476 platform strings merging from ports/
8091 2013-06-11 Andreas Schwab <schwab@suse.de>
8094 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
8095 (from_ucs4_idx): Regenerate.
8096 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
8097 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
8098 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
8099 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
8100 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
8101 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
8102 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
8103 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
8104 from FROM_LOOP and TO_LOOP specific macros.
8105 (BODY): Handle combining characters.
8106 * iconvdata/BIG5HKSCS.irreversible: Update.
8107 * iconvdata/BIG5HKSCS.precomposed: New file.
8108 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
8110 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
8112 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8114 * include/sys/time.h: Fix indentation and add copyright header.
8116 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
8117 (do_test): Likewise.
8118 * string/test-memchr.c (do_one_test): Likewise.
8119 (do_test): Likewise.
8120 * string/test-memcmp.c (do_one_test): Likewise.
8121 (do_test): Likewise.
8122 * string/test-memcpy.c (do_one_test): Likewise.
8123 (do_test): Likewise.
8124 * string/test-memmem.c (do_one_test): Likewise.
8125 (do_test): Likewise.
8126 (do_random_tests): Likewise.
8127 * string/test-memmove.c (do_one_test): Likewise.
8128 (do_test): Likewise.
8129 * string/test-memset.c (do_one_test): Likewise.
8130 (do_test): Likewise.
8131 * string/test-rawmemchr.c (do_one_test): Likewise.
8132 (do_test): Likewise.
8133 * string/test-strcasecmp.c (do_one_test): Likewise.
8134 (do_test): Likewise.
8135 * string/test-strcasestr.c (do_one_test): Likewise.
8136 (do_test): Likewise.
8137 * string/test-strcat.c (do_one_test): Likewise.
8138 (do_test): Likewise.
8139 * string/test-strchr.c (do_one_test): Likewise.
8140 (do_test): Likewise.
8141 * string/test-strcmp.c (do_one_test): Likewise.
8142 (do_test): Likewise.
8143 * string/test-strcpy.c (do_one_test): Likewise.
8144 (do_test): Likewise.
8145 * string/test-string.h: Likewise.
8146 (test_init): Likewise.
8147 * string/test-strlen.c (do_one_test): Likewise.
8148 (do_test): Likewise.
8149 * string/test-strncasecmp.c (do_one_test): Likewise.
8150 (do_test): Likewise.
8151 * string/test-strncat.c (do_one_test): Likewise.
8152 (do_test): Likewise.
8153 * string/test-strncmp.c (do_one_test): Likewise.
8154 (do_test_limit): Likewise.
8155 (do_test): Likewise.
8156 * string/test-strncpy.c (do_one_test): Likewise.
8157 (do_test): Likewise.
8158 * string/test-strnlen.c (do_one_test): Likewise.
8159 (do_test): Likewise.
8160 * string/test-strpbrk.c (do_one_test): Likewise.
8161 (do_test): Likewise.
8162 * string/test-strrchr.c (do_one_test): Likewise.
8163 (do_test): Likewise.
8164 * string/test-strspn.c (do_one_test): Likewise.
8165 (do_test): Likewise.
8166 * string/test-strstr.c (do_one_test): Likewise.
8167 (do_test): Likewise.
8169 * benchtests/Makefile (string-bench): Add string benchmarks.
8170 * benchtests/bench-bcopy-ifunc.c: New file.
8171 * benchtests/bench-bcopy.c: New file.
8172 * benchtests/bench-bzero-ifunc.c: New file.
8173 * benchtests/bench-bzero.c: New file.
8174 * benchtests/bench-memccpy-ifunc.c: New file.
8175 * benchtests/bench-memccpy.c: New file.
8176 * benchtests/bench-memchr-ifunc.c: New file.
8177 * benchtests/bench-memchr.c: New file.
8178 * benchtests/bench-memcmp-ifunc.c: New file.
8179 * benchtests/bench-memcmp.c: New file.
8180 * benchtests/bench-memmem-ifunc.c: New file.
8181 * benchtests/bench-memmem.c: New file.
8182 * benchtests/bench-memmove-ifunc.c: New file.
8183 * benchtests/bench-memmove.c: New file.
8184 * benchtests/bench-mempcpy-ifunc.c: New file.
8185 * benchtests/bench-mempcpy.c: New file.
8186 * benchtests/bench-memset-ifunc.c: New file.
8187 * benchtests/bench-memset.c: New file.
8188 * benchtests/bench-rawmemchr-ifunc.c: New file.
8189 * benchtests/bench-rawmemchr.c: New file.
8190 * benchtests/bench-stpcpy-ifunc.c: New file.
8191 * benchtests/bench-stpcpy.c: New file.
8192 * benchtests/bench-stpncpy-ifunc.c: New file.
8193 * benchtests/bench-stpncpy.c: New file.
8194 * benchtests/bench-strcasecmp-ifunc.c: New file.
8195 * benchtests/bench-strcasecmp.c: New file.
8196 * benchtests/bench-strcasestr-ifunc.c: New file.
8197 * benchtests/bench-strcasestr.c: New file.
8198 * benchtests/bench-strcat-ifunc.c: New file.
8199 * benchtests/bench-strcat.c: New file.
8200 * benchtests/bench-strchr-ifunc.c: New file.
8201 * benchtests/bench-strchr.c: New file.
8202 * benchtests/bench-strchrnul-ifunc.c: New file.
8203 * benchtests/bench-strchrnul.c: New file.
8204 * benchtests/bench-strcmp-ifunc.c: New file.
8205 * benchtests/bench-strcmp.c: New file.
8206 * benchtests/bench-strcpy-ifunc.c: New file.
8207 * benchtests/bench-strcpy.c: New file.
8208 * benchtests/bench-strcspn-ifunc.c: New file.
8209 * benchtests/bench-strcspn.c: New file.
8210 * benchtests/bench-strlen-ifunc.c: New file.
8211 * benchtests/bench-strlen.c: New file.
8212 * benchtests/bench-strncasecmp-ifunc.c: New file.
8213 * benchtests/bench-strncasecmp.c: New file.
8214 * benchtests/bench-strncat-ifunc.c: New file.
8215 * benchtests/bench-strncat.c: New file.
8216 * benchtests/bench-strncmp-ifunc.c: New file.
8217 * benchtests/bench-strncmp.c: New file.
8218 * benchtests/bench-strncpy-ifunc.c: New file.
8219 * benchtests/bench-strncpy.c: New file.
8220 * benchtests/bench-strnlen-ifunc.c: New file.
8221 * benchtests/bench-strnlen.c: New file.
8222 * benchtests/bench-strpbrk-ifunc.c: New file.
8223 * benchtests/bench-strpbrk.c: New file.
8224 * benchtests/bench-strrchr-ifunc.c: New file.
8225 * benchtests/bench-strrchr.c: New file.
8226 * benchtests/bench-strspn-ifunc.c: New file.
8227 * benchtests/bench-strspn.c: New file.
8228 * benchtests/bench-strstr-ifunc.c: New file.
8229 * benchtests/bench-strstr.c: New file.
8231 * benchtests/Makefile: Disable parallel execution of targets.
8232 (string-bench): Add memcpy.
8233 (benchset): New variable to store a list of benchmark sets.
8234 (bench-func): Renamed from bench.
8235 (bench-set): New target.
8236 (bench): Depend on bench-func and bench-set.
8237 * benchtests/README: Add section on benchmark sets.
8238 * benchtests/bench-memcpy-ifunc.c: New file.
8239 * benchtests/bench-memcpy.c: New file.
8240 * benchtests/bench-string.h: New file.
8242 2013-06-11 Andreas Schwab <schwab@suse.de>
8245 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
8246 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
8247 values in the triple.
8248 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
8249 terminator in the group key.
8251 2013-06-11 Andreas Jaeger <aj@suse.de>
8253 * po/zh_TW.po: Update Chinese (traditional) translation from
8254 translation project.
8256 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8258 * include/time.h (__clock_gettime): Add libc_hidden_proto.
8259 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
8260 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
8261 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8262 (clock_getcpuclockid): Likewise.
8263 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
8264 Add weak_alias and libc_hidden_def.
8265 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8266 * rt/clock_gettime.c (clock_gettime): Rename to
8267 __clock_gettime. Add weak_alias and libc_hidden_def.
8268 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
8269 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
8270 __clock_nanosleep. Add weak_alias and libc_hidden_def.
8271 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
8272 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
8274 * rt/clock_settime.c (clock_settime): Rename to
8275 __clock_settime. Add weak_alias and libc_hidden_def.
8276 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
8278 2013-06-10 Joseph Myers <joseph@codesourcery.com>
8280 * mach/err_boot.sub: Remove trailing whitespace.
8281 * mach/err_ipc.sub: Likewise.
8282 * mach/err_mach.sub: Likewise.
8284 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
8285 (ROUNDING_TESTS_double): Likewise.
8286 (ROUNDING_TESTS_long_double): Likewise.
8287 (ROUNDING_TESTS): Likewise.
8288 * math/libm-test.inc: Include <math-tests.h>.
8289 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
8290 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8291 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8292 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8294 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8296 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
8299 2013-06-08 Joseph Myers <joseph@codesourcery.com>
8301 * sysdeps/gnu/errlist.awk: Do not generate space at end of
8302 otherwise empty TRANS lines.
8303 * sysdeps/gnu/errlist.c: Regenerated.
8305 * catgets/gencat.c (error_print): Use (void) in function
8307 * crypt/crypt_util.c (__init_des): Likewise.
8308 * crypt/speeds.c (Stop): Likewise.
8310 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
8311 * inet/ruserpass.c (token): Likewise.
8312 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
8313 * intl/localealias.c (extend_alias_table): Likewise.
8314 * intl/plural-exp.c (init_germanic_plural): Likewise.
8315 * libio/fcloseall.c (__fcloseall): Likewise.
8316 * libio/genops.c (_IO_flush_all): Likewise.
8317 (_IO_flush_all_linebuffered): Likewise.
8318 (_IO_cleanup): Likewise.
8319 (_IO_iter_begin): Likewise.
8320 (_IO_iter_end): Likewise.
8321 (_IO_list_lock): Likewise.
8322 (_IO_list_unlock): Likewise.
8323 (_IO_list_resetlock): Likewise.
8324 * libio/getchar.c (getchar): Likewise.
8325 * libio/getchar_u.c (getchar_unlocked): Likewise.
8326 * libio/getwchar.c (getwchar): Likewise.
8327 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
8328 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
8329 * login/getpt.c (__getpt): Likewise.
8330 * login/tst-utmp.c (main): Likewise.
8331 * malloc/hooks.c (__malloc_check_init): Likewise.
8332 * malloc/malloc.c (__malloc_stats): Likewise.
8333 * malloc/mtrace.c (tr_break): Likewise.
8335 (muntrace): Likewise.
8336 * misc/fstab.c (endfsent): Likewise.
8337 * misc/getclktck.c (__getclktck): Likewise.
8338 * misc/getdtsz.c (__getdtablesize): Likewise.
8339 * misc/gethostid.c (gethostid): Likewise.
8340 * misc/getpagesize.c (__getpagesize): Likewise.
8341 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
8342 (__get_nprocs): Likewise.
8343 (__get_phys_pages): Likewise.
8344 (__get_avphys_pages): Likewise.
8345 * misc/getttyent.c (getttyent): Likewise.
8346 (setttyent): Likewise.
8347 (endttyent): Likewise.
8348 * misc/getusershell.c (getusershell): Likewise.
8349 (endusershell): Likewise.
8350 (setusershell): Likewise.
8351 (initshells): Likewise.
8352 * misc/hsearch.c (__hdestroy): Likewise.
8353 * misc/sync.c (sync): Likewise.
8354 * misc/syslog.c (closelog_internal): Likewise.
8355 (closelog): Likewise.
8356 * misc/ttyslot.c (ttyslot): Likewise.
8357 * misc/vhangup.c (vhangup): Likewise.
8358 * posix/fork.c (__fork): Likewise.
8359 * posix/getegid.c (__getegid): Likewise.
8360 * posix/geteuid.c (__geteuid): Likewise.
8361 * posix/getgid.c (__getgid): Likewise.
8362 * posix/getpid.c (__getpid): Likewise.
8363 * posix/getppid.c (__getppid): Likewise.
8364 * posix/getuid.c (__getuid): Likewise.
8365 * posix/pause.c (pause): Likewise.
8366 * posix/setpgrp.c (setpgrp): Likewise.
8367 * posix/setsid.c (__setsid): Likewise.
8368 * posix/test-vfork.c (noop): Likewise.
8369 * resolv/gethnamaddr.c (_endhtent): Likewise.
8370 (_gethtent): Likewise.
8371 (ht_endhostent): Likewise.
8372 (gethostent): Likewise.
8373 (dns_service): Likewise.
8374 * stdlib/drand48.c (drand48): Likewise.
8375 * stdlib/lrand48.c (lrand48): Likewise.
8376 * stdlib/mrand48.c (mrand48): Likewise.
8377 * stdlib/rand.c (rand): Likewise.
8378 * stdlib/random.c (__random): Likewise.
8379 * stdlib/setenv.c (clearenv): Likewise.
8380 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
8381 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
8382 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
8383 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
8384 (__get_nprocs): Likewise.
8385 (__get_phys_pages): Likewise.
8386 (__get_avphys_pages): Likewise.
8387 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
8388 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
8389 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
8390 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
8391 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
8392 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
8393 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
8394 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
8395 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
8396 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
8397 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
8398 * sysdeps/mach/hurd/sync.c (sync): Likewise.
8399 * sysdeps/posix/clock.c (clock): Likewise.
8400 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
8401 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
8402 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
8403 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
8404 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
8405 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8406 (__get_nprocs_conf): Likewise.
8407 (__get_phys_pages): Likewise.
8408 (__get_avphys_pages): Likewise.
8409 * time/clock.c (clock): Likewise.
8410 * time/tzset.c (__tzname_max): Likewise.
8412 2013-06-07 Joseph Myers <joseph@codesourcery.com>
8414 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
8415 (__bswap_32): Do not use "register".
8416 * crypt/crypt.c (_ufc_doit_r): Likewise.
8417 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8418 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8419 * gmon/gmon.c (__monstartup): Likewise.
8420 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
8421 * hurd/hurdmalloc.c (more_memory): Likewise.
8424 (realloc): Likewise.
8425 (malloc_fork_prepare): Likewise.
8426 (malloc_fork_parent): Likewise.
8427 (malloc_fork_child): Likewise.
8428 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
8429 (_svcauth_des): Likewise.
8430 * inet/inet_lnaof.c (inet_lnaof): Likewise.
8431 * inet/inet_net.c (inet_network): Likewise.
8432 * inet/inet_netof.c (inet_netof): Likewise.
8433 * inet/rcmd.c (__validuser2_sa): Likewise.
8434 * io/fts.c (fts_open): Likewise.
8435 (fts_load): Likewise.
8436 (fts_close): Likewise.
8437 (fts_read): Likewise.
8438 (fts_children): Likewise.
8439 (fts_build): Likewise.
8440 (fts_stat): Likewise.
8441 (fts_sort): Likewise.
8442 (fts_alloc): Likewise.
8443 (fts_lfree): Likewise.
8444 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
8445 (_IO_file_xsgetn): Likewise.
8446 (_IO_file_xsgetn_mmap): Likewise.
8447 * libio/iofopncook.c (_IO_cookie_read): Likewise.
8448 (_IO_cookie_write): Likewise.
8449 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
8450 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
8451 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
8452 * malloc/obstack.c (_obstack_begin): Likewise.
8453 (_obstack_begin_1): Likewise.
8454 (_obstack_newchunk): Likewise.
8455 (_obstack_allocated_p): Likewise.
8456 (obstack_free): Likewise.
8457 (_obstack_memory_used): Likewise.
8458 * misc/getttyent.c (getttynam): Likewise.
8459 (getttyent): Likewise.
8462 * misc/getusershell.c (initshells): Likewise.
8463 * misc/syslog.c (__vsyslog_chk): Likewise.
8464 * misc/ttyslot.c (ttyslot): Likewise.
8465 * nis/nis_hash.c (__nis_hash): Likewise.
8466 * posix/fnmatch_loop.c (FCT): Likewise.
8467 * posix/getconf.c (print_all): Likewise.
8469 * posix/getopt.c (exchange): Likewise.
8470 * posix/glob.c (globfree): Likewise.
8471 (prefix_array): Likewise.
8472 (__glob_pattern_type): Likewise.
8473 * resolv/arpa/nameser.h (NS_GET16): Likewise.
8474 (NS_GET32): Likewise.
8475 (NS_PUT16): Likewise.
8476 (NS_PUT32): Likewise.
8477 * resolv/gethnamaddr.c (getanswer): Likewise.
8478 (gethostbyname2): Likewise.
8479 (gethostbyaddr): Likewise.
8480 (_gethtent): Likewise.
8481 (_gethtbyname2): Likewise.
8482 (_gethtbyaddr): Likewise.
8483 * resolv/ns_print.c (dst_s_get_int16): Likewise.
8484 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8485 * resolv/res_init.c (__res_vinit): Likewise.
8486 (net_mask): Likewise.
8487 * resolv/res_mkquery.c (outchar): Likewise.
8489 * stdio-common/printf_fp.c (outchar): Likewise.
8491 * stdio-common/printf_fphex.c (outchar): Likewise.
8493 * stdio-common/printf_size.c (outchar): Likewise.
8495 * stdio-common/test_rdwr.c (main): Likewise.
8496 * stdio-common/tfformat.c (matches): Likewise.
8497 * stdio-common/vfprintf.c (outchar): Likewise.
8498 (printf_unknown): Likewise.
8499 (buffered_vfprintf): Likewise.
8500 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8501 * stdio-common/xbug.c (AppendToBuffer): Likewise.
8502 (ReadFile): Likewise.
8503 * stdlib/qsort.c (SWAP): Likewise.
8504 (_quicksort): Likewise.
8505 * stdlib/setenv.c (__add_to_environ): Likewise.
8506 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8507 * stdlib/strtol_l.c (__strtol_l): Likewise.
8508 * stdlib/tst-strtod.c (main): Likewise.
8509 * stdlib/tst-strtol.c (main): Likewise.
8510 * stdlib/tst-strtoll.c (main): Likewise.
8511 * string/bits/string2.h (__strcmp_cc): Likewise.
8512 (__strcmp_cg): Likewise.
8513 (__strcspn_c1): Likewise.
8514 (__strcspn_c2): Likewise.
8515 (__strcspn_c3): Likewise.
8516 (__strspn_c1): Likewise.
8517 (__strspn_c2): Likewise.
8518 (__strspn_c3): Likewise.
8519 (__strsep_1c): Likewise.
8520 (__strsep_2c): Likewise.
8521 (__strsep_3c): Likewise.
8522 * string/memccpy.c (__memccpy): Likewise.
8523 * string/stpcpy.c (__stpcpy): Likewise.
8524 * string/strcmp.c (strcmp): Likewise.
8525 * string/strrchr.c (strrchr): Likewise.
8526 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
8528 * sysdeps/mach/hurd/getcwd.c
8529 (_hurd_canonicalize_directory_name_internal): Likewise.
8530 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
8531 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
8532 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
8533 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
8534 Likewise, in both definitions.
8535 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
8537 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
8538 64] (__bswap_64): Likewise.
8539 * time/test_time.c (main): Likewise.
8540 * time/tzfile.c (__tzfile_read): Likewise.
8541 (__tzfile_compute): Likewise.
8542 * time/tzset.c (__tzset_parse_tz): Likewise.
8543 (tzset_internal): Likewise.
8544 (compute_change): Likewise.
8545 * wcsmbs/wcscat.c (__wcscat): Likewise.
8546 * wcsmbs/wcschr.c (wcschr): Likewise.
8547 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8548 * wcsmbs/wcscspn.c (wcscspn): Likewise.
8549 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8550 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
8551 * wcsmbs/wcsspn.c (wcsspn): Likewise.
8552 * wcsmbs/wcsstr.c (wcsstr): Likewise.
8553 * wcsmbs/wmemchr.c (wmemchr): Likewise.
8554 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8555 * wcsmbs/wmemset.c (wmemset): Likewise.
8557 2013-06-06 Joseph Myers <joseph@codesourcery.com>
8559 * scripts/config.guess: Update to version 2013-05-16.
8560 * scripts/config.sub: Update to version 2013-04-24.
8561 * scripts/install-sh: Update to version 2011-11-20.07.
8562 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
8563 * scripts/move-if-change: Update to version 2012-01-06 07:23.
8565 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
8567 * debug/fgetws_u_chk.c: Fix leading whitespaces.
8568 * elf/sln.c: Likewise.
8569 * hurd/hurd/ioctl.h: Likewise.
8570 * hurd/hurdmalloc.c: Likewise.
8571 * hurd/xattr.c: Likewise.
8572 * include/shlib-compat.h: Likewise.
8573 * inet/ruserpass.c: Likewise.
8574 * libio/iofgets_u.c: Likewise.
8575 * libio/iofgetws_u.c: Likewise.
8576 * locale/programs/ld-identification.c: Likewise.
8577 * locale/programs/ld-time.c: Likewise.
8578 * mach/msg-destroy.c: Likewise.
8579 * nss/nss_files/files-netgrp.c: Likewise.
8580 * resolv/res_data.c: Likewise.
8581 * soft-fp/op-1.h: Likewise.
8582 * soft-fp/op-2.h: Likewise.
8583 * soft-fp/op-4.h: Likewise.
8584 * soft-fp/op-common.h: Likewise.
8585 * stdio-common/printf_fphex.c: Likewise.
8586 * stdlib/strtod_l.c: Likewise.
8587 * sunrpc/rpc/clnt.h: Likewise.
8588 * sysdeps/generic/framestate.c: Likewise.
8589 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8590 * sysdeps/i386/bsd-setjmp.S: Likewise.
8591 * sysdeps/i386/__longjmp.S: Likewise.
8592 * sysdeps/i386/setjmp.S: Likewise.
8593 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8594 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8595 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8596 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8597 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8598 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8599 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8600 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8601 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8602 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8603 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8604 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8605 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8606 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8607 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8608 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8609 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8610 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
8611 * sysdeps/ieee754/support.c: Likewise.
8612 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8613 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
8614 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
8615 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
8616 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
8617 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
8618 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
8619 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
8620 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
8621 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
8622 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
8623 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
8624 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
8625 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
8626 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
8627 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
8628 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8631 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
8633 * posix/transbug.c: Remove executable mode.
8635 2013-06-05 Joseph Myers <joseph@codesourcery.com>
8637 * crypt/speeds.c: Remove trailing whitespace.
8638 * dlfcn/default.c: Likewise.
8639 * elf/ifuncdep2.c: Likewise.
8640 * elf/ifuncmain1.c: Likewise.
8641 * elf/ifuncmain1vis.c: Likewise.
8642 * elf/testobj.h: Likewise.
8643 * elf/tst-stackguard1.c: Likewise.
8644 * gmon/sys/gmon.h: Likewise.
8645 * hurd/hurdmsg.c: Likewise.
8646 * hurd/new-fd.c: Likewise.
8647 * hurd/ports-get.c: Likewise.
8648 * iconvdata/ibm1008_420.c: Likewise.
8649 * inet/tst-getni1.c: Likewise.
8650 * inet/tst-getni2.c: Likewise.
8651 * libio/ioungetc.c: Likewise.
8652 * libio/wfiledoalloc.c: Likewise.
8653 * manual/libm-err-tab.pl: Likewise.
8654 * math/w_dremf.c: Likewise.
8655 * misc/ftruncate.c: Likewise.
8656 * posix/bug-glob2.c: Likewise.
8657 * posix/tst-pcre.c: Likewise.
8658 * posix/wait4.c: Likewise.
8659 * resolv/README: Likewise.
8660 * resolv/res_debug.h: Likewise.
8661 * resolv/tst-inet_ntop.c: Likewise.
8662 * setjmp/bug269-setjmp.c: Likewise.
8663 * soft-fp/extended.h: Likewise.
8664 * soft-fp/op-1.h: Likewise.
8665 * soft-fp/op-2.h: Likewise.
8666 * soft-fp/op-4.h: Likewise.
8667 * soft-fp/op-8.h: Likewise.
8668 * soft-fp/testit.c: Likewise.
8669 * stdio-common/bug16.c: Likewise.
8670 * stdlib/random.c: Likewise.
8671 * sunrpc/rpcsvc/rquota.x: Likewise.
8672 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
8673 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8674 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8675 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8676 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8677 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8678 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8679 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8680 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8681 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8682 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8683 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8684 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8685 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8686 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8687 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8688 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8689 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8690 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8691 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8692 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8693 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8694 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8695 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8696 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8697 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8698 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8699 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8700 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8701 * sysdeps/ieee754/s_lib_version.c: Likewise.
8702 * sysdeps/mach/hurd/check_fds.c: Likewise.
8703 * sysdeps/mach/hurd/getsockname.c: Likewise.
8704 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
8705 * sysdeps/mach/hurd/recvfrom.c: Likewise.
8706 * sysdeps/powerpc/bits/link.h: Likewise.
8707 * sysdeps/powerpc/dl-procinfo.c: Likewise.
8708 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
8709 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
8710 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
8711 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8712 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8713 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
8714 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8715 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
8716 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8717 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8718 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8719 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
8720 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8721 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8722 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8723 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8724 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8725 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8726 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8727 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8728 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
8729 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8730 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8731 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
8732 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8733 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8734 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8735 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8736 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8737 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8738 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8739 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8740 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8741 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
8742 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8743 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
8744 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8745 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8746 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
8747 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
8748 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
8749 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
8750 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
8751 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8752 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
8753 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
8754 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8755 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8756 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8757 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8758 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8759 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8760 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8761 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8762 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8763 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8764 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8765 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8766 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8767 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8768 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8769 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8770 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8771 * sysdeps/powerpc/sysdep.h: Likewise.
8772 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8773 * sysdeps/s390/s390-64/sub_n.S: Likewise.
8774 * sysdeps/sh/dl-trampoline.S: Likewise.
8775 * sysdeps/sh/memset.S: Likewise.
8776 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8777 * sysdeps/sh/strlen.S: Likewise.
8778 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8779 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8780 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8781 * sysdeps/sparc/sparc32/rem.S: Likewise.
8782 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8783 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8784 * sysdeps/sparc/sparc32/strchr.S: Likewise.
8785 * sysdeps/sparc/sparc32/udiv.S: Likewise.
8786 * sysdeps/sparc/sparc32/urem.S: Likewise.
8787 * sysdeps/sparc/sparc64/add_n.S: Likewise.
8788 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8789 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8790 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8791 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8792 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8793 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8794 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8795 * sysdeps/unix/bsd/times.c: Likewise.
8796 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8797 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8801 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8802 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8803 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8804 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8805 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8806 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8807 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8808 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8809 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8810 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8811 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8812 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8813 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8814 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8815 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8816 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8817 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8818 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8819 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8820 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8821 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8822 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8823 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8824 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8825 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8826 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8827 * sysdeps/x86_64/strcspn.S: Likewise.
8829 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8831 * locale/C-translit.h: Revert #include <stdint.h> because this is a
8832 generated file. Regenerate properly from gen-translit.pl.
8833 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
8834 locale/C-translit.h.
8836 2013-06-05 Andreas Schwab <schwab@suse.de>
8839 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8840 week as 6 instead of -1.
8841 * time/tst-strptime.c (day_tests): Add test case.
8843 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8845 * sysdeps/generic/math_private.h
8846 (libc_feholdexcept_setround_53bit): Replace with
8847 libc_feholdsetround_53bit.
8848 (libc_feupdateenv_53bit): Replace with
8849 libc_feresetround_53bit.
8850 (SET_RESTORE_ROUND_53BIT): Adjust.
8852 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8854 * string/test-strchrnul.c: Add copyright header.
8856 * posix/tst-getaddrinfo4.c: Increase test timeout.
8858 2013-06-03 Carlos O'Donell <carlos@redhat.com>
8861 * math/libm-test.inc (MAX_EXP): Remove
8863 (ulp): Use MIN_EXP - MANT_DIG.
8864 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8866 2013-05-31 Carlos O'Donell <carlos@redhat.com>
8868 * po/be.po: Revert last change.
8869 * po/zh_CN.po: Likewise.
8870 * po/header.pot: Likewise.
8872 2013-05-31 Joseph Myers <joseph@codesourcery.com>
8874 * Makefile ($(common-objpfx)linkobj/libc.so): Define
8875 link-libc-deps to empty as target-specific variable.
8876 * Makerules (link-libc-args): New variable.
8877 (libc-for-link): Likewise.
8878 (link-libc-deps): Likewise.
8879 (lib%.so): Depend on $(link-libc-deps). Link with
8881 (build-module): Link with $(link-libc-args).
8882 (build-module-asneeded): Likewise.
8883 (build-module-helper-objlist): Filter out $(link-libc-deps) from
8885 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8886 target-specific variable.
8887 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8888 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8889 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8891 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8893 ($(objpfx)libpcprofile.so): Likewise.
8894 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8896 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8897 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8898 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8900 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8901 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8902 * login/Makefile ($(objpfx)libutil.so): Likewise.
8903 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8904 * math/Makefile ($(objpfx)libm.so): Likewise.
8905 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8906 $(objpfx)libnsl.so): Define libc-for-link as target-specific
8907 variable instead of depending directly on libc.
8908 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8909 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8911 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8913 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8914 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8915 ($(objpfx)libanl.so): Likewise.
8916 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8918 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8920 * sysdeps/i386/fpu/Makefile: Remove file.
8921 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8922 ($(objpfx)libm.so): Remove dependency on ld.so.
8924 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
8927 * nis/yp_xdr.c (XDRMAXNAME): Define.
8928 (XDRMAXRECORD): Define.
8929 (xdr_domainname): Use XDRMAXNAME.
8930 (xdr_mapname): Likewise.
8931 (xdr_peername): Likewise.
8932 (xdr_keydat): Use XDRMAXRECORD.
8933 (xdr_valdat): Likewise.
8935 2013-05-30 Jeff Law <law@redhat.com>
8938 * manual/errno.texi (ESTALE): Update to account for more than
8939 just NFS file systems.
8940 * sysdeps/gnu/errlist.c: Regenerated.
8942 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8945 * elf/Makefile (tests): Add tst-null-argv.
8946 (modules-names): Add tst-null-argv-lib.
8947 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8948 (tst-null-argv-ENV): Set environment for tst-null-argv.
8949 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8950 (RTLD_PROGNAME): New macro.
8951 * elf/tst-null-argv.c: New test case.
8952 * elf/tst-null-argv-lib.c: Library for test case.
8953 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8954 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8955 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8956 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8957 * elf/dl-init.c (call_init): Likewise.
8958 (_dl_init): Likewise.
8959 * elf/dl-load.c (print_search_path): Likewise.
8960 (_dl_map_object): Likewise.
8961 * elf/dl-lookup.c (do_lookup_x): Likewise.
8962 (add_dependency): Likewise.
8963 (_dl_lookup_symbol_x): Likewise.
8964 (_dl_debug_bindings): Likewise.
8965 * elf/dl-open.c (_dl_show_scope): Likewise.
8966 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8967 * elf/dl-version.c (match_symbol): Likewise.
8968 (_dl_check_map_versions): Likewise.
8969 * elf/rtld.c (dl_main): Likewise.
8970 (print_unresolved): Use RTLD_PROGNAME.
8971 (print_missing_version): Likewise.
8972 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8973 (elf_machine_rela): Likewise.
8974 * sysdeps/powerpc/powerpc32/dl-machine.c
8975 (__process_machine_rela): Likewise.
8976 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8978 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8980 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8982 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8983 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8985 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8987 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8989 2013-05-28 Carlos O'Donell <carlos@redhat.com>
8991 * po/be.po: Add descriptive title.
8992 * po/zh_CN.po: Likewise.
8993 * po/header.pot: Likewise.
8995 2013-05-28 Mike Frysinger <vapier@gentoo.org>
8997 * locale/programs/locarchive.c (create_archive): Inlucde fname in
8999 (enlarge_archive): Likewise.
9001 2013-05-28 Ben North <ben@redfrontdoor.org>
9003 * manual/arith.texi (frexp): It is the magnitude of the return
9004 value which lies in [0.5, 1), not the return value itself.
9006 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9010 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
9012 * stdio-common/bug26.c (main): Correct fscanf template.
9014 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
9015 declare _dl_skip_args.
9017 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
9020 * manual/platform.texi: Add missing @end deftypefun.
9022 2013-05-24 Joseph Myers <joseph@codesourcery.com>
9025 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
9026 bit of mantissa of 2^16382.
9027 * math/libm-test.inc (hypot_test_data): Add more tests.
9029 * math/libm-test.inc: Add drem and pow10 to list of tested
9031 (pow10_test): New function.
9032 (drem_test): Likewise.
9033 (drem_test_tonearest): Likewise.
9034 (drem_test_towardzero): Likewise.
9035 (drem_test_downward): Likewise.
9036 (drem_test_upward): Likewise.
9037 (main): Call the new functions.
9039 * math/libm-test.inc (finite_test_data): Remove.
9040 (finite_test): Run tests from isfinite_test_data.
9041 (gamma_test_data): Remove.
9042 (gamma_test): Run tests from lgamma_test_data.
9043 * sysdeps/i386/fpu/libm-test-ulps: Update.
9044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9046 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9048 * manual/platform.texi: Add PowerPC PPR function set documentation.
9049 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9052 2013-05-24 Carlos O'Donell <carlos@redhat.com>
9054 * math/libm-test.inc (MAX_EXP): Define.
9056 (ulp): New function.
9057 (check_float_internal): Use ULPDIFF.
9058 (cpow_test): Disable failing test.
9059 (check_ulp): Test ulp() implemetnation.
9060 (main): Call check_ulp before starting tests.
9062 2013-05-24 Joseph Myers <joseph@codesourcery.com>
9064 * math/gen-libm-test.pl (generate_testfile): Do not handle
9065 START_DATA and END_DATA.
9066 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9068 (acos_tonearest_test_data): Likewise.
9069 (acos_towardzero_test_data): Likewise.
9070 (acos_downward_test_data): Likewise.
9071 (acos_upward_test_data): Likewise.
9072 (acosh_test_data): Likewise.
9073 (asin_test_data): Likewise.
9074 (asin_tonearest_test_data): Likewise.
9075 (asin_towardzero_test_data): Likewise.
9076 (asin_downward_test_data): Likewise.
9077 (asin_upward_test_data): Likewise.
9078 (asinh_test_data): Likewise.
9079 (atan_test_data): Likewise.
9080 (atanh_test_data): Likewise.
9081 (atan2_test_data): Likewise.
9082 (cabs_test_data): Likewise.
9083 (cacos_test_data): Likewise.
9084 (cacosh_test_data): Likewise.
9085 (carg_test_data): Likewise.
9086 (casin_test_data): Likewise.
9087 (casinh_test_data): Likewise.
9088 (catan_test_data): Likewise.
9089 (catanh_test_data): Likewise.
9090 (cbrt_test_data): Likewise.
9091 (ccos_test_data): Likewise.
9092 (ccosh_test_data): Likewise.
9093 (ceil_test_data): Likewise.
9094 (cexp_test_data): Likewise.
9095 (cimag_test_data): Likewise.
9096 (clog_test_data): Likewise.
9097 (clog10_test_data): Likewise.
9098 (conj_test_data): Likewise.
9099 (copysign_test_data): Likewise.
9100 (cos_test_data): Likewise.
9101 (cos_tonearest_test_data): Likewise.
9102 (cos_towardzero_test_data): Likewise.
9103 (cos_downward_test_data): Likewise.
9104 (cos_upward_test_data): Likewise.
9105 (cosh_test_data): Likewise.
9106 (cosh_tonearest_test_data): Likewise.
9107 (cosh_towardzero_test_data): Likewise.
9108 (cosh_downward_test_data): Likewise.
9109 (cosh_upward_test_data): Likewise.
9110 (cpow_test_data): Likewise.
9111 (cproj_test_data): Likewise.
9112 (creal_test_data): Likewise.
9113 (csin_test_data): Likewise.
9114 (csinh_test_data): Likewise.
9115 (csqrt_test_data): Likewise.
9116 (ctan_test_data): Likewise.
9117 (ctan_tonearest_test_data): Likewise.
9118 (ctan_towardzero_test_data): Likewise.
9119 (ctan_downward_test_data): Likewise.
9120 (ctan_upward_test_data): Likewise.
9121 (ctanh_test_data): Likewise.
9122 (ctanh_tonearest_test_data): Likewise.
9123 (ctanh_towardzero_test_data): Likewise.
9124 (ctanh_downward_test_data): Likewise.
9125 (ctanh_upward_test_data): Likewise.
9126 (erf_test_data): Likewise.
9127 (erfc_test_data): Likewise.
9128 (exp_test_data): Likewise.
9129 (exp_tonearest_test_data): Likewise.
9130 (exp_towardzero_test_data): Likewise.
9131 (exp_downward_test_data): Likewise.
9132 (exp_upward_test_data): Likewise.
9133 (exp10_test_data): Likewise.
9134 (exp2_test_data): Likewise.
9135 (expm1_test_data): Likewise.
9136 (fabs_test_data): Likewise.
9137 (fdim_test_data): Likewise.
9138 (finite_test_data): Likewise.
9139 (floor_test_data): Likewise.
9140 (fma_test_data): Likewise.
9141 (fma_towardzero_test_data): Likewise.
9142 (fma_downward_test_data): Likewise.
9143 (fma_upward_test_data): Likewise.
9144 (fmax_test_data): Likewise.
9145 (fmin_test_data): Likewise.
9146 (fmod_test_data): Likewise.
9147 (fpclassify_test_data): Likewise.
9148 (frexp_test_data): Likewise.
9149 (gamma_test_data): Likewise.
9150 (hypot_test_data): Likewise.
9151 (ilogb_test_data): Likewise.
9152 (isfinite_test_data): Likewise.
9153 (isgreater_test_data): Likewise.
9154 (isgreaterequal_test_data): Likewise.
9155 (isinf_test_data): Likewise.
9156 (isless_test_data): Likewise.
9157 (islessequal_test_data): Likewise.
9158 (islessgreater_test_data): Likewise.
9159 (isnan_test_data): Likewise.
9160 (isnormal_test_data): Likewise.
9161 (issignaling_test_data): Likewise.
9162 (isunordered_test_data): Likewise.
9163 (j0_test_data): Likewise.
9164 (j1_test_data): Likewise.
9165 (jn_test_data): Likewise.
9166 (ldexp_test_data): Likewise.
9167 (lgamma_test_data): Likewise.
9168 (lrint_test_data): Likewise.
9169 (lrint_tonearest_test_data): Likewise.
9170 (lrint_towardzero_test_data): Likewise.
9171 (lrint_downward_test_data): Likewise.
9172 (lrint_upward_test_data): Likewise.
9173 (llrint_test_data): Likewise.
9174 (llrint_tonearest_test_data): Likewise.
9175 (llrint_towardzero_test_data): Likewise.
9176 (llrint_downward_test_data): Likewise.
9177 (llrint_upward_test_data): Likewise.
9178 (log_test_data): Likewise.
9179 (log10_test_data): Likewise.
9180 (log1p_test_data): Likewise.
9181 (log2_test_data): Likewise.
9182 (logb_test_data): Likewise.
9183 (logb_downward_test_data): Likewise.
9184 (lround_test_data): Likewise.
9185 (llround_test_data): Likewise.
9186 (modf_test_data): Likewise.
9187 (nearbyint_test_data): Likewise.
9188 (nextafter_test_data): Likewise.
9189 (nexttoward_test_data): Likewise.
9190 (pow_test_data): Likewise.
9191 (pow_tonearest_test_data): Likewise.
9192 (pow_towardzero_test_data): Likewise.
9193 (pow_downward_test_data): Likewise.
9194 (pow_upward_test_data): Likewise.
9195 (remainder_test_data): Likewise.
9196 (remainder_tonearest_test_data): Likewise.
9197 (remainder_towardzero_test_data): Likewise.
9198 (remainder_downward_test_data): Likewise.
9199 (remainder_upward_test_data): Likewise.
9200 (remquo_test_data): Likewise.
9201 (rint_test_data): Likewise.
9202 (rint_tonearest_test_data): Likewise.
9203 (rint_towardzero_test_data): Likewise.
9204 (rint_downward_test_data): Likewise.
9205 (rint_upward_test_data): Likewise.
9206 (round_test_data): Likewise.
9207 (scalb_test_data): Likewise.
9208 (scalbn_test_data): Likewise.
9209 (scalbln_test_data): Likewise.
9210 (signbit_test_data): Likewise.
9211 (sin_test_data): Likewise.
9212 (sin_tonearest_test_data): Likewise.
9213 (sin_towardzero_test_data): Likewise.
9214 (sin_downward_test_data): Likewise.
9215 (sin_upward_test_data): Likewise.
9216 (sincos_test_data): Likewise.
9217 (sinh_test_data): Likewise.
9218 (sinh_tonearest_test_data): Likewise.
9219 (sinh_towardzero_test_data): Likewise.
9220 (sinh_downward_test_data): Likewise.
9221 (sinh_upward_test_data): Likewise.
9222 (sqrt_test_data): Likewise.
9223 (tan_test_data): Likewise.
9224 (tan_tonearest_test_data): Likewise.
9225 (tan_towardzero_test_data): Likewise.
9226 (tan_downward_test_data): Likewise.
9227 (tan_upward_test_data): Likewise.
9228 (tanh_test_data): Likewise.
9229 (tgamma_test_data): Likewise.
9230 (trunc_test_data): Likewise.
9231 (y0_test_data): Likewise.
9232 (y1_test_data): Likewise.
9233 (yn_test_data): Likewise.
9234 (significand_test_data): Likewise.
9236 * math/gen-libm-test.pl (@functions): Remove variable.
9237 (generate_testfile): Don't handle START and END lines.
9238 * math/libm-test.inc (START): New macro.
9240 (END_COMPLEX): Likewise.
9241 (acos_test): Use END macro without arguments.
9242 (acos_test_tonearest): Likewise.
9243 (acos_test_towardzero): Likewise.
9244 (acos_test_downward): Likewise.
9245 (acos_test_upward): Likewise.
9246 (acosh_test): Likewise.
9247 (asin_test): Likewise.
9248 (asin_test_tonearest): Likewise.
9249 (asin_test_towardzero): Likewise.
9250 (asin_test_downward): Likewise.
9251 (asin_test_upward): Likewise.
9252 (asinh_test): Likewise.
9253 (atan_test): Likewise.
9254 (atanh_test): Likewise.
9255 (atan2_test): Likewise.
9256 (cabs_test): Likewise.
9257 (cacos_test): Use END_COMPLEX macro without arguments.
9258 (cacosh_test): Likewise.
9259 (carg_test): Use END macro without arguments.
9260 (casin_test): Use END_COMPLEX macro without arguments.
9261 (casinh_test): Likewise.
9262 (catan_test): Likewise.
9263 (catanh_test): Likewise.
9264 (cbrt_test): Use END macro without arguments.
9265 (ccos_test): Use END_COMPLEX macro without arguments.
9266 (ccosh_test): Likewise.
9267 (ceil_test): Use END macro without arguments.
9268 (cexp_test): Use END_COMPLEX macro without arguments.
9269 (cimag_test): Use END macro without arguments.
9270 (clog_test): Use END_COMPLEX macro without arguments.
9271 (clog10_test): Likewise.
9272 (conj_test): Likewise.
9273 (copysign_test): Use END macro without arguments.
9274 (cos_test): Likewise.
9275 (cos_test_tonearest): Likewise.
9276 (cos_test_towardzero): Likewise.
9277 (cos_test_downward): Likewise.
9278 (cos_test_upward): Likewise.
9279 (cosh_test): Likewise.
9280 (cosh_test_tonearest): Likewise.
9281 (cosh_test_towardzero): Likewise.
9282 (cosh_test_downward): Likewise.
9283 (cosh_test_upward): Likewise.
9284 (cpow_test): Use END_COMPLEX macro without arguments.
9285 (cproj_test): Likewise.
9286 (creal_test): Use END macro without arguments.
9287 (csin_test): Use END_COMPLEX macro without arguments.
9288 (csinh_test): Likewise.
9289 (csqrt_test): Likewise.
9290 (ctan_test): Likewise.
9291 (ctan_test_tonearest): Likewise.
9292 (ctan_test_towardzero): Likewise.
9293 (ctan_test_downward): Likewise.
9294 (ctan_test_upward): Likewise.
9295 (ctanh_test): Likewise.
9296 (ctanh_test_tonearest): Likewise.
9297 (ctanh_test_towardzero): Likewise.
9298 (ctanh_test_downward): Likewise.
9299 (ctanh_test_upward): Likewise.
9300 (erf_test): Use END macro without arguments.
9301 (erfc_test): Likewise.
9302 (exp_test): Likewise.
9303 (exp_test_tonearest): Likewise.
9304 (exp_test_towardzero): Likewise.
9305 (exp_test_downward): Likewise.
9306 (exp_test_upward): Likewise.
9307 (exp10_test): Likewise.
9308 (exp2_test): Likewise.
9309 (expm1_test): Likewise.
9310 (fabs_test): Likewise.
9311 (fdim_test): Likewise.
9312 (finite_test): Likewise.
9313 (floor_test): Likewise.
9314 (fma_test): Likewise.
9315 (fma_test_towardzero): Likewise.
9316 (fma_test_downward): Likewise.
9317 (fma_test_upward): Likewise.
9318 (fmax_test): Likewise.
9319 (fmin_test): Likewise.
9320 (fmod_test): Likewise.
9321 (fpclassify_test): Likewise.
9322 (frexp_test): Likewise.
9323 (gamma_test): Likewise.
9324 (hypot_test): Likewise.
9325 (ilogb_test): Likewise.
9326 (isfinite_test): Likewise.
9327 (isgreater_test): Likewise.
9328 (isgreaterequal_test): Likewise.
9329 (isinf_test): Likewise.
9330 (isless_test): Likewise.
9331 (islessequal_test): Likewise.
9332 (islessgreater_test): Likewise.
9333 (isnan_test): Likewise.
9334 (isnormal_test): Likewise.
9335 (issignaling_test): Likewise.
9336 (isunordered_test): Likewise.
9337 (j0_test): Likewise.
9338 (j1_test): Likewise.
9339 (jn_test): Likewise.
9340 (ldexp_test): Likewise.
9341 (lgamma_test): Likewise.
9342 (lrint_test): Likewise.
9343 (lrint_test_tonearest): Likewise.
9344 (lrint_test_towardzero): Likewise.
9345 (lrint_test_downward): Likewise.
9346 (lrint_test_upward): Likewise.
9347 (llrint_test): Likewise.
9348 (llrint_test_tonearest): Likewise.
9349 (llrint_test_towardzero): Likewise.
9350 (llrint_test_downward): Likewise.
9351 (llrint_test_upward): Likewise.
9352 (log_test): Likewise.
9353 (log10_test): Likewise.
9354 (log1p_test): Likewise.
9355 (log2_test): Likewise.
9356 (logb_test): Likewise.
9357 (logb_test_downward): Likewise.
9358 (lround_test): Likewise.
9359 (llround_test): Likewise.
9360 (modf_test): Likewise.
9361 (nearbyint_test): Likewise.
9362 (nextafter_test): Likewise.
9363 (nexttoward_test): Likewise.
9364 (pow_test): Likewise.
9365 (pow_test_tonearest): Likewise.
9366 (pow_test_towardzero): Likewise.
9367 (pow_test_downward): Likewise.
9368 (pow_test_upward): Likewise.
9369 (remainder_test): Likewise.
9370 (remainder_test_tonearest): Likewise.
9371 (remainder_test_towardzero): Likewise.
9372 (remainder_test_downward): Likewise.
9373 (remainder_test_upward): Likewise.
9374 (remquo_test): Likewise.
9375 (rint_test): Likewise.
9376 (rint_test_tonearest): Likewise.
9377 (rint_test_towardzero): Likewise.
9378 (rint_test_downward): Likewise.
9379 (rint_test_upward): Likewise.
9380 (round_test): Likewise.
9381 (scalb_test): Likewise.
9382 (scalbn_test): Likewise.
9383 (scalbln_test): Likewise.
9384 (signbit_test): Likewise.
9385 (sin_test): Likewise.
9386 (sin_test_tonearest): Likewise.
9387 (sin_test_towardzero): Likewise.
9388 (sin_test_downward): Likewise.
9389 (sin_test_upward): Likewise.
9390 (sincos_test): Likewise.
9391 (sinh_test): Likewise.
9392 (sinh_test_tonearest): Likewise.
9393 (sinh_test_towardzero): Likewise.
9394 (sinh_test_downward): Likewise.
9395 (sinh_test_upward): Likewise.
9396 (sqrt_test): Likewise.
9397 (tan_test): Likewise.
9398 (tan_test_tonearest): Likewise.
9399 (tan_test_towardzero): Likewise.
9400 (tan_test_downward): Likewise.
9401 (tan_test_upward): Likewise.
9402 (tanh_test): Likewise.
9403 (tgamma_test): Likewise.
9404 (trunc_test): Likewise.
9405 (y0_test): Likewise.
9406 (y1_test): Likewise.
9407 (yn_test): Likewise.
9408 (significand_test): Likewise.
9410 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
9413 * libio/genops.c (_IO_no_init): Initialize wide struct info.
9415 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
9418 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
9419 __ppc_mdoio and __ppc_mdoom.
9420 * manual/platform.texi: Document new functions __ppc_yield,
9421 __ppc_mdoio and __ppc_mdoom.
9423 2013-05-22 Carlos O'Donell <carlos@redhat.com>
9425 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
9426 (main): Mention "tls" pseudo-hwcap is legacy.
9427 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
9429 2013-05-22 Joseph Myers <joseph@codesourcery.com>
9431 * math/gen-libm-test.pl (parse_args): Output only string of
9432 arguments as text for test name, not full call or descriptions of
9433 tests for extra outputs.
9434 (generate_testfile): Do not pass function name to parse_args.
9435 Generate this_func variable from START.
9436 * math/libm-test.inc (struct test_f_f_data): Rename test_name
9438 (struct test_ff_f_data): Likewise.
9439 (test_ff_f_data_nexttoward): Likewise.
9440 (struct test_fi_f_data): Likewise.
9441 (struct test_fl_f_data): Likewise.
9442 (struct test_if_f_data): Likewise.
9443 (struct test_fff_f_data): Likewise.
9444 (struct test_c_f_data): Likewise.
9445 (struct test_f_f1_data): Likewise. Remove field extra_name.
9446 (struct test_fF_f1_data): Likewise.
9447 (struct test_ffI_f1_data): Likewise.
9448 (struct test_c_c_data): Rename test_name field to arg_str.
9449 (struct test_cc_c_data): Likewise.
9450 (struct test_f_i_data): Likewise.
9451 (struct test_ff_i_data): Likewise.
9452 (struct test_f_l_data): Likewise.
9453 (struct test_f_L_data): Likewise.
9454 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
9456 (COMMON_TEST_SETUP): New macro.
9457 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9458 (COMMON_TEST_CLEANUP): Likewise.
9459 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9460 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
9462 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
9463 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
9465 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
9466 (RUN_TEST_fff_f): Take argument string. Call new setup and
9468 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
9469 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
9471 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
9472 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
9474 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9475 (RUN_TEST_fF_f1): Take argument string. Call new setup and
9477 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9478 (RUN_TEST_fI_f1): Take argument string. Call new setup and
9480 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9481 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
9483 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9484 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
9486 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
9487 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
9489 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
9490 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
9492 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
9493 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
9495 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
9496 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
9498 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
9499 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
9501 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
9502 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
9504 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
9505 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
9507 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
9508 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
9510 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
9511 (RUN_TEST_fFF_11): Take argument string. Call new setup and
9513 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
9515 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9517 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
9518 to _sifields.sigfault.
9519 (si_addr_lsb): Define new macro.
9520 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9521 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9522 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
9524 2013-05-03 Carlos O'Donell <carlos at redhat.com>
9527 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
9529 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
9531 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
9534 2013-05-22 Joseph Myers <joseph@codesourcery.com>
9536 * math/gen-libm-test.pl (parse_args): Do not include expected
9537 result in test name.
9538 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
9539 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9540 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9541 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9542 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9545 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9547 * benchtests/Makefile: Sort function entries.
9549 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
9550 tanh, asinh, acosh, atanh.
9551 * benchtests/acos-inputs: New file.
9552 * benchtests/acosh-inputs: New file.
9553 * benchtests/asin-inputs: New file.
9554 * benchtests/asinh-inputs: New file.
9555 * benchtests/atanh-inputs: New file.
9556 * benchtests/cosh-inputs: New file.
9557 * benchtests/log-inputs: New file.
9558 * benchtests/sinh-inputs: New file.
9559 * benchtests/tanh-inputs: New file.
9561 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
9564 * posix/tst-getaddrinfo4.c: New test.
9565 * posix/Makefile (tests): Add it.
9567 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9570 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
9571 when no services were used.
9572 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
9573 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
9575 2013-05-21 Andreas Schwab <schwab@suse.de>
9578 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
9579 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
9581 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
9582 redundant variable declarations and reallocation of buffer when
9583 parsing as IPv6 address. Always set NSS status when called from
9584 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
9585 buffer too small. Correct computation of needed size.
9586 * nss/Makefile (tests): Add test-digits-dots.
9587 * nss/test-digits-dots.c: New test.
9589 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9591 * benchtests/Makefile: Remove instructions for adding
9593 * benchtests/README: New file to explain how to execute and
9594 enhance the benchmark tests.
9596 2013-05-21 Andreas Schwab <schwab@suse.de>
9599 * setjmp/Makefile (tests): Add tst-sigsetjmp.
9600 * setjmp/tst-sigsetjmp.c: New test.
9602 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
9604 * sysdeps/x86_64/memset.S (memset): New implementation.
9605 (__bzero): Likewise.
9606 (__memset_tail): New function.
9608 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
9610 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
9611 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
9612 __memcpy_sse2_unaligned ifunc selection.
9613 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9614 Add memcpy-sse2-unaligned.S.
9615 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9616 Add: __memcpy_sse2_unaligned.
9618 2013-05-19 Joseph Myers <joseph@codesourcery.com>
9621 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9622 math_force_eval before restoring floating-point envrionment.
9623 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
9624 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
9626 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
9628 (__nearbyintl): Use math_force_eval before restoring
9629 floating-point environment.
9630 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
9632 * math/gen-libm-test.pl (special_functions): Remove.
9633 (parse_args): Don't handle TEST_extra. Handle functions with no
9635 * math/libm-test.inc (struct test_sincos_data): Replace with
9636 struct test_fFF_11_data.
9637 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
9638 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
9639 (sincos_test_data): Change element type to struct
9640 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
9641 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
9642 RUN_TEST_LOOP_sincos.
9643 * math/README.libm-test: Don't mention special handling of
9644 individual functions.
9645 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
9646 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9647 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9648 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9649 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9652 * math/gen-libm-test.pl (get_variable): Remove function.
9653 (parse_args): Don't show pointer parameters to call in test
9654 names. Use "extra output N" in test names for extra outputs
9655 rather than naming variables.
9657 2013-05-18 Joseph Myers <joseph@codesourcery.com>
9660 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
9661 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
9662 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
9664 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
9666 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
9669 * math/gen-libm-test.pl (@tests): Remove variable.
9671 (new_test): Remove function.
9672 (show_exceptions): New function.
9673 (special_functions): Use show_exceptions instead of new_test.
9674 (parse_args): Likewise.
9675 (generate_testfile): Pass only function name in generated call to
9676 print_max_error or print_complex_max_error.
9677 (get_ulps): Do not handle complex tests specially.
9678 (output_test): Rename to ...
9679 (get_all_ulps_for_test): ... this. Return a string rather than
9680 printing to a file. Require ulps to be present.
9681 (output_ulps): Generate arrays rather than #defines.
9682 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
9683 (struct ulp_data): New type.
9684 (BUILD_COMPLEX_ULP): Remove macro.
9685 (compare_ulp_data): New function.
9686 (find_ulps): Likewise.
9687 (find_test_ulps): Likewise.
9688 (find_function_ulps): Likewise.
9689 (find_complex_function_ulps): Likewise.
9690 (print_max_error): Determine allowed ulps using
9692 (print_complex_max_error): Determine allowed ulps using
9693 find_complex_function_ulps.
9694 (check_float_internal): Determine max ulps using find_test_ulps.
9695 (check_float): Do not take max_ulp parameter. Update call to
9696 check_float_internal.
9697 (check_complex): Likewise.
9698 (check_int): Do not take max_ulp parameter.
9699 (check_long): Likewise.
9700 (check_bool): Likewise.
9701 (check_longlong): Likewise.
9702 (struct test_f_f_data): Remove max_ulp field.
9703 (struct test_ff_f_data): Likewise.
9704 (struct test_ff_f_data_nexttoward): Likewise.
9705 (struct test_fi_f_data): Likewise.
9706 (struct test_fl_f_data): Likewise.
9707 (struct test_if_f_data): Likewise.
9708 (struct test_fff_f_data): Likewise.
9709 (struct test_c_f_data): Likewise.
9710 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
9711 (struct test_fF_f1_data): Likewise.
9712 (struct test_ffI_f1_data): Likewise.
9713 (struct test_c_c_data): Remove max_ulp field.
9714 (struct test_cc_c_data): Likewise.
9715 (struct test_f_i_data): Likewise.
9716 (struct test_ff_i_data): Likewise.
9717 (struct test_f_l_data): Likewise.
9718 (struct test_f_L_data): Likewise.
9719 (struct test_sincos_data): Likewise.
9720 (RUN_TEST_f_f): Do not handle ulps.
9721 (RUN_TEST_LOOP_f_f): Likewise.
9722 (RUN_TEST_2_f): Likewise.
9723 (RUN_TEST_LOOP_2_f): Likewise.
9724 (RUN_TEST_fff_f): Likewise.
9725 (RUN_TEST_LOOP_fff_f): Likewise.
9726 (RUN_TEST_c_f): Likewise.
9727 (RUN_TEST_LOOP_c_f): Likewise.
9728 (RUN_TEST_f_f1): Likewise.
9729 (RUN_TEST_LOOP_f_f1): Likewise.
9730 (RUN_TEST_fF_f1): Likewise.
9731 (RUN_TEST_LOOP_fF_f1): Likewise.
9732 (RUN_TEST_fI_f1): Likewise.
9733 (RUN_TEST_LOOP_fI_f1): Likewise.
9734 (RUN_TEST_ffI_f1): Likewise.
9735 (RUN_TEST_LOOP_ffI_f1): Likewise.
9736 (RUN_TEST_c_c): Likewise.
9737 (RUN_TEST_LOOP_c_c): Likewise.
9738 (RUN_TEST_cc_c): Likewise.
9739 (RUN_TEST_LOOP_cc_c): Likewise.
9740 (RUN_TEST_f_i): Likewise.
9741 (RUN_TEST_LOOP_f_i): Likewise.
9742 (RUN_TEST_f_i_tg): Likewise.
9743 (RUN_TEST_LOOP_f_i_tg): Likewise.
9744 (RUN_TEST_ff_i_tg): Likewise.
9745 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9746 (RUN_TEST_f_b): Likewise.
9747 (RUN_TEST_LOOP_f_b): Likewise.
9748 (RUN_TEST_f_b_tg): Likewise.
9749 (RUN_TEST_LOOP_f_b_tg): Likewise.
9750 (RUN_TEST_f_l): Likewise.
9751 (RUN_TEST_LOOP_f_l): Likewise.
9752 (RUN_TEST_f_L): Likewise.
9753 (RUN_TEST_LOOP_f_L): Likewise.
9754 (RUN_TEST_sincos): Likewise.
9755 (RUN_TEST_LOOP_sincos): Likewise.
9757 2013-05-17 Joseph Myers <joseph@codesourcery.com>
9761 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9762 main case of finite arguments, set rounding mode to FE_TONEAREST
9763 and discard exceptions.
9764 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9766 (remainder_tonearest_test_data): New variable.
9767 (remainder_test_tonearest): New function.
9768 (remainder_towardzero_test_data): New variable.
9769 (remainder_test_towardzero): New function.
9770 (remainder_downward_test_data): New variable.
9771 (remainder_test_downward): New function.
9772 (remainder_upward_test_data): New variable.
9773 (remainder_test_upward): New function.
9774 (main): Call the new test functions.
9776 * math/libm-test.inc (struct test_f_f1_data): Remove field
9778 (struct test_fF_f1_data): Likewise.
9779 (struct test_ffI_f1_data): Likewise.
9780 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
9781 based on value of EXTRA_EXPECTED.
9782 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9783 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
9784 EXTRA_VAR based on value of EXTRA_EXPECTED.
9785 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9786 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
9787 EXTRA_VAR based on value of EXTRA_EXPECTED.
9788 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9789 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
9790 EXTRA_VAR based on value of EXTRA_EXPECTED.
9791 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9792 * math/gen-libm-test.pl (parse_args): Don't output initializers
9793 for extra output values.
9795 * math/libm-test.inc (check_int): Expect result to be exactly
9796 equal to expected value and do not handle ulps.
9797 (check_long): Likewise.
9798 (check_longlong): Likewise.
9800 * math/libm-test.inc (ceil_test_data): Test for "inexact"
9802 (cimag_test_data): Likewise.
9803 (conj_test_data): Likewise.
9804 (copysign_test_data): Likewise.
9805 (cproj_test_data): Likewise.
9806 (creal_test_data): Likewise.
9807 (fabs_test_data): Likewise.
9808 (fdim_test_data): Likewise.
9809 (finite_test_data): Likewise.
9810 (floor_test_data): Likewise.
9811 (fmax_test_data): Likewise.
9812 (fmin_test_data): Likewise.
9813 (fmod_test_data): Likewise.
9814 (fpclassify_test_data): Likewise.
9815 (frexp_test_data): Likewise.
9816 (ilogb_test_data): Likewise.
9817 (isfinite_test_data): Likewise.
9818 (isgreater_test_data): Likewise.
9819 (isgreaterequal_test_data): Likewise.
9820 (isinf_test_data): Likewise.
9821 (isless_test_data): Likewise.
9822 (islessequal_test_data): Likewise.
9823 (islessgreater_test_data): Likewise.
9824 (isnan_test_data): Likewise.
9825 (isnormal_test_data): Likewise.
9826 (issignaling_test_data): Likewise.
9827 (isunordered_test_data): Likewise.
9828 (ldexp_test_data): Likewise.
9829 (lrint_test_data): Likewise.
9830 (lrint_test_data) [TEST_FLOAT]: Disable one test.
9831 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9832 (lrint_tonearest_test_data): Test for "inexact" exceptions.
9833 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9834 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9835 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9837 (lrint_towardzero_test_data): Test for "inexact" exceptions.
9838 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9839 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9840 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9842 (lrint_downward_test_data): Test for "inexact" exceptions.
9843 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9844 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9845 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9847 (lrint_upward_test_data): Test for "inexact" exceptions.
9848 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9850 (llrint_test_data): Test for "inexact" exceptions.
9851 (llrint_test_data) [TEST_FLOAT]: Disable one test.
9852 (llrint_tonearest_test_data): Test for "inexact" exceptions.
9853 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9854 (llrint_towardzero_test_data): Test for "inexact" exceptions.
9855 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9856 (llrint_downward_test_data): Test for "inexact" exceptions.
9857 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9858 (llrint_upward_test_data): Test for "inexact" exceptions.
9859 (logb_test_data): Likewise.
9860 (logb_downward_test_data): Likewise.
9861 (nextafter_test_data): Likewise.
9862 (nexttoward_test_data): Likewise.
9863 (remainder_test_data): Likewise.
9864 (remquo_test_data): Likewise.
9865 (scalbn_test_data): Likewise.
9866 (scalbln_test_data): Likewise.
9867 (signbit_test_data): Likewise.
9868 (sqrt_test_data): Likewise.
9869 (significand_test_data): Likewise.
9871 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9874 * benchtests/bench-modf.c (struct args): Mark arg0 as
9876 * scripts/bench.pl: Mark members of struct args as volatile.
9878 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9881 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9882 negative infinity on POWER6 or lower.
9883 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9885 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9888 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9889 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9890 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9891 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9892 (_FP_SETQNAN): New macro.
9893 (_FP_SETQNAN_SEMIRAW): Likewise.
9894 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9895 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9896 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9897 (FP_EXTEND): Use _FP_FRAC_SNANP.
9898 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9899 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9901 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9903 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9906 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9908 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9909 with DIVIDE_BY_ZERO_EXCEPTION.
9910 (gamma_test_data): Likewise.
9911 (lgamma_test_data): Likewise.
9912 (log_test_data): Likewise.
9913 (log10_test_data): Likewise.
9914 (log2_test_data): Likewise.
9915 (tgamma_test_data): Likewise.
9917 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9918 (acos_test_tonearest): Likewise.
9919 (acos_test_towardzero): Likewise.
9920 (acos_test_downward): Likewise.
9921 (acos_test_upward): Likewise.
9922 (acosh_test): Likewise.
9923 (asin_test): Likewise.
9924 (asin_test_tonearest): Likewise.
9925 (asin_test_towardzero): Likewise.
9926 (asin_test_downward): Likewise.
9927 (asin_test_upward): Likewise.
9928 (asinh_test): Likewise.
9929 (atan_test): Likewise.
9930 (atanh_test): Likewise.
9931 (atan2_test): Likewise.
9932 (cabs_test): Likewise.
9933 (cacos_test): Likewise.
9934 (cacosh_test): Likewise.
9935 (casin_test): Likewise.
9936 (casinh_test): Likewise.
9937 (catan_test): Likewise.
9938 (catanh_test): Likewise.
9939 (cbrt_test): Likewise.
9940 (ccos_test): Likewise.
9941 (ccosh_test): Likewise.
9942 (cexp_test): Likewise.
9943 (clog_test): Likewise.
9944 (clog10_test): Likewise.
9945 (cos_test): Likewise.
9946 (cos_test_tonearest): Likewise.
9947 (cos_test_towardzero): Likewise.
9948 (cos_test_downward): Likewise.
9949 (cos_test_upward): Likewise.
9950 (cosh_test): Likewise.
9951 (cosh_test_tonearest): Likewise.
9952 (cosh_test_towardzero): Likewise.
9953 (cosh_test_downward): Likewise.
9954 (cosh_test_upward): Likewise.
9955 (cpow_test): Likewise.
9956 (csin_test): Likewise.
9957 (csinh_test): Likewise.
9958 (csqrt_test): Likewise.
9959 (ctan_test): Likewise.
9960 (ctan_test_tonearest): Likewise.
9961 (ctan_test_towardzero): Likewise.
9962 (ctan_test_downward): Likewise.
9963 (ctan_test_upward): Likewise.
9964 (ctanh_test): Likewise.
9965 (ctanh_test_tonearest): Likewise.
9966 (ctanh_test_towardzero): Likewise.
9967 (ctanh_test_downward): Likewise.
9968 (ctanh_test_upward): Likewise.
9969 (erf_test): Likewise.
9970 (erfc_test): Likewise.
9971 (exp_test): Likewise.
9972 (exp_test_tonearest): Likewise.
9973 (exp_test_towardzero): Likewise.
9974 (exp_test_downward): Likewise.
9975 (exp_test_upward): Likewise.
9976 (exp10_test): Likewise.
9977 (exp2_test): Likewise.
9978 (expm1_test): Likewise.
9979 (fmod_test): Likewise.
9980 (gamma_test): Likewise.
9981 (hypot_test): Likewise.
9982 (j0_test): Likewise.
9983 (j1_test): Likewise.
9984 (jn_test): Likewise.
9985 (lgamma_test): Likewise.
9986 (log_test): Likewise.
9987 (log10_test): Likewise.
9988 (log1p_test): Likewise.
9989 (log2_test): Likewise.
9990 (logb_test_downward): Likewise.
9991 (pow_test): Likewise.
9992 (pow_test_tonearest): Likewise.
9993 (pow_test_towardzero): Likewise.
9994 (pow_test_downward): Likewise.
9995 (pow_test_upward): Likewise.
9996 (remainder_test): Likewise.
9997 (remquo_test): Likewise.
9998 (sin_test): Likewise.
9999 (sin_test_tonearest): Likewise.
10000 (sin_test_towardzero): Likewise.
10001 (sin_test_downward): Likewise.
10002 (sin_test_upward): Likewise.
10003 (sincos_test): Likewise.
10004 (sinh_test): Likewise.
10005 (sinh_test_tonearest): Likewise.
10006 (sinh_test_towardzero): Likewise.
10007 (sinh_test_downward): Likewise.
10008 (sinh_test_upward): Likewise.
10009 (sqrt_test): Likewise.
10010 (tan_test): Likewise.
10011 (tan_test_tonearest): Likewise.
10012 (tan_test_towardzero): Likewise.
10013 (tan_test_downward): Likewise.
10014 (tan_test_upward): Likewise.
10015 (tanh_test): Likewise.
10016 (tgamma_test): Likewise.
10017 (y0_test): Likewise.
10018 (y1_test): Likewise.
10019 (yn_test): Likewise.
10021 * math/gen-libm-test.pl (adjust_arg): Remove function.
10022 (special_function): Remove argument $in_func. Only handle
10023 generating output for tables of tests, not inside functions.
10024 (parse_args): Likewise.
10025 (generate_testfile): Remove variable $in_func. Update call to
10027 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
10028 (MINUS_ZERO_INIT): Rename macro to minus_zero.
10029 (PLUS_INFTY_INIT): Rename macro to plus_infty.
10030 (MINUS_INFTY_INIT): Rename macro to minus_infty.
10031 (QNAN_VALUE_INIT): Rename macro to qnan_value.
10032 (MAX_VALUE_INIT): Rename macro to max_value.
10033 (MIN_VALUE_INIT): Rename macro to min_value.
10034 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
10035 (plus_zero): Remove variable.
10036 (minus_zero): Likewise.
10037 (plus_infty): Likewise.
10038 (minus_infty): Likewise.
10039 (qnan_value): Likewise.
10040 (max_value): Likewise.
10041 (min_value): Likewise.
10042 (min_subnorm_value): Likewise.
10044 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10046 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
10047 uint64_t or uint32_t usage.
10048 * crypt/sha256-block.c: Likewise.
10049 * crypt/sha256-crypt.c: Likewise.
10050 * crypt/sha256.c: Likewise.
10051 * crypt/sha512-block.c: Likewise.
10052 * crypt/sha512-crypt.c: Likewise.
10053 * crypt/sha512.c: Likewise.
10054 * debug/backtrace-tst.c: Likewise.
10055 * debug/pcprofiledump.c: Likewise.
10056 * elf/cache.c: Likewise.
10057 * elf/dl-cache.c: Likewise.
10058 * elf/dl-misc.c: Likewise.
10059 * elf/dl-profile.c: Likewise.
10060 * elf/dl-support.c: Likewise.
10061 * elf/ldconfig.c: Likewise.
10062 * elf/sprof.c: Likewise.
10063 * iconv/dummy-repertoire.c: Likewise.
10064 * iconv/iconv_charmap.c: Likewise.
10065 * iconv/skeleton.c: Likewise.
10066 * iconvdata/8bit-generic.c: Likewise.
10067 * iconvdata/cp737.h: Likewise.
10068 * iconvdata/cp775.h: Likewise.
10069 * iconvdata/ibm1008.h: Likewise.
10070 * iconvdata/ibm1025.h: Likewise.
10071 * iconvdata/ibm1046.h: Likewise.
10072 * iconvdata/ibm1097.h: Likewise.
10073 * iconvdata/ibm1112.h: Likewise.
10074 * iconvdata/ibm1122.h: Likewise.
10075 * iconvdata/ibm1123.h: Likewise.
10076 * iconvdata/ibm1124.h: Likewise.
10077 * iconvdata/ibm1129.h: Likewise.
10078 * iconvdata/ibm1130.h: Likewise.
10079 * iconvdata/ibm1132.h: Likewise.
10080 * iconvdata/ibm1133.h: Likewise.
10081 * iconvdata/ibm1137.h: Likewise.
10082 * iconvdata/ibm1140.h: Likewise.
10083 * iconvdata/ibm1141.h: Likewise.
10084 * iconvdata/ibm1142.h: Likewise.
10085 * iconvdata/ibm1143.h: Likewise.
10086 * iconvdata/ibm1144.h: Likewise.
10087 * iconvdata/ibm1145.h: Likewise.
10088 * iconvdata/ibm1146.h: Likewise.
10089 * iconvdata/ibm1147.h: Likewise.
10090 * iconvdata/ibm1148.h: Likewise.
10091 * iconvdata/ibm1149.h: Likewise.
10092 * iconvdata/ibm1153.h: Likewise.
10093 * iconvdata/ibm1154.h: Likewise.
10094 * iconvdata/ibm1155.h: Likewise.
10095 * iconvdata/ibm1156.h: Likewise.
10096 * iconvdata/ibm1157.h: Likewise.
10097 * iconvdata/ibm1158.h: Likewise.
10098 * iconvdata/ibm1160.h: Likewise.
10099 * iconvdata/ibm1161.h: Likewise.
10100 * iconvdata/ibm1162.h: Likewise.
10101 * iconvdata/ibm1163.h: Likewise.
10102 * iconvdata/ibm1164.h: Likewise.
10103 * iconvdata/ibm1166.h: Likewise.
10104 * iconvdata/ibm1167.h: Likewise.
10105 * iconvdata/ibm12712.h: Likewise.
10106 * iconvdata/ibm1390.h: Likewise.
10107 * iconvdata/ibm1399.h: Likewise.
10108 * iconvdata/ibm16804.h: Likewise.
10109 * iconvdata/ibm4517.h: Likewise.
10110 * iconvdata/ibm4899.h: Likewise.
10111 * iconvdata/ibm4909.h: Likewise.
10112 * iconvdata/ibm4971.h: Likewise.
10113 * iconvdata/ibm5347.h: Likewise.
10114 * iconvdata/ibm803.h: Likewise.
10115 * iconvdata/ibm856.h: Likewise.
10116 * iconvdata/ibm901.h: Likewise.
10117 * iconvdata/ibm902.h: Likewise.
10118 * iconvdata/ibm9030.h: Likewise.
10119 * iconvdata/ibm9066.h: Likewise.
10120 * iconvdata/ibm921.h: Likewise.
10121 * iconvdata/ibm922.h: Likewise.
10122 * iconvdata/ibm9448.h: Likewise.
10123 * iconvdata/isiri-3342.h: Likewise.
10124 * iconvdata/jis0201.h: Likewise.
10125 * include/link.h: Likewise.
10126 * include/netdb.h: Likewise.
10127 * inet/check_native.c: Likewise.
10128 * inet/check_pf.c: Likewise.
10129 * inet/getipv4sourcefilter.c: Likewise.
10130 * inet/getnameinfo.c: Likewise.
10131 * inet/getsourcefilter.c: Likewise.
10132 * inet/htonl.c: Likewise.
10133 * inet/setipv4sourcefilter.c: Likewise.
10134 * inet/setsourcefilter.c: Likewise.
10135 * inet/test-inet6_opt.c: Likewise.
10136 * inet/tst-network.c: Likewise.
10137 * locale/C-collate.c: Likewise.
10138 * locale/C-ctype.c: Likewise.
10139 * locale/C-time.c: Likewise.
10140 * locale/C-translit.h: Likewise.
10141 * locale/loadarchive.c: Likewise.
10142 * locale/programs/3level.h: Likewise.
10143 * locale/programs/charmap.c: Likewise.
10144 * locale/programs/charmap.h: Likewise.
10145 * locale/programs/ld-address.c: Likewise.
10146 * locale/programs/ld-collate.c: Likewise.
10147 * locale/programs/ld-ctype.c: Likewise.
10148 * locale/programs/ld-identification.c: Likewise.
10149 * locale/programs/ld-measurement.c: Likewise.
10150 * locale/programs/ld-messages.c: Likewise.
10151 * locale/programs/ld-monetary.c: Likewise.
10152 * locale/programs/ld-name.c: Likewise.
10153 * locale/programs/ld-numeric.c: Likewise.
10154 * locale/programs/ld-paper.c: Likewise.
10155 * locale/programs/ld-telephone.c: Likewise.
10156 * locale/programs/ld-time.c: Likewise.
10157 * locale/programs/linereader.c: Likewise.
10158 * locale/programs/locale.c: Likewise.
10159 * locale/programs/locarchive.c: Likewise.
10160 * locale/programs/locfile.h: Likewise.
10161 * locale/programs/repertoire.c: Likewise.
10162 * locale/programs/simple-hash.c: Likewise.
10163 * locale/programs/simple-hash.h: Likewise.
10164 * malloc/memusage.c: Likewise.
10165 * malloc/memusagestat.c: Likewise.
10166 * nis/nis_defaults.c: Likewise.
10167 * nis/nis_hash.c: Likewise.
10168 * nis/nis_print.c: Likewise.
10169 * nis/nis_xdr.c: Likewise.
10170 * nscd/connections.c: Likewise.
10171 * nscd/hstcache.c: Likewise.
10172 * nscd/nscd_gethst_r.c: Likewise.
10173 * nscd/nscd_getserv_r.c: Likewise.
10174 * nscd/nscd_helper.c: Likewise.
10175 * nscd/servicescache.c: Likewise.
10176 * nss/makedb.c: Likewise.
10177 * nss/nss_db/db-XXX.c: Likewise.
10178 * nss/nss_db/db-initgroups.c: Likewise.
10179 * nss/nss_db/db-netgrp.c: Likewise.
10180 * nss/nss_files/files-network.c: Likewise.
10181 * nss/nss_files/files-parse.c: Likewise.
10182 * posix/bug-regex5.c: Likewise.
10183 * posix/fnmatch_loop.c: Likewise.
10184 * posix/regcomp.c: Likewise.
10185 * posix/regexec.c: Likewise.
10186 * posix/tst-rfc3484-2.c: Likewise.
10187 * posix/tst-rfc3484-3.c: Likewise.
10188 * posix/tst-rfc3484.c: Likewise.
10189 * resolv/nss_dns/dns-canon.c: Likewise.
10190 * resolv/nss_dns/dns-network.c: Likewise.
10191 * resolv/res_init.c: Likewise.
10192 * resolv/res_mkquery.c: Likewise.
10193 * resolv/tst-aton.c: Likewise.
10194 * stdlib/cxa_atexit.c: Likewise.
10195 * stdlib/cxa_finalize.c: Likewise.
10196 * stdlib/gen-fpioconst.c: Likewise.
10197 * stdlib/strtol_l.c: Likewise.
10198 * string/tst-endian.c: Likewise.
10199 * sunrpc/auth_des.c: Likewise.
10200 * sunrpc/clnt_udp.c: Likewise.
10201 * sunrpc/rtime.c: Likewise.
10202 * sunrpc/svcauth_des.c: Likewise.
10203 * sunrpc/xdr.c: Likewise.
10204 * sunrpc/xdr_intXX_t.c: Likewise.
10205 * sunrpc/xdr_rec.c: Likewise.
10206 * sysdeps/generic/ldconfig.h: Likewise.
10207 * sysdeps/generic/ldsodefs.h: Likewise.
10208 * sysdeps/generic/memusage.h: Likewise.
10209 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10210 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
10211 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
10212 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10213 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10214 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10215 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10216 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10217 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10218 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10219 * sysdeps/posix/getaddrinfo.c: Likewise.
10220 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10221 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10222 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10223 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10224 * sysdeps/powerpc/test-gettimebase.c: Likewise.
10225 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10226 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
10227 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
10228 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10229 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
10230 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10231 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10232 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
10233 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
10234 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
10235 * sysdeps/x86_64/dl-tls.h: Likewise.
10236 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
10237 * time/alt_digit.c: Likewise.
10238 * time/era.c: Likewise.
10239 * wcsmbs/tst-c16c32-1.c: Likewise.
10241 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10243 * math/libm-test.inc (struct test_sincos_data): New type.
10244 (RUN_TEST_LOOP_sincos): New macro.
10245 (sincos_test_data): New variable.
10246 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
10248 2013-05-16 Richard Henderson <rth@redhat.com>
10250 * math/atest-exp2.c (LIMB64): New macro.
10251 (CONSTSZ): New macro.
10252 (mp_exp1, mp_exp_m1, mp_log2): New variables.
10254 (print_mpn_fp): ... to function scope.
10255 (read_mpn_hex): Remove.
10256 (get_log2): Remove.
10257 (exp2_mpn): Use mp_log2.
10258 (main): Use mp_exp1.
10260 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10262 * math/libm-test.inc: Remove comment about not testing "inexact"
10264 (INEXACT_EXCEPTION): New macro.
10265 (NO_INEXACT_EXCEPTION): Likewise.
10266 (INVALID_EXCEPTION_OK): Update value.
10267 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10268 (OVERFLOW_EXCEPTION_OK): Likewise.
10269 (UNDERFLOW_EXCEPTION_OK): Likewise.
10270 (IGNORE_ZERO_INF_SIGN): Likewise.
10271 (ERRNO_UNCHANGED): Likewise.
10272 (ERRNO_EDOM): Likewise.
10273 (ERRNO_ERANGE): Likewise.
10274 (test_exceptions): Handle testing "inexact" exceptions.
10275 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
10276 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
10277 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
10278 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
10280 (rint_towardzero_test_data): Likewise.
10281 (rint_downward_test_data): Likewise.
10282 (rint_upward_test_data): Likewise.
10284 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
10285 with OVERFLOW_EXCEPTION.
10286 (exp10_test_data): Likewise.
10287 (exp2_test_data): Likewise.
10288 (expm1_test_data): Likewise.
10289 (lgamma_test_data): Likewise.
10290 (pow_test_data): Likewise.
10291 (tgamma_test_data): Likewise.
10292 (yn_test_data): Remove duplicate test of overflow.
10294 * math/libm-test.inc (struct test_cc_c_data): New type.
10295 (RUN_TEST_LOOP_cc_c): New macro.
10296 (cpow_test_data): New variable.
10297 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
10299 * math/libm-test.inc (struct test_f_L_data): New type.
10300 (RUN_TEST_LOOP_f_L): New macro.
10301 (llrint_test_data): New variable.
10302 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
10303 (llrint_tonearest_test_data): New variable.
10304 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
10305 (llrint_towardzero_test_data): New variable.
10306 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
10307 (llrint_downward_test_data): New variable.
10308 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
10309 (llrint_upward_test_data): New variable.
10310 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
10311 (llround_test_data): New variable.
10312 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
10314 2013-05-13 Peter Collingbourne <pcc@google.com>
10316 * math/atest-exp2.c (get_log2): Remove const attribute.
10318 2013-05-15 Joseph Myers <joseph@codesourcery.com>
10320 * math/libm-test.inc (struct test_f_l_data): New type.
10321 (RUN_TEST_LOOP_f_l): New macro.
10322 (lrint_test_data): New variable.
10323 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
10324 (lrint_tonearest_test_data): New variable.
10325 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
10326 (lrint_towardzero_test_data): New variable.
10327 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
10328 (lrint_downward_test_data): New variable.
10329 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
10330 (lrint_upward_test_data): New variable.
10331 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
10332 (lround_test_data): New variable.
10333 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
10335 2013-05-15 Peter Collingbourne <pcc@google.com>
10337 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
10338 (EXTRACT_WORDS64) Use where appropriate.
10339 (INSERT_WORDS64) Likewise.
10341 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
10342 constraints with x constraints.
10343 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
10345 * malloc/obstack.c (_obstack_compat): Add initializer.
10347 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
10349 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
10350 si_trapno and add si_addr_lsb to _sifields.sigfault.
10351 (si_trapno): Remove macro.
10352 (si_addr_lsb): Define new macro.
10353 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10355 2013-05-15 Joseph Myers <joseph@codesourcery.com>
10357 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
10358 instead of TEST_f_l.
10359 (llrint_test_tonearest): Likewise.
10360 (llrint_test_towardzero): Likewise.
10361 (llrint_test_downward): Likewise.
10362 (llrint_test_upward): Likewise.
10363 (llround_test): Likewise.
10365 * math/libm-test.inc (struct test_f_i_data): Add comment.
10366 (RUN_TEST_LOOP_f_b): New macro.
10367 (RUN_TEST_LOOP_f_b_tg): Likewise.
10368 (finite_test_data): New variable.
10369 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
10370 (isfinite_test_data): New variable.
10371 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10372 (isinf_test_data): New variable.
10373 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10374 (isnan_test_data): New variable.
10375 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10376 (isnormal_test_data): New variable.
10377 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10378 (issignaling_test_data): New variable.
10379 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10380 (signbit_test_data): New variable.
10381 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10383 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
10384 with INVALID_EXCEPTION.
10385 (acosh_test_data): Likewise.
10386 (asin_test_data): Likewise.
10387 (atanh_test_data): Likewise.
10388 (fmod_test_data): Likewise.
10389 (log_test_data): Likewise.
10390 (log10_test_data): Likewise.
10391 (log2_test_data): Likewise.
10392 (pow_test_data): Likewise.
10393 (sqrt_test_data): Likewise.
10394 (y0_test_data): Likewise.
10395 (y1_test_data): Likewise.
10396 (yn_test_data): Likewise.
10398 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
10401 * math/libm-test.inc (struct test_ff_i_data): New type.
10402 (RUN_TEST_LOOP_ff_i_tg): New macro.
10403 (isgreater_test_data): New variable.
10404 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10405 (isgreaterequal_test_data): New variable.
10406 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10407 (isless_test_data): New variable.
10408 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10409 (islessequal_test_data): New variable.
10410 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10411 (islessgreater_test_data): New variable.
10412 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10413 (isunordered_test_data): New variable.
10414 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10416 2013-05-14 David S. Miller <davem@davemloft.net>
10418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10420 2013-05-14 Joseph Myers <joseph@codesourcery.com>
10422 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
10424 * math/libm-test.inc (struct test_fF_f1_data): Change type of
10426 (struct test_f_i_data): Change type of max_ulp to int.
10428 * math/libm-test.inc (test_ffI_f1_data): New type.
10429 (RUN_TEST_LOOP_ffI_f1): New macro.
10430 (remquo_test_data): New variable.
10431 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
10433 * setjmp/tst-setjmp-fp.c: New file.
10434 * setjmp/Makefile (tests): Add tst-setjmp-fp.
10435 (link-libm): New variable.
10436 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
10438 * math/libm-test.inc (struct test_f_i_data): New type.
10439 (RUN_TEST_LOOP_f_i): New macro.
10440 (RUN_TEST_LOOP_f_i_tg): Likewise.
10441 (fpclassify_test_data): New variable.
10442 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
10443 (ilogb_test_data): New variable.
10444 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
10446 * math/libm-test.inc (scalbln_test): Correct function name in END
10449 * math/libm-test.inc (struct test_f_f1_data): Add comment.
10450 (RUN_TEST_LOOP_fI_f1): New macro.
10451 (frexp_test_data): New variable.
10452 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
10454 * math/libm-test.inc (struct test_fF_f1_data): New type.
10455 (RUN_TEST_LOOP_fF_f1): New macro.
10456 (modf_test_data): New variable.
10457 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
10459 * math/libm-test.inc (struct test_f_f1_data): New type.
10460 (RUN_TEST_LOOP_f_f1): New macro.
10461 (gamma_test_data): New variable.
10462 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10463 (lgamma_test_data): New variable.
10464 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10466 2013-05-13 Carlos O'Donell <carlos@redhat.com>
10468 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
10469 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
10470 (main): Comment "tls" pseudo-hwcap.
10472 2013-05-13 Joseph Myers <joseph@codesourcery.com>
10474 * math/libm-test.inc (struct test_fl_f_data): New type.
10475 (RUN_TEST_LOOP_fl_f): New variable.
10476 (scalbln_test_data): New variable.
10477 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
10479 * math/libm-test.inc (struct test_fi_f_data): New type.
10480 (RUN_TEST_LOOP_fi_f): New macro.
10481 (ldexp_test_data): New variable.
10482 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
10483 (scalbn_test_data): New variable.
10484 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
10486 * math/libm-test.inc (struct test_c_f_data): New type.
10487 (RUN_TEST_LOOP_c_f): New macro.
10488 (cabs_test_data): New variable.
10489 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
10490 (carg_test_data): New variable.
10491 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
10492 (cimag_test_data): New variable.
10493 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
10494 (creal_test_data): New variable.
10495 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
10497 * math/libm-test.inc (struct test_if_f_data): New type.
10498 (RUN_TEST_LOOP_if_f): New macro.
10499 (jn_test_data): New variable.
10500 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
10501 (yn_test_data): New variable.
10502 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
10504 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
10506 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10508 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
10509 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
10511 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10513 * benchtests/Makefile (CPPFLAGS-nonlib): Add
10514 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
10515 (bench-deps): Add bench-timing.h.
10516 * benchtests-bench-skeleton.c: Include bench-timing.h.
10517 (main): Use TIMING_* macros instead of clock_gettime.
10518 * benchtests/bench-timing.h: New file.
10521 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
10522 Renamed from _LIB_VERSION.
10523 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
10525 2013-05-12 Joseph Myers <joseph@codesourcery.com>
10527 * math/libm-test.inc (struct test_fff_f_data): New type.
10528 (RUN_TEST_LOOP_fff_f): New macro.
10529 (fma_test_data): New variable.
10530 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
10531 (fma_towardzero_test_data): New variable.
10532 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
10533 (fma_downward_test_data): New variable.
10534 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
10535 (fma_upward_test_data): New variable.
10536 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
10538 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
10539 (struct test_c_c_data): New type.
10540 (RUN_TEST_LOOP_c_c): New macro.
10541 (cacos_test_data): New variable.
10542 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
10543 (cacosh_test_data): New variable.
10544 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
10545 (casin_test_data): New variable.
10546 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
10547 (casinh_test_data): New variable.
10548 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
10549 (catan_test_data): New variable.
10550 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
10551 (catanh_test_data): New variable.
10552 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
10553 (ccos_test_data): New variable.
10554 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
10555 (ccosh_test_data): New variable.
10556 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
10557 (cexp_test_data): New variable.
10558 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
10559 (clog_test_data): New variable.
10560 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
10561 (clog10_test_data): New variable.
10562 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
10563 (conj_test_data): New variable.
10564 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
10565 (cproj_test_data): New variable.
10566 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
10567 (csin_test_data): New variable.
10568 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
10569 (csinh_test_data): New variable.
10570 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
10571 (csqrt_test_data): New variable.
10572 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
10573 (ctan_test_data): New variable.
10574 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
10575 (ctan_tonearest_test_data): New variable.
10576 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10577 (ctan_towardzero_test_data): New variable.
10578 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10579 (ctan_downward_test_data): New variable.
10580 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10581 (ctan_upward_test_data): New variable.
10582 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10583 (ctanh_test_data): New variable.
10584 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
10585 (ctanh_tonearest_test_data): New variable.
10586 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10587 (ctanh_towardzero_test_data): New variable.
10588 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10589 (ctanh_downward_test_data): New variable.
10590 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10591 (ctanh_upward_test_data): New variable.
10592 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10593 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
10596 * math/libm-test.inc (struct test_ff_f_data): New type.
10597 (struct test_ff_f_data_nexttoward): Likewise.
10598 (RUN_TEST_LOOP_2_f): New macro.
10599 (RUN_TEST_LOOP_ff_f): Likewise.
10600 (atan2_test_data): New variable.
10601 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
10602 (copysign_test_data): New variable.
10603 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
10604 (fdim_test_data): New variable.
10605 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
10606 (fmax_test_data): New variable.
10607 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
10608 (fmin_test_data): New variable.
10609 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
10610 (fmod_test_data): New variable.
10611 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
10612 (hypot_test_data): New variable.
10613 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
10614 (nextafter_test_data): New variable.
10615 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
10616 (nexttoward_test_data): New variable.
10617 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
10618 (pow_test_data): New variable.
10619 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
10620 (pow_tonearest_test_data): New variable.
10621 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
10622 (pow_towardzero_test_data): New variable.
10623 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
10624 (pow_downward_test_data): New variable.
10625 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
10626 (pow_upward_test_data): New variable.
10627 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
10628 (remainder_test_data): New variable.
10629 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
10630 (scalb_test_data): New variable.
10631 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
10632 * sysdeps/i386/fpu/libm-test-ulps: Update.
10634 2013-05-11 Joseph Myers <joseph@codesourcery.com>
10636 * math/libm-test.inc (fma_test): Use max_value instead of local
10638 (nextafter_test): Likewise.
10640 * math/libm-test.inc (acos_towardzero_test_data): New variable.
10641 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10642 (acos_downward_test_data): New variable.
10643 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10644 (acos_upward_test_data): New variable.
10645 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10646 (acosh_test_data): New variable.
10647 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
10648 (asin_test_data): New variable.
10649 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
10650 (asin_tonearest_test_data): New variable.
10651 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10652 (asin_towardzero_test_data): New variable.
10653 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10654 (asin_downward_test_data): New variable.
10655 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10656 (asin_upward_test_data): New variable.
10657 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10658 (asinh_test_data): New variable.
10659 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
10660 (atan_test_data): New variable.
10661 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
10662 (atanh_test_data): New variable.
10663 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
10664 (cbrt_test_data): New variable.
10665 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
10666 (ceil_test_data): New variable.
10667 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
10668 (cos_test_data): New variable.
10669 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
10670 (cos_tonearest_test_data): New variable.
10671 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10672 (cos_towardzero_test_data): New variable.
10673 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10674 (cos_downward_test_data): New variable.
10675 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10676 (cos_upward_test_data): New variable.
10677 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10678 (cosh_test_data): New variable.
10679 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
10680 (cosh_tonearest_test_data): New variable.
10681 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10682 (cosh_towardzero_test_data): New variable.
10683 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10684 (cosh_downward_test_data): New variable.
10685 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10686 (cosh_upward_test_data): New variable.
10687 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10688 (erf_test_data): New variable.
10689 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
10690 (erfc_test_data): New variable.
10691 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
10692 (exp_test_data): New variable.
10693 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
10694 (exp_tonearest_test_data): New variable.
10695 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10696 (exp_towardzero_test_data): New variable.
10697 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10698 (exp_downward_test_data): New variable.
10699 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10700 (exp_upward_test_data): New variable.
10701 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10702 (exp10_test_data): New variable.
10703 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
10704 (exp2_test_data): New variable.
10705 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
10706 (expm1_test_data): New variable.
10707 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
10708 (fabs_test_data): New variable.
10709 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
10710 (floor_test_data): New variable.
10711 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
10712 (j0_test_data): New variable.
10713 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
10714 (j1_test_data): New variable.
10715 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
10716 (log_test_data): New variable.
10717 (log_test): Run tests with RUN_TEST_LOOP_f_f.
10718 (log10_test_data): New variable.
10719 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
10720 (log1p_test_data): New variable.
10721 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
10722 (log2_test_data): New variable.
10723 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
10724 (logb_test_data): New variable.
10725 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
10726 (logb_downward_test_data): New variable.
10727 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10728 (nearbyint_test_data): New variable.
10729 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
10730 (rint_test_data): New variable.
10731 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
10732 (rint_tonearest_test_data): New variable.
10733 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10734 (rint_towardzero_test_data): New variable.
10735 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10736 (rint_downward_test_data): New variable.
10737 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10738 (rint_upward_test_data): New variable.
10739 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10740 (round_test_data): New variable.
10741 (round_test): Run tests with RUN_TEST_LOOP_f_f.
10742 (sin_test_data): New variable.
10743 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
10744 (sin_tonearest_test_data): New variable.
10745 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10746 (sin_towardzero_test_data): New variable.
10747 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10748 (sin_downward_test_data): New variable.
10749 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10750 (sin_upward_test_data): New variable.
10751 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10752 (sinh_test_data): New variable.
10753 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
10754 (sinh_tonearest_test_data): New variable.
10755 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10756 (sinh_towardzero_test_data): New variable.
10757 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10758 (sinh_downward_test_data): New variable.
10759 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10760 (sinh_upward_test_data): New variable.
10761 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10762 (sqrt_test_data): New variable.
10763 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10764 (tan_test_data): New variable.
10765 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10766 (tan_tonearest_test_data): New variable.
10767 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10768 (tan_towardzero_test_data): New variable.
10769 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10770 (tan_downward_test_data): New variable.
10771 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10772 (tan_upward_test_data): New variable.
10773 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10774 (tanh_test_data): New variable.
10775 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10776 (tgamma_test_data): New variable.
10777 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10778 (trunc_test_data): New variable.
10779 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10780 (y0_test_data): New variable.
10781 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10782 (y1_test_data): New variable.
10783 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10784 (significand_test_data): New variable.
10785 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10787 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
10790 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10792 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
10794 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10796 2013-05-10 Andreas Jaeger <aj@suse.de>
10799 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10800 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10802 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10804 * math/gen-libm-test.pl (adjust_arg): New function.
10805 (special_functions): Handle generating output in both functions
10807 (parse_args): Likewise.
10808 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
10809 $in_func argument to parse_args.
10810 * math/libm-test.inc (struct test_f_f_data): New type.
10811 (IF_ROUND_INIT_): New macro.
10812 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10813 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10814 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10815 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10816 (ROUND_RESTORE_): Likewise.
10817 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10818 (ROUND_RESTORE_FE_TONEAREST): Likewise.
10819 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10820 (ROUND_RESTORE_FE_UPWARD): Likewise.
10821 (RUN_TEST_LOOP_f_f): New macro.
10822 (acos_test_data): New variable.
10823 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10824 (acos_tonearest_test_data): New variable.
10825 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10827 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10829 * benchtests/bench-skeleton.c (startup): Fix coding style.
10831 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10834 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10835 negative infinity argument.
10836 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10837 negative infinity argument.
10838 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10839 negative infinity argument.
10840 * math/libm-test.inc (tgamma_test): Expect errno to be set for
10843 2013-05-10 Florian Weimer <fweimer@redhat.com>
10845 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10846 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10847 * iconv/iconv_prog.c (main): Likewise.
10848 * locale/programs/charmap-dir.c (charmap_readdir)
10849 (fopen_uncompressed): Likewise.
10850 * locale/programs/locfile.c (siblings_uncached)
10851 (write_locale_data): Use lstat64 instead of lstat.
10852 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10855 2013-05-10 Andreas Jaeger <aj@suse.de>
10858 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10860 Include <locale.h>.
10862 2013-05-09 Carlos O'Donell <carlos@redhat.com>
10864 * elf/dl-close.c (_dl_close_worker): Add comments.
10866 2013-05-09 Joseph Myers <joseph@codesourcery.com>
10869 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10871 (__ieee754_rem_pio2l): Update comments.
10874 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10876 (__ieee754_rem_pio2l): Update comments.
10878 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10879 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10881 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10884 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10885 (M_PI_34_LOG10El): Likewise.
10886 (M_PI2_LOG10El): Likewise.
10887 (M_PI4_LOG10El): Likewise.
10888 (M_PI_LOG10El): Likewise.
10890 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10894 2013-05-08 Joseph Myers <joseph@codesourcery.com>
10896 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10897 (MINUS_ZERO_INIT): Likewise.
10898 (PLUS_INFTY_INIT): Likewise.
10899 (MINUS_INFTY_INIT): Likewise.
10900 (QNAN_VALUE_INIT): Likewise.
10901 (MAX_VALUE_INIT): Likewise.
10902 (MIN_VALUE_INIT): Likewise.
10903 (MIN_SUBNORM_VALUE_INIT): Likewise.
10904 (plus_zero): Initialize with PLUS_ZERO_INIT.
10905 (minus_zero): Initialize with MINUS_ZERO_INIT.
10906 (plus_infty): Initialize with PLUS_INFTY_INIT.
10907 (minus_infty): Initialize with MINUS_INFTY_INIT.
10908 (qnan_value): Initialize with QNAN_VALUE_INIT.
10909 (max_value): Initialize with MAX_VALUE_INIT.
10910 (min_value): Initialize with MIN_VALUE_INIT.
10911 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10913 * math/libm-test.inc (RUN_TEST_if_f): New macro.
10914 (jn_test): Use TEST_if_f instead of TEST_ff_f.
10915 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10916 (yn_test): Use TEST_if_f instead of TEST_ff_f.
10918 * math/libm-test.inc (RUN_TEST_f_f): New macro.
10919 (RUN_TEST_2_f): Likewise.
10920 (RUN_TEST_ff_f): Likewise.
10921 (RUN_TEST_fi_f): Likewise.
10922 (RUN_TEST_fl_f): Likewise.
10923 (RUN_TEST_fff_f): Likewise.
10924 (RUN_TEST_c_f): Likewise.
10925 (RUN_TEST_f_f1): Likewise.
10926 (RUN_TEST_fF_f1): Likewise.
10927 (RUN_TEST_fI_f1): Likewise.
10928 (RUN_TEST_ffI_f1): Likewise.
10929 (RUN_TEST_c_c): Likewise.
10930 (RUN_TEST_cc_c): Likewise.
10931 (RUN_TEST_f_i): Likewise.
10932 (RUN_TEST_f_i_tg): Likewise.
10933 (RUN_TEST_ff_i_tg): Likewise.
10934 (RUN_TEST_f_b): Likewise.
10935 (RUN_TEST_f_b_tg): Likewise.
10936 (RUN_TEST_f_l): Likewise.
10937 (RUN_TEST_f_L): Likewise.
10938 (RUN_TEST_sincos): Likewise.
10939 * math/gen-libm-test.pl (new_test): Take new argument to indicate
10940 whether to show exceptions. Do not include ");\n" in return
10942 (special_functions): Output call to RUN_TEST_sincos instead of
10943 check_float calls. Update calls to new_test.
10944 (parse_args): Output call to single RUN_TEST_* macro instead of
10945 check_* calls and other assignments. Update calls to new_test.
10951 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10952 input to result for tgamma overflow.
10953 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10954 (gamma_coeff): New variable.
10955 (NCOEFF): New macro.
10956 (gamma_positive): New function.
10957 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10958 underflow here. Use gamma_positive instead of exp (lgamma) for
10960 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10961 (gamma_coeff): New variable.
10962 (NCOEFF): New macro.
10963 (gammaf_positive): New function.
10964 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10965 underflow here. Use gamma_positive instead of exp (lgamma) for
10967 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10968 (gamma_coeff): New variable.
10969 (NCOEFF): New macro.
10970 (gammal_positive): New function.
10971 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10972 underflow here. Use gamma_positive instead of exp (lgamma) for
10974 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10975 (gamma_coeff): New variable.
10976 (NCOEFF): New macro.
10977 (gammal_positive): New function.
10978 (__ieee754_gammal_r): Handle positive infinity, overflow and
10979 underflow here. Handle NaN the same as positive infinity. Remove
10980 check x < 0xffffffff for negative integers. Use gamma_positive
10981 instead of exp (lgamma) for other arguments.
10982 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10983 (gamma_coeff): New variable.
10984 (NCOEFF): New macro.
10985 (gammal_positive): New function.
10986 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10987 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10988 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10989 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10990 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10991 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10992 * sysdeps/generic/math_private.h (__gamma_productf): New
10994 (__gamma_product): Likewise.
10995 (__gamma_productl): Likewise.
10996 * math/Makefile (libm-calls): Add gamma_product.
10997 * math/libm-test.inc (tgamma_test): Add more tests.
10998 * sysdeps/i386/fpu/libm-test-ulps: Update.
10999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11001 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
11003 * benchtests/bench-skeleton.c (main): Preheat CPU.
11005 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
11007 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
11009 2013-05-07 Roland McGrath <roland@hack.frob.com>
11011 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
11012 and _dl_skip_args_internal.
11014 2013-05-07 Carlos O'Donell <carlos@redhat.com>
11016 * manual/message.texi (Message Translation): Talk about users.
11017 Message to key mapping impacts design.
11019 2013-05-06 Roland McGrath <roland@hack.frob.com>
11021 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
11023 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
11025 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
11026 * sysdeps/wordsize-64/glob64.c: ... here.
11028 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
11029 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
11032 * debug/getlogin_r_chk.c: Moved to ...
11033 * login/getlogin_r_chk.c: ... here.
11034 * debug/Makefile (routines): Move getlogin_r_chk to ...
11035 * login/Makefile (routines): ... here.
11036 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
11037 * login/Versions (libc: GLIBC_2.4): ... here.
11039 * io/poll.c (__poll): Renamed from poll.
11040 Add libc_hidden_def.
11041 (poll): Define as weak alias.
11043 * debug/ptsname_r_chk.c: Moved to ...
11044 * login/ptsname_r_chk.c: ... here.
11045 * debug/Makefile (routines): Move ptsname_r_chk to ...
11046 * login/Makefile (routines): ... here.
11047 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
11048 * login/Versions (libc: GLIBC_2.4): ... here.
11050 * posix/getlogin.c: Moved to ...
11051 * login/getlogin.c: ... here.
11052 * posix/getlogin_r.c: Moved to ...
11053 * login/getlogin_r.c: ... here.
11054 * posix/getlogin_r.c: Moved to ...
11055 * login/getlogin_r.c: ... here.
11056 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11057 * login/Makefile (routines): ... here.
11058 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11059 * login/Versions (libc: GLIBC_2.0): ... here.
11061 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11062 (setrlimit): Define as weak alias.
11064 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11065 Call __ names for open, ftruncate, and close.
11066 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11067 (truncate): Define as weak alias.
11069 2013-05-06 Joseph Myers <joseph@codesourcery.com>
11071 * math/gen-libm-test.pl (parse_args): Initialize x before each
11072 test of frexp, modf and remquo.
11074 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11075 test signgam value.
11077 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11081 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11083 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11085 2013-05-06 Roland McGrath <roland@hack.frob.com>
11087 * elf/dl-writev.h: New file.
11088 * elf/dl-misc.c: Include it.
11089 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
11090 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
11092 2013-05-04 Joseph Myers <joseph@codesourcery.com>
11094 * math/libm-test.inc (noXFails): Remove variable.
11095 (noXPasses): Likewise.
11096 (BUILD_COMPLEX_INT): Remove macro.
11097 (print_screen): Remove xfail argument.
11098 (print_screen_max_error): Likewise.
11099 (update_stats): Likewise.
11100 (print_max_error): Likewise. Update calls to other affected
11102 (print_complex_max_error): Likewise.
11103 (test_single_exception): Update calls to print_screen.
11104 (test_single_errno): Likewise.
11105 (check_float_internal): Remove xfail argument. Update calls to
11106 other affected functions.
11107 (check_float): Likewise.
11108 (check_complex): Likewise.
11109 (check_int): Likewise.
11110 (check_long): Likewise.
11111 (check_bool): Likewise.
11112 (check_longlong): Likewise.
11113 (main): Don't print noXFails and noXPasses.
11114 * math/gen-libm-test.pl (top level): Don't mention expected
11115 failure handling in comment.
11116 (new_test): Don't handle expected failures.
11117 (parse_args): Don't mention expected failure handling in comment.
11118 (generate_testfile): Don't handle expected failures.
11119 (parse_ulps): Likewise.
11120 (print_ulps_file): Likewise.
11121 (get_failure): Remove function.
11122 (output_test): Don't handle expected failures.
11123 * make/README.libm-test: Don't mention expected failure handling.
11125 * math/libm-test.inc (plus_zero): Make const. Add initializer.
11126 (minus_zero): Likewise.
11127 (plus_infty): Likewise.
11128 (minus_infty): Likewise.
11129 (qnan_value): Likewise.
11130 (max_value): Likewise.
11131 (min_value): Likewise.
11132 (min_subnorm_value): Likewise.
11133 (initialize): Do not initialize those variables dynamically.
11135 2013-05-03 Roland McGrath <roland@hack.frob.com>
11137 * io/open.c (__open_2): Moved to ...
11138 * io/open_2.c: ... this new file.
11139 * io/open64.c (__open64_2): Moved to ...
11140 * io/open64_2.c: ... this new file.
11141 * io/openat.c (__openat_2): Moved to ...
11142 * io/openat_2.c: ... this new file.
11143 * io/openat64.c (__openat64_2): Moved to ...
11144 * io/openat64_2.c: ... this new file.
11145 * io/Makefile (routines): Add them.
11146 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
11147 * sysdeps/unix/sysv/linux/open_2.c: File removed.
11148 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
11149 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
11150 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
11151 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
11152 (__openat64): Add hidden_ver.
11153 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
11154 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
11156 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
11157 Separately conditionalize setting of GLRO(dl_sysinfo) so
11158 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
11159 as well, but the actual setting is only under [NEED_DL_SYSINFO].
11161 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11163 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
11164 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
11166 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
11167 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11168 (_libc_vdso_platform_setup): Add __vdso_time initialization.
11169 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
11170 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
11172 2013-05-03 Joseph Myers <joseph@codesourcery.com>
11174 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
11175 test signgam value.
11177 * math/libm-test.inc (hypot_test): Do not use
11178 IGNORE_ZERO_INF_SIGN.
11180 2013-05-03 Andreas Jaeger <aj@suse.de>
11182 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
11184 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
11185 (PF_MAX): Adjust for VSOCK change.
11187 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11191 2013-05-02 Carlos O'Donell <carlos@redhat.com>
11194 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
11195 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
11196 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
11198 2013-05-02 David S. Miller <davem@davemloft.net>
11200 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11202 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
11204 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
11206 2013-05-01 Roland McGrath <roland@hack.frob.com>
11208 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
11210 2013-05-01 Richard Smith <richard@metafoo.co.uk>
11213 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
11214 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11215 Use __attribute__ ((__gnu_inline__)).
11216 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11217 Don't use __attribute__ ((__gnu_inline__)).
11219 2013-05-01 Joseph Myers <joseph@codesourcery.com>
11222 * math/s_catan.c (__catan): Handle small real or imaginary part of
11223 input specially to avoid spurious underflow.
11224 * math/s_catanf.c (__catanf): Likewise.
11225 * math/s_catanh.c (__catanh): Likewise.
11226 * math/s_catanhf.c (__catanhf): Likewise.
11227 * math/s_catanhl.c (__catanhl): Likewise.
11228 * math/s_catanl.c (__catanl): Likewise.
11229 * math/libm-test.inc (catan_test): Add more tests.
11230 (catanh_test): Likewise.
11231 * sysdeps/i386/fpu/libm-test-ulps: Update.
11232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11234 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11238 2013-04-30 Joseph Myers <joseph@codesourcery.com>
11241 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
11242 accurately for denominator in atan2.
11243 * math/s_catanf.c (__catanf): Likewise.
11244 * math/s_catanh.c (__catanh): Likewise.
11245 * math/s_catanhf.c (__catanhf): Likewise.
11246 * math/s_catanhl.c (__catanhl): Likewise.
11247 * math/s_catanl.c (__catanl): Likewise.
11248 * math/libm-test.inc (catan_test): Add more tests.
11249 (catanh_test): Likewise.
11250 * sysdeps/i386/fpu/libm-test-ulps: Update.
11251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11253 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11255 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
11257 * benchtests/Makefile (bench): Remove slow benchmarks.
11258 * benchtests/atan-inputs: Add slow benchmark inputs.
11259 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
11260 (BENCH_FUNC): Accept variant offset.
11262 * benchtests/bench-skeleton.c (main): Run benchmark for each
11264 * benchtests/cos-inputs: Add slow benchmark inputs.
11265 * benchtests/exp-inputs: Likewise.
11266 * benchtests/pow-inputs: Likewise.
11267 * benchtests/sin-inputs: Likewise.
11268 * benchtests/slowatan-inputs: Remove.
11269 * benchtests/slowatan.c: Remove.
11270 * benchtests/slowcos-inputs: Remove.
11271 * benchtests/slowcos.c: Remove.
11272 * benchtests/slowexp-inputs: Remove.
11273 * benchtests/slowexp.c: Remove.
11274 * benchtests/slowpow-inputs: Remove.
11275 * benchtests/slowpow.c: Remove.
11276 * benchtests/slowsin-inputs: Remove.
11277 * benchtests/slowsin.c: Remove.
11278 * benchtests/slowtan-inputs: Remove.
11279 * benchtests/slowtan.c: Remove.
11280 * benchtests/tan-inputs: Add slow benchmark inputs.
11281 * scripts/bench.pl: Parse comments and directives.
11283 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
11285 ($(objpfx)bench-%.c): Remove *-ITER.
11286 * benchtests/bench-modf.c: Remove definition of ITER.
11287 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
11288 (main): Loop for DURATION seconds instead of fixed number of
11290 * scripts/bench.pl: Don't expect iterations in parameters.
11292 2013-04-29 Roland McGrath <roland@hack.frob.com>
11294 * io/fchdir.c (__fchdir): Renamed from fchdir.
11295 (fchdir): Define as weak alias.
11297 2013-04-29 Joseph Myers <joseph@codesourcery.com>
11299 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
11300 (ERRNO_EDOM): Likewise.
11301 (ERRNO_ERANGE): Likewise.
11302 (noErrnoTests): New variable.
11303 (init_max_error): Set errno to 0.
11304 (test_single_errno): New function.
11305 (test_errno): Likewise.
11306 (check_float_internal): Call test_errno. Set errno to 0.
11307 (check_complex): Refer to errno tests in comment.
11308 (check_int): Call test_errno. Set errno to 0.
11309 (check_long): Likewise.
11310 (check_bool): Likewise.
11311 (check_longlong): Likewise.
11312 (cos_test): Use ERRNO_* flags for errno tests instead of
11314 (expm1_test): Likewise.
11315 (fmod_test): Likewise.
11316 (ilogb_test): Likewise.
11317 (lgamma_test): Likewise.
11318 (pow_test): Likewise.
11319 (remainder_test): Likewise.
11320 (sin_test): Likewise.
11321 (tan_test): Likewise.
11322 (yn_test): Likewise.
11323 (initialize): Set errno to 0.
11324 (main): Print number of errno tests.
11325 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
11327 2013-04-29 Andreas Jaeger <aj@suse.de>
11330 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
11334 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
11335 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
11339 * stdlib/random.c (__initstate): Return NULL if
11343 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
11344 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
11347 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11351 2013-04-29 Joseph Myers <joseph@codesourcery.com>
11353 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
11354 of individual tests.
11355 (casin_test): Likewise.
11356 (casinh_test): Likewise.
11358 2013-04-27 Joseph Myers <joseph@codesourcery.com>
11361 * math/s_catan.c (__catan): Handle arguments with large real or
11362 imaginary part separately without squaring.
11363 * math/s_catanf.c (__catanf): Likewise.
11364 * math/s_catanh.c (__catanh): Likewise.
11365 * math/s_catanhf.c (__catanhf): Likewise.
11366 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11368 (__catanhl): Handle arguments with large real or imaginary part
11369 separately without squaring.
11370 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11372 (__catanl): Handle arguments with large real or imaginary part
11373 separately without squaring.
11374 * math/libm-test.inc (catan_test): Add more tests.
11375 (catanh_test): Likewise.
11376 * sysdeps/i386/fpu/libm-test-ulps: Update.
11377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11379 2013-04-27 Andreas Jaeger <aj@suse.de>
11382 * stdlib/stdlib.h: Update guards for qecvt.
11383 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
11386 2013-04-27 Allan McRae <allan@archlinux.org>
11388 * sysdeps/i386/fpu/libm-test-ulps: Update.
11390 2013-04-26 Joseph Myers <joseph@codesourcery.com>
11393 * math/s_catan.c: Include <float.h>.
11394 (__catan): Ensure underflow exception occurs for underflowed
11396 * math/s_catanf.c: Include <float.h>.
11397 (__catanf): Ensure underflow exception occurs for underflowed
11399 * math/s_catanh.c: Include <float.h>.
11400 (__catanh): Ensure underflow exception occurs for underflowed
11402 * math/s_catanhf.c: Include <float.h>.
11403 (__catanhf): Ensure underflow exception occurs for underflowed
11405 * math/s_catanhl.c: Include <float.h>.
11406 (__catanhl): Ensure underflow exception occurs for underflowed
11408 * math/s_catanl.c: Include <float.h>.
11409 (__catanl): Ensure underflow exception occurs for underflowed
11411 * math/libm-test.inc (catan_test): Add more tests.
11412 (catanh_test): Likewise.
11415 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
11416 underflowed result.
11417 * math/s_ccoshf.c (__ccoshf): Likewise.
11418 * math/s_ccoshl.c (__ccoshl): Likewise.
11419 * math/s_csin.c (__csin): Likewise.
11420 * math/s_csinf.c (__csinf): Likewise.
11421 * math/s_csinh.c (__csinh): Likewise.
11422 * math/s_csinhf.c (__csinhf): Likewise.
11423 * math/s_csinhl.c (__csinhl): Likewise.
11424 * math/s_csinl.c (__csinl): Likewise.
11425 * math/libm-test.inc (ccos_test): Add more tests.
11426 (ccosh_test): Likewise.
11427 (csin_test): Likewise.
11428 (csinh_test): Likewise.
11430 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11432 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
11433 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
11434 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
11435 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
11436 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
11437 powerpc/power5+/fpu folders.
11438 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11441 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11443 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11445 2013-04-25 Joseph Myers <joseph@codesourcery.com>
11447 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
11448 additions to variable.
11449 [$(config-machine) = x86_64] (modules-names): Likewise.
11450 ($(objpfx)tst-audit3): Remove dependency.
11451 ($(objpfx)tst-audit3.out): Likewise.
11452 ($(objpfx)tst-audit4): Likewise.
11453 ($(objpfx)tst-audit4.out): Likewise.
11454 ($(objpfx)tst-audit5): Likewise.
11455 ($(objpfx)tst-audit5.out): Likewise.
11456 ($(objpfx)tst-audit6): Likewise.
11457 ($(objpfx)tst-audit6.out): Likewise.
11458 ($(objpfx)tst-audit7): Likewise.
11459 ($(objpfx)tst-audit7.out): Likewise.
11460 (tst-audit3-ENV): Remove variable.
11461 (tst-audit4-ENV): Likewise.
11462 (tst-audit5-ENV): Likewise.
11463 (tst-audit6-ENV): Likewise.
11464 (tst-audit7-ENV): Likewise.
11465 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
11466 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
11467 addition to variable.
11468 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
11469 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
11470 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
11471 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
11472 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
11473 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
11474 tst-audit3, tst-audit4 and tst-audit5.
11475 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
11476 tst-audit6 and tst-audit7.
11477 [$(subdir) = elf] (modules-names): Add audit modules for those
11479 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
11480 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
11481 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
11482 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
11483 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
11484 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
11485 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
11486 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
11487 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
11488 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
11489 [$(subdir) = elf] (tst-audit3-ENV): New variable.
11490 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
11491 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
11492 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
11493 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
11494 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
11496 [$(subdir) = elf && $(config-cflags-avx) = yes]
11497 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
11498 [$(subdir) = elf && $(config-cflags-avx) = yes]
11499 (CFLAGS-tst-auditmod4a.c): Likewise.
11500 [$(subdir) = elf && $(config-cflags-avx) = yes]
11501 (CFLAGS-tst-auditmod4b.c): Likewise.
11502 [$(subdir) = elf && $(config-cflags-avx) = yes]
11503 (CFLAGS-tst-auditmod6b.c): Likewise.
11504 [$(subdir) = elf && $(config-cflags-avx) = yes]
11505 (CFLAGS-tst-auditmod6c.c): Likewise.
11506 [$(subdir) = elf && $(config-cflags-avx) = yes]
11507 (CFLAGS-tst-auditmod7b.c): Likewise.
11508 * elf/tst-audit3.c: Move to ...
11509 * sysdeps/x86_64/tst-audit3.c: ... here.
11510 * elf/tst-audit4.c: Move to ...
11511 * sysdeps/x86_64/tst-audit4.c: ... here.
11512 * elf/tst-audit5.c: Move to ...
11513 * sysdeps/x86_64/tst-audit5.c: ... here.
11514 * elf/tst-audit6.c: Move to ...
11515 * sysdeps/x86_64/tst-audit6.c: ... here.
11516 * elf/tst-audit7.c: Move to ...
11517 * sysdeps/x86_64/tst-audit7.c: ... here.
11518 * elf/tst-auditmod3a.c: Move to ...
11519 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
11520 * elf/tst-auditmod3b.c: Move to ...
11521 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
11522 * elf/tst-auditmod4a.c: Move to ...
11523 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
11524 * elf/tst-auditmod4b.c: Move to ...
11525 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
11526 * elf/tst-auditmod5a.c: Move to ...
11527 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
11528 * elf/tst-auditmod5b.c: Move to ...
11529 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
11530 * elf/tst-auditmod6a.c: Move to ...
11531 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
11532 * elf/tst-auditmod6b.c: Move to ...
11533 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
11534 * elf/tst-auditmod6c.c: Move to ...
11535 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
11536 * elf/tst-auditmod7a.c: Move to ...
11537 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
11538 * elf/tst-auditmod7b.c: Move to ...
11539 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
11541 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
11544 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
11545 define unconditionally.
11546 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
11547 define unconditionally.
11548 (INT8_C, INT16_C, etc.): Likewise.
11550 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
11552 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
11553 __ehdr_start with hidden visibility.
11555 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
11557 2013-04-24 Carlos O'Donell <carlos@redhat.com>
11559 * math/libm-test.inc (cos_test): Use accurate hex constants.
11560 (sincost_test): Likewise.
11562 2013-04-24 Joseph Myers <joseph@codesourcery.com>
11564 * math/libm-test.inc (catan_test): Add more tests.
11565 (catanh_test): Likewise.
11567 * math/s_catanf.c (__catanf): Use suffixed floating-point
11569 * math/s_catanhf.c (__catanhf): Likewise.
11570 * math/s_catanhl.c (__catanhl): Likewise.
11571 * math/s_catanl.c (__catanl): Likewise.
11574 * math/s_catan.c (__catan): Calculate imaginary part of result
11575 with log1p not log unless computing log of number close to 0.
11576 * math/s_catanf.c (__catanf): Likewise.
11577 * math/s_catanl.c (__catanl): Likewise.
11578 * math/s_catanh.c (__catanh): Calculate real part of result with
11579 log1p not log unless computing log of number close to 0.
11580 * math/s_catanhf.c (__catanhf): Likewise.
11581 * math/s_catanhl.c (__catanhl): Likewise.
11582 * math/libm-test.inc (catan_test): Add more tests.
11583 (catanh_test): Likewise.
11584 * sysdeps/i386/fpu/libm-test-ulps: Update.
11585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11587 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11589 * benchtests/Makefile: Mention files in which fast and slow
11590 paths of math functions are implemented.
11592 2013-04-23 Roland McGrath <roland@hack.frob.com>
11594 * sysdeps/posix/timespec_get.c: New file.
11596 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11598 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
11600 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
11602 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
11603 powerpc/power5/fpu folders.
11604 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
11605 * benchtests/Makefile: Add modf testcase.
11606 * benchtests/bench-modf.c: New file: Benchmark test for mo
11608 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11611 * time/Makefile (tests): Add tst-strptime-whitespace.
11612 * time/strptime_l.c (get_number): Use ISSPACE.
11613 (__strptime_internal): Likewise.
11614 * time/tst-strptime-whitespace.c: New test case.
11616 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
11618 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
11620 (_nss_files_init): Set it here.
11622 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
11624 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
11625 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
11628 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
11630 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
11632 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11634 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
11637 2013-04-21 David S. Miller <davem@davemloft.net>
11639 * po/ru.po: Update Russion translation from translation project.
11641 2013-04-17 Adam Conrad <adconrad@0c3.net>
11643 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
11646 2013-04-17 Carlos O'Donell <carlos@redhat.com>
11648 * configure.in: Remove i386 configure warning. Remove i386 case.
11649 * configure: Regenerate.
11650 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
11651 Add example to error message.
11652 * sysdeps/i386/configure: Regenerate.
11654 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11656 * benchtests/Makefile (bench): Add cos, tan, slowcos and
11658 * benchtests/cos-inputs: New file.
11659 * benchtests/slowcos-inputs: New file.
11660 * benchtests/slowcos.c: New file.
11661 * benchtests/slowtan-inputs: New file.
11662 * benchtests/slowtan.c: New file.
11663 * benchtests/tan-inputs: New file.
11665 2013-04-16 Roland McGrath <roland@hack.frob.com>
11667 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
11670 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11672 * benchtests/Makefile: Include cppflags-iterator.mk to add
11673 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
11675 * Makefile.in (bench-clean): New target.
11676 * benchtests/Makefile (bench-clean): Likewise.
11678 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
11680 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
11682 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
11684 * stdio-common/tstdiomisc.c: Fix coding-style violation.
11686 2013-04-15 Andreas Schwab <schwab@suse.de>
11688 * nscd/grpcache.c (cache_addgr): Properly check for short write.
11689 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11690 * nscd/pwdcache.c (cache_addpw): Likewise.
11691 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
11694 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11696 * benchtests/Makefile (bench): Write all output to
11697 bench-out.tmp together.
11699 2013-04-15 Andreas Schwab <schwab@suse.de>
11701 * nscd/nscd.c (main): Don't fork again after closing files.
11703 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11705 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
11707 * benchtests/Rules (bench-deps): Collect dependencies into a
11708 single variable. Add Makefile to dependencies.
11709 ($(objpfx)bench-%.c): Depend on bench-deps.
11711 2013-04-12 Roland McGrath <roland@hack.frob.com>
11712 Xavier Roche <roche+kml2@exalead.com>
11715 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
11716 just that it's a file descriptor.
11717 * manual/llio.texi (Synchronizing AIO Operations): Update description
11718 for EBADF error from aio_fsync.
11720 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11722 * Rules (bench): Move target definition...
11723 * benchtests/Makefile: ... here.
11725 2013-04-11 Carlos O'Donell <carlos@redhat.com>
11727 * math/libm-test.inc (cos_test): Fix PI/2 test.
11728 (sincos_test): Likewise.
11729 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11730 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11732 2013-04-11 Andreas Schwab <schwab@suse.de>
11735 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
11736 accept exponent character only when digits were seen.
11737 * stdio-common/Makefile (tests): Add bug26.
11738 * stdio-common/bug26.c: New file.
11741 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
11744 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11746 * Makeconfig (rtld-prefix): Define built linker prefix.
11747 * Rules (run-bench): Use it.
11748 * math/Makefile (run-regen-ulps): Likewise.
11750 * Rules (bench): Remove eval.
11752 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11753 Roland McGrath <roland@hack.frob.com>
11754 Ondrej Bilka <neleai@seznam.cz>
11757 * time/getdate.c: Include ctype.h and alloca.h.
11758 (__getdate_r): Trim leading and trailing spaces of input.
11759 * time/tst-getdate.c (tests): Add tests with leading and
11762 2013-04-08 Roland McGrath <roland@hack.frob.com>
11765 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11766 when computing value.
11768 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11770 * math/README.libm-test (How can I generate "libm-test-ulps"?):
11771 Use testrun.sh to run libm tests.
11774 * elf/dl-open.c (dl_open_worker): memset all of seen array.
11776 2013-04-06 Marko Myllynen <myllynen@redhat.com>
11779 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11781 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11783 * Makefile.in (regen-ulps): New target.
11784 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11785 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11786 [ifneq (no,$(PERL)] (regen-ulps): New target.
11787 [ifeq (no,$(PERL)] (regen-ulps): New target.
11788 * math/libm-test.inc (ulps_file_name): Define.
11789 (output_dir): New variable.
11790 (options): Add "output-dir" option.
11791 (parse_opt): Handle 'o' case.
11792 (main): If output_dir is non-NULL use it as a prefix
11794 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11796 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11798 [BZ #10060, #10062]
11799 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11800 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11801 fail configure if __sync_val_compare_and_swap is not inlined.
11802 * sysdeps/i386/configure: Regenerate.
11803 * configure.in: Build for i686 when configured for i386.
11804 * configure: Regenerate.
11805 * README: Remove i386 reference.
11807 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11809 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11810 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11812 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
11814 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11815 (lmsnanval): New variables.
11816 (F): Add conversion tests.
11817 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11818 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11820 * stdio-common/tstdiomisc.c (F): Properly collect individual
11823 [BZ #14686, #15336]
11824 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11825 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11826 Instead, use input NaN values or generate a qNaN by arithmetic
11827 operation. Also fix bugs to comply with the standard.
11828 * math/libm-test.inc (remainder_test): Add more tests.
11830 [BZ #15335, #15342]
11831 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11832 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11833 input NaN values or generate a qNaN by arithmetic operation.
11835 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11838 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11841 2013-04-03 Joseph Myers <joseph@codesourcery.com>
11844 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11845 underflowed result.
11846 * math/s_cexpf.c (__cexpf): Likewise.
11847 * math/s_cexpl.c (__cexpl): Likewise.
11848 * math/libm-test.inc (cexp_test): Add more tests.
11850 2013-04-03 Andreas Schwab <schwab@suse.de>
11853 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11854 order arrays from heap if bigger than alloca cutoff.
11856 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
11858 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11859 (SNAN_TESTS_double): Refer to GCC PR56831.
11860 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11863 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11865 * Rules (bench): Move bench.out after the run is complete.
11867 * Rules (bench): Echo currently running benchmark.
11869 * benchtests/Makefile (bench): Add atan and slowatan.
11870 * benchtests/atan-inputs: New file.
11871 * benchtests/slowatan-inputs: New file.
11872 * benchtests/slowatan.c: New file.
11874 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11875 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11879 * sysdeps/unix/sysv/linux/kernel-features.h
11880 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11881 __ASSUME_XFS_RESTRICTED_CHOWN.
11882 * sysdeps/unix/sysv/linux/pathconf.c
11883 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11884 Save and restore errno.
11886 2013-04-02 Joseph Myers <joseph@codesourcery.com>
11889 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11890 arguments using __kernel_casinh.
11891 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11892 arguments using __kernel_casinhf.
11893 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11894 arguments using __kernel_casinhl.
11895 * math/libm-test.inc (cacosh_test): Add more tests.
11896 * sysdeps/i386/fpu/libm-test-ulps: Update.
11897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11899 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11901 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11902 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11904 * bench/Makefile (bench): Add sin and slowsin.
11905 * benchtests/sin-inputs: New file.
11906 * benchtests/slowsin-inputs: New file.
11907 * benchtests/slowsin.c: New file.
11909 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11910 (bench): Add slowexp and slowpow.
11911 (exp-ITER): Increase iterations.
11912 (pow-ITER): Likewise.
11913 * benchtests/exp-inputs: Change input.
11914 * benchtests/pow-inputs: Likewise.
11915 * benchtests/slowexp-inputs: New file.
11916 * benchtests/slowexp.c: New file.
11917 * benchtests/slowpow-inputs: New file.
11918 * benchtests/slowpow.c: New file.
11920 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11922 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11924 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11925 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11926 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11927 * benchtests/Makefile: Add rint benchtest.
11928 * benchtests/rint-inputs: Input for rint benchtest.
11930 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
11932 * Versions.def (libm): Add GLIBC_2.18.
11933 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11934 hidden libm prototypes.
11935 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11936 * math/Makefile (libm-calls): Add s_issignaling.
11937 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11938 __issignalingf, __issignalingl. Adjust all libm.abilist files.
11939 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11941 * math/math.h [__USE_GNU] (issignaling): New macro.
11942 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11943 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11944 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11945 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11946 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11947 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11948 * manual/arith.texi (issignaling): New section.
11949 * manual/libm-err-tab.pl (@all_functions): Update comment.
11950 * math/gen-libm-test.pl (parse_args): Apply special handling for
11952 * math/libm-test.inc (print_float, issignaling_test): New
11954 (check_float_internal): Add issignaling checks.
11955 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11956 default definition.
11957 * sysdeps/powerpc/math-tests.h: New file.
11958 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11960 * math/test-snan.c (TEST_FUNC): Likewise.
11962 2013-03-30 David S. Miller <davem@davemloft.net>
11964 * po/de.po: Update from translation team.
11966 2013-03-30 Joseph Myers <joseph@codesourcery.com>
11969 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11970 imaginary part less than 1.0 and real part less than 0.5
11972 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11973 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11974 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11975 (cacos_test): Add more tests.
11976 (casin_test): Likewise.
11977 (casinh_test): Likewise.
11978 * sysdeps/i386/fpu/libm-test-ulps: Update.
11979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11981 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11983 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11984 ONE with its value.
11986 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11987 (__pow_mp): Replace ONE and MONE with their values.
11988 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11989 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11990 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11991 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11992 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11993 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11995 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11997 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11998 (__pow_mp): Replace ZERO and MZERO with their values.
11999 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12000 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12001 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12002 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12003 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12004 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
12007 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
12009 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
12011 2013-03-28 Roland McGrath <roland@hack.frob.com>
12013 * include/stdlib.h [!SHARED] (__call_tls_dtors):
12014 Declare with __attribute__ ((weak)).
12015 * stdlib/exit.c (__libc_atexit) [!SHARED]:
12016 Call __call_tls_dtors only if it's not NULL.
12018 2013-03-28 Roland McGrath <roland@hack.frob.com>
12020 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
12021 didn't do it already, then set _dl_phdr and _dl_phnum based on the
12022 magic __ehdr_start linker symbol if it's defined.
12023 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
12024 them up here if it was already done.
12026 * elf/dl-support.c (_dl_phdr): Make pointer to const.
12027 (_dl_aux_init): Use const in cast when setting it.
12028 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
12029 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
12030 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
12032 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
12034 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
12035 * csu/libc-tls.c: Nor here.
12036 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
12038 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
12039 (__libc_message): Never call vsyslog.
12041 2013-03-28 Alan Modra <amodra@gmail.com>
12043 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12045 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12048 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12051 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12053 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12055 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12058 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12059 Don't add gid passed as argument.
12061 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12063 2013-03-27 Joseph Myers <joseph@codesourcery.com>
12066 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12067 imaginary part between 1.0 and 1.5 and real part less than 0.5
12069 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12070 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12071 * math/libm-test.inc (cacos_test): Add more tests.
12072 (casin_test): Likewise.
12073 (casinh_test): Likewise.
12074 * sysdeps/i386/fpu/libm-test-ulps: Update.
12075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12077 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12079 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12082 (denorm): Likewise.
12083 (__dbl_mp): Likewise.
12084 (add_magnitudes): Likewise.
12085 (sub_magnitudes): Likewise.
12093 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
12095 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
12096 (__dubcos): Likewise.
12097 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
12098 (__ieee754_acos): Likewise.
12099 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12100 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
12101 (__exp1): Likewise.
12102 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12103 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12105 (my_log2): Likewise.
12106 (checkint): Likewise.
12107 * sysdeps/ieee754/dbl-64/e_remainder.c
12108 (__ieee754_remainder): Likewise.
12109 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12110 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12111 (bsloww): Likewise.
12112 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12114 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12115 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
12116 MANTISSA_STORE_T to store computations on mantissa. Use
12117 macros for rounding and division.
12118 (denorm): Likewise.
12119 (__dbl_mp): Likewise.
12120 (add_magnitudes): Likewise.
12121 (sub_magnitudes): Likewise.
12124 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12125 powers of two in terms of TWOPOW macro.
12126 (mp_no): Make type of mantissa as MANTISSA_T.
12127 [!RADIXI]: Define RADIXI.
12128 [!TWO52]: Define TWO52.
12129 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12131 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12133 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
12134 llroundl symbol when building for PPC32.
12136 2013-03-24 Mark H Weaver <mhw@netris.org>
12138 * manual/arith.texi (Normalization Functions): Fix prototypes for
12139 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
12141 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12144 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
12145 high value to check if expl overflow.
12146 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
12147 to check for underflow and overflow.
12148 * math/libm-test.inc: Add exp test.
12150 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
12153 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
12156 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12158 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
12161 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
12163 * math/gen-libm-test.pl (parse_args, special_functions): Properly
12164 wrap blocks consisting of several statements.
12166 * sysdeps/generic/math-tests.h: New file.
12167 * sysdeps/i386/fpu/math-tests.h: Likewise.
12168 * math/test-snan.c: Include it.
12169 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
12171 2013-03-21 Joseph Myers <joseph@codesourcery.com>
12174 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
12175 (__ieee754_j0l): Do not improve calculations using cos of twice
12176 input for inputs above LDBL_MAX / 2.0L.
12177 (__ieee754_y0l): Likewise.
12178 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
12179 (__ieee754_j1l): Do not improve calculations using cos of twice
12180 input for inputs above LDBL_MAX / 2.0L.
12181 (__ieee754_y1l): Likewise.
12182 * math/libm-test.inc (j0_test): Add another test.
12183 (j1_test): Likewise.
12184 (y0_test): Likewise.
12185 (y1_test): Likewise.
12186 * sysdeps/i386/fpu/libm-test-ulps: Update.
12188 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12190 * Rules ($(objpfx)bench-%.c): Include code from a C source
12193 2013-03-21 Joseph Myers <joseph@codesourcery.com>
12196 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12197 imaginary part 1.0 and real part less than 0.5 specially.
12198 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12199 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12200 * math/libm-test.inc (cacos_test): Add more tests.
12201 (casin_test): Likewise.
12202 (casinh_test): Likewise.
12203 * sysdeps/i386/fpu/libm-test-ulps: Update.
12204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12206 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12208 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
12209 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
12211 2013-03-20 Joseph Myers <joseph@codesourcery.com>
12213 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
12214 * config.make.in (config-cflags-sse4): Remove variable.
12215 (config-cflags-avx): Likewise.
12216 (config-cflags-sse2avx): Likewise.
12217 (config-cflags-novzeroupper): Likewise.
12218 (config-asflags-i686): Likewise.
12219 (have-mfma4): Likewise.
12220 (have-as-vis3): Likewise.
12222 * configure.in (MIG): Do not AC_SUBST.
12223 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
12224 (libc_cv_cc_sse4): Do not AC_SUBST.
12225 (libc_cv_cc_avx): Likewise.
12226 (libc_cv_cc_sse2avx): Likewise.
12227 (libc_cv_cc_novzeroupper): Likewise.
12228 (libc_cv_cc_fma4): Likewise.
12229 (libc_cv_as_i686): Likewise.
12230 (libc_cv_sparc_as_vis3): Likewise.
12231 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
12233 (config-asflags-i686): Likewise.
12234 (config-cflags-avx): Likewise.
12235 (config-cflags-sse2avx): Likewise.
12236 (have-mfma4): Likewise.
12237 (config-cflags-novzeroupper): Likewise.
12238 * sysdeps/mach/configure.in (MIG): Likewise.
12239 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
12240 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
12242 (config-cflags-avx): Likewise.
12243 (config-cflags-sse2avx): Likewise.
12244 (have-mfma4): Likewise.
12245 (config-cflags-novzeroupper): Likewise.
12246 * configure: Regenerated.
12247 * sysdeps/i386/configure: Likewise.
12248 * sysdeps/mach/configure: Likewise.
12249 * sysdeps/sparc/configure: Likewise.
12250 * sysdeps/x86_64/configure: Likewise.
12252 2013-03-20 Roland McGrath <roland@hack.frob.com>
12255 * locale/programs/localedef.c (options): Put N_ translation marker
12256 on argument names, not just descriptions.
12258 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12260 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
12262 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
12265 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
12267 2013-03-19 Roland McGrath <roland@hack.frob.com>
12269 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
12270 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
12271 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
12272 [!BEFORE_ABORT] (before_abort): New function.
12273 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
12274 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
12275 (writev_for_fatal): New function.
12276 (WRITEV_FOR_FATAL): New macro; call that.
12277 (backtrace_and_maps): New function.
12278 (BEFORE_ABORT): New macro; call that.
12279 (struct str_list): Type removed.
12280 (__libc_message, __libc_fatal): Functions removed.
12281 Include <sysdeps/posix/libc_fatal.c> instead.
12283 2013-03-19 Joseph Myers <joseph@codesourcery.com>
12285 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
12287 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
12290 2013-03-19 Andreas Schwab <schwab@suse.de>
12292 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
12293 * sysdeps/gnu/configure: Regenerate.
12295 * configure.in: Substitute libc_cv_rtlddir.
12296 * configure: Regenerate.
12297 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
12298 * Makeconfig (rtlddir, inst_rtlddir): New variables.
12299 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
12300 * elf/Makefile (install-others, CFLAGS-interp.c)
12301 (ldso_install, common-ldd-rewrite): Likewise.
12302 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
12303 $(inst_slibdir)/$(rtld-installed-name).
12304 * scripts/rellns-sh: Add -p option.
12305 * Makerules (make-shlib-link): Use rellns-sh to get relative name
12308 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12310 * manual/nptl.texi: Renamed to ...
12311 * manual/threads.texi: ... this.
12312 * manual/Makefile (chapters): Update.
12314 2013-03-18 Roland McGrath <roland@hack.frob.com>
12317 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
12318 on argument names, not just descriptions.
12319 * malloc/memusagestat.c (options): Likewise.
12320 * nss/getent.c (options): Likewise.
12322 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
12325 * iconv/iconv_prog.c (options): Put N_ translation marker
12326 on argument names, not just descriptions.
12327 * iconv/iconvconfig.c (options): Likewise.
12329 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
12331 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
12332 implementation which is faster on all x86_64 architectures.
12333 Tested on AMD, Intel Nehalem, SNB, IVB.
12334 * sysdeps/x86_64/strnlen.S: Likewise.
12336 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12337 Remove all multiarch strlen and strnlen versions.
12338 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12339 Remove strlen and strnlen related parts.
12341 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
12342 Inline strlen part.
12343 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12345 * sysdeps/x86_64/multiarch/strlen.S: Remove.
12346 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
12347 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
12348 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
12349 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12350 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
12352 2013-03-17 Carlos O'Donell <carlos@redhat.com>
12354 * manual/memory.texi (Malloc Tunable Parameters):
12355 Sort parameters alphabetically. Add comments for missing entries.
12357 2013-03-17 David S. Miller <davem@davemloft.net>
12359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12361 2013-03-16 Joseph Myers <joseph@codesourcery.com>
12364 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
12365 for arguments at most half maximum finite value.
12366 * math/libm-test.inc (j0_test): Add more tests.
12367 (j1_test): Likewise.
12368 (y0_test): Likewise.
12369 (y1_test): Likewise.
12370 * sysdeps/i386/fpu/libm-test-ulps: Update.
12371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12374 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
12375 1 / x and functions P and Q for arguments above 0x1p256L.
12376 (__ieee754_y0l): Likewise.
12377 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12378 (__ieee754_y1l): Likewise.
12379 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
12380 (j1_test): Likewise.
12381 (y0_test): Likewise.
12382 (y1_test): Likewise.
12384 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
12386 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
12389 2013-03-15 Roland McGrath <roland@hack.frob.com>
12391 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
12392 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
12393 zero since it's initialized to EXEC_PAGESIZE.
12395 * sysdeps/unix/sysv/linux/ldsodefs.h
12396 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
12397 * sysdeps/generic/ldsodefs.h: ... here.
12399 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
12401 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
12403 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
12405 * math/test-snan.c: Renamed from
12406 sysdeps/powerpc/fpu/test-powerpc-snan.c.
12407 * math/Makefile (tests): Add test-snan.
12408 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
12411 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
12412 SUFFIX. Initialize qNaN_var with __builtin_nan family of
12414 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
12415 __builtin_nan family of functions.
12416 * math/libm-test.inc (initialize): Initialize qnan_value with
12417 __builtin_nan family of functions.
12418 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
12420 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
12422 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
12423 storage class. Initialize qNaN_var and sNaN_var with
12424 __builtin_nan and __builtin_nans families of functions,
12427 * math/libm-test.inc (acosh_test): Also test with qNaN input.
12428 (sqrt_test): Remove duplicate test with qNaN input.
12429 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
12430 (round_test, signbit_test, significand_test): Note missing +/-Inf
12431 as well as qNaN tests.
12433 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
12434 qNaN_var. Fix a few strings, too.
12435 * math/libm-test.inc (nan_value): Rename to qnan_value.
12436 * math/gen-libm-test.pl (%beautify): Adjust to that.
12437 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
12438 * math/test-misc.c (main): Likewise.
12439 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
12440 to __qnan_bytes, and __qnan_union, respectively.
12441 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
12443 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
12444 and lqnanval, respectively.
12445 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
12446 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
12447 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
12448 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
12450 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
12451 * math/test-misc.c (main) [__x86_64__]: Enable test for long
12454 * math/test-misc.c (main): Fix copy'n'pastos.
12455 * misc/tst-efgcvt.c (special): Likewise.
12457 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
12458 Remove declarations.
12460 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12462 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
12463 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
12464 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
12465 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
12467 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12469 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
12470 macro to return vdso values correctly in IFUNC implementations.
12471 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12472 Optimization by using IFUNC.
12474 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12475 Richard Henderson <rth@redhat.com>
12476 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12478 * Makefile.in (bench): New target.
12479 * NEWS: Mention the benchmark framework.
12480 * Rules (bench): Likewise.
12481 (binaries-bench): Generate binaries for functions to
12483 * benchtests/Makefile: New makefile for benchmark tests.
12484 * benchtests/bench-skeleton.c: New skeleton file for benchmark
12486 * benchtests/exp-inputs: New input file for EXP function.
12487 * benchtests/pow-inputs: New input file for POW function.
12488 * scripts/bench.pl: New script to generate source files for
12489 benchmark programs.
12491 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12493 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12494 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
12495 computations on mantissa. Use macros for rounding and
12497 (denorm): Likewise.
12498 (__dbl_mp): Likewise.
12499 (add_magnitudes): Likewise.
12500 (sub_magnitudes): Likewise.
12503 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12504 powers of two in terms of TWOPOW macro.
12505 (mp_no): Make type of mantissa as MANTISSA_T.
12506 [!RADIXI]: Define RADIXI.
12507 [!TWO52]: Define TWO52.
12508 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12510 * manual/nptl.texi (cindex): Modify threads to pthreads.
12512 2013-03-15 Joseph Myers <joseph@codesourcery.com>
12514 * sysdeps/x86_64/preconfigure: Regenerated.
12516 2013-03-14 Joseph Myers <joseph@codesourcery.com>
12519 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
12521 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
12522 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
12524 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
12525 * math/libm-test.inc (j0_test): Do not allow one spurious
12526 underflow exception.
12527 (y1_test): Likewise.
12529 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12531 * manual/Makefile (chapters): Add nptl.
12532 * manual/debug.texi (Debugging Support): Add link to Threads
12534 * manual/nptl.texi: New file.
12536 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
12538 2013-03-14 Petr Baudis <pasky@ucw.cz>
12540 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
12541 for non-NULL pointer before the memory validity test. Pointed
12542 out by Holger Brunck <holger.brunck@keymile.com>.
12544 2013-03-13 Andreas Schwab <schwab@suse.de>
12546 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
12549 2013-03-13 Joseph Myers <joseph@codesourcery.com>
12551 * timezone/zic.c: Update from tzcode 2013b.
12553 2013-03-12 Carlos O'Donell <carlos@redhat.com>
12555 * manual/install.texi (Configuring and compiling):
12556 Mention i686 and i586.
12557 * INSTALL: Regenerate.
12559 2013-03-12 Roland McGrath <roland@hack.frob.com>
12561 * sysdeps/init_array/elf-init.c: New file.
12563 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
12564 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
12566 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
12567 __gmon_start__ as global, but as static with a .preinit_array pointer.
12568 * sysdeps/init_array/gmon-start.c: New file. Use that.
12569 * sysdeps/init_array/crti.S: New file, empty except for comments.
12570 * sysdeps/init_array/crtn.S: Likewise.
12572 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
12574 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
12576 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12577 Remove Prefer_SSE_for_memop.
12578 * sysdeps/x86_64/multiarch/init-arch.h: Remove
12579 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
12580 HAS_PREFER_SSE_FOR_MEMOP.
12581 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12583 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12584 Remove bzero, memset ifunc support.
12585 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
12586 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
12587 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12588 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12590 2013-03-11 Andreas Schwab <schwab@suse.de>
12593 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
12595 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
12596 (GLIBC_2.16): Remove pthread_atfork.
12598 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
12600 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
12601 (ptestcases.h): Likewise.
12603 2013-03-08 Roland McGrath <roland@hack.frob.com>
12605 * Makeconfig ($(common-objpfx)config.status): Depend on
12606 sysdeps/*/preconfigure{,.in} too.
12608 2013-03-08 Joseph Myers <joseph@codesourcery.com>
12610 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
12611 (__free_hook): Use void * instead of __malloc_ptr_t.
12612 (__malloc_hook): Likewise.
12613 (__realloc_hook): Likewise.
12614 (__memalign_hook): Likewise.
12615 (__after_morecore_hook): Likewise.
12616 * malloc/arena.c (save_malloc_hook): Likewise.
12617 (save_free_hook): Likewise.
12618 * malloc/hooks.c (malloc_hook_ini): Likewise.
12619 (realloc_hook_ini): Likewise.
12620 (memalign_hook_ini): Likewise.
12621 * malloc/malloc.c (malloc_hook_ini): Likewise.
12622 (realloc_hook_ini): Likewise.
12623 (memalign_hook_ini): Likewise.
12624 (__free_hook): Likewise.
12625 (__malloc_hook): Likewise.
12626 (__realloc_hook): Likewise.
12627 (__memalign_hook): Likewise.
12628 (__libc_malloc): Likewise.
12629 (__libc_free): Likewise.
12630 (__libc_realloc): Likewise.
12631 (__libc_memalign): Likewise.
12632 (__libc_valloc): Likewise.
12633 (__libc_pvalloc): Likewise.
12634 (__libc_calloc): Likewise.
12635 (__posix_memalign): Likewise.
12636 * malloc/morecore.c (__sbrk): Likewise.
12637 (__default_morecore): Likewise.
12639 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
12641 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
12642 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
12643 __malloc_ptrdiff_t.
12645 * malloc/malloc.h (__malloc_size_t): Remove macro.
12646 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
12648 (old_memalign_hook): Likewise.
12649 (old_realloc_hook): Likewise.
12650 (struct hdr): Likewise.
12652 (mallochook): Likewise.
12653 (memalignhook): Likewise.
12654 (reallochook): Likewise.
12655 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
12656 (tr_old_realloc_hook): Likewise.
12657 (tr_old_memalign_hook): Likewise.
12658 (tr_mallochook): Likewise.
12659 (tr_reallochook): Likewise.
12660 (tr_memalignhook): Likewise.
12662 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12664 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
12665 default_ldbl_pack and using as default implementation.
12666 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
12668 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
12669 redundant definition.
12670 (ldbl_insert_mantissa): Likewise.
12671 (ldbl_canonicalize): Likewise.
12672 (ldbl_nearbyint): Likewise.
12673 (ldbl_pack): Rename to ldbl_pack_ppc.
12674 (ldbl_unpack): Rename to ldbl_unpack_ppc.
12675 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
12676 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
12678 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12680 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
12681 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
12682 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
12683 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
12684 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
12685 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
12686 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
12687 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
12689 2013-03-07 Andreas Jaeger <aj@suse.de>
12691 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12694 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12696 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
12697 Include mpa.h and declare __MPEXP.
12698 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
12699 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12700 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12701 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
12702 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12703 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12704 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
12706 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
12707 (__slowpow): Use long double EXPL and LOGL functions to
12709 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12710 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12711 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
12712 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12713 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12714 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
12716 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
12717 intermediate variable to calculate exponent.
12719 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12723 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
12724 [!NO__SQR]: Define __sqr.
12725 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
12726 and NO__SQR. Remove all code except __mul and __sqr. Include
12727 sysdeps/ieee754/dbl-64/mpa.c.
12728 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12731 * posix/Makefile (tests): Add tst-pathconf.
12732 * posix/tst-pathconf.c: New test case.
12733 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12735 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
12737 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
12739 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
12741 2013-03-06 Andreas Jaeger <aj@suse.de>
12743 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
12744 definition via __MAP_ANONYMOUS.
12746 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12747 it's not part of Linux headers.
12749 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12750 (MAP_HUGE_MASK): Define.
12752 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12754 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12755 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12757 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12758 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12760 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12761 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12763 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12765 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12766 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12767 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12768 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12769 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12770 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12772 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12775 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12776 Handle f2fs and efivarfs.
12778 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12781 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12782 (EFIVARFS_MAGIC): Add.
12783 (F2FS_LINK_MAX): Add.
12785 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12787 * stdio-common/vfprintf.c: Replace __builtin_expect with
12790 2013-03-06 Joseph Myers <joseph@codesourcery.com>
12793 * sysdeps/generic/bp-sym.h: Remove file.
12794 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12795 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12796 <bp-sym.h> and <bp-asm.h>.
12797 (__longjmp): Don't use BP_SYM.
12798 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12800 (memcpy): Don't use BP_SYM.
12801 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12802 <bp-sym.h> and <bp-asm.h>.
12803 (memcpy): Don't use BP_SYM.
12804 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12806 (memcpy): Don't use BP_SYM.
12807 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12809 (memset): Don't use BP_SYM.
12810 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12811 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12812 (__bzero): Don't use BP_SYM.
12813 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12814 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12815 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12816 <bp-sym.h> and <bp-asm.h>.
12817 (memcmp): Don't use BP_SYM. Remove comment about bounded
12819 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12820 <bp-sym.h> and <bp-asm.h>.
12821 (memcpy): Don't use BP_SYM.
12822 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12823 <bp-sym.h> and <bp-asm.h>.
12824 (memset): Don't use BP_SYM.
12825 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12826 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12827 (__bzero): Don't use BP_SYM.
12828 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12829 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12830 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12831 <bp-sym.h> and <bp-asm.h>.
12832 (strncmp): Don't use BP_SYM. Remove comment about bounded
12834 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12835 <bp-sym.h> and <bp-asm.h>.
12836 (memcpy): Don't use BP_SYM.
12837 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12838 <bp-sym.h> and <bp-asm.h>.
12839 (memset): Don't use BP_SYM.
12840 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12841 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12842 (__bzero): Don't use BP_SYM.
12843 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12844 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12845 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12846 <bp-sym.h> and <bp-asm.h>.
12847 (__memchr): Don't use BP_SYM.
12848 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12849 <bp-sym.h> and <bp-asm.h>.
12850 (memcmp): Don't use BP_SYM. Remove comment about bounded
12852 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12853 <bp-sym.h> and <bp-asm.h>.
12854 (memcpy): Don't use BP_SYM.
12855 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12856 <bp-sym.h> and <bp-asm.h>.
12857 (__mempcpy): Don't use BP_SYM.
12858 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12859 <bp-sym.h> and <bp-asm.h>.
12860 (__memrchr): Don't use BP_SYM.
12861 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12862 <bp-sym.h> and <bp-asm.h>.
12863 (memset): Don't use BP_SYM.
12864 (__bzero): Likewise.
12865 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12866 <bp-sym.h> and <bp-asm.h>.
12867 (__rawmemchr): Don't use BP_SYM.
12868 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12869 <bp-sym.h> and <bp-asm.h>.
12870 (__STRCMP): Don't use BP_SYM.
12871 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12872 <bp-sym.h> and <bp-asm.h>.
12873 (strchr): Don't use BP_SYM.
12874 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12875 <bp-sym.h> and <bp-asm.h>.
12876 (__strchrnul): Don't use BP_SYM.
12877 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12878 <bp-sym.h> and <bp-asm.h>.
12879 (strlen): Don't use BP_SYM.
12880 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12881 <bp-sym.h> and <bp-asm.h>.
12882 (strncmp): Don't use BP_SYM. Remove comment about bounded
12884 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12885 <bp-sym.h> and <bp-asm.h>.
12886 (__strnlen): Don't use BP_SYM.
12887 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12888 <bp-sym.h> and <bp-asm.h>.
12889 (__GI__setjmp): Don't use BP_SYM.
12890 (_setjmp): Likewise.
12891 (__sigsetjmp): Likewise.
12892 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12893 (L(start_addresses)): Don't use BP_SYM.
12894 (_start): Likewise.
12895 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12897 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12898 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12899 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12900 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12901 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12903 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12904 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
12905 about bounded pointers.
12906 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12907 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12908 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12910 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12911 about bounded pointers. Remove GKM FIXME comments.
12912 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12913 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12915 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12916 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
12917 Remove GKM FIXME comments.
12918 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12919 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12920 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12922 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12923 about bounded pointers. Remove GKM FIXME comment.
12924 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12926 (strncmp): Don't use BP_SYM. Remove comment about bounded
12928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12929 <bp-sym.h> and <bp-asm.h>.
12930 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12932 <bp-sym.h> and <bp-asm.h>.
12933 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12936 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12938 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12941 2013-03-05 David S. Miller <davem@davemloft.net>
12943 * po/es.po: Update from translation team.
12945 2013-03-05 Andreas Jaeger <aj@suse.de>
12947 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12948 <bits/mman-linux.h>.
12949 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12951 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12952 <bits/mman-linux.h> to end of file.
12953 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12955 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12956 <bits/mman-linux.h> to end of file.
12957 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12959 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12960 <bits/mman-linux.h> to end of file.
12962 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12963 (MCL_CURRENT, MCL_FUTURE): Define here.
12965 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12968 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12970 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12972 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12974 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12975 fourth parameter needed for rt_sigprocmask syscall.
12976 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12977 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12978 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12979 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12980 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12981 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12983 2013-03-04 Joseph Myers <joseph@codesourcery.com>
12986 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12987 comment about bounded pointers.
12988 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12989 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12991 2013-03-04 Andreas Jaeger <aj@suse.de>
12993 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12994 common definitions.
12996 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12997 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12998 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12999 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13000 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13001 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13003 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13006 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13007 __ieee754_sqrl instead of __sqrl.
13009 2013-03-01 Joseph Myers <joseph@codesourcery.com>
13011 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
13012 * sysdeps/powerpc/fpu_control.h: ... here.
13013 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
13014 * sysdeps/powerpc/bits/fenvinline.h: ... here.
13015 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
13016 * sysdeps/powerpc/bits/mathinline.h: ... here.
13018 2013-03-01 Roland McGrath <roland@hack.frob.com>
13020 * elf/dl-hwcaps.c (_dl_important_hwcaps):
13021 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
13022 to just [NEED_DL_SYSINFO_DSO].
13023 * elf/dl-support.c: Likewise.
13024 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13025 * elf/rtld.c (dl_main): Likewise.
13026 * elf/setup-vdso.h (setup_vdso): Likewise.
13027 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
13028 * sysdeps/unix/sysv/linux/dl-sysdep.c
13029 (_dl_discover_osversion): Likewise.
13031 2013-03-01 Carlos O'Donell <carlos@redhat.com>
13033 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
13034 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13036 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13038 * NEWS: Mention libm performance improvements and non-x86 PI
13041 * csu/libc-start.c (__pthread_initialize_minimal): Change
13042 function arguments.
13043 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13045 2013-02-28 Joseph Myers <joseph@codesourcery.com>
13048 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
13049 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
13050 <bp-sym.h> and <bp-asm.h>.
13051 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13052 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13054 (memcpy): Don't use BP_SYM.
13055 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13057 (__mpn_add_n): Don't use BP_SYM.
13058 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13059 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13061 (__mpn_addmul_1): Don't use BP_SYM.
13062 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13063 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13065 (_setjmp): Don't use BP_SYM.
13066 (__novmx_setjmp): Likewise.
13067 (__GI__setjmp): Likewise.
13068 (__vmx_setjmp): Likewise.
13069 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13071 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13072 (__bzero): Don't use BP_SYM.
13073 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13074 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13075 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13076 <bp-sym.h> and <bp-asm.h>.
13077 (memcpy): Don't use BP_SYM.
13078 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
13079 <bp-sym.h> and <bp-asm.h>.
13080 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13081 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
13082 <bp-sym.h> and <bp-asm.h>.
13083 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13084 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
13086 (__mpn_lshift): Don't use BP_SYM.
13087 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13088 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
13090 (memset): Don't use BP_SYM.
13091 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13092 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13093 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
13095 (__mpn_mul_1): Don't use BP_SYM.
13096 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13097 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
13098 <bp-sym.h> and <bp-asm.h>.
13099 (memcmp): Don't use BP_SYM.
13100 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
13101 <bp-sym.h> and <bp-asm.h>.
13102 (memcpy): Don't use BP_SYM.
13103 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
13104 <bp-sym.h> and <bp-asm.h>.
13105 (memset): Don't use BP_SYM.
13106 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
13107 <bp-sym.h> and <bp-asm.h>.
13108 (strncmp): Don't use BP_SYM.
13109 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
13110 <bp-sym.h> and <bp-asm.h>.
13111 (memcpy): Don't use BP_SYM.
13112 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
13113 <bp-sym.h> and <bp-asm.h>.
13114 (memset): Don't use BP_SYM.
13115 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
13116 <bp-sym.h> and <bp-asm.h>.
13117 (__memchr): Don't use BP_SYM.
13118 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
13119 <bp-sym.h> and <bp-asm.h>.
13120 (memcmp): Don't use BP_SYM.
13121 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
13122 <bp-sym.h> and <bp-asm.h>.
13123 (memcpy): Don't use BP_SYM.
13124 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
13125 <bp-sym.h> and <bp-asm.h>.
13126 (__mempcpy): Don't use BP_SYM.
13127 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
13128 <bp-sym.h> and <bp-asm.h>.
13129 (__memrchr): Don't use BP_SYM.
13130 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
13131 <bp-sym.h> and <bp-asm.h>.
13132 (memset): Don't use BP_SYM.
13133 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
13134 <bp-sym.h> and <bp-asm.h>.
13135 (__rawmemchr): Don't use BP_SYM.
13136 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
13137 <bp-sym.h> and <bp-asm.h>.
13138 (__STRCMP): Don't use BP_SYM.
13139 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
13140 <bp-sym.h> and <bp-asm.h>.
13141 (strchr): Don't use BP_SYM.
13142 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
13143 <bp-sym.h> and <bp-asm.h>.
13144 (__strchrnul): Don't use BP_SYM.
13145 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
13146 <bp-sym.h> and <bp-asm.h>.
13147 (strlen): Don't use BP_SYM.
13148 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
13149 <bp-sym.h> and <bp-asm.h>.
13150 (strncmp): Don't use BP_SYM.
13151 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
13152 <bp-sym.h> and <bp-asm.h>.
13153 (__strnlen): Don't use BP_SYM.
13154 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
13156 (__mpn_rshift): Don't use BP_SYM.
13157 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13158 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
13159 <bp-sym.h> and <bp-asm.h>.
13160 (__sigsetjmp): Don't use BP_SYM.
13161 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
13162 (L(start_addresses)): Don't use BP_SYM.
13163 (_start): Likewise.
13164 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
13166 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
13167 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13168 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13169 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
13171 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
13172 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13173 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13174 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
13176 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13178 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13179 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
13181 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
13183 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13184 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13185 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
13187 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13189 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
13191 (strncmp): Don't use BP_SYM,
13192 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
13194 (__mpn_sub_n): Don't use BP_SYM.
13195 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13196 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
13198 (__mpn_submul_1): Don't use BP_SYM.
13199 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
13201 <bp-sym.h> and <bp-asm.h>.
13202 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
13204 <bp-sym.h> and <bp-asm.h>.
13205 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13208 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13210 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
13211 Use ZK to minimize writes to Z.
13212 (sub_magnitudes): Simplify code a bit.
13213 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
13214 Use ZK to minimize writes to Z.
13215 (sub_magnitudes): Simplify code a bit.
13217 2013-02-27 Roland McGrath <roland@hack.frob.com>
13219 * csu/gmon-start.c: Add special exception to license text.
13221 2013-02-27 Richard Henderson <rth@redhat.com>
13223 * scripts/config.guess: Update from config.git.
13224 * scripts/config.sub: Likewise.
13226 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13228 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
13230 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
13232 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
13234 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
13236 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
13238 2013-02-26 Roland McGrath <roland@hack.frob.com>
13240 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
13241 [$(build-shared = yes].
13243 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13245 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
13246 (__mul): Reduce iterations for calculating mantissa.
13248 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
13250 (__mpranred): Likewise.
13253 * malloc/memusagestat.c (main): Draw graphs for heap and stack
13254 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
13256 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
13258 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
13259 Define __attribute__.
13261 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13263 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
13265 * posix/regex_internal.h (__attribute): Remove.
13266 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
13267 (re_string_context_at): Likewise.
13268 (bitset_not): Use __attribute__ and mark function as possibly
13270 (bitset_merge): Likewise.
13271 (bitset_mask): Likewise.
13272 (re_string_char_size_at): Likewise.
13273 (re_string_wchar_at): Likewise.
13274 (re_string_elem_size_at): Likewise.
13276 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13278 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
13282 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
13286 (denorm): Likewise.
13287 (__dbl_mp): Likewise.
13288 (add_magnitudes): Likewise.
13289 (sub_magnitudes): Likewise.
13293 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
13296 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
13299 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
13302 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
13303 up changes with default code.
13304 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
13307 2013-02-24 Allan McRae <allan@archlinux.org>
13309 * manual/socket.texi (The Internet Namespace): Order menu items
13310 to match that in the file.
13312 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
13313 node listing of the info page menu.
13315 2013-02-21 Joseph Myers <joseph@codesourcery.com>
13318 * sysdeps/i386/bp-asm.h: Remove file.
13319 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13320 (PARMS): Do not use macros from bp-asm.h.
13324 (__mpn_add_n): Do not use BP_SYM
13325 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
13327 (PARMS): Do not use macros from bp-asm.h.
13330 (__mpn_addmul_1): Do not use BP_SYM
13331 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
13333 (PARMS): Do not use macros from bp-asm.h.
13334 (SIGMSK): Likewise.
13335 (_setjmp): Likewise. Do not use BP_SYM.
13336 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
13338 (PARMS): Do not use macros from bp-asm.h.
13339 (SIGMSK): Likewise.
13340 (setjmp): Likewise. Do not use BP_SYM.
13341 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
13343 (PARMS): Do not use macros from bp-asm.h.
13344 (__frexp): Do not use BP_SYM.
13346 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
13348 (PARMS): Do not use macros from bp-asm.h.
13349 (__frexpf): Do not use BP_SYM.
13350 (frexpf): Likewise.
13351 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
13353 (PARMS): Do not use macros from bp-asm.h.
13354 (__frexpl): Do not use BP_SYM.
13355 (frexpl): Likewise.
13356 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
13358 (PARMS): Do not use macros from bp-asm.h.
13359 (__remquo): Do not use BP_SYM.
13360 (remquo): Likewise.
13361 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
13363 (PARMS): Do not use macros from bp-asm.h.
13364 (__remquof): Do not use BP_SYM.
13365 (remquof): Likewise.
13366 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
13368 (PARMS): Do not use macros from bp-asm.h.
13369 (__remquol): Do not use BP_SYM.
13370 (remquol): Likewise.
13371 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
13373 (PARMS): Do not use macros from bp-asm.h.
13376 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
13377 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
13379 (PARMS): Do not use macros from bp-asm.h.
13380 (strlen): Do not use BP_SYM.
13381 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
13383 (PARMS): Do not use macros from bp-asm.h.
13387 (__mpn_add_n): Do not use BP_SYM.
13388 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
13390 (PARMS): Do not use macros from bp-asm.h.
13393 (__mpn_addmul_1): Do not use BP_SYM.
13394 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
13397 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
13399 (PARMS): Do not use macros from bp-asm.h.
13402 (__mpn_lshift): Do not use BP_SYM.
13403 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
13405 (PARMS): Do not use macros from bp-asm.h.
13409 (memcpy): Likewise. Do not use BP_SYM.
13410 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
13411 libc_hidden_def and weak_alias.
13412 (mempcpy): Do not use BP_SYM in weak_alias.
13413 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
13415 (PARMS): Do not use macros from bp-asm.h.
13418 [!BZERO_P] (CHR): Likewise.
13419 (memset): Likewise. Do not use BP_SYM.
13420 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
13422 (PARMS): Do not use macros from bp-asm.h.
13425 (__mpn_mul_1): Do not use BP_SYM.
13426 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
13428 (PARMS): Do not use macros from bp-asm.h.
13431 (__mpn_rshift): Do not use BP_SYM.
13432 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
13434 (PARMS): Do not use macros from bp-asm.h.
13437 (strchr): Likewise. Do not use BP_SYM.
13438 (index): Do not use BP_SYM in weak_alias.
13439 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
13441 (PARMS): Do not use macros from bp-asm.h.
13444 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
13445 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
13447 (PARMS): Do not use macros from bp-asm.h.
13448 (strlen): Do not use BP_SYM.
13449 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
13451 (PARMS): Do not use macros from bp-asm.h.
13455 (__mpn_sub_n): Do not use BP_SYM.
13456 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
13458 (PARMS): Do not use macros from bp-asm.h.
13461 (__mpn_submul_1): Do not use BP_SYM.
13462 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
13464 (PARMS): Do not use macros from bp-asm.h.
13468 (__mpn_add_n): Do not use BP_SYM.
13469 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
13472 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
13474 (PARMS): Do not use macros from bp-asm.h.
13477 (memcmp): Do not use BP_SYM.
13478 (bcmp): Do not use BP_SYM in weak_alias.
13479 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
13481 (PARMS): Do not use macros from bp-asm.h.
13485 (memcpy): Likewise. Do not use BP_SYM.
13486 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
13488 (PARMS): Do not use macros from bp-asm.h.
13492 (memmove): Likewise. Do not use BP_SYM.
13493 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
13495 (PARMS): Do not use macros from bp-asm.h.
13499 (__mempcpy): Likewise. Do not use BP_SYM.
13500 (mempcpy): Do not use BP_SYM in weak_alias.
13501 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
13503 (PARMS): Do not use macros from bp-asm.h.
13506 [!BZERO_P] (CHR): Likewise.
13507 (memset): Likewise. Do not use BP_SYM.
13508 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
13510 (PARMS): Do not use macros from bp-asm.h.
13512 (strcmp): Do not use BP_SYM.
13513 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
13515 (PARMS): Do not use macros from bp-asm.h.
13518 [USE_AS_STRTOK_R] (SAVE): Likewise.
13519 (FUNCTION): Likewise. Do not use BP_SYM.
13520 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
13522 (strtok_r): Likewise.
13523 (__GI___strtok_r): Likewise.
13524 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13525 (PARMS): Do not use macros from bp-asm.h.
13528 (__mpn_lshift): Do not use BP_SYM.
13529 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13530 (PARMS): Do not use macros from bp-asm.h.
13533 (__memchr): Do not use BP_SYM.
13534 (memchr): Do not use BP_SYM in weak_alias.
13535 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13536 (PARMS): Do not use macros from bp-asm.h.
13539 (memcmp): Do not use BP_SYM.
13540 (bcmp): Do not use BP_SYM in weak_alias.
13541 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
13542 (PARMS): Do not use macros from bp-asm.h.
13545 (__mpn_mul_1): Do not use BP_SYM.
13546 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
13548 (PARMS): Do not use macros from bp-asm.h.
13551 (__rawmemchr): Do not use BP_SYM.
13552 (rawmemchr): Do not use BP_SYM in weak_alias.
13553 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13554 (PARMS): Do not use macros from bp-asm.h.
13557 (__mpn_rshift): Do not use BP_SYM.
13558 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13559 (PARMS): Do not use macros from bp-asm.h.
13560 (SIGMSK): Likewise.
13561 (__sigsetjmp): Likewise. Do not use BP_SYM.
13562 * sysdeps/i386/start.S: Do not include "bp-sym.h".
13563 (_start): Do not use BP_SYM.
13564 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
13565 (PARMS): Do not use macros from bp-asm.h.
13568 (__stpcpy): Likewise. Do not use BP_SYM.
13569 (stpcpy): Do not use BP_SYM in weak_alias.
13570 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
13572 (PARMS): Do not use macros from bp-asm.h.
13576 (__stpncpy): Likewise. Do not use BP_SYM.
13577 (stpncpy): Do not use BP_SYM in weak_alias.
13578 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13579 (PARMS): Do not use macros from bp-asm.h.
13582 (strchr): Likewise. Do not use BP_SYM.
13583 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
13585 (PARMS): Do not use macros from bp-asm.h.
13588 (__strchrnul): Likewise. Do not use BP_SYM.
13589 (strchrnul): Do not use BP_SYM in weak_alias.
13590 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
13592 (PARMS): Do not use macros from bp-asm.h.
13594 (strcspn): Do not use BP_SYM.
13595 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
13597 (PARMS): Do not use macros from bp-asm.h.
13600 (strpbrk): Likewise. Do not use BP_SYM.
13601 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
13603 (PARMS): Do not use macros from bp-asm.h.
13606 (strrchr): Likewise. Do not use BP_SYM.
13607 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
13608 (PARMS): Do not use macros from bp-asm.h.
13610 (strspn): Do not use BP_SYM.
13611 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
13612 (PARMS): Do not use macros from bp-asm.h.
13616 (FUNCTION): Likewise. Do not use BP_SYM.
13617 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
13619 (strtok_r): Likewise.
13620 (__GI___strtok_r): Likewise.
13621 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13622 (PARMS): Do not use macros from bp-asm.h.
13626 (__mpn_sub_n): Do not use BP_SYM.
13627 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
13629 (PARMS): Do not use macros from bp-asm.h.
13632 (__mpn_submul_1): Do not use BP_SYM.
13633 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
13635 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
13637 (PARMS): Do not use macros from bp-asm.h.
13642 (__clone): Do not use BP_SYM.
13643 (clone): Do not use BP_SYM in weak_alias.
13644 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
13646 (PARMS): Do not use macros from bp-asm.h.
13648 (__mmap64): Do not use BP_SYM.
13649 (mmap64): Do not use BP_SYM in weak_alias.
13650 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13651 <bp-sym.h> and <bp-asm.h>.
13652 (PARMS): Do not use macros from bp-asm.h.
13653 (__posix_fadvise64_l64): Do not use BP_SYM.
13654 * sysdeps/unix/sysv/linux/i386/semtimedop.S
13655 (PARMS): Do not use macros from bp-asm.h.
13657 (semtimedop): Do not use BP_SYM.
13658 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
13661 2013-02-21 Allan McRae <allan@archlinux.org>
13663 * manual/message.texi (Charset conversion in gettext):
13664 Move @end statement to beginning of line.
13666 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13668 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
13670 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13673 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
13674 (denorm): Likewise.
13675 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
13676 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
13678 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13680 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
13681 tail-call to the resolved function if pltexit isn't needed.
13683 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13685 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
13686 or Y being zero as being unlikely.
13687 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13690 2013-02-20 Carlos O'Donell <carlos@redhat.com>
13692 * manual/nss.texi (System Databases and Name Service Switch):
13693 Remove frobnicate @pxref.
13695 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13697 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13698 __attribute__ ((unused)) to __attribute__ ((__unused__)).
13700 2013-02-20 Petr Machata <pmachata@redhat.com>
13702 * elf/elf.h (R_ARM_TARGET1): New macro.
13703 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
13704 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
13705 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
13706 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
13707 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
13708 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
13709 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
13710 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
13711 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
13712 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
13713 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
13714 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
13715 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
13716 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
13717 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
13718 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
13719 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
13720 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
13721 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
13722 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
13723 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
13724 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
13725 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
13726 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
13727 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
13728 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
13729 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
13730 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
13731 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
13732 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
13733 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
13734 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
13735 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
13736 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
13737 (R_ARM_THM_GOT_BREL12): Likewise.
13738 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
13739 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
13740 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
13741 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
13742 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
13743 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
13744 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
13745 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
13746 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
13748 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13750 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13751 __attribute_used__ to __attribute__ ((unused)).
13753 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13755 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13757 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13758 comment formatting.
13759 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13761 2013-02-19 Joseph Myers <joseph@codesourcery.com>
13764 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13766 (ENTER): Remove both macro definitions.
13768 (CHECK_BOUNDS_LOW): Likewise.
13769 (CHECK_BOUNDS_HIGH): Likewise.
13770 (CHECK_BOUNDS_BOTH): Likewise.
13771 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13772 (RETURN_BOUNDED_POINTER): Likewise.
13773 (RETURN_NULL_BOUNDED_POINTER): Likewise.
13774 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13775 (POP_ERRNO_LOCATION_RETURN): Likewise.
13776 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13777 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13778 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13780 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13781 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13782 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13783 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13784 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13785 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13786 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13787 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13788 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13789 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13790 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13791 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13792 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13793 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13795 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13796 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13798 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13799 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13800 * sysdeps/i386/i586/memset.S (memset): Likewise.
13801 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13802 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13803 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13805 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13806 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13807 Change uses of L(2) to L(out).
13808 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13809 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13810 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13811 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13812 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13814 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13815 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13817 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13818 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13819 (RETURN): Do not use macro LEAVE.
13820 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13821 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13822 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13823 * sysdeps/i386/i686/memset.S (memset): Likewise.
13824 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13825 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13826 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13827 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13829 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13830 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
13831 L(1_2) and L(1_3) into L(1).
13832 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13833 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13834 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13835 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13836 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13837 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13838 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13839 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13840 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13842 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13843 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13844 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13845 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13846 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13847 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13848 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13849 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13850 * sysdeps/i386/strcspn.S (strcspn): Likewise.
13851 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13852 * sysdeps/i386/strrchr.S (strrchr): Likewise.
13853 * sysdeps/i386/strspn.S (strspn): Likewise.
13854 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13856 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13857 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13858 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13859 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
13860 L(1_3) into L(1_1).
13861 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13862 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13863 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13865 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13867 2013-02-19 Jakub Jelinek <jakub@redhat.com>
13869 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13872 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13874 * math/atest-exp.c (exp_mpn): Remove ROUND.
13875 * math/atest-exp2.c (exp_mpn): Likewise.
13876 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13878 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13879 * stdlib/tst-tls-atexit-lib.c: Likewise.
13880 * stdlib/tst-tls-atexit.c: Likewise.
13882 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13884 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13885 and __attribute_alloc_size__.
13887 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13889 * include/programs/xmalloc.h: Change __attribute_alloc_size to
13890 __attribute_alloc_size__.
13891 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13892 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13894 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13896 * include/programs/xmalloc.h: New file.
13897 * catgets/gencat.c: Include it.
13898 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13899 * elf/pldd.c: Likewise.
13900 * iconv/iconv_charmap.c: Likewise.
13901 * iconv/iconvconfig.c: Likewise.
13902 * iconv/strtab.c: Likewise.
13903 * locale/programs/locale.c: Likewise.
13904 * locale/programs/localedef.h: Likewise.
13905 * locale/programs/simple-hash.c: Likewise.
13906 * nscd/nscd.h: Likewise.
13907 * nss/makedb.c: Likewise.
13908 * sysdeps/generic/ldconfig.h: Likewise.
13910 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13912 * Versions.def: Add GLIBC_2.18.
13913 * include/link.h (struct link_map): New member l_tls_dtor_count.
13914 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13915 (__call_tls_dtors): Likewise.
13916 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13917 __cxa_thread_atexit_impl.
13918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13926 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13929 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13931 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13934 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13935 (tests): Add test case tst-tls-atexit.
13936 (modules-names): Add shared library for tst-tls-atexit.
13937 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13938 (GLIBC_PRIVATE): Add __call_tls_dtors.
13939 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13941 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13942 * stdlib/tst-tls-atexit.c: New test case.
13943 * stdlib/tst-tls-atexit-lib.c: New test case.
13945 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13947 * elf/Versions (ld): Add _dl_find_dso_for_object.
13948 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13949 * elf/dl-open.c (_dl_find_dso_for_object): New function.
13950 (dl_open_worker): Use _dl_find_dso_for_object.
13951 * elf/dl-sym.c (do_sym): Likewise.
13952 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13954 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13956 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13957 Syntactic changes only.
13958 (_dl_runtime_profile): Do a tail-call to the resolved function.
13960 2013-02-17 Joseph Myers <joseph@codesourcery.com>
13963 * sysdeps/x86_64/bp-asm.h: Remove file.
13964 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13965 <bp-sym.h> and <bp-asm.h>.
13966 (__clone): Do not use BP_SYM.
13967 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13968 <bp-sym.h> and <bp-asm.h>.
13969 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13970 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13972 (_setjmp): Do not use BP_SYM.
13973 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13975 (setjmp): Do not use BP_SYM.
13976 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13978 (mempcpy): Do not use BP_SYM in weak_alias.
13979 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13981 (strchr): Do not use BP_SYM.
13982 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13984 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13985 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13986 (_start): Do not use BP_SYM.
13987 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13989 (strcat): Do not use BP_SYM.
13990 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13992 (STRCMP): Do not use BP_SYM.
13993 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13995 (STRCPY): Do not use BP_SYM.
13996 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13998 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
14000 (FUNCTION): Do not use BP_SYM.
14001 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
14003 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
14005 2013-02-17 Andreas Jaeger <aj@suse.de>
14007 * time/Versions: Sort entries.
14008 * string/Versions: Likewise.
14009 * resolv/Versions: Likewise.
14010 * posix/Versions: Likewise.
14011 * iconv/Versions: Likewise.
14012 * elf/Versions: Likewise.
14013 * wcsmbs/Versions: Likewise.
14015 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14017 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
14018 loop termination condition.
14020 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
14021 variable to calculate EZ.
14024 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
14025 the lower precision input.
14027 2013-02-15 Joseph Myers <joseph@codesourcery.com>
14030 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
14031 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
14032 (run-via-rtld-prefix): Do not handle %-bp tests.
14033 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
14034 (all-object-suffixes): Remove .ob.
14035 (bppfx): Remove variable.
14036 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
14037 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
14038 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
14039 [$(build-bounded) = yes] (libtype.ob): Likewise.
14040 * Makerules (elide-routines.ob): Remove variable.
14041 (do-tests-clean): Do not handle *-bp.out.
14042 (common-mostlyclean): Do not handle *-bp and *-bp.out.
14043 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
14044 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
14045 (tests): Do not include $(tests-bp.out).
14046 (xtests): Do not include $(xtests-bp.out).
14047 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
14048 [$(build-bounded) = yes] ($(addprefix
14049 $(objpfx),$(binaries-bounded))): Remove rule.
14050 ($(objpfx)%-bp.out): Remove rule.
14051 * config.make.in (build-bounded): Remove variable.
14052 * crypt/Makefile [$(build-bounded) = yes]
14053 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14054 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14055 append to variable.
14056 [$(build-bounded) = yes] (install-lib): Likewise.
14057 [$(build-bounded) = yes] (generated): Likewise.
14058 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14060 * intl/Makefile [$(build-bounded) = yes]
14061 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14062 * math/Makefile [$(build-bounded) = yes]
14063 ($(tests:%=$(objpfx)%-bp): Likewise.
14064 * misc/Makefile [$(build-bounded) = yes]
14065 ($(objpfx)tst-tsearch-bp): Likewise.
14066 * nptl/Makeconfig (bounded-thread-library): Remove variable.
14067 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14069 * string/Makefile (o-objects.ob): Remove variable.
14070 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14071 (CFLAGS-.ob): Remove variable.
14072 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14073 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14074 both definitions of variable.
14075 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14076 (ASFLAGS-.ob): Remove variable.
14078 2013-02-14 Joseph Myers <joseph@codesourcery.com>
14081 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
14082 Remove __BOUNDED_POINTERS__ from condition.
14083 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
14084 * string/bits/string2.h [!__NO_STRING_INLINES &&
14085 !__BOUNDED_POINTERS__]: Likewise.
14086 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
14088 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
14089 Remove conditional code.
14090 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
14091 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
14092 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
14096 * csu/libc-start.c: Do not include <bp-sym.h>.
14097 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
14098 * elf/dl-open.c: Do not include <bp-sym.h>.
14099 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
14100 * math/fegetenv.c: Do not include <bp-sym.h>.
14101 (fegetenv): Do not use BP_SYM in versioned symbols.
14102 * nptl/sysdeps/pthread/bits/libc-lockP.h
14103 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
14105 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14106 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
14107 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14108 (__pthread_mutex_destroy): Likewise.
14109 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14110 (__pthread_mutex_lock): Likewise.
14111 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14112 (__pthread_mutex_trylock): Likewise.
14113 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14114 (__pthread_mutex_unlock): Likewise.
14115 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14116 (__pthread_mutexattr_init): Likewise.
14117 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14118 (__pthread_mutexattr_destroy): Likewise.
14119 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14120 (__pthread_mutexattr_settype): Likewise.
14121 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14122 (__pthread_rwlock_init): Likewise.
14123 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14124 (__pthread_rwlock_destroy): Likewise.
14125 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14126 (__pthread_rwlock_rdlock): Likewise.
14127 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14128 (__pthread_rwlock_tryrdlock): Likewise.
14129 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14130 (__pthread_rwlock_wrlock): Likewise.
14131 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14132 (__pthread_rwlock_trywrlock): Likewise.
14133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14134 (__pthread_rwlock_unlock): Likewise.
14135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14136 (__pthread_key_create): Likewise.
14137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14138 (__pthread_setspecific): Likewise.
14139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14140 (__pthread_getspecific): Likewise.
14141 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
14143 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14144 (_pthread_cleanup_push_defer): Likewise.
14145 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14146 (_pthread_cleanup_pop_restore): Likewise.
14147 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14148 (pthread_setcancelstate): Likewise.
14149 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
14151 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
14152 (memchr): Do not use BP_SYM in weak_alias.
14153 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
14154 (fegetenv): Do not use BP_SYM in versioned symbols.
14155 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
14156 (fesetenv): Do not use BP_SYM in versioned symbols.
14157 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14158 (feupdateenv): Do not use BP_SYM in versioned symbols.
14159 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14160 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14161 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
14162 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
14163 (open64): Do not use BP_SYM in weak_alias.
14164 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
14165 (fegetenv): Do not use BP_SYM in versioned symbols.
14166 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
14167 (fesetenv): Do not use BP_SYM in versioned symbols.
14168 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14169 (feupdateenv): Do not use BP_SYM in versioned symbols.
14170 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
14171 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
14172 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
14173 (feraiseexcept): Do not use BP_SYM in versioned symbols.
14174 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14175 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14176 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
14178 (__libc_start_main): Do not use BP_SYM.
14180 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14182 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
14183 redundant return line.
14185 (denorm): Likewise.
14186 (dbl_mp): Likewise.
14187 (sub_magnitudes): Likewise.
14193 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
14195 (denorm): Likewise.
14196 (dbl_mp): Likewise.
14197 (sub_magnitudes): Likewise.
14204 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
14206 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14207 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
14210 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
14211 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
14212 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
14213 of __mul for squares.
14214 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
14216 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
14218 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
14219 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14221 2013-02-13 Joseph Myers <joseph@codesourcery.com>
14224 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
14226 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
14227 prototype or function definition. Rename ubp_* variables and
14228 parameters. Remove argv definitions conditional on
14229 [__BOUNDED_POINTERS__].
14230 * debug/backtrace.c (__backtrace): Do not use __unbounded.
14231 * elf/dl-runtime.c (_dl_fixup): Likewise.
14232 * include/set-hooks.h (RUN_HOOK): Likewise.
14233 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
14235 * string/strcpy.c (strcpy): Do not use __unbounded.
14236 * sysdeps/generic/frame.h (struct layout): Likewise.
14237 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
14238 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
14239 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
14240 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
14241 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
14242 (__backtrace): Likewise.
14243 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
14245 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14246 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14247 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14249 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
14250 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
14251 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14252 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14253 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
14254 Do not use __unbounded.
14255 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
14256 Rename __unboundedrlimits parameter to rlimits in prototype.
14257 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
14258 Do not use __unbounded.
14259 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
14260 not use __ptrvalue.
14261 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14262 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
14263 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14264 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
14265 __ptrvalue or __unbounded.
14266 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
14267 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
14269 (__new_msgctl): Do not use __ptrvalue.
14270 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
14272 (__libc_msgrcv): Do not use __ptrvalue.
14273 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
14274 startup_info): Do not use __unbounded.
14275 (__libc_start_main): Likewise. Rename ubp_* variables and
14276 parameters. Remove argv definitions conditional on
14277 [__BOUNDED_POINTERS__].
14278 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
14280 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
14282 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
14284 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
14286 (__new_shmctl): Do not use __ptrvalue.
14287 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14288 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14290 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14291 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
14292 (__libc_sigaction): Likewise.
14293 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
14294 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
14296 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14298 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
14300 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
14302 * string/mempcpy.c: Implement by calling memcpy.
14304 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14306 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
14308 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
14311 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
14312 values in the mantissa.
14314 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
14315 minimize writes to Z.
14316 (sub_magnitudes): Simplify code a bit.
14318 2013-02-12 Roland McGrath <roland@hack.frob.com>
14320 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
14321 from the message. The linker prefixes all warnings with that already.
14323 2013-02-12 Andreas Schwab <schwab@suse.de>
14326 * posix/regexec.c (extend_buffers): Add parameter min_len.
14327 (check_matching): Pass minimum needed length.
14328 (clean_state_log_if_needed): Likewise.
14329 (get_subexp): Likewise.
14330 * posix/Makefile (tests): Add bug-regex34.
14331 (bug-regex34-ENV): Define.
14332 * posix/bug-regex34.c: New file.
14335 * posix/regcomp.c (parse_bracket_exp): When looking up collating
14336 elements compare against the byte sequence of it, not its name.
14337 * posix/Makefile (tests): Add bug-regex35.
14338 (bug-regex35-ENV): Define.
14339 * posix/bug-regex35.c: New file.
14341 2013-02-11 Tom de Vries <tom@codesourcery.com>
14343 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
14345 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
14346 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
14347 (CHECK_EOL): Add undef.
14349 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
14351 * bits/stdlib-bsearch.h: New file.
14352 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
14353 * stdlib/stdlib.h: Likewise.
14355 2013-02-11 Roland McGrath <roland@hack.frob.com>
14357 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
14358 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
14360 * manual/search.texi (Array Search Function): Add missing const in
14362 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
14363 declaration to use rlim_t.
14364 (Basic Scheduling Functions): Remove erroneous const from
14365 sched_getparam prototype. Remove erroneous * from
14366 sched_get_priority_max and sched_get_priority_min prototypes.
14367 (Resource Usage): Fix summary @comment on vtimes to refer to
14368 sys/vtimes.h rather than vtimes.h.
14369 Add missing *s in vtimes prototype.
14370 (Limits on Resources): Fix ulimit prototype to return long int.
14371 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
14372 prototypes to use long int rather than double.
14373 (BSD Random): Fix initstate and setstate to use char *, not void *.
14374 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
14375 prototype to make second argument 'struct aiocb64 *const[]'.
14376 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
14377 (Status of AIO Operations): Remove erroneous const in aio_return and
14378 aio_return64 prototypes.
14379 (Synchronizing I/O): Fix sync prototype to return void.
14380 * manual/startup.texi (Suboptions): Remove an erroneous const in
14381 getsubopt prototype.
14382 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
14383 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
14384 use size_t rather than int.
14385 (Scanning All Users): Likewise for getpwent_r.
14386 (Setting Groups): Add missing const to setgroups prototype.
14387 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
14388 * manual/socket.texi (Host Names): Fix gethostbyaddr and
14389 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
14390 'const void *' rather than 'const char *'.
14391 (Host Address Functions): Likewise for inet_ntop.
14392 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
14393 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
14394 ssize_t for return value.
14395 (Sending Data): Likewise for send, sendto, sendmsg.
14396 (Socket Option Functions): Add a missing const in setsockopt prototype.
14397 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
14398 use wchar_t for the argument.
14399 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
14400 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
14402 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
14403 double/float/long double for second argument.
14404 Fix return types of significand, significandf, significandl.
14405 * manual/filesys.texi (Setting Permissions): Use mode_t for second
14406 argument in fchmod prototype.
14407 (File Owner): Use uid_t and gid_t in fchown prototype.
14408 (File Times): Add const to utimes, futimes, and lutimes prototypes.
14409 (Making Special Files): Use mode_t and dev_t in mknod prototype.
14410 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
14411 use 'const struct dirent **' as argument types to CMP function pointer
14413 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
14414 (File Times): Fix summary magic @comment for struct utimbuf and utime
14415 to refer to utime.h, not time.h.
14416 * manual/string.texi (Argz Functions): Add missing const in
14417 argz_extract and argz_next prototypes.
14418 (Finding Tokens in a String): Likewise for basename.
14419 (String/Array Comparison): Fix typo in wcscasecmp prototype.
14420 (Copying and Concatenation): Fix typo in wmemmove prototype.
14421 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
14422 (Signal Stack): Remove erroneous const in sigstack prototype.
14423 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
14425 (Simple Calendar Time): Likewise for stime.
14426 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
14428 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
14429 say sys/sysctl.h instead.
14430 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
14431 and vsyslog prototypes.
14433 2013-02-11 Tom de Vries <tom@codesourcery.com>
14435 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
14438 2013-02-11 Roland McGrath <roland@hack.frob.com>
14440 * misc/sys/mman.h: Fix typo in mremap comment.
14442 2013-02-08 Roland McGrath <roland@hack.frob.com>
14444 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
14445 the '\0' terminator.
14447 2013-02-08 Joseph Myers <joseph@codesourcery.com>
14450 * debug/segfault.c: Don't include <bp-checks.h>.
14451 * sysdeps/generic/bp-checks.h: Remove file.
14452 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
14453 (__GETDENTS): Don't use CHECK_N.
14454 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
14455 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14456 (__getgroups): Don't use CHECK_N.
14457 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
14458 (setgroups): Don't use CHECK_N.
14459 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
14460 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
14461 (__libc_msgrcv): Don't use CHECK_N.
14462 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
14463 (__libc_msgsnd): Don't use CHECK_N.
14464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
14466 (__libc_pread): Don't use CHECK_N.
14467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
14468 include <bp-checks.h>.
14469 (__libc_pread64): Don't use CHECK_N.
14470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
14471 include <bp-checks.h>.
14472 (__libc_pwrite): Don't use CHECK_N.
14473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
14474 include <bp-checks.h>.
14475 (__libc_pwrite64): Don't use CHECK_N.
14476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
14478 (__libc_pread): Don't use CHECK_N.
14479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
14480 include <bp-checks.h>.
14481 (__libc_pread64): Don't use CHECK_N.
14482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
14483 include <bp-checks.h>.
14484 (__libc_pwrite): Don't use CHECK_N.
14485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
14486 include <bp-checks.h>.
14487 (__libc_pwrite64): Don't use CHECK_N.
14488 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
14489 (do_pread): Don't use CHECK_N.
14490 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
14491 (do_pread64): Don't use CHECK_N.
14492 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
14493 (do_pwrite): Don't use CHECK_N.
14494 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
14495 (do_pwrite64): Don't use CHECK_N.
14496 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
14497 (__libc_readv): Don't use CHECK_N.
14498 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
14499 (semop): Don't use CHECK_N.
14500 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
14502 (semtimedop): Don't use CHECK_N.
14503 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
14504 (__libc_pread): Don't use CHECK_N.
14505 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
14507 (__libc_pread64): Don't use CHECK_N.
14508 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
14510 (__libc_pwrite): Don't use CHECK_N.
14511 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
14513 (__libc_pwrite64): Don't use CHECK_N.
14514 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
14516 (__libc_msgrcv): Don't use CHECK_N.
14517 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
14518 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
14519 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
14520 (__libc_writev): Don't use CHECK_N.
14522 2013-02-08 Roland McGrath <roland@hack.frob.com>
14524 * string/strcpy.c: Removed unused variable.
14526 * Makeconfig (+sysdep-includes): Define with := rather than =.
14527 Use an existing include/ subdir of each sysdeps dir before it.
14529 2013-02-08 Carlos O'Donell <carlos@redhat.com>
14531 * nscd/connection.c (register_traced_file): Comment function.
14532 [HAVE_INOTIFY] (union __inev): Define.
14533 [HAVE_INOTIFY] (inotify_check_files): New function.
14534 [HAVE_INOTIFY] (clear_db_cache): Likewise.
14535 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
14537 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
14539 2013-02-08 Carlos O'Donell <carlos@redhat.com>
14541 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
14542 loaded if not already and that a failure is permanent.
14544 2013-02-08 Carlos O'Donell <carlos@redhat.com>
14547 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
14548 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
14550 2013-02-08 Joseph Myers <joseph@codesourcery.com>
14553 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
14554 (CHECK_1_NULL_OK): Likewise.
14555 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
14556 (__fxstat): Do not use CHECK_1.
14557 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
14559 (___fxstat64): Do not use CHECK_1.
14560 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14562 (__fxstatat): Do not use CHECK_1.
14563 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14565 (__fxstatat64): Do not use CHECK_1.
14566 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
14568 (__fxstat): Do not use CHECK_1.
14569 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14571 (__fxstatat): Do not use CHECK_1.
14572 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14574 (__getresgid): Do not use CHECK_1.
14575 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14577 (__getresuid): Do not use CHECK_1.
14578 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
14580 (__lxstat): Do not use CHECK_1.
14581 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14583 (__old_msgctl): Do not use CHECK_1.
14584 (__new_msgctl): Likewise.
14585 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
14587 (__new_setrlimit): Do not use CHECK_1.
14588 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14590 (__old_shmctl): Do not use CHECK_1.
14591 (__new_shmctl): Likewise.
14592 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
14594 (__xstat): Do not use CHECK_1.
14595 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
14596 (__lxstat): Do not use CHECK_1.
14597 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
14599 (___lxstat64): Do not use CHECK_1.
14600 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
14601 (__old_msgctl): Do not use CHECK_1.
14602 (__new_msgctl): Likewise.
14603 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
14605 (__gettimeofday): Do not use CHECK_1.
14606 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
14607 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
14608 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
14610 (__gettimeofday): Do not use CHECK_1.
14611 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
14612 (__old_shmctl): Do not use CHECK_1_NULL_OK.
14613 (__new_shmctl): Do not use CHECK_1.
14614 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
14616 (do_sigtimedwait): Do not use CHECK_1.
14617 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
14619 (do_sigwaitinfo): Do not use CHECK_1.
14620 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
14622 (msgctl): Do not use CHECK_1.
14623 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
14625 (shmctl): Do not use CHECK_1.
14626 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
14627 (ustat): Do not use CHECK_1.
14628 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
14630 (__fxstat): Do not use CHECK_1.
14631 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14633 (__fxstatat): Do not use CHECK_1.
14634 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
14636 (__lxstat): Do not use CHECK_1.
14637 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
14639 (__xstat): Do not use CHECK_1.
14640 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
14641 (__xstat): Do not use CHECK_1.
14642 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
14643 (___xstat64): Do not use CHECK_1.
14646 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
14648 (CHECK_BOUNDS_HIGH): Likewise.
14649 * string/strcpy.c: Do not include <bp-checks.h>.
14650 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
14652 2013-02-07 Roland McGrath <roland@hack.frob.com>
14654 * nscd/nscd-client.h (__nscd_drop_map_ref):
14655 Add __attribute__ ((unused)).
14656 * nis/nss-nisplus.h (niserr2nss): Likewise.
14658 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
14659 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
14661 * csu/libc-tls.c (init_static_tls, init_slotinfo):
14662 Remove inline keyword.
14663 * include/rounding-mode.h (round_away): Likewise.
14664 * libio/wfileops.c (adjust_wide_data): Likewise.
14665 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
14666 (__m128i_strloadu_tolower): Likewise.
14667 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
14668 (__m128i_strloadu_tolower): Likewise.
14669 * time/mktime.c (ydhms_diff): Likewise.
14670 * locale/elem-hash.h (elem_hash): Likewise.
14671 * locale/setlocale.c (setdata): Likewise.
14672 * posix/regex_internal.h (re_string_char_size_at): Likewise.
14673 (re_string_wchar_at): Likewise.
14674 (bitset_not, bitset_merge, bitset_mask): Likewise.
14675 [!(__GNUC__ > 3)] (inline): Remove macro.
14676 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
14677 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
14678 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14679 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
14680 * string/memcmp.c (memcmp_bytes): Likewise.
14681 * locale/programs/locarchive.c (compute_hashval): Likewise.
14682 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
14683 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
14684 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
14685 * nss/getent.c (print_rpc, print_protocols): Likewise.
14686 (print_passwd, print_group, print_aliases): Likewise.
14687 * nis/nss-nisplus.h (niserr2nss): Likewise.
14688 * nscd/connections.c (restart_p): Likewise.
14689 Change return type to bool.
14691 2013-02-05 Roland McGrath <roland@hack.frob.com>
14693 * Makeconfig (all-Depend-files): Add existing
14694 $(sorted-subdirs:=/Depend) files.
14695 (all-subdirs): Remove nss.
14696 * sysdeps/unix/inet/Subdirs: Add it here instead.
14697 * hesiod/Depend: New file.
14699 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
14700 instead of calling alloca.
14702 * io/lseek.c (__lseek): Rename to __libc_lseek.
14703 Define __lseek as an alias.
14705 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
14707 2013-02-04 Carlos O'Donell <carlos@redhat.com>
14709 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
14710 else clause and remove check for non-standard endianness.
14712 2013-02-04 David S. Miller <davem@davemloft.net>
14714 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14716 2013-02-04 Joseph Myers <joseph@codesourcery.com>
14719 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
14720 (__ubp_memchr): Remove prototype.
14721 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
14722 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14723 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
14724 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14725 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
14727 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
14728 (__ubp_memchr): Likewise.
14729 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
14730 (__ubp_memchr): Likewise.
14731 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
14732 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
14733 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
14734 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
14736 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14737 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
14738 (__getcwd): Do not use CHECK_STRING.
14739 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14741 (__real_chown): Do not use CHECK_STRING.
14742 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
14744 (fchownat): Do not use CHECK_STRING.
14745 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
14747 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14749 (__lchown): Do not use CHECK_STRING.
14750 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14751 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14752 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14753 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14755 include <bp-checks.h>.
14756 (truncate64): Do not use CHECK_STRING.
14757 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14759 (__real_chown): Do not use CHECK_STRING.
14760 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14762 (__lchown): Do not use CHECK_STRING.
14763 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14765 (__chown): Do not use CHECK_STRING.
14766 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14768 (truncate64): Do not use CHECK_STRING.
14769 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14771 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14772 (__xmknod): Do not use CHECK_STRING.
14773 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14775 (__xmknodat): Do not use CHECK_STRING.
14776 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14777 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14779 2013-02-04 Andreas Schwab <schwab@suse.de>
14782 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14783 * include/netdb.h: Likewise for h_errno.
14784 * elf/tst-stackguard1.c: Include <tls.h>.
14786 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14788 * elf/link.h (struct link_map): Extend the l_addr comment.
14789 * include/link.h (struct link_map): Likewise.
14791 2013-02-01 Joseph Myers <joseph@codesourcery.com>
14794 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14795 (BOUNDED_1): Remove macro.
14796 * debug/backtrace.c: Don't include <bp-checks.h>.
14797 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14798 (__backtrace): Likewise.
14799 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14801 (__backtrace): Don't use BOUNDED_1.
14802 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14804 (__backtrace): Don't use BOUNDED_1.
14805 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14806 (__backtrace): Don't use BOUNDED_1.
14807 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14808 (shmat): Don't use BOUNDED_N.
14810 2013-01-31 Joseph Myers <joseph@codesourcery.com>
14813 * sysdeps/generic/bp-start.h: Remove file.
14814 * csu/libc-start.c: Don't include <bp-start.h>.
14815 (LIBC_START_MAIN): Set up __environ directly instead of using
14816 INIT_ARGV_and_ENVIRON.
14817 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14821 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14823 (CHECK_FCNTL): Likewise.
14824 (CHECK_N_PAGES): Likewise.
14827 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14829 (CHECK_SIGSET_NULL_OK): Likewise.
14830 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14832 (sigpending): Don't use CHECK_SIGSET.
14833 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14835 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14836 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14838 (do_sigsuspend): Don't use CHECK_SIGSET.
14839 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14841 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14842 (do_sigwait): Don't use CHECK_SIGSET.
14843 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14845 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14846 include <bp-checks.h>.
14847 (sigpending): Don't use CHECK_SIGSET.
14848 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14849 include <bp-checks.h>.
14850 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14851 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14853 (sigpending): Don't use CHECK_SIGSET.
14854 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14856 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14859 * sysdeps/generic/bp-semctl.h: Remove file.
14860 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14861 <bp-checks.h> and <bp-semctl.h>.
14862 (__old_semctl): Don't use CHECK_SEMCTL.
14863 (__new_semctl): Likewise.
14864 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14866 (__old_semctl): Don't use CHECK_SEMCTL.
14867 (__new_semctl): Likewise.
14868 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14869 <bp-checks.h> and <bp-semctl.h>.
14870 (__old_semctl): Don't use CHECK_SEMCTL.
14871 (__new_semctl): Likewise.
14872 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14873 <bp-checks.h> and <bp-semctl.h>.
14874 (semctl): Don't use CHECK_SEMCTL.
14877 * Makerules (elide-bp-thunks): Remove variable.
14878 (elide-routines.oS): Don't use $(elide-bp-thunks).
14879 (elide-routines.os): Likewise.
14880 (elide-routines.o): Likewise.
14881 (elide-routines.op): Likewise.
14882 (elide-routines.og): Likewise.
14883 (objects): Don't use $(bp-thunks).
14884 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14886 (common-generated): Do not add s-proto-bp.d.
14887 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14890 Do not generate makefile rules for bounded-pointer thunks.
14891 * sysdeps/generic/bp-thunks.h: Remove file.
14892 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14893 * sysdeps/unix/s-proto-bp.S: Likewise.
14896 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14897 parts of result separately when argument is not close to line from
14898 -i to i and one part of argument is small.
14899 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14900 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14901 * math/libm-test.inc (cacos_test): Add more tests.
14902 (casin_test): Likewise.
14903 (casinh_test): Likewise.
14904 * sysdeps/i386/fpu/libm-test-ulps: Update.
14905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14907 2013-01-31 David S. Miller <davem@davemloft.net>
14909 * po/de.po: Update from translation team.
14911 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
14913 * time/tzfile.c: Include stdint.h for SIZE_MAX.
14915 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
14917 * configure.in (_AC_PROG_CC_C89): New definition.
14918 * configure: Regenerate.
14920 * configure.in (AC_PROG_CPP): New definition.
14921 * configure: Regenerate.
14923 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14925 * debug/tst-backtrace.h: New file.
14926 * debug/tst-backtrace2.c: Include tst-backtrace.h.
14927 (ret): Remove variable.
14929 (FAIL): Remove macro.
14930 (NO_INLINE): Likewise.
14931 (fn1): Use match function instead of strstr.
14932 * debug/tst-backtrace3.c: Include tst-backtrace.h.
14933 (ret): Remove variable.
14935 (FAIL): Remove macro.
14936 (NO_INLINE): Likewise.
14937 (fn): Use match function instead of strstr.
14938 * debug/tst-backtrace4.c: Include tst-backtrace.h.
14939 (ret): Remove variable.
14941 (FAIL): Remove macro.
14942 (NO_INLINE): Likewise.
14943 (handle_signal): Use match function instead of strstr.
14944 * debug/tst-backtrace5.c: Include tst-backtrace.h.
14945 (ret): Remove variable.
14947 (FAIL): Remove macro.
14948 (NO_INLINE): Likewise.
14949 (handle_signal): Use match function instead of strstr.
14951 2013-01-23 Roland McGrath <roland@hack.frob.com>
14953 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14955 2013-01-23 David S. Miller <davem@davemloft.net>
14957 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14958 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14959 argument of CAS if possible.
14960 * sysdeps/sparc/sparc64/bits/atomic.h
14961 (__arch_compare_and_exchange_val_32_acq): Likewise.
14962 (__arch_compare_and_exchange_val_64_acq): Likewise.
14964 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
14966 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14967 * sysdeps/posix/ulimit.c: ... this.
14968 Include <limits.h>.
14969 * sysdeps/unix/bsd/ulimit.c: Remove file.
14971 2013-01-23 Adam Conrad <adconrad@0c3.net>
14973 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14974 (LDFLAGS-tst-array5): Likewise.
14976 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14979 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14980 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14981 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14982 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14984 2013-01-21 David S. Miller <davem@davemloft.net>
14986 * sysdeps/sparc/backtrace.c: New file.
14987 * sysdeps/sparc/sparc32/backtrace.h: New file.
14988 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14989 * sysdeps/sparc/sparc64/backtrace.h: New file.
14990 * sysdeps/sparc/sparc64/backtrace.c: Delete.
14991 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14994 2013-01-21 Andreas Schwab <schwab@suse.de>
14997 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
15000 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
15002 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
15004 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15006 2013-01-18 Joseph Myers <joseph@codesourcery.com>
15007 Mark Mitchell <mark@codesourcery.com>
15008 Tom de Vries <tom@codesourcery.com>
15009 Paul Pluzhnikov <ppluzhnikov@google.com>
15011 * debug/tst-backtrace2.c: New file.
15012 * debug/tst-backtrace3.c: Likewise.
15013 * debug/tst-backtrace4.c: Likewise.
15014 * debug/tst-backtrace5.c: Likewise.
15015 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
15016 (CFLAGS-tst-backtrace3.c): Likewise.
15017 (CFLAGS-tst-backtrace4.c): Likewise.
15018 (CFLAGS-tst-backtrace5.c): Likewise.
15019 (LDFLAGS-tst-backtrace2): Likewise.
15020 (LDFLAGS-tst-backtrace3): Likewise.
15021 (LDFLAGS-tst-backtrace4): Likewise.
15022 (LDFLAGS-tst-backtrace5): Likewise.
15023 (tests): Add new tests tst-backtrace2, tst-backtrace3,
15024 tst-backtrace4 and tst-backtrace5.
15026 2013-01-18 Anton Blanchard <anton@samba.org>
15027 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15029 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
15030 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
15031 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
15032 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
15033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15034 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
15035 "+r" and remove output regs list as redundant. Add explicit inline
15036 asm to specify register of return val to work around compiler codegen
15037 bug. Remove (int) cast on return value. Add return type parameter to
15038 use in macro so that this macro does not truncate return value for
15040 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
15041 pass to INTERNAL_VSYSCALL_NCS.
15042 (INLINE_VSYSCALL): Add 'long int' as return type to
15043 INTERNAL_VSYSCALL_NCS macro invocation.
15044 (INTERNAL_VSYSCALL): Add 'long int' as return type to
15045 INTERNAL_VSYSCALL_NCS macro invocation.
15046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15048 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15051 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15052 Fix application of SIMD FP exception mask.
15054 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15055 mp_no from a power of two.
15056 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15057 __mpexp_twomm1. Use __pow_mp.
15059 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15062 2013-01-17 David S. Miller <davem@davemloft.net>
15064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15066 2013-01-17 Joseph Myers <joseph@codesourcery.com>
15069 * include/complex.h: Condition contents on [!_COMPLEX_H].
15070 (__kernel_casinhf): New prototype.
15071 (__kernel_casinh): Likewise.
15072 (__kernel_casinhl): Likewise.
15073 * math/Makefile (libm_calls): Add k_casinh.
15074 * math/k_casinh.c: New file.
15075 * math/k_casinhf.c: Likewise.
15076 * math/k_casinhl.c: Likewise.
15077 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15078 finite nonzero arguments.
15079 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
15080 finite nonzero arguments.
15081 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
15082 finite nonzero arguments.
15083 * math/s_casinh.c: Do not include <float.h>.
15084 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
15085 * math/s_casinhf.c: Do not include <float.h>.
15086 (__casinhf): Move code for finite nonzero arguments to
15088 * math/s_casinhl.c: Do not include <float.h>.
15089 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15091 (__casinhl): Move code for finite nonzero arguments to
15093 * math/libm-test.inc (cacos_test): Add more tests.
15094 * sysdeps/i386/fpu/libm-test-ulps: Update.
15095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15097 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
15099 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
15100 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
15101 [!HAVE_MREMAP]: Remove [defined linux] case.
15102 * malloc/arena.c: Do not include <malloc-sysdep.h>.
15104 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15106 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
15108 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
15110 * elf/elf.h (R_386_SIZE32): New relocation.
15111 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
15113 (elf_machine_rela): Likewise.
15114 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15115 R_X86_64_SIZE64 and R_X86_64_SIZE32.
15117 2013-01-17 Joseph Myers <joseph@codesourcery.com>
15119 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
15120 (FP_FAST_FMA): Do not define.
15121 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
15122 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
15123 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
15124 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
15125 !_SOFT_FLOAT]: Likewise.
15126 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
15127 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
15129 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
15130 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
15131 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
15132 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
15133 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
15134 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
15137 2013-01-16 Andreas Schwab <schwab@suse.de>
15140 * include/stdlib.h (__mktemp): Add declaration.
15141 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
15142 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
15144 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15146 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
15148 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15149 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
15150 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
15152 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
15153 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
15155 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
15157 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
15158 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
15159 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
15161 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
15162 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
15164 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15166 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
15168 2013-01-15 David S. Miller <davem@davemloft.net>
15170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15171 trunc{,f} to libm-sysdep_routes.
15172 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
15175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
15176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
15178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
15180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
15181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
15182 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
15183 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
15184 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
15185 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
15186 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
15187 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
15189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15190 nearbyint{,f} to libm-sysdep_routes.
15191 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
15194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
15196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
15198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
15200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
15201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
15202 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
15204 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
15205 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
15207 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
15208 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
15209 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
15211 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15212 libc_feholdexcept and libc_fesetenv.
15214 2013-01-15 Mike Frysinger <vapier@gentoo.org>
15216 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
15218 2013-01-14 David S. Miller <davem@davemloft.net>
15220 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
15221 (SPARC_ASM_VIS2_IFUNC): Likewise.
15222 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
15223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
15224 use of 'siam' instruction.
15225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
15227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
15229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
15231 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15232 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15233 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15234 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
15237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
15239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
15241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
15243 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
15244 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
15245 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
15246 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
15247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
15249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15253 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15254 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15255 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15256 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
15258 routines to libm-sysdep_routines.
15259 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15262 fdim/fdimf to libm-sysdep_routines.
15263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
15265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
15266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
15268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
15269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
15270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
15271 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
15272 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
15273 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
15274 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
15276 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15278 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
15279 to optimize copies.
15281 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
15282 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15283 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15285 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
15286 local variable MPTWO.
15287 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
15290 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15292 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
15295 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15297 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
15299 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15301 * manual/pattern.texi (glob_t): Document gl_flags.
15302 (glob64_t): Likewise.
15304 2013-01-11 David S. Miller <davem@davemloft.net>
15306 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
15307 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
15308 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
15309 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
15310 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
15311 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
15312 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
15313 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
15314 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
15315 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
15316 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
15317 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
15318 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
15320 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15321 sparc V9 rather than using V8 code.
15322 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15323 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15325 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15327 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
15330 2013-01-11 Roland McGrath <roland@hack.frob.com>
15332 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
15333 not in the main loop.
15334 * configure: Regenerated.
15336 2013-01-11 Joseph Myers <joseph@codesourcery.com>
15338 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
15339 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
15341 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
15342 [!__GLIBC_HAVE_LONG_LONG] case.
15343 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
15344 condition to just #else.
15345 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
15346 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
15347 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
15348 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
15350 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
15351 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15352 #elif condition to just #else.
15353 * sysdeps/unix/sysv/linux/sys/sysmacros.h
15354 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
15355 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15356 #elif condition to just #else.
15358 2013-01-11 Steve Ellcey <sellcey@mips.com>
15360 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
15361 (EF_MIPS_ARCH_64): Fix value.
15362 (EF_MIPS_ARCH_32R2): New.
15363 (EF_MIPS_ARCH_64R2): New.
15365 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
15367 * Makeconfig (+link-pie-before-libc): New.
15368 (+link-pie-after-libc): Likewise.
15369 (+link-pie-tests): Likewise.
15370 (+link-pie): Rewritten.
15371 (link-before-libc): Remove $(config-LDFLAGS).
15372 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
15373 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
15374 (config-LDFLAGS): Renamed to ...
15375 (rtld-LDFLAGS): This.
15376 (rtld-tests-LDFLAGS): New macro.
15377 (link-libc-rpath-link): Likewise.
15378 (link-libc-tests-rpath-link): Likewise.
15379 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
15380 (link-libc): Prepand $(link-libc-rpath-link).
15381 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
15382 (test-program-prefix): New macro.
15383 (test-via-rtld-prefix): Likewise.
15384 (test-program-cmd): Likewise.
15385 (host-test-program-cmd): Likewise.
15386 * Makefile ($(common-objpfx)testrun.sh): Replace
15387 $(run-program-prefix) with $(test-program-prefix).
15388 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
15390 ($(common-objpfx)shlib.lds): Likewise.
15391 (build-module-helper): Likewise.
15392 ($(common-objpfx)format.lds): Likewise.
15393 * Rules (binaries-pie-tests): New.
15394 (binaries-pie-notests): Likewise.
15395 (binaries-pie): Rewritten.
15396 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
15397 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
15398 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
15399 (make-test-out): Replace $(host-built-program-cmd) with
15400 $(host-test-program-cmd).
15401 * config.make.in (build-hardcoded-path-in-tests): New variable.
15402 * configure.in (--enable-hardcoded-path-in-tests): New configure
15404 (hardcoded_path_in_tests): New AC_SUBST.
15405 * configure: Regenerated.
15406 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
15407 $(built-program-cmd) with $(test-program-cmd).
15408 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
15409 (test_program_cmd): This.
15410 * elf/Makefile ($(objpfx)order.out): Run test with
15411 $(test-program-prefix).
15412 ($(objpfx)order2.out): Likewise.
15413 ($(objpfx)tst-initorder.out): Likewise.
15414 ($(objpfx)tst-initorder2.out): Likewise.
15415 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
15416 $(test-program-cmd).
15417 ($(objpfx)tst-array1-static.out): Likewise.
15418 ($(objpfx)tst-array2.out): Likewise.
15419 ($(objpfx)tst-array3.out): Likewise.
15420 ($(objpfx)tst-array4.out): Likewise.
15421 ($(objpfx)tst-array5.out): Likewise.
15422 ($(objpfx)tst-array5-static.out): Likewise.
15423 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
15424 $(test-program-cmd).
15425 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
15426 $(run-program-prefix) with $(test-program-prefix).
15427 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
15428 (test_program_prefix): This.
15429 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
15430 $(run-program-prefix) with $(test-program-prefix).
15431 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
15432 (test_program_prefix): This.
15433 * iconvdata/tst-tables.sh: Likewise.
15434 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
15435 $(run-program-prefix) with $(test-program-prefix).
15436 ($(objpfx)tst-translit.out): Likewise.
15437 ($(objpfx)tst-gettext2.out): Likewise.
15438 ($(objpfx)tst-gettext4.out): Likewise.
15439 ($(objpfx)tst-gettext6.out): Likewise.
15440 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
15441 (test_program_prefix): This.
15442 * intl/tst-gettext2.sh: Likewise.
15443 * intl/tst-gettext4.sh Likewise.
15444 * intl/tst-gettext6.sh: Likewise.
15445 * intl/tst-translit.sh: Likewise.
15446 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
15447 with $(test-program-cmd).
15448 * libio/Makefile ($(objpfx)test-freopen.out): Replace
15449 $(run-program-prefix) with $(test-program-prefix).
15450 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
15451 (test_program_prefix): This.
15452 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
15453 $(run-program-prefix) with $(test-program-prefix).
15454 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
15455 (test_program_prefix): This.
15456 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
15457 * posix/Makefile ($(objpfx)globtest.out): Replace
15458 $(run-via-rtld-prefix) and $(test-wrapper) with
15459 $(test-program-prefix) and $(test-via-rtld-prefix).
15460 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
15461 $(test-program-prefix).
15462 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
15463 $(host-test-program-cmd).
15464 (tst-spawn-ARGS): Likewise.
15465 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
15466 $(test-program-prefix).
15467 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
15468 (test_via_rtld_prefix): This.
15469 (test_wrapper): Renamed to ...
15470 (test_program_prefix): This.
15471 (run_program_prefix): Replaced by test_program_prefix.
15472 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
15473 (test_program_prefix): This.
15474 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
15475 with $(host-test-program-cmd).
15476 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
15477 $(run-program-prefix) with $(test-program-prefix).
15478 ($(objpfx)tst-printf.out): Likewise.
15479 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
15480 $(test-program-cmd).
15481 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
15482 (test_program_prefix): This.
15483 * stdio-common/tst-unbputc.sh: Likewise.
15484 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
15485 $(run-program-prefix) with $(test-program-prefix).
15486 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
15487 (test_program_prefix): This.
15488 * string/Makefile ($(objpfx)tst-svc.out): Replace
15489 $(built-program-cmd) with $(test-program-cmd).
15491 2013-01-11 Andreas Jaeger <aj@suse.de>
15494 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
15495 value. Sync with Linux 3.7.
15497 2013-01-10 David S. Miller <davem@davemloft.net>
15499 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
15500 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15501 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15503 2013-01-10 Roland McGrath <roland@hack.frob.com>
15505 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
15507 * configure: Regenerated.
15509 2013-01-10 David S. Miller <davem@davemloft.net>
15511 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15512 sparc V9 rather than using V8 code.
15513 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15514 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15516 2013-01-10 Roland McGrath <roland@hack.frob.com>
15518 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
15519 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
15520 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
15521 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
15522 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
15523 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
15524 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
15525 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
15526 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
15527 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
15528 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
15529 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
15530 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
15531 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
15532 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
15533 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
15534 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
15535 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
15536 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
15537 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
15538 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
15539 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
15540 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
15541 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
15542 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
15543 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
15544 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
15546 2013-01-10 David S. Miller <davem@davemloft.net>
15548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15550 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
15552 * posix/Makefile (tests-static): New variable.
15553 (tests): Add $(tests-static).
15554 (tst-exec-static-ARGS): New variable.
15555 (tst-spawn-static-ARGS): Likewise.
15556 * posix/tst-exec-static.c: New file.
15557 * posix/tst-spawn-static.c: Likewise.
15558 * posix/tst-exec.c: Support run directly.
15559 * posix/tst-spawn.c: Likewise.
15561 2013-01-10 Joseph Myers <joseph@codesourcery.com>
15563 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
15565 * math/bits/mathcalls.h (llrint): Likewise.
15566 (llround): Likewise.
15567 * stdlib/stdlib.h (struct drand48_data): Likewise.
15568 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
15569 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
15570 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
15572 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
15574 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
15575 (elf_greg_t): Likewise.
15576 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
15577 (__jmp_buf): Likewise.
15578 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
15580 (llrint): Likewise, for all definitions.
15581 (llrintl): Likewise.
15583 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
15584 Remove [__GNUC__] condition.
15585 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
15586 condition to just [__USE_ISOC99].
15587 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
15589 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
15592 * sysdeps/unix/sysv/linux/x86/bits/environments.h
15593 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
15595 (_POSIX_V6_ILP32_OFF32): Likewise.
15596 (_XBS5_ILP32_OFF32): Likewise.
15597 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
15598 (__ILP32_OFFBIG_LDFLAGS): Likewise.
15600 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15602 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
15604 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
15605 doubles __mpexp_twomm1. Adjust usage.
15606 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
15609 2013-01-10 Andreas Schwab <schwab@suse.de>
15612 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
15613 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
15615 2013-01-09 David S. Miller <davem@davemloft.net>
15618 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
15619 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
15620 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
15621 TCP_FASTOPEN): Define.
15622 (tcp_repair_opt): New structure.
15623 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
15625 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
15626 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
15627 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
15628 (tcp_cookie_transactions): New structure.
15630 2013-01-09 Anton Blanchard <anton@samba.org>
15632 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
15633 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
15634 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
15635 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15637 2013-01-09 Joseph Myers <joseph@codesourcery.com>
15639 * include/features.h (__USE_ANSI): Remove.
15641 2013-01-09 Roland McGrath <roland@hack.frob.com>
15643 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
15645 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
15647 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
15649 * sysdeps/s390/fpu/libm-test-ulps: Update.
15651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15653 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
15657 (denorm): Likewise.
15658 (__mp_dbl): Likewise.
15659 (__dbl_mp): Likewise.
15660 (add_magnitudes): Likewise.
15661 (sub_magnitudes): Likewise.
15667 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
15671 (denorm): Likewise.
15672 (__mp_dbl): Likewise.
15673 (__dbl_mp): Likewise.
15674 (add_magnitudes): Likewise.
15675 (sub_magnitudes): Likewise.
15681 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
15685 (denorm): Likewise.
15686 (__mp_dbl): Likewise.
15687 (__dbl_mp): Likewise.
15688 (add_magnitudes): Likewise.
15689 (sub_magnitudes): Likewise.
15696 2013-01-08 Joseph Myers <joseph@codesourcery.com>
15698 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
15699 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
15700 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
15701 2 && __USE_EXTERN_INLINES]: Likewise.
15703 2013-01-08 Andreas Jaeger <aj@suse.de>
15706 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
15708 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15709 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15711 2013-01-07 Anton Blanchard <anton@samba.org>
15713 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
15714 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15715 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
15716 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15717 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15718 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15719 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
15720 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15721 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15722 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15723 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15724 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15725 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15726 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15727 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15728 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15729 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15730 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15731 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15732 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15733 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15734 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
15735 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15736 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15737 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
15738 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15739 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15740 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15741 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
15742 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15743 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15744 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15745 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15746 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15747 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15748 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15749 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15750 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15751 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
15752 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15753 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
15754 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15755 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15757 2013-01-07 Joseph Myers <joseph@codesourcery.com>
15759 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15760 (__MALLOC_PMT): Likewise.
15761 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15762 [__GNUC__], only on [_LIBC].
15763 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15764 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15765 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15766 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15767 forward declaration.
15768 (realloc_hook_ini): Likewise.
15769 (memalign_hook_ini): Likewise.
15770 (__libc_memalign): Do not use __MALLOC_PMT in variable
15772 (__libc_valloc): Likewise.
15773 (__libc_pvalloc): Likewise.
15774 (__libc_calloc): Likewise.
15775 (__posix_memalign): Likewise.
15778 * math/s_casinh.c: Include <float.h>.
15779 (__casinh): Do not do computation with squaring and square root
15780 for large arguments.
15781 * math/s_casinhf.c: Include <float.h>.
15782 (__casinhf): Do not do computation with squaring and square root
15783 for large arguments.
15784 * math/s_casinhl.c: Include <float.h>.
15785 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15786 (__casinhl): Do not do computation with squaring and square root
15787 for large arguments.
15788 * math/libm-test.inc (casin_test): Add more tests.
15789 (casinh_test): Likewise.
15790 * sysdeps/i386/fpu/libm-test-ulps: Update.
15791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15793 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
15795 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15796 (__x86_64_raw_data_cache_size): Likewise.
15797 (__x86_64_data_cache_size_half): Likewise.
15798 (__x86_64_raw_data_cache_size_half): Likewise.
15799 (__x86_64_shared_cache_size): Likewise.
15800 (__x86_64_raw_shared_cache_size): Likewise.
15801 (__x86_64_shared_cache_size_half): Likewise.
15802 (__x86_64_raw_shared_cache_size_half): Likewise.
15803 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15805 (__x86_data_cache_size): This.
15806 (__x86_64_raw_data_cache_size): Renamed to ...
15807 (__x86_raw_data_cache_size): This.
15808 (__x86_64_data_cache_size_half): Renamed to ...
15809 (__x86_data_cache_size_half): This.
15810 (__x86_64_raw_data_cache_size_half): Renamed to ...
15811 (__x86_raw_data_cache_size_half): This.
15812 (__x86_64_shared_cache_size): Renamed to ...
15813 (__x86_shared_cache_size): This.
15814 (__x86_64_raw_shared_cache_size): Renamed to ...
15815 (__x86_raw_shared_cache_size): This.
15816 (__x86_64_shared_cache_size_half): Renamed to ...
15817 (__x86_shared_cache_size_half): This.
15818 (__x86_64_raw_shared_cache_size_half): Renamed to ...
15819 (__x86_raw_shared_cache_size_half): This.
15820 * sysdeps/x86_64/memcpy.S: Updated.
15821 * sysdeps/x86_64/memset.S: Likewise.
15822 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15823 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15824 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15826 2013-01-04 David S. Miller <davem@davemloft.net>
15828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15830 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
15832 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15833 1 to avoid redefinition warning.
15834 (__USE_GNU): Don't define.
15835 (init_signaling_nan): Protoize.
15837 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15839 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15841 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15842 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15843 (__cpymn): Likewise.
15844 (norm): Remove commented code.
15845 (denorm): Likewise.
15846 (__mp_dbl): Likewise.
15848 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15849 (__cpymn): Likewise.
15850 (norm): Remove commented code.
15851 (denorm): Likewise.
15852 (__mp_dbl): Likewise.
15855 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15856 mp_no value for 1.0 and 2.0.
15857 (norm): Use RADIXI instead of radixi.d.
15858 (denorm): Likewise.
15859 (__mul): Use 0.0 instead of zero.d.
15860 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15861 mp_no value for 1.0 and 2.0.
15862 (norm): Use RADIXI instead of radixi.d.
15863 (denorm): Likewise.
15864 (__mul): Use 0.0 instead of zero.d.
15866 2013-01-04 Joseph Myers <joseph@codesourcery.com>
15869 * math/s_casinh.c (__casinh): Reduce finite argument to first
15870 quadrant then set signs of results at the end.
15871 * math/s_casinhf.c (__casinhf): Likewise.
15872 * math/s_casinhl.c (__casinhl): Likewise.
15873 * math/libm-test.inc (casin_test): Add more tests.
15874 (casinh_test): Likewise.
15875 * sysdeps/i386/fpu/libm-test-ulps: Update.
15876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15878 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15880 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15882 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15884 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15886 (denorm): Likewise.
15887 (__mp_dbl): Likewise.
15890 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15891 and adjust the header comment.
15893 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15894 variable name from declaration.
15896 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
15898 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15899 Initialize COMMON_CPUID_INDEX_7 element.
15900 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15901 (CPUID_RTM): Likewise.
15902 (HAS_RTM): Likewise.
15903 (COMMON_CPUID_INDEX_7): New enum.
15905 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
15908 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15909 size is zero, record memory as freed.
15911 2013-01-03 Andreas Jaeger <aj@suse.de>
15913 * po/ia.po: Add new Interlingua translation.
15915 2012-01-03 Allan McRae <allan@archlinux.org>
15917 * locale/programs/localedef.c: Fix description of '--posix' flag.
15919 2013-01-02 Joseph Myers <joseph@codesourcery.com>
15921 * NEWS: Update dates in second copyright notice.
15922 * README: Update copyright dates in example.
15923 * manual/libc.texinfo: Update copyright dates.
15924 * scripts/test-installation.pl: Update copyright date in --version
15927 * hurd/ctty-input.c: Fix copyright notice formatting.
15928 * hurd/ctty-output.c: Likewise.
15929 * hurd/dtable.c: Likewise.
15930 * hurd/hurd-raise.c: Likewise.
15931 * hurd/hurdprio.c: Likewise.
15932 * hurd/msgportdemux.c: Likewise.
15933 * misc/sys/file.h: Likewise.
15934 * misc/sys/ioctl.h: Likewise.
15935 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15936 * sysdeps/mach/hurd/chdir.c: Likewise.
15937 * sysdeps/mach/hurd/fchdir.c: Likewise.
15938 * sysdeps/mach/hurd/rename.c: Likewise.
15939 * sysdeps/mach/hurd/rmdir.c: Likewise.
15940 * sysdeps/mach/hurd/seekdir.c: Likewise.
15941 * sysdeps/mach/hurd/setsid.c: Likewise.
15942 * sysdeps/posix/wait3.c: Likewise.
15944 * All files with FSF copyright notices: Update copyright dates
15945 using scripts/update-copyrights.
15946 * intl/plural.c: Regenerated.
15947 * locale/programs/charmap-kw.h: Likewise.
15948 * locale/programs/locfile-kw.h: Likewise.
15950 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15952 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15955 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15956 calculation loop and add branch prediction.
15958 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15959 check access beyond bounds of m1np.
15961 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15963 (__inv): Remove local variable MPTWO to use the global
15965 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15966 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15968 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15969 MP3HALFS static const.
15971 2013-01-01 David S. Miller <davem@davemloft.net>
15973 * po/ca.po: Update from translation team.
15975 2013-01-01 Joseph Myers <joseph@codesourcery.com>
15977 * scripts/update-copyrights: New file.
15978 * Makeconfig: Reformat copyright notice.
15979 * ctype/ctype.h: Likewise.
15980 * debug/swprintf_chk.c: Likewise.
15981 * elf/dl-cache.c: Likewise.
15982 * elf/dl-debug.c: Likewise.
15983 * elf/dl-object.c: Likewise.
15984 * grp/initgroups.c: Likewise.
15985 * hurd/Makefile: Likewise.
15986 * hurd/hurd/signal.h: Likewise.
15987 * hurd/hurdfault.c: Likewise.
15988 * hurd/hurdioctl.c: Likewise.
15989 * hurd/hurdlookup.c: Likewise.
15990 * hurd/intr-msg.c: Likewise.
15991 * iconv/gconv_open.c: Likewise.
15992 * libio/swprintf.c: Likewise.
15993 * locale/lc-ctype.c: Likewise.
15994 * locale/nl_langinfo.c: Likewise.
15995 * mach/Machrules: Likewise.
15996 * mach/Makefile: Likewise.
15997 * malloc/obstack.h: Likewise.
15998 * manual/Makefile: Likewise.
15999 * manual/tsort.awk: Likewise.
16000 * misc/bits/stab.def: Likewise.
16001 * nis/nis_print_group_entry.c: Likewise.
16002 * nis/nis_table.c: Likewise.
16003 * nis/nss_compat/compat-pwd.c: Likewise.
16004 * nis/nss_compat/compat-spwd.c: Likewise.
16005 * po/Makefile: Likewise.
16006 * posix/fnmatch.c: Likewise.
16007 * posix/regex.h: Likewise.
16008 * resolv/Makefile: Likewise.
16009 * resolv/nss_dns/dns-network.c: Likewise.
16010 * resolv/res_hconf.c: Likewise.
16011 * scripts/gen-sorted.awk: Likewise.
16012 * soft-fp/soft-fp.h: Likewise.
16013 * stdio-common/printf.h: Likewise.
16014 * stdlib/monetary.h: Likewise.
16015 * stdlib/random.c: Likewise.
16016 * stdlib/random_r.c: Likewise.
16017 * sysdeps/generic/Makefile: Likewise.
16018 * sysdeps/gnu/Makefile: Likewise.
16019 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16020 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16021 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16022 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16023 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16024 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16025 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16026 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16027 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16028 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16029 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16030 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16031 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16032 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16033 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16034 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16035 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16036 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16037 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16038 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16039 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16040 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16041 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16042 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16043 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
16044 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16045 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16046 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
16047 * sysdeps/mach/hurd/errnos.awk: Likewise.
16048 * sysdeps/mach/hurd/fork.c: Likewise.
16049 * sysdeps/mach/hurd/getcwd.c: Likewise.
16050 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
16051 * sysdeps/mach/hurd/mmap.c: Likewise.
16052 * sysdeps/mach/hurd/utimes.c: Likewise.
16053 * sysdeps/mach/hurd/xmknod.c: Likewise.
16054 * sysdeps/posix/profil.c: Likewise.
16055 * sysdeps/posix/readdir_r.c: Likewise.
16056 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16057 * sysdeps/powerpc/bits/setjmp.h: Likewise.
16058 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16059 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16060 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16061 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16062 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16063 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16064 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16065 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16066 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16067 * sysdeps/pthread/lio_listio.c: Likewise.
16068 * sysdeps/sparc/dl-procinfo.h: Likewise.
16069 * sysdeps/unix/i386/sysdep.S: Likewise.
16070 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16071 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16072 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16073 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16075 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16076 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16077 * sysdeps/unix/sysv/linux/speed.c: Likewise.
16078 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16079 * sysdeps/wordsize-32/divdi3.c: Likewise.
16080 * time/sys/time.h: Likewise.
16081 * wcsmbs/Makefile: Likewise.
16083 2013-01-01 David S. Miller <davem@davemloft.net>
16085 * po/fr.po: Update from translation team.
16087 * catgets/gencat.c: Update copyright year.
16088 * csu/version.c: Likewise.
16089 * debug/catchsegv.sh: Likewise.
16090 * debug/pcprofiledump.c: Likewise.
16091 * debug/xtrace.sh: Likewise.
16092 * elf/ldconfig.c: Likewise.
16093 * elf/ldd.bash.in: Likewise.
16094 * elf/pldd.c: Likewise.
16095 * elf/sotruss.ksh: Likewise.
16096 * elf/sprof.c: Likewise.
16097 * iconv/iconv_prog.c: Likewise.
16098 * iconv/iconvconfig.c: Likewise.
16099 * locale/programs/locale.c: Likewise.
16100 * locale/programs/localedef.c: Likewise.
16101 * login/programs/pt_chown.c: Likewise.
16102 * malloc/memusage.sh: Likewise.
16103 * malloc/memusagestat.c: Likewise.
16104 * malloc/mtrace.pl: Likewise.
16105 * nscd/nscd.c: Likewise.
16106 * nss/getent.c: Likewise.
16107 * nss/makedb.c: Likewise.
16108 * posix/getconf.c: Likewise.
16110 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16112 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
16115 2012-12-30 Mike Frysinger <vapier@gentoo.org>
16117 * math/bits/mathcalls.h (modf): Use __nonnull.
16119 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16121 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
16122 (split): Use macro CN instead of the bare value.
16123 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
16125 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
16126 instead of the bare value.
16127 (power1): Likewise.
16129 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16131 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
16133 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16135 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
16137 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16138 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16139 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
16140 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16142 2012-12-28 Andreas Jaeger <aj@suse.de>
16144 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
16145 values are from Linux 3.7.
16147 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
16148 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
16150 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16152 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
16155 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
16157 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
16158 variables with preprocessor constants.
16159 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16160 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16161 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16163 2012-12-27 Bruno Haible <bruno@clisp.org>
16166 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
16169 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16171 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
16172 and use variable directly.
16173 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
16175 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16177 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
16178 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16180 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16181 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16182 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
16183 include directive. Remove local variable MPONE.
16184 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
16185 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
16186 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16188 2012-12-25 David S. Miller <davem@davemloft.net>
16190 * version.h (RELEASE): Set to "development".
16191 (VERSION): Set to "2.17.90".
16192 * NEWS: Add 2.18 section.
16194 2012-12-21 David S. Miller <davem@davemloft.net>
16196 * po/hr.po: Update from translation team.
16198 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16200 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
16202 2012-12-19 Steve Ellcey <sellcey@mips.com>
16204 * NEWS: Mention new memcpy for MIPS.
16206 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16208 * manual/contrib.texi (Contributors): Spelling correction.
16210 2012-12-15 David S. Miller <davem@davemloft.net>
16212 * po/ru.po: Update from translation team.
16214 2012-12-13 David S. Miller <davem@davemloft.net>
16216 * NEWS: Mention IFUNC testsuite enhancements.
16218 * po/pl.po: Update from translation team.
16219 * po/bg.po: Likewise.
16221 * manual/contrib.texi (Contributors): Update entries for Hongjiu
16222 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
16224 2012-12-11 David S. Miller <davem@davemloft.net>
16226 * po/sv.po: Update from translation team.
16228 * po/vi.po: Update from translation team.
16230 * po/cs.po: Update from translation team.
16232 * po/de.po: Update from translation team.
16233 * po/eo.po: Likewise.
16234 * po/nl.po: Likewise.
16236 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16239 * manual/argp.texi (Argp Helper Functions): Move node to follow
16240 Argp Parsing State.
16243 * manual/conf.texi (Limits on File System Capacity): Mention if
16244 terminating null is included in the max size.
16246 2012-12-10 Andreas Jaeger <aj@suse.de>
16248 * po/cs.po: Update from translation team.
16250 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16252 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
16253 void pointer and cast to uintptr_t.
16254 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
16256 * sysdeps/s390/s390-64/memcpy.S: Likewise.
16257 * sysdeps/s390/s390-64/memset.S: Likewise.
16259 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
16262 * menual/message.texi (Message Translation): Fix typos.
16263 (Helper programs for gettext): Likewise.
16265 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
16268 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
16271 2012-12-07 David S. Miller <davem@davemloft.net>
16273 * po/libc.pot: Update.
16275 2012-12-07 Richard Henderson <rth@redhat.com>
16278 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
16279 normal/normal case to before the switch.
16280 (_FP_DIV): Likewise.
16282 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
16283 Mike Frysinger <vapier@gentoo.org>
16285 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
16286 check for __NR_fadvise64_64.
16288 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
16290 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
16291 0, not just to plain "0" as a statement.
16292 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
16295 2012-12-06 Joseph Myers <joseph@codesourcery.com>
16297 * NEWS: Use sourceware.org in Bugzilla URL.
16299 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16302 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16304 * stdio-common/tst-put-error.c (do_test): Add newline to the
16305 padded test to ensure flush.
16307 2012-12-05 Jeff Law <law@redhat.com>
16309 * sunrpc/etc.rpc (fedfs_admin): Add entry.
16311 2012-12-05 Joseph Myers <joseph@codesourcery.com>
16313 * README: Don't refer to ports add-on as distributed separately.
16314 Mention AArch64 in list of systems supported in the ports add-on.
16316 * LICENSES: Add more non-FSF copyright and license notices.
16318 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
16321 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
16323 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
16324 10000 as width of padded output.
16326 2012-12-04 Joseph Myers <joseph@codesourcery.com>
16328 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
16330 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
16331 variable LX with __attribute__ ((unused)).
16332 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16334 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16335 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16336 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
16337 with __attribute__ ((unused)).
16339 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
16341 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
16343 2012-12-04 Joseph Myers <joseph@codesourcery.com>
16345 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
16346 (CFLAGS-nldbl-acos.c): New variable.
16347 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
16348 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
16349 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
16350 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
16351 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
16352 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
16353 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
16354 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
16355 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
16356 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
16357 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
16358 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
16359 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
16360 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
16361 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
16362 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
16363 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
16364 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
16365 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
16366 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
16367 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
16368 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
16369 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
16370 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
16371 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
16372 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
16373 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
16374 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
16375 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
16376 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
16377 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
16378 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
16379 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
16380 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
16381 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
16382 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
16383 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
16384 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
16385 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
16386 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
16387 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
16388 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
16389 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
16390 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
16391 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
16392 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
16393 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
16394 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
16395 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
16396 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
16397 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
16398 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
16399 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
16400 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
16401 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
16402 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
16403 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
16404 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
16405 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
16406 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
16407 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
16408 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
16409 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
16410 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
16411 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
16412 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
16413 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
16414 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
16415 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
16416 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
16417 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
16418 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
16419 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
16420 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
16421 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
16422 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
16423 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
16424 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
16425 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
16426 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
16427 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
16428 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
16429 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
16430 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
16431 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
16432 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
16433 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
16434 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
16435 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
16436 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
16437 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
16438 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
16439 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
16440 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
16441 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
16442 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
16443 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
16445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16446 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16449 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
16450 whole low double instead of just low 47 bits when splitting values
16453 2012-12-03 Allan McRae <allan@archlinux.org>
16455 * manual/stdio.texi (Predefined Printf Handlers): Remove
16456 @hsep and @vsep usage.
16458 2012-12-03 Mike Frysinger <vapier@gentoo.org>
16460 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
16461 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
16463 2012-12-03 Jeff Law <law@redhat.com>
16465 * time/sys/time.h (settimeofday): Do not mark TV argument
16468 2012-12-01 Mike Frysinger <vapier@gentoo.org>
16470 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
16471 when currently writing and seek to current position when not.
16472 * libio/Makefile (tests): Remove bug-fclose1.
16473 * libio/bug-fclose1.c: Delete.
16475 2012-12-01 Joseph Myers <joseph@codesourcery.com>
16477 * manual/arith.texi (feenableexcept): Fix typo.
16478 (fedisableexcept): Likewise.
16480 2012-11-30 Roland McGrath <roland@hack.frob.com>
16482 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
16483 second, differently-typed declaration, rather than a cast.
16485 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16487 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
16488 * include/rpc/svc.h: ... here.
16490 2012-11-30 Aurelien Jarno <aurel32@debian.org>
16493 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
16494 depending n and resplen2 to catch cases where answer
16497 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
16499 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
16500 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
16502 2012-11-29 Mike Frysinger <vapier@gentoo.org>
16504 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
16506 2012-11-29 Roland McGrath <roland@hack.frob.com>
16508 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
16510 2012-11-28 Jeff Law <law@redhat.com>
16513 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
16514 dataset_temporary. Track alloca usage into alloca_used.
16515 If dataset is large allocate and release it via malloc/free.
16517 2012-06-04 Florian Weimer <fweimer@redhat.com>
16520 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
16522 2012-11-28 David S. Miller <davem@davemloft.net>
16524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16526 2012-11-28 Joseph Myers <joseph@codesourcery.com>
16529 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
16530 of pi/2 rounded to nearest to 64 bits.
16531 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
16532 nearest to 64 bits.
16533 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
16536 2012-11-28 Jeff Law <law@redhat.com>
16537 Martin Osvald <mosvald@redhat.com>
16540 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
16541 * sunrpc/svc.c: Include time.h.
16542 (__svc_accept_failed): New function.
16543 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
16544 any reason other than EINTR, call __svc_accept_failed.
16545 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
16546 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
16548 2012-11-28 Andreas Schwab <schwab@suse.de>
16550 * scripts/abilist.awk: Also handle indirect functions in .opd
16553 2012-11-28 Joseph Myers <joseph@codesourcery.com>
16556 * sysdeps/x86/fpu/powl_helper.c: New file.
16557 * sysdeps/x86/fpu/Makefile: Likewise.
16558 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
16560 (__ieee754_powl): Use __powl_helper for finite arguments except
16561 integer exponents below 8.
16562 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
16564 (__ieee754_powl): Use __powl_helper for finite arguments except
16565 integer exponents below 8.
16566 * math/libm-test.inc (pow_test): Add more tests and enable some
16567 previously disabled tests.
16568 * sysdeps/i386/fpu/libm-test-ulps: Update.
16569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16571 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16572 Carlos O'Donell <carlos_odonell@mentor.com>
16574 * nss/makedb.c (is_prime): Assert that input is odd and greater
16575 than 4. Note that fact in a comment too.
16576 (next_prime): Add 4 to input.
16578 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16581 * libio/Makefile (tests): Add test case tst-fwrite-error.
16582 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
16583 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16584 * libio/tst-fwrite-error.c: New test case.
16586 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
16588 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
16589 before casting to void *.
16590 * include/libc-internal.h (__pointer_type): New macro.
16591 (__integer_if_pointer_type_sub): Likewise.
16592 (__integer_if_pointer_type): Likewise.
16593 (cast_to_integer): Likewise.
16594 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
16595 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
16596 before casting to atomic64_t.
16597 (atomic_exchange_acq): Likewise.
16598 (__arch_exchange_and_add_body): Likewise.
16599 (__arch_add_body): Likewise.
16600 (atomic_add_negative): Likewise.
16601 (atomic_add_zero): Likewise.
16603 2012-11-26 Joseph Myers <joseph@codesourcery.com>
16605 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
16606 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
16607 (add_fdes): Likewise.
16608 (linear_search_fdes): Likewise.
16609 (binary_search_unencoded_fdes): Likewise.
16611 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
16613 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
16615 2012-11-24 Adam Conrad <adconrad@0c3.net>
16617 * configure.in: Autodetect C++ header directories.
16618 * configure: Regenerated.
16620 2012-11-23 Mike Frysinger <vapier@gentoo.org>
16622 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
16624 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
16626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16628 2012-11-22 Joseph Myers <joseph@codesourcery.com>
16630 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
16631 LDBL_MANT_DIG == 106]: Disable some tests.
16632 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16634 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16638 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
16639 input for small inputs. Return +/- pi/2 for large inputs.
16640 * math/libm-test.inc (atan_test): Add more tests.
16642 * sysdeps/generic/unwind-dw2-fde-glibc.c
16643 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
16644 __attribute__ ((unused)).
16647 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
16648 x * y if x and y are nonzero and z is zero.
16651 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
16652 nonzero exponents with absolute value below 0x1p-117 to +/-
16656 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
16657 up arguments below 2**-450, not just those below 2**-500.
16658 * math/libm-test.inc (hypot_test): Add another test.
16661 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
16662 Return a+b for ratio over 2**120, not 2**60.
16663 * math/libm-test.inc (hypot_test): Add another test.
16665 * math/libm-test.inc (clog_test): Use
16666 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
16667 (clog10_test): Likewise.
16670 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
16672 2012-11-22 Andreas Schwab <schwab@suse.de>
16674 * sysdeps/i386/fpu/libm-test-ulps: Update.
16676 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
16678 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
16679 printf output with newline.
16681 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
16684 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
16685 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
16686 -z nodlopen, -z initfirst and -z execstack support.
16687 * configure: Regenerated.
16689 * elf/elf.h (DF_1_NODIRECT): New macro.
16690 (DF_1_IGNMULDEF): Likewise.
16691 (DF_1_NOKSYMS): Likewise.
16692 (DF_1_NOHDR): Likewise.
16693 (DF_1_EDITED): Likewise.
16694 (DF_1_NORELOC): Likewise.
16695 (DF_1_SYMINTPOSE): Likewise.
16696 (DF_1_GLOBAUDIT): Likewise.
16697 (DF_1_SINGLETON): Likewise.
16698 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
16699 DT_1_SUPPORTED_MASK bits.
16700 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
16702 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
16704 * sysdeps/unix/make-syscalls.sh: Document prefixes.
16706 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
16708 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
16711 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
16712 (sendmmsg): Move declarations...
16713 * socket/sys/socket.h: ... here.
16714 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
16715 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
16717 * socket/recvmmsg.c: ... this new file.
16718 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
16719 (sendmmsg): Rename to __sendmmsg, create weak alias and make
16720 definition of __sendmmsg hidden.
16721 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16722 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
16723 Move ENOSYS stub into and include it from...
16724 * socket/sendmmsg.c: ... this new file.
16725 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
16726 (sysdep_routines): Move recvmmsg and sendmmsg...
16727 * socket/Makefile (routines): ... here.
16728 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
16729 (GLIBC_PRIVATE): Add __sendmmsg.
16730 * include/sys/socket.h (__sendmmsg): Add declarations.
16731 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
16734 2012-11-20 Joseph Myers <joseph@codesourcery.com>
16736 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
16737 variable I1 with __attribute__ ((unused)).
16738 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16740 2012-11-19 Joseph Myers <joseph@codesourcery.com>
16742 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
16743 DUMMY variables with __attribute__ ((unused)).
16745 * bits/byteswap.h: Include <bits/types.h>.
16746 (__bswap_64): Use __uint64_t instead of unsigned long long int.
16748 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16750 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
16751 string_t. Do not manually set errno.
16752 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
16753 length with __strnlen. Make sure to both set errno and return it on
16756 2012-11-19 David S. Miller <davem@davemloft.net>
16758 With help from Joseph Myers.
16759 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16760 very large arguments properly.
16761 * math/libm-test.inc (atan_test): New tests.
16762 (atan2_test): New tests.
16763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16764 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16766 2012-11-19 Joseph Myers <joseph@codesourcery.com>
16769 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16772 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16773 [POSIX] (EADDRNOTAVAIL): Likewise.
16774 [POSIX] (EAFNOSUPPORT): Likewise.
16775 [POSIX] (EALREADY): Likewise.
16776 [POSIX] (ECONNABORTED): Likewise.
16777 [POSIX] (ECONNREFUSED): Likewise.
16778 [POSIX] (ECONNRESET): Likewise.
16779 [POSIX] (EDESTADDRREQ): Likewise.
16780 [POSIX] (EDQUOT): Likewise.
16781 [POSIX] (EHOSTUNREACH): Likewise.
16782 [POSIX] (EIDRM): Likewise.
16783 [POSIX] (EISCONN): Likewise.
16784 [POSIX] (ELOOP): Likewise.
16785 [POSIX] (EMULTIHOP): Likewise.
16786 [POSIX] (ENETDOWN): Likewise.
16787 [POSIX] (ENETUNREACH): Likewise.
16788 [POSIX] (ENOBUFS): Likewise.
16789 [POSIX] (ENODATA): Likewise.
16790 [POSIX] (ENOLINK): Likewise.
16791 [POSIX] (ENOMSG): Likewise.
16792 [POSIX] (ENOPROTOOPT): Likewise.
16793 [POSIX] (ENOSR): Likewise.
16794 [POSIX] (ENOSTR): Likewise.
16795 [POSIX] (ENOTCONN): Likewise.
16796 [POSIX] (ENOTSOCK): Likewise.
16797 [POSIX] (EOPNOTSUPP): Likewise.
16798 [POSIX] (EOVERFLOW): Likewise.
16799 [POSIX] (EPROTO): Likewise.
16800 [POSIX] (EPROTONOSUPPORT): Likewise.
16801 [POSIX] (EPROTOTYPE): Likewise.
16802 [POSIX] (ESTALE): Likewise.
16803 [POSIX] (ETIME): Likewise.
16804 [POSIX] (ETXTBSY): Likewise.
16805 [POSIX] (EWOULDBLOCK): Likewise.
16806 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16807 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16808 [POSIX] (SEEK_CUR): Likewise.
16809 [POSIX] (SEEK_END): Likewise.
16810 [POSIX || UNIX98] (mode_t): Do not require.
16811 [POSIX] (off_t): Likewise.
16812 [POSIX] (pid_t): Likewise.
16813 [POSIX] (sys/stat.h): Do not allow header.
16814 [POSIX] (unistd.h): Likewise.
16815 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16816 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16817 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16818 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16820 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16821 sigevent): Specify elements.
16822 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16824 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16825 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16827 * conform/data/cpio.h-data [POSIX]: Disable whole file.
16828 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16829 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16830 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16831 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16832 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16833 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16834 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16835 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16836 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16837 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16838 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16839 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16840 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16842 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16844 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16846 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16848 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16849 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16850 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16851 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16852 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16853 Specify lower bound on value.
16854 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16855 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16856 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16857 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16858 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16859 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16860 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16861 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16863 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16865 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16866 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16867 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16868 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16869 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16870 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16871 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16872 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16873 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16874 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16875 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16876 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16877 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16878 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16879 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16880 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16882 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16884 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16885 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16886 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16887 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16888 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16889 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16891 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16892 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16893 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16894 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16895 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
16896 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16897 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16899 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16900 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16901 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16902 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16903 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16904 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16905 specify as optional.
16906 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16907 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16908 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16909 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16910 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16911 [XPG3] (NL_LANGMAX): Likewise.
16912 [POSIX || XPG3] (NL_MSGMAX): Likewise.
16913 [POSIX || XPG3] (NL_NMAX): Likewise.
16914 [POSIX || XPG3] (NL_SETMAX): Likewise.
16915 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16916 [XPG3] (NZERO): Likewise.
16917 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16918 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16919 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16920 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16921 (REG_ERANGE): Expect.
16922 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16924 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16925 Use (void) in prototype.
16926 [POSIX] (*_t): Allow.
16927 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16928 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16929 (WRDE_BADVAL): Expect.
16931 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16933 [XPG3 || XPG4] (O_RSYNC): Likewise.
16934 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16936 [XPG3 || XPG4] (pthread_sigmask): Likewise.
16937 [XPG3 || XPG4] (sigqueue): Likewise.
16938 [XPG3 || XPG4] (sigtimedwait): Likewise.
16939 [XPG3 || XPG4] (sigwaitinfo): Likewise.
16940 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16941 [XPG3 || XPG4] (vsnprintf): Likewise.
16942 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16944 [XPG3 || XPG4] (blksize_t): Likewise.
16945 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16947 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16948 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16949 [XPG3 || XPG4] (struct itimerspec): Likewise.
16950 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16951 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16952 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16953 [XPG3 || XPG4] (clockid_t): Likewise.
16954 [XPG3 || XPG4] (timer_t): Likewise.
16955 [XPG3 || XPG4] (clock_getres): Likewise.
16956 [XPG3 || XPG4] (clock_gettime): Likewise.
16957 [XPG3 || XPG4] (clock_settime): Likewise.
16958 [XPG3 || XPG4] (nanosleep): Likewise.
16959 [XPG3 || XPG4] (timer_create): Likewise.
16960 [XPG3 || XPG4] (timer_delete): Likewise.
16961 [XPG3 || XPG4] (timer_gettime): Likewise.
16962 [XPG3 || XPG4] (timer_getoverrun): Likewise.
16963 [XPG3 || XPG4] (timer_settime): Likewise.
16964 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16965 [XPG3 || XPG4] (getlogin_r): Likewise.
16966 [XPG3 || XPG4] (pread): Likewise.
16967 [XPG3 || XPG4] (pthread_atfork): Likewise.
16968 [XPG3 || XPG4] (pwrite): Likewise.
16971 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16974 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16976 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16977 finalizing MALLSTREAM.
16979 * sysdeps/mach/hurd/syncfs.c: New file.
16981 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16984 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16985 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16986 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16987 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16988 (_nss_dns_gethostbyname4_r): Likewise.
16989 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16990 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16992 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
16995 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16997 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
16999 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
17000 * elf/cache.c (print_entry): Print ",AArch64" for
17003 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
17004 * elf/cache.c (print_entry): Print ",hard-float" for
17007 2012-11-18 David S. Miller <davem@davemloft.net>
17009 With help from Joseph Myers.
17010 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
17012 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
17014 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
17015 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
17017 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
17018 * math/libm-test.inc (y0_test): New tests.
17019 (y1_test): New tests.
17020 * sysdeps/i386/fpu/libm-test-ulps: Update.
17021 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17024 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
17026 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
17028 * configure: Regenerated.
17030 2012-11-17 David S. Miller <davem@davemloft.net>
17033 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
17034 nonzero exponents with absolute value below 0x1p-128 to +/-
17037 2012-11-17 Joseph Myers <joseph@codesourcery.com>
17039 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17041 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17043 * posix/getconf-speclist.c: New file.
17044 * posix/posix-envs.def: Likewise.
17045 * posix/confstr.c (START_ENV_GROUP): New macro.
17046 (END_ENV_GROUP): Likewise.
17047 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17048 (KNOWN_PRESENT_ENV_STRING): Likewise.
17049 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17050 (UNKNOWN_ENVIRONMENT): Likewise.
17051 (confstr): Include posix-envs.def instead of handling
17052 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17053 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17054 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17055 (END_ENV_GROUP): Likewise.
17056 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17057 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17058 (UNKNOWN_ENVIRONMENT): Likewise.
17059 (__sysconf): Include posix-envs.def instead of handling associated
17060 cases directly here.
17061 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17062 preprocessing getconf-speclist.c rather than running getconf or
17063 generating empty file.
17065 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
17067 * scripts/check-local-headers.sh: Ignore 'mach' headers.
17069 2012-11-16 Andrej Lajovic <natrij@gmail.com>
17072 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17074 2012-11-16 David S. Miller <davem@davemloft.net>
17076 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17077 smaller than LDBL_EPSILON/2.0L, just return xm1.
17079 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
17081 * elf/tst-array1.c (init): Set constructor priority to 1000.
17082 (fini): Set destructor priority to 1000.
17083 * elf/tst-array2dep.c: Likewise.
17085 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17088 * libio/fileops.c (_IO_new_file_write): Correctly return error.
17089 (_IO_new_file_xsputn): Also return EOF if none of the input
17090 data was written when overflow failed.
17091 * libio/iopadn.c (_IO_padn): Likewise.
17092 * libio/iowpadn.c (_IO_wpadn): Likewise.
17093 * stdio-common/tst-put-error.c: Add copyright notice.
17094 (do_test): Add case for printing padded string.
17095 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
17096 _IO_padn returned error.
17097 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
17098 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
17101 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17103 * libio/libioP.h: Add comment note that the references to C++
17104 bits are now obsolete.
17106 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17108 * math/libm-test.inc (check_complex): Use asprintf.
17110 2012-11-14 Joseph Myers <joseph@codesourcery.com>
17112 * debug/pcprofiledump.c (print_version): Update copyright year.
17113 * malloc/memusagestat.c (print_version): Likewise.
17115 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
17118 * elf/Makefile (tests): Add tst-audit8.
17119 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
17120 ($(objpfx)tst-audit8.out): New target.
17121 (tst-audit8-ENV): New variable.
17122 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
17123 audit if l_reloc_result is NULL.
17124 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
17125 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
17126 * elf/tst-audit8.c: New file.
17128 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17130 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
17131 * misc/Makefile (CFLAGS-select.c): Define.
17132 * posix/Makefile (CFLAGS-pause.c): Define.
17134 2012-11-13 David S. Miller <davem@davemloft.net>
17136 * crypt/Makefile: Move test targets after toplevel Rules
17137 inclusion. Grab any necessary sysdep routines when linking.
17138 * crypt/md5.c (md5_process_block): Remove define, we will always
17139 name it __md5_process_block.
17140 (md5_finish_ctx): Update md5_process_block call.
17141 (md5_stream): Likewise.
17142 (md5_process_bytes): Likewise.
17143 (md5_process_block): Rename to __md5_process_block and move to ...
17144 * crypt/md5-block.c: ... here.
17145 * crypt/sha256.c (sha256_process_block): Move to ...
17146 * crypt/sha256-block.c: ... here.
17147 * crypt/sha512.c (sha512_process_block): Move to ...
17148 * crypt/sha512-block.c: ... here.
17149 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
17151 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
17152 * sysdeps/sparc/sparc64/multiarch/Makefile
17153 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
17155 (localedef-aux): Add md5 crypto assembler when in locale subdir.
17156 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
17158 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
17159 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
17160 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
17161 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
17162 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
17163 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
17164 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
17165 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
17166 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
17168 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
17169 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
17171 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
17173 2012-11-13 Joseph Myers <joseph@codesourcery.com>
17175 * timezone/tzselect.ksh: Update from tzcode git revision
17176 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
17177 * timezone/zdump.c: Likewise.
17178 * timezone/zic.c: Likewise.
17179 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
17180 in TZVERSION setting, not $(PKGVERSION).
17181 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
17182 REPORT_BUGS_TO settings.
17185 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
17188 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17190 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
17191 detection to immediately after _FP_ROUND().
17192 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
17195 2012-11-11 David S. Miller <davem@davemloft.net>
17197 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
17199 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
17200 __close rather than their public counterparts.
17202 2012-11-10 Joseph Myers <joseph@codesourcery.com>
17204 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
17206 [UNIX98] (sem_timedwait): Do not expect.
17207 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
17208 [XPG4 || UNIX98] (sockatmark): Do not expect.
17209 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
17210 (clock_getcpuclockid): Do not expect.
17211 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
17212 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
17214 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
17215 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
17216 [UNIX98] (vwscanf): Likewise.
17217 [UNIX98] (vswscanf): Likewise.
17219 2012-11-09 Joseph Myers <joseph@codesourcery.com>
17221 * timezone/version.h: Remove file.
17222 * timezone/README: Do not refer to version.h.
17223 * timezone/Makefile ($(objpfx)zic.o): New dependency on
17224 $(objpfx)version.h.
17225 ($(objpfx)zdump.o): Likewise.
17226 ($(objpfx)version.h): New target.
17228 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
17230 * timezone/README: Don't mention modification to tzselect.ksh.
17231 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
17232 work on unmodified tzselect.ksh. Substitute version numbers in
17235 * Makefile (format-me): Remove.
17236 (INSTALL): Adjust indentation. Use commands directly instead of
17237 using $(format-me).
17239 * aclocal.m4 (ACX_PKGVERSION): New macro.
17240 (ACX_BUGURL): Likewise.
17241 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
17242 (PKGVERSION): New AC_DEFINE_UNQUOTED.
17243 (REPORT_BUGS_TO): Likewise.
17244 * configure: Regenerated.
17245 * config.h.in (PKGVERSION): New macro.
17246 (REPORT_BUGS_TO): Likewise.
17247 * config.make.in (PKGVERSION): New variable.
17248 (PKGVERSION_TEXI): Likewise.
17249 (REPORT_BUGS_TO): Likewise.
17250 (REPORT_BUGS_TEXI): Likewise.
17251 * Makefile (format-me): Use -I$(common-objpfx)manual.
17252 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
17253 ($(common-objpfx)manual/%): New target.
17254 (manual/%): Remove target.
17255 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
17256 (print_version): Use PKGVERSION.
17257 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
17258 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
17259 and REPORT_BUGS_TO.
17260 ($(objpfx)xtrace): Likewise.
17261 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
17262 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
17263 (print_version): Use PKGVERSION.
17264 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
17265 (do_version): Use PKGVERSION.
17266 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
17268 (common-ldd-rewrite): Likewise.
17269 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
17270 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
17271 (print_version): Use PKGVERSION.
17272 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
17273 * elf/pldd.c (argp_program_bug_address): Remove variable.
17274 (more_help): New function.
17275 (argp): Use more_help.
17276 (print_version): Use PKGVERSION.
17277 * elf/sln.c (main): Use PKGVERSION.
17278 (usage): Use REPORT_BUGS_TO.
17279 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
17280 (top level): Use PKGVERSION.
17281 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
17282 (print_version): Use PKGVERSION.
17283 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
17284 (print_version): Use PKGVERSION.
17285 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
17286 (print_version): Use PKGVERSION.
17287 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
17288 (print_version): Use PKGVERSION.
17289 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
17290 (print_version): Use PKGVERSION.
17291 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
17292 (print_version): Use PKGVERSION.
17293 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
17295 ($(objpfx)memusage): Likewise.
17296 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
17297 (do_version): Use PKGVERSION.
17298 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
17299 (print_version): Use PKGVERSION.
17300 * malloc/mtrace.pl ($PACKAGE): Remove variable.
17301 ($PKGVERSION): New variable.
17302 ($REPORT_BUGS_TO): Likewise.
17303 (usage): Use $REPORT_BUGS_TO.
17304 (top level): Use $PKGVERSION.
17305 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
17306 ($(objpfx)pkgvers.texi): New rule.
17307 ($(objpfx)stamp-pkgvers): Likewise.
17308 * manual/install.texi: Include pkgvers.texi.
17309 (--with-pkgversion): Document new configure option.
17310 (--with-bugurl): Likewise.
17311 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
17312 than necessarily for this particular distribution. Use
17313 REPORT_BUGS_TO for where to report bugs.
17314 * INSTALL: Regenerated.
17315 * manual/libc.texinfo: Include pkgvers.texi.
17316 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
17317 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
17318 (print_version): Use PKGVERSION.
17319 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
17320 (print_version): Use PKGVERSION.
17321 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
17322 (print_version): Use PKGVERSION.
17323 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
17324 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
17326 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
17327 (print_version): Use PKGVERSION.
17328 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
17329 (print_version): Use PKGVERSION.
17330 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
17333 * timezone/checktab.awk: Update from tzcode 2012i.
17334 * timezone/ialloc.c: Likewise.
17335 * timezone/private.h: Likewise.
17336 * timezone/scheck.c: Likewise.
17337 * timezone/tzfile.h: Likewise.
17338 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
17339 (TZVERSION): Hardcode tzcode version number.
17340 * timezone/zdump.c: Update from tzcode 2012i.
17341 * timezone/zic.c: Likewise.
17342 * timezone/version.h: New file.
17343 * timezone/README: Describe version.h. Update upstream location.
17346 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
17347 (mktemp): Enable declaration.
17348 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
17349 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
17350 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
17351 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
17353 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
17355 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
17357 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
17359 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
17361 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
17365 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
17366 offset in buffer as u_int32_t not u_long. Consistently use memcpy
17367 for copies of such integer values.
17368 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17369 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17371 2012-11-09 Andreas Jaeger <aj@suse.de>
17373 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
17374 definitions and declarations that are provided by
17375 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17377 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17379 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
17380 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
17381 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
17384 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17386 * elf/elf.h: Update comment before AArch64 relocations.
17388 2012-11-07 David S. Miller <davem@davemloft.net>
17390 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
17391 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17392 (__start_context): Declare.
17393 (__makecontext_ret): Delete.
17394 (__makecontext): Hook up __start_context instead of
17396 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
17397 (sysdep_routines): Add __start_context when in stdlib.
17399 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17401 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
17402 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
17403 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
17405 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
17406 (READELF): New variable. Use it instead of hardcoded "readelf".
17408 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
17410 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
17411 * sysdeps/x86/Makefile: Here.
17412 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
17413 * sysdeps/x86/tst-xmmymm.sh: This.
17415 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17417 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
17419 [UNIX98] (pthread_barrier_t): Do not expect.
17420 [UNIX98] (pthread_barrierattr_t): Likewise.
17421 [UNIX98] (pthread_spinlock_t): Likewise.
17422 [UNIX98] (pthread_barrier_destroy): Likewise.
17423 [UNIX98] (pthread_barrier_init): Likewise.
17424 [UNIX98] (pthread_barrier_wait): Likewise.
17425 [UNIX98] (pthread_barrierattr_destroy): Likewise.
17426 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
17427 [UNIX98] (pthread_barrierattr_init): Likewise.
17428 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
17429 [UNIX98] (pthread_getcpuclockid): Likewise.
17430 [UNIX98] (pthread_mutex_timedlock): Likewise.
17431 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
17432 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
17433 [UNIX98] (pthread_sigmask): Likewise.
17434 [UNIX98] (pthread_spin_destroy): Likewise.
17435 [UNIX98] (pthread_spin_init): Likewise.
17436 [UNIX98] (pthread_spin_lock): Likewise.
17437 [UNIX98] (pthread_spin_trylock): Likewise.
17438 [UNIX98] (pthread_spin_unlock): Likewise.
17439 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
17441 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
17442 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
17443 [XPG3 || XPG4] (pthread_cond_t): Likewise.
17444 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
17445 [XPG3 || XPG4] (pthread_key_t): Likewise.
17446 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
17447 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
17448 [XPG3 || XPG4] (pthread_once_t): Likewise.
17449 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
17450 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
17451 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
17452 [XPG3 || XPG4] (pthread_t): Likewise.
17454 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
17456 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
17458 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
17459 Change function return type to int.
17461 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
17462 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
17463 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
17464 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
17465 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
17466 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
17467 [!POSIX] (posix_madvise): Likewise.
17468 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
17470 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
17471 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
17472 (mode_t): Likewise.
17473 (posix_mem_offset): Likewise.
17474 (posix_typed_mem_get_info): Likewise.
17475 (posix_typed_mem_open): Likewise.
17477 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
17478 Change condition to [XOPEN2K8].
17480 * conform/conformtest.pl: Preprocess allow-header data with -x c
17481 instead of from stdin.
17482 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
17483 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
17484 [C99-based standards] (cerfc): Likewise.
17485 [C99-based standards] (cexp2): Likewise.
17486 [C99-based standards] (cexpm1): Likewise.
17487 [C99-based standards] (clog10): Likewise.
17488 [C99-based standards] (clog1p): Likewise.
17489 [C99-based standards] (clog2): Likewise.
17490 [C99-based standards] (clgamma): Likewise.
17491 [C99-based standards] (ctgamma): Likewise.
17492 [C99-based standards] (cerff): Likewise.
17493 [C99-based standards] (cerfcf): Likewise.
17494 [C99-based standards] (cexp2f): Likewise.
17495 [C99-based standards] (cexpm1f): Likewise.
17496 [C99-based standards] (clog10f): Likewise.
17497 [C99-based standards] (clog1pf): Likewise.
17498 [C99-based standards] (clog2f): Likewise.
17499 [C99-based standards] (clgammaf): Likewise.
17500 [C99-based standards] (ctgammaf): Likewise.
17501 [C99-based standards] (cerfl): Likewise.
17502 [C99-based standards] (cerfcl): Likewise.
17503 [C99-based standards] (cexp2l): Likewise.
17504 [C99-based standards] (cexpm1l): Likewise.
17505 [C99-based standards] (clog10l): Likewise.
17506 [C99-based standards] (clog1pl): Likewise.
17507 [C99-based standards] (clog2l): Likewise.
17508 [C99-based standards] (clgammal): Likewise.
17509 [C99-based standards] (ctgammal): Likewise.
17510 * conform/data/inttypes.h-data [C99-based standards]: Include
17511 stdint.h-data. Remove all expectations for stdint.h contents.
17512 [C99-based standards] (PRI*): Do not allow.
17513 [C99-based standards] (SCN*): Likewise.
17514 [C99-based standards] (*_t): Likewise.
17515 [C99-based-standards] (PRId8): Expect macro.
17516 [C99-based-standards] (PRIi8): Likewise.
17517 [C99-based-standards] (PRIo8): Likewise.
17518 [C99-based-standards] (PRIu8): Likewise.
17519 [C99-based-standards] (PRIx8): Likewise.
17520 [C99-based-standards] (PRIX8): Likewise.
17521 [C99-based-standards] (SCNd8): Likewise.
17522 [C99-based-standards] (SCNi8): Likewise.
17523 [C99-based-standards] (SCNo8): Likewise.
17524 [C99-based-standards] (SCNu8): Likewise.
17525 [C99-based-standards] (SCNx8): Likewise.
17526 [C99-based-standards] (PRIdLEAST8): Likewise.
17527 [C99-based-standards] (PRIiLEAST8): Likewise.
17528 [C99-based-standards] (PRIoLEAST8): Likewise.
17529 [C99-based-standards] (PRIuLEAST8): Likewise.
17530 [C99-based-standards] (PRIxLEAST8): Likewise.
17531 [C99-based-standards] (PRIXLEAST8): Likewise.
17532 [C99-based-standards] (SCNdLEAST8): Likewise.
17533 [C99-based-standards] (SCNiLEAST8): Likewise.
17534 [C99-based-standards] (SCNoLEAST8): Likewise.
17535 [C99-based-standards] (SCNuLEAST8): Likewise.
17536 [C99-based-standards] (SCNxLEAST8): Likewise.
17537 [C99-based-standards] (PRIdFAST8): Likewise.
17538 [C99-based-standards] (PRIiFAST8): Likewise.
17539 [C99-based-standards] (PRIoFAST8): Likewise.
17540 [C99-based-standards] (PRIuFAST8): Likewise.
17541 [C99-based-standards] (PRIxFAST8): Likewise.
17542 [C99-based-standards] (PRIXFAST8): Likewise.
17543 [C99-based-standards] (SCNdFAST8): Likewise.
17544 [C99-based-standards] (SCNiFAST8): Likewise.
17545 [C99-based-standards] (SCNoFAST8): Likewise.
17546 [C99-based-standards] (SCNuFAST8): Likewise.
17547 [C99-based-standards] (SCNxFAST8): Likewise.
17548 [C99-based-standards] (PRId16): Likewise.
17549 [C99-based-standards] (PRIi16): Likewise.
17550 [C99-based-standards] (PRIo16): Likewise.
17551 [C99-based-standards] (PRIu16): Likewise.
17552 [C99-based-standards] (PRIx16): Likewise.
17553 [C99-based-standards] (PRIX16): Likewise.
17554 [C99-based-standards] (SCNd16): Likewise.
17555 [C99-based-standards] (SCNi16): Likewise.
17556 [C99-based-standards] (SCNo16): Likewise.
17557 [C99-based-standards] (SCNu16): Likewise.
17558 [C99-based-standards] (SCNx16): Likewise.
17559 [C99-based-standards] (PRIdLEAST16): Likewise.
17560 [C99-based-standards] (PRIiLEAST16): Likewise.
17561 [C99-based-standards] (PRIoLEAST16): Likewise.
17562 [C99-based-standards] (PRIuLEAST16): Likewise.
17563 [C99-based-standards] (PRIxLEAST16): Likewise.
17564 [C99-based-standards] (PRIXLEAST16): Likewise.
17565 [C99-based-standards] (SCNdLEAST16): Likewise.
17566 [C99-based-standards] (SCNiLEAST16): Likewise.
17567 [C99-based-standards] (SCNoLEAST16): Likewise.
17568 [C99-based-standards] (SCNuLEAST16): Likewise.
17569 [C99-based-standards] (SCNxLEAST16): Likewise.
17570 [C99-based-standards] (PRIdFAST16): Likewise.
17571 [C99-based-standards] (PRIiFAST16): Likewise.
17572 [C99-based-standards] (PRIoFAST16): Likewise.
17573 [C99-based-standards] (PRIuFAST16): Likewise.
17574 [C99-based-standards] (PRIxFAST16): Likewise.
17575 [C99-based-standards] (PRIXFAST16): Likewise.
17576 [C99-based-standards] (SCNdFAST16): Likewise.
17577 [C99-based-standards] (SCNiFAST16): Likewise.
17578 [C99-based-standards] (SCNoFAST16): Likewise.
17579 [C99-based-standards] (SCNuFAST16): Likewise.
17580 [C99-based-standards] (SCNxFAST16): Likewise.
17581 [C99-based-standards] (PRId32): Likewise.
17582 [C99-based-standards] (PRIi32): Likewise.
17583 [C99-based-standards] (PRIo32): Likewise.
17584 [C99-based-standards] (PRIu32): Likewise.
17585 [C99-based-standards] (PRIx32): Likewise.
17586 [C99-based-standards] (PRIX32): Likewise.
17587 [C99-based-standards] (SCNd32): Likewise.
17588 [C99-based-standards] (SCNi32): Likewise.
17589 [C99-based-standards] (SCNo32): Likewise.
17590 [C99-based-standards] (SCNu32): Likewise.
17591 [C99-based-standards] (SCNx32): Likewise.
17592 [C99-based-standards] (PRIdLEAST32): Likewise.
17593 [C99-based-standards] (PRIiLEAST32): Likewise.
17594 [C99-based-standards] (PRIoLEAST32): Likewise.
17595 [C99-based-standards] (PRIuLEAST32): Likewise.
17596 [C99-based-standards] (PRIxLEAST32): Likewise.
17597 [C99-based-standards] (PRIXLEAST32): Likewise.
17598 [C99-based-standards] (SCNdLEAST32): Likewise.
17599 [C99-based-standards] (SCNiLEAST32): Likewise.
17600 [C99-based-standards] (SCNoLEAST32): Likewise.
17601 [C99-based-standards] (SCNuLEAST32): Likewise.
17602 [C99-based-standards] (SCNxLEAST32): Likewise.
17603 [C99-based-standards] (PRIdFAST32): Likewise.
17604 [C99-based-standards] (PRIiFAST32): Likewise.
17605 [C99-based-standards] (PRIoFAST32): Likewise.
17606 [C99-based-standards] (PRIuFAST32): Likewise.
17607 [C99-based-standards] (PRIxFAST32): Likewise.
17608 [C99-based-standards] (PRIXFAST32): Likewise.
17609 [C99-based-standards] (SCNdFAST32): Likewise.
17610 [C99-based-standards] (SCNiFAST32): Likewise.
17611 [C99-based-standards] (SCNoFAST32): Likewise.
17612 [C99-based-standards] (SCNuFAST32): Likewise.
17613 [C99-based-standards] (SCNxFAST32): Likewise.
17614 [C99-based-standards] (PRId64): Likewise.
17615 [C99-based-standards] (PRIi64): Likewise.
17616 [C99-based-standards] (PRIo64): Likewise.
17617 [C99-based-standards] (PRIu64): Likewise.
17618 [C99-based-standards] (PRIx64): Likewise.
17619 [C99-based-standards] (PRIX64): Likewise.
17620 [C99-based-standards] (SCNd64): Likewise.
17621 [C99-based-standards] (SCNi64): Likewise.
17622 [C99-based-standards] (SCNo64): Likewise.
17623 [C99-based-standards] (SCNu64): Likewise.
17624 [C99-based-standards] (SCNx64): Likewise.
17625 [C99-based-standards] (PRIdLEAST64): Likewise.
17626 [C99-based-standards] (PRIiLEAST64): Likewise.
17627 [C99-based-standards] (PRIoLEAST64): Likewise.
17628 [C99-based-standards] (PRIuLEAST64): Likewise.
17629 [C99-based-standards] (PRIxLEAST64): Likewise.
17630 [C99-based-standards] (PRIXLEAST64): Likewise.
17631 [C99-based-standards] (SCNdLEAST64): Likewise.
17632 [C99-based-standards] (SCNiLEAST64): Likewise.
17633 [C99-based-standards] (SCNoLEAST64): Likewise.
17634 [C99-based-standards] (SCNuLEAST64): Likewise.
17635 [C99-based-standards] (SCNxLEAST64): Likewise.
17636 [C99-based-standards] (PRIdFAST64): Likewise.
17637 [C99-based-standards] (PRIiFAST64): Likewise.
17638 [C99-based-standards] (PRIoFAST64): Likewise.
17639 [C99-based-standards] (PRIuFAST64): Likewise.
17640 [C99-based-standards] (PRIxFAST64): Likewise.
17641 [C99-based-standards] (PRIXFAST64): Likewise.
17642 [C99-based-standards] (SCNdFAST64): Likewise.
17643 [C99-based-standards] (SCNiFAST64): Likewise.
17644 [C99-based-standards] (SCNoFAST64): Likewise.
17645 [C99-based-standards] (SCNuFAST64): Likewise.
17646 [C99-based-standards] (SCNxFAST64): Likewise.
17647 [C99-based-standards] (PRIdMAX): Likewise.
17648 [C99-based-standards] (PRIiMAX): Likewise.
17649 [C99-based-standards] (PRIoMAX): Likewise.
17650 [C99-based-standards] (PRIuMAX): Likewise.
17651 [C99-based-standards] (PRIxMAX): Likewise.
17652 [C99-based-standards] (PRIXMAX): Likewise.
17653 [C99-based-standards] (SCNdMAX): Likewise.
17654 [C99-based-standards] (SCNiMAX): Likewise.
17655 [C99-based-standards] (SCNoMAX): Likewise.
17656 [C99-based-standards] (SCNuMAX): Likewise.
17657 [C99-based-standards] (SCNxMAX): Likewise.
17658 [C99-based-standards] (PRIdPTR): Likewise.
17659 [C99-based-standards] (PRIiPTR): Likewise.
17660 [C99-based-standards] (PRIoPTR): Likewise.
17661 [C99-based-standards] (PRIuPTR): Likewise.
17662 [C99-based-standards] (PRIxPTR): Likewise.
17663 [C99-based-standards] (PRIXPTR): Likewise.
17664 [C99-based-standards] (SCNdPTR): Likewise.
17665 [C99-based-standards] (SCNiPTR): Likewise.
17666 [C99-based-standards] (SCNoPTR): Likewise.
17667 [C99-based-standards] (SCNuPTR): Likewise.
17668 [C99-based-standards] (SCNxPTR): Likewise.
17669 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
17671 * conform/data/stdint.h-data: Update comments to clarify
17673 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
17675 [C99-based standards] (INT8_MAX): Likewise.
17676 [C99-based standards] (INT16_MIN): Likewise.
17677 [C99-based standards] (INT16_MAX): Likewise.
17678 [C99-based standards] (INT32_MIN): Likewise.
17679 [C99-based standards] (INT32_MAX): Likewise.
17680 [C99-based standards] (INT64_MIN): Likewise.
17681 [C99-based standards] (INT64_MAX): Likewise.
17682 [C99-based standards] (UINT8_MAX): Likewise.
17683 [C99-based standards] (UINT16_MAX): Likewise.
17684 [C99-based standards] (UINT32_MAX): Likewise.
17685 [C99-based standards] (UINT64_MAX): Likewise.
17686 [C99-based standards] (INT_LEAST8_MIN): Likewise.
17687 [C99-based standards] (INT_LEAST8_MAX): Likewise.
17688 [C99-based standards] (INT_LEAST16_MIN): Likewise.
17689 [C99-based standards] (INT_LEAST16_MAX): Likewise.
17690 [C99-based standards] (INT_LEAST32_MIN): Likewise.
17691 [C99-based standards] (INT_LEAST32_MAX): Likewise.
17692 [C99-based standards] (INT_LEAST64_MIN): Likewise.
17693 [C99-based standards] (INT_LEAST64_MAX): Likewise.
17694 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
17695 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
17696 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
17697 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
17698 [C99-based standards] (INT_FAST8_MIN): Likewise.
17699 [C99-based standards] (INT_FAST8_MAX): Likewise.
17700 [C99-based standards] (INT_FAST16_MIN): Likewise.
17701 [C99-based standards] (INT_FAST16_MAX): Likewise.
17702 [C99-based standards] (INT_FAST32_MIN): Likewise.
17703 [C99-based standards] (INT_FAST32_MAX): Likewise.
17704 [C99-based standards] (INT_FAST64_MIN): Likewise.
17705 [C99-based standards] (INT_FAST64_MAX): Likewise.
17706 [C99-based standards] (UINT_FAST8_MAX): Likewise.
17707 [C99-based standards] (UINT_FAST16_MAX): Likewise.
17708 [C99-based standards] (UINT_FAST32_MAX): Likewise.
17709 [C99-based standards] (UINT_FAST64_MAX): Likewise.
17710 [C99-based standards] (INTPTR_MIN): Likewise.
17711 [C99-based standards] (INTPTR_MAX): Likewise.
17712 [C99-based standards] (UINTPTR_MAX): Likewise.
17713 [C99-based standards] (INTMAX_MIN): Likewise.
17714 [C99-based standards] (INTMAX_MAX): Likewise.
17715 [C99-based standards] (UINTMAX_MAX): Likewise.
17716 [C99-based standards] (PTRDIFF_MIN): Likewise.
17717 [C99-based standards] (PTRDIFF_MAX): Likewise.
17718 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
17719 [C99-based standards] (SIZE_MAX): Likewise.
17720 [C99-based standards] (WCHAR_MAX): Likewise.
17721 [C99-based standards] (WINT_MAX): Likewise.
17722 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
17723 constraint on value.
17724 [C99-based standards] (WCHAR_MIN): Likewise.
17725 [C99-based standards] (WINT_MIN): Likewise.
17726 [C99-based standards] (*_t): Allow.
17727 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
17728 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
17729 Include math.h-data and complex.h-data. Remove all expectations
17730 of math.h and complex.h contents.
17731 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
17733 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
17734 (struct tm): Expect tag.
17735 [C99-based-standards] (wcstof): Expect function.
17736 [C99-based-standards] (wcstold): Likewise.
17737 [C99-based-standards] (wcstoll): Likewise.
17738 [C99-based-standards] (wcstoull): Likewise.
17739 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
17740 macro-int-constant. Specify type.
17741 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
17742 constraint on value.
17743 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17745 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
17747 [ISO C standards]: Do not allow headers.
17748 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
17749 wcs[abcdefghijklmnopqrstuvwxyz]*.
17750 [ISO C standards] (*_t): Do not allow.
17751 * conform/data/wctype.h-data [C99-based standards] (iswblank):
17753 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17754 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17756 [ISO C standards]: Do not allow headers.
17757 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17758 is[abcdefghijklmnopqrstuvwxyz]*.
17759 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17760 to[abcdefghijklmnopqrstuvwxyz]*.
17761 [ISO C standards] (*_t): Do not allow.
17762 * conform/data/stdalign.h-data: New file.
17763 * conform/data/stdbool.h-data: Likewise.
17764 * conform/data/stdnoreturn.h-data: Likewise.
17766 2012-11-07 Roland McGrath <roland@hack.frob.com>
17769 * manual/filesys.texi (Directory Entries): Typo fix.
17770 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17772 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17774 * elf/elf.h (EM_AARCH64): New macro.
17775 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17776 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17777 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17778 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17779 (R_AARCH64_TLSDESC): Likewise.
17780 (NT_ARM_TLS): Likewise.
17781 (NT_ARM_HW_BREAK): Likewise.
17782 (NT_ARM_HW_WATCH): Likewise.
17784 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17787 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17788 (__ieee754_powl): Saturate nonzero exponents with absolute value
17789 below 0x1p-79 to +/- 0x1p-79.
17790 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17791 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17792 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17793 nonzero exponents with absolute value below 0x1p-32 to +/-
17795 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17796 (__ieee754_powl): Saturate nonzero exponents with absolute value
17797 below 0x1p-79 to +/- 0x1p-79.
17798 * math/libm-test.inc (pow_test): Add more tests.
17800 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17802 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17803 _dl_s390_cap_flags with kernel. Increase string length.
17804 (_dl_s390_platforms): Add z196 and zEC12.
17806 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17808 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17809 Change XOPEN21K to XOPEN2K.
17811 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
17813 * string/memmove.c: Use memcpy when possible.
17815 2012-11-06 Andreas Jaeger <aj@suse.de>
17817 * po/eo.po: Update from translation team.
17819 2012-11-06 Joseph Myers <joseph@codesourcery.com>
17822 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17823 exponent and small x and y exponents, scale x or y up. Increase
17824 by 2 the exponent used in scaling up.
17825 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17826 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17827 * math/libm-test.inc (fma_test): Add more tests.
17828 (fma_test_towardzero): Likewise.
17829 (fma_test_downward): Likewise.
17830 (fma_test_upward): Likewise.
17832 2012-11-05 Joseph Myers <joseph@codesourcery.com>
17835 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17839 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17840 namespace for names of struct fields.
17841 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17843 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17844 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17846 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17849 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17851 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17853 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17857 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17860 2012-11-04 Joseph Myers <joseph@codesourcery.com>
17863 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17864 definitely overflow as x * y not x * y + z.
17865 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17866 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17867 * math/libm-test.inc (fma_test): Add more tests.
17868 (fma_test_towardzero): Likewise.
17869 (fma_test_downward): Likewise.
17870 (fma_test_upward): Likewise.
17872 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17876 * include/stub-tag.h: Remove file.
17877 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17879 * manual/maint.texi (Porting): Don't reference it.
17880 * Makerules ($(objpfx)stubs): Likewise.
17881 * dirent/closedir.c: Don't include <stub-tag.h>.
17882 * dirent/dirfd.c: Likewise.
17883 * dirent/fdopendir.c: Likewise.
17884 * dirent/getdents.c: Likewise.
17885 * dirent/getdents64.c: Likewise.
17886 * dirent/opendir.c: Likewise.
17887 * dirent/readdir.c: Likewise.
17888 * dirent/readdir64.c: Likewise.
17889 * dirent/readdir64_r.c: Likewise.
17890 * dirent/readdir_r.c: Likewise.
17891 * dirent/rewinddir.c: Likewise.
17892 * dirent/seekdir.c: Likewise.
17893 * dirent/telldir.c: Likewise.
17894 * gmon/profil.c: Likewise.
17895 * grp/setgroups.c: Likewise.
17896 * inet/if_index.c: Likewise.
17897 * io/access.c: Likewise.
17898 * io/chdir.c: Likewise.
17899 * io/chmod.c: Likewise.
17900 * io/chown.c: Likewise.
17901 * io/close.c: Likewise.
17902 * io/dup.c: Likewise.
17903 * io/dup2.c: Likewise.
17904 * io/dup3.c: Likewise.
17905 * io/euidaccess.c: Likewise.
17906 * io/faccessat.c: Likewise.
17907 * io/fchdir.c: Likewise.
17908 * io/fchmod.c: Likewise.
17909 * io/fchmodat.c: Likewise.
17910 * io/fchown.c: Likewise.
17911 * io/fchownat.c: Likewise.
17912 * io/fcntl.c: Likewise.
17913 * io/flock.c: Likewise.
17914 * io/fstatfs.c: Likewise.
17915 * io/fstatfs64.c: Likewise.
17916 * io/fstatvfs.c: Likewise.
17917 * io/fstatvfs64.c: Likewise.
17918 * io/futimens.c: Likewise.
17919 * io/fxstat.c: Likewise.
17920 * io/fxstat64.c: Likewise.
17921 * io/fxstatat.c: Likewise.
17922 * io/fxstatat64.c: Likewise.
17923 * io/getcwd.c: Likewise.
17924 * io/isatty.c: Likewise.
17925 * io/lchmod.c: Likewise.
17926 * io/lchown.c: Likewise.
17927 * io/link.c: Likewise.
17928 * io/linkat.c: Likewise.
17929 * io/lseek.c: Likewise.
17930 * io/lseek64.c: Likewise.
17931 * io/lxstat64.c: Likewise.
17932 * io/mkdir.c: Likewise.
17933 * io/mkdirat.c: Likewise.
17934 * io/mkfifo.c: Likewise.
17935 * io/mkfifoat.c: Likewise.
17936 * io/open.c: Likewise.
17937 * io/open64.c: Likewise.
17938 * io/openat.c: Likewise.
17939 * io/openat64.c: Likewise.
17940 * io/pipe.c: Likewise.
17941 * io/pipe2.c: Likewise.
17942 * io/poll.c: Likewise.
17943 * io/posix_fadvise.c: Likewise.
17944 * io/posix_fadvise64.c: Likewise.
17945 * io/posix_fallocate.c: Likewise.
17946 * io/posix_fallocate64.c: Likewise.
17947 * io/read.c: Likewise.
17948 * io/readlink.c: Likewise.
17949 * io/readlinkat.c: Likewise.
17950 * io/rmdir.c: Likewise.
17951 * io/sendfile.c: Likewise.
17952 * io/sendfile64.c: Likewise.
17953 * io/statfs.c: Likewise.
17954 * io/statfs64.c: Likewise.
17955 * io/statvfs.c: Likewise.
17956 * io/statvfs64.c: Likewise.
17957 * io/symlink.c: Likewise.
17958 * io/symlinkat.c: Likewise.
17959 * io/ttyname.c: Likewise.
17960 * io/ttyname_r.c: Likewise.
17961 * io/umask.c: Likewise.
17962 * io/unlink.c: Likewise.
17963 * io/unlinkat.c: Likewise.
17964 * io/utime.c: Likewise.
17965 * io/utimensat.c: Likewise.
17966 * io/write.c: Likewise.
17967 * io/xmknod.c: Likewise.
17968 * io/xmknodat.c: Likewise.
17969 * io/xstat.c: Likewise.
17970 * io/xstat64.c: Likewise.
17971 * login/getpt.c: Likewise.
17972 * login/grantpt.c: Likewise.
17973 * login/unlockpt.c: Likewise.
17974 * math/e_acoshl.c: Likewise.
17975 * math/e_acosl.c: Likewise.
17976 * math/e_asinl.c: Likewise.
17977 * math/e_atan2l.c: Likewise.
17978 * math/e_atanhl.c: Likewise.
17979 * math/e_coshl.c: Likewise.
17980 * math/e_expl.c: Likewise.
17981 * math/e_fmodl.c: Likewise.
17982 * math/e_gammal_r.c: Likewise.
17983 * math/e_hypotl.c: Likewise.
17984 * math/e_j0l.c: Likewise.
17985 * math/e_j1l.c: Likewise.
17986 * math/e_jnl.c: Likewise.
17987 * math/e_lgammal_r.c: Likewise.
17988 * math/e_log10l.c: Likewise.
17989 * math/e_log2l.c: Likewise.
17990 * math/e_logl.c: Likewise.
17991 * math/e_powl.c: Likewise.
17992 * math/e_rem_pio2l.c: Likewise.
17993 * math/e_sinhl.c: Likewise.
17994 * math/e_sqrtl.c: Likewise.
17995 * math/fclrexcpt.c: Likewise.
17996 * math/fedisblxcpt.c: Likewise.
17997 * math/feenablxcpt.c: Likewise.
17998 * math/fegetenv.c: Likewise.
17999 * math/fegetexcept.c: Likewise.
18000 * math/fegetround.c: Likewise.
18001 * math/feholdexcpt.c: Likewise.
18002 * math/fesetenv.c: Likewise.
18003 * math/fesetround.c: Likewise.
18004 * math/feupdateenv.c: Likewise.
18005 * math/fgetexcptflg.c: Likewise.
18006 * math/fraiseexcpt.c: Likewise.
18007 * math/fsetexcptflg.c: Likewise.
18008 * math/ftestexcept.c: Likewise.
18009 * math/k_cosl.c: Likewise.
18010 * math/k_rem_pio2l.c: Likewise.
18011 * math/k_sinl.c: Likewise.
18012 * math/k_tanl.c: Likewise.
18013 * math/s_asinhl.c: Likewise.
18014 * math/s_atanl.c: Likewise.
18015 * math/s_cbrtl.c: Likewise.
18016 * math/s_erfl.c: Likewise.
18017 * math/s_expm1l.c: Likewise.
18018 * math/s_log1pl.c: Likewise.
18019 * math/s_tanhl.c: Likewise.
18020 * misc/acct.c: Likewise.
18021 * misc/brk.c: Likewise.
18022 * misc/chflags.c: Likewise.
18023 * misc/chroot.c: Likewise.
18024 * misc/fchflags.c: Likewise.
18025 * misc/fgetxattr.c: Likewise.
18026 * misc/flistxattr.c: Likewise.
18027 * misc/fremovexattr.c: Likewise.
18028 * misc/fsetxattr.c: Likewise.
18029 * misc/fsync.c: Likewise.
18030 * misc/ftruncate.c: Likewise.
18031 * misc/futimes.c: Likewise.
18032 * misc/futimesat.c: Likewise.
18033 * misc/getdomain.c: Likewise.
18034 * misc/getdtsz.c: Likewise.
18035 * misc/gethostid.c: Likewise.
18036 * misc/gethostname.c: Likewise.
18037 * misc/getloadavg.c: Likewise.
18038 * misc/getpagesize.c: Likewise.
18039 * misc/getsysstats.c: Likewise.
18040 * misc/getxattr.c: Likewise.
18041 * misc/gtty.c: Likewise.
18042 * misc/ioctl.c: Likewise.
18043 * misc/lgetxattr.c: Likewise.
18044 * misc/listxattr.c: Likewise.
18045 * misc/llistxattr.c: Likewise.
18046 * misc/lremovexattr.c: Likewise.
18047 * misc/lsetxattr.c: Likewise.
18048 * misc/lutimes.c: Likewise.
18049 * misc/madvise.c: Likewise.
18050 * misc/mincore.c: Likewise.
18051 * misc/mlock.c: Likewise.
18052 * misc/mlockall.c: Likewise.
18053 * misc/mmap.c: Likewise.
18054 * misc/mprotect.c: Likewise.
18055 * misc/msync.c: Likewise.
18056 * misc/munlock.c: Likewise.
18057 * misc/munlockall.c: Likewise.
18058 * misc/munmap.c: Likewise.
18059 * misc/preadv.c: Likewise.
18060 * misc/preadv64.c: Likewise.
18061 * misc/ptrace.c: Likewise.
18062 * misc/pwritev.c: Likewise.
18063 * misc/pwritev64.c: Likewise.
18064 * misc/readv.c: Likewise.
18065 * misc/reboot.c: Likewise.
18066 * misc/remap_file_pages.c: Likewise.
18067 * misc/removexattr.c: Likewise.
18068 * misc/revoke.c: Likewise.
18069 * misc/select.c: Likewise.
18070 * misc/setdomain.c: Likewise.
18071 * misc/setegid.c: Likewise.
18072 * misc/seteuid.c: Likewise.
18073 * misc/sethostid.c: Likewise.
18074 * misc/sethostname.c: Likewise.
18075 * misc/setregid.c: Likewise.
18076 * misc/setreuid.c: Likewise.
18077 * misc/setxattr.c: Likewise.
18078 * misc/sstk.c: Likewise.
18079 * misc/stty.c: Likewise.
18080 * misc/swapoff.c: Likewise.
18081 * misc/swapon.c: Likewise.
18082 * misc/sync.c: Likewise.
18083 * misc/syncfs.c: Likewise.
18084 * misc/syscall.c: Likewise.
18085 * misc/truncate.c: Likewise.
18086 * misc/ualarm.c: Likewise.
18087 * misc/usleep.c: Likewise.
18088 * misc/ustat.c: Likewise.
18089 * misc/utimes.c: Likewise.
18090 * misc/vhangup.c: Likewise.
18091 * misc/writev.c: Likewise.
18092 * posix/_exit.c: Likewise.
18093 * posix/alarm.c: Likewise.
18094 * posix/execve.c: Likewise.
18095 * posix/fexecve.c: Likewise.
18096 * posix/fork.c: Likewise.
18097 * posix/fpathconf.c: Likewise.
18098 * posix/getaddrinfo.c: Likewise.
18099 * posix/getegid.c: Likewise.
18100 * posix/geteuid.c: Likewise.
18101 * posix/getgid.c: Likewise.
18102 * posix/getgroups.c: Likewise.
18103 * posix/getlogin.c: Likewise.
18104 * posix/getlogin_r.c: Likewise.
18105 * posix/getpgid.c: Likewise.
18106 * posix/getpid.c: Likewise.
18107 * posix/getppid.c: Likewise.
18108 * posix/getresgid.c: Likewise.
18109 * posix/getresuid.c: Likewise.
18110 * posix/getsid.c: Likewise.
18111 * posix/getuid.c: Likewise.
18112 * posix/glob64.c: Likewise.
18113 * posix/nanosleep.c: Likewise.
18114 * posix/pathconf.c: Likewise.
18115 * posix/pause.c: Likewise.
18116 * posix/posix_madvise.c: Likewise.
18117 * posix/pread.c: Likewise.
18118 * posix/pread64.c: Likewise.
18119 * posix/pwrite.c: Likewise.
18120 * posix/pwrite64.c: Likewise.
18121 * posix/sched_getaffinity.c: Likewise.
18122 * posix/sched_getp.c: Likewise.
18123 * posix/sched_gets.c: Likewise.
18124 * posix/sched_primax.c: Likewise.
18125 * posix/sched_primin.c: Likewise.
18126 * posix/sched_rr_gi.c: Likewise.
18127 * posix/sched_setaffinity.c: Likewise.
18128 * posix/sched_setp.c: Likewise.
18129 * posix/sched_sets.c: Likewise.
18130 * posix/sched_yield.c: Likewise.
18131 * posix/setgid.c: Likewise.
18132 * posix/setlogin.c: Likewise.
18133 * posix/setpgid.c: Likewise.
18134 * posix/setresgid.c: Likewise.
18135 * posix/setresuid.c: Likewise.
18136 * posix/setsid.c: Likewise.
18137 * posix/setuid.c: Likewise.
18138 * posix/sleep.c: Likewise.
18139 * posix/spawni.c: Likewise.
18140 * posix/sysconf.c: Likewise.
18141 * posix/times.c: Likewise.
18142 * posix/wait.c: Likewise.
18143 * posix/wait3.c: Likewise.
18144 * posix/wait4.c: Likewise.
18145 * posix/waitpid.c: Likewise.
18146 * resolv/gai_sigqueue.c: Likewise.
18147 * resource/getpriority.c: Likewise.
18148 * resource/getrlimit.c: Likewise.
18149 * resource/getrusage.c: Likewise.
18150 * resource/nice.c: Likewise.
18151 * resource/setpriority.c: Likewise.
18152 * resource/setrlimit.c: Likewise.
18153 * resource/ulimit.c: Likewise.
18154 * rt/aio_cancel.c: Likewise.
18155 * rt/aio_fsync.c: Likewise.
18156 * rt/aio_read.c: Likewise.
18157 * rt/aio_sigqueue.c: Likewise.
18158 * rt/aio_suspend.c: Likewise.
18159 * rt/aio_write.c: Likewise.
18160 * rt/clock_getres.c: Likewise.
18161 * rt/clock_gettime.c: Likewise.
18162 * rt/clock_nanosleep.c: Likewise.
18163 * rt/clock_settime.c: Likewise.
18164 * rt/lio_listio.c: Likewise.
18165 * rt/mq_close.c: Likewise.
18166 * rt/mq_getattr.c: Likewise.
18167 * rt/mq_notify.c: Likewise.
18168 * rt/mq_open.c: Likewise.
18169 * rt/mq_receive.c: Likewise.
18170 * rt/mq_send.c: Likewise.
18171 * rt/mq_setattr.c: Likewise.
18172 * rt/mq_timedreceive.c: Likewise.
18173 * rt/mq_timedsend.c: Likewise.
18174 * rt/mq_unlink.c: Likewise.
18175 * rt/shm_open.c: Likewise.
18176 * rt/shm_unlink.c: Likewise.
18177 * rt/timer_create.c: Likewise.
18178 * rt/timer_delete.c: Likewise.
18179 * rt/timer_getoverr.c: Likewise.
18180 * rt/timer_gettime.c: Likewise.
18181 * rt/timer_settime.c: Likewise.
18182 * setjmp/__longjmp.c: Likewise.
18183 * setjmp/setjmp.c: Likewise.
18184 * signal/kill.c: Likewise.
18185 * signal/killpg.c: Likewise.
18186 * signal/raise.c: Likewise.
18187 * signal/sigaction.c: Likewise.
18188 * signal/sigaltstack.c: Likewise.
18189 * signal/sigblock.c: Likewise.
18190 * signal/sigignore.c: Likewise.
18191 * signal/sigintr.c: Likewise.
18192 * signal/signal.c: Likewise.
18193 * signal/sigpause.c: Likewise.
18194 * signal/sigpending.c: Likewise.
18195 * signal/sigqueue.c: Likewise.
18196 * signal/sigreturn.c: Likewise.
18197 * signal/sigset.c: Likewise.
18198 * signal/sigsetmask.c: Likewise.
18199 * signal/sigstack.c: Likewise.
18200 * signal/sigsuspend.c: Likewise.
18201 * signal/sigtimedwait.c: Likewise.
18202 * signal/sigvec.c: Likewise.
18203 * signal/sigwait.c: Likewise.
18204 * signal/sigwaitinfo.c: Likewise.
18205 * signal/sysv_signal.c: Likewise.
18206 * socket/accept.c: Likewise.
18207 * socket/accept4.c: Likewise.
18208 * socket/bind.c: Likewise.
18209 * socket/connect.c: Likewise.
18210 * socket/getpeername.c: Likewise.
18211 * socket/getsockname.c: Likewise.
18212 * socket/getsockopt.c: Likewise.
18213 * socket/isfdtype.c: Likewise.
18214 * socket/listen.c: Likewise.
18215 * socket/recv.c: Likewise.
18216 * socket/recvfrom.c: Likewise.
18217 * socket/recvmsg.c: Likewise.
18218 * socket/send.c: Likewise.
18219 * socket/sendmsg.c: Likewise.
18220 * socket/sendto.c: Likewise.
18221 * socket/setsockopt.c: Likewise.
18222 * socket/shutdown.c: Likewise.
18223 * socket/sockatmark.c: Likewise.
18224 * socket/socket.c: Likewise.
18225 * socket/socketpair.c: Likewise.
18226 * stdio-common/ctermid.c: Likewise.
18227 * stdio-common/cuserid.c: Likewise.
18228 * stdio-common/remove.c: Likewise.
18229 * stdio-common/rename.c: Likewise.
18230 * stdio-common/renameat.c: Likewise.
18231 * stdio-common/tempname.c: Likewise.
18232 * stdlib/getcontext.c: Likewise.
18233 * stdlib/makecontext.c: Likewise.
18234 * stdlib/setcontext.c: Likewise.
18235 * stdlib/swapcontext.c: Likewise.
18236 * stdlib/system.c: Likewise.
18237 * streams/fattach.c: Likewise.
18238 * streams/fdetach.c: Likewise.
18239 * streams/getmsg.c: Likewise.
18240 * streams/getpmsg.c: Likewise.
18241 * streams/putmsg.c: Likewise.
18242 * streams/putpmsg.c: Likewise.
18243 * sysdeps/unix/bsd/getpt.c: Likewise.
18244 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
18245 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
18246 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18249 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
18250 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18251 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18252 * sysvipc/msgctl.c: Likewise.
18253 * sysvipc/msgget.c: Likewise.
18254 * sysvipc/msgrcv.c: Likewise.
18255 * sysvipc/msgsnd.c: Likewise.
18256 * sysvipc/semctl.c: Likewise.
18257 * sysvipc/semget.c: Likewise.
18258 * sysvipc/semop.c: Likewise.
18259 * sysvipc/semtimedop.c: Likewise.
18260 * sysvipc/shmat.c: Likewise.
18261 * sysvipc/shmctl.c: Likewise.
18262 * sysvipc/shmdt.c: Likewise.
18263 * sysvipc/shmget.c: Likewise.
18264 * termios/tcdrain.c: Likewise.
18265 * termios/tcflow.c: Likewise.
18266 * termios/tcflush.c: Likewise.
18267 * termios/tcgetattr.c: Likewise.
18268 * termios/tcgetpgrp.c: Likewise.
18269 * termios/tcsendbrk.c: Likewise.
18270 * termios/tcsetattr.c: Likewise.
18271 * termios/tcsetpgrp.c: Likewise.
18272 * time/adjtime.c: Likewise.
18273 * time/clock.c: Likewise.
18274 * time/getitimer.c: Likewise.
18275 * time/gettimeofday.c: Likewise.
18276 * time/setitimer.c: Likewise.
18277 * time/settimeofday.c: Likewise.
18278 * time/stime.c: Likewise.
18279 * time/time.c: Likewise.
18281 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
18283 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
18286 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
18288 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
18290 2012-11-03 Joseph Myers <joseph@codesourcery.com>
18293 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
18294 FE_TONEAREST before applying Dekker multiplication and Knuth
18295 addition. Clear inexact exceptions and check for exact zero
18296 results afterwards.
18297 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18298 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18299 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18300 * math/libm-test.inc (fma_test): Add more tests.
18301 (fma_test_towardzero): Likewise.
18302 (fma_test_downward): Likewise.
18303 (fma_test_upward): Likewise.
18304 * sysdeps/generic/math_private.h (default_libc_fesetround): New
18306 (libc_fesetround): New macro.
18307 (libc_fesetroundf): Likewise.
18308 (libc_fesetroundl): Likewise.
18309 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
18311 (libc_fesetround_387): Likewise.
18312 (libc_fesetroundf): New macro.
18313 (libc_fesetround): Likewise.
18314 (libc_fesetroundl): Likewise.
18315 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
18317 (libc_fesetroundf): New macro.
18318 (libc_fesetround): Likewise.
18319 (libc_fesetroundl): Likewise.
18320 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
18321 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
18322 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
18324 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
18325 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
18327 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
18328 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
18330 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
18334 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
18335 integer constant usable in #if and use that to give value to enum
18337 (FE_DIVBYZERO): Likewise.
18338 (FE_UNDERFLOW): Likewise.
18339 (FE_OVERFLOW): Likewise.
18340 (FE_INVALID): Likewise.
18341 (FE_INVALID_SNAN): Likewise.
18342 (FE_INVALID_ISI): Likewise.
18343 (FE_INVALID_IDI): Likewise.
18344 (FE_INVALID_ZDZ): Likewise.
18345 (FE_INVALID_IMZ): Likewise.
18346 (FE_INVALID_COMPARE): Likewise.
18347 (FE_INVALID_SOFTWARE): Likewise.
18348 (FE_INVALID_SQRT): Likewise.
18349 (FE_INVALID_INTEGER_CONVERSION): Likewise.
18350 (FE_TONEAREST): Likewise.
18351 (FE_TOWARDZERO): Likewise.
18352 (FE_UPWARD): Likewise.
18353 (FE_DOWNWARD): Likewise.
18354 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
18355 (FE_DIVBYZERO): Likewise.
18356 (FE_OVERFLOW): Likewise.
18357 (FE_UNDERFLOW): Likewise.
18358 (FE_INEXACT): Likewise.
18359 (FE_TONEAREST): Likewise.
18360 (FE_DOWNWARD): Likewise.
18361 (FE_UPWARD): Likewise.
18362 (FE_TOWARDZERO): Likewise.
18363 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
18364 (FE_UNDERFLOW): Likewise.
18365 (FE_OVERFLOW): Likewise.
18366 (FE_DIVBYZERO): Likewise.
18367 (FE_INVALID): Likewise.
18368 (FE_TONEAREST): Likewise.
18369 (FE_TOWARDZERO): Likewise.
18370 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
18371 (FE_OVERFLOW): Likewise.
18372 (FE_UNDERFLOW): Likewise.
18373 (FE_DIVBYZERO): Likewise.
18374 (FE_INEXACT): Likewise.
18375 (FE_TONEAREST): Likewise.
18376 (FE_TOWARDZERO): Likewise.
18377 (FE_UPWARD): Likewise.
18378 (FE_DOWNWARD): Likewise.
18379 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
18380 (FE_DIVBYZERO): Likewise.
18381 (FE_OVERFLOW): Likewise.
18382 (FE_UNDERFLOW): Likewise.
18383 (FE_INEXACT): Likewise.
18384 (FE_TONEAREST): Likewise.
18385 (FE_DOWNWARD): Likewise.
18386 (FE_UPWARD): Likewise.
18387 (FE_TOWARDZERO): Likewise.
18389 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
18391 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
18393 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
18395 * scripts/cross-test-ssh.sh (command): Use newlines to separate
18396 commands. Quote $PWD.
18397 (blacklist_exports): Don't use remove_newlines. Replace "declare
18399 (remove_newlines): Remove.
18401 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
18403 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
18404 * stdlib/stdlib.h (atof): Moved to ...
18405 * include/bits/stdlib-float.h: Here. New file.
18406 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
18407 * stdlib/bits/stdlib-float.h: New file.
18408 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
18410 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
18413 2012-11-02 Joseph Myers <joseph@codesourcery.com>
18415 * conform/conformtest.pl (@headers): Add fenv.h.
18416 * conform/data/fenv.h-data: New file.
18417 * include/fenv.h [_ISOMAC]: Disable all contents of file except
18418 include of <math/fenv.h>.
18420 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
18421 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
18422 && !UNIX98]. Enables tests for XOPEN2K8.
18423 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
18424 POSIX2008]: Likewise.
18426 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
18427 (struct rusage): Do not expect type or its members.
18430 * math/math.h (FP_NAN): Define macro to integer constant usable in
18431 #if and use that to give value to enum constant.
18432 (FP_INFINITE): Likewise.
18433 (FP_ZERO): Likewise.
18434 (FP_SUBNORMAL): Likewise.
18435 (FP_NORMAL): Likewise.
18437 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
18439 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
18440 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
18443 2012-11-02 Roland McGrath <roland@hack.frob.com>
18445 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
18446 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
18447 autoconf-time if not.
18448 * configure.in: Remove AC_PREREQ.
18450 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18452 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
18453 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
18454 of the internal implementation.
18456 2012-11-02 Joseph Myers <joseph@codesourcery.com>
18458 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
18459 except include of <misc/sys/syslog.h>.
18461 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
18463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
18464 function returns with a NULL context exit with zero.
18466 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18468 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
18470 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
18472 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
18473 (run_program_cmd): This.
18474 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
18475 (tst_langinfo): New variable. Use it.
18477 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
18479 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
18480 floating point opcodes.
18482 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18484 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
18487 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
18489 * sysdeps/mach/hurd/powerpc: Remove directory.
18490 * sysdeps/mach/powerpc: Likewise.
18492 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
18494 * scripts/check-local-headers.sh: Ignore c++ headers.
18496 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18498 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
18499 __libc_cleanup_region_start argument.
18501 2012-11-01 Joseph Myers <joseph@codesourcery.com>
18505 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
18506 x * y using scaling, not as x * y + z.
18507 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18508 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18509 * math/libm-test.inc (fma_test): Add more tests.
18510 (fma_test_towardzero): Likewise.
18511 (fma_test_downward): Likewise.
18512 (fma_test_upward): Likewise.
18514 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18516 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
18518 2012-10-31 Joseph Myers <joseph@codesourcery.com>
18520 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
18523 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
18525 * rt/tst-shm.c (worker): Correct checking for mmap failure.
18527 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
18529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18534 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18537 Fix the order of the list for glibc 2.17.
18538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18541 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
18543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18545 2012-10-31 Joseph Myers <joseph@codesourcery.com>
18548 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
18549 for low part of x being zero before using __atanl (y).
18550 * math/libm-test.inc (atan2_test): Add another test.
18552 * manual/install.texi (Configuring and compiling): Document
18553 general use of test-wrapper and test-wrapper-env.
18554 * INSTALL: Regenerated.
18556 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
18557 (__fma): Do not extract and scale down low bits on after-rounding
18558 systems when result rounded to normal precision would have normal
18560 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
18561 (__fmal): Do not extract and scale down low bits on after-rounding
18562 systems when result rounded to normal precision would have normal
18564 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
18565 (__fmal): Do not extract and scale down low bits on after-rounding
18566 systems when result rounded to normal precision would have normal
18568 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
18570 (fma_test): Add more tests.
18571 (fma_test_towardzero): Likewise.
18572 (fma_test_downward): Likewise.
18573 (fma_test_upward): Likewise.
18575 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
18577 * sysdeps/i386/tininess.h: Renamed to ...
18578 * sysdeps/x86/tininess.h: This.
18579 * sysdeps/x86_64/tininess.h: Removed.
18581 2012-10-30 Joseph Myers <joseph@codesourcery.com>
18583 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
18584 input. Use $(build-program-cmd).
18585 ($(objpfx)tst-array1-static.out): Likewise.
18586 ($(objpfx)tst-array2.out): Likewise.
18587 ($(objpfx)tst-array3.out): Likewise.
18588 ($(objpfx)tst-array4.out): Likewise.
18589 ($(objpfx)tst-array5.out): Likewise.
18590 ($(objpfx)tst-array5-static.out): Likewise.
18592 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
18594 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
18597 * nss/nsswitch.h (nss_interface_function): Provide new
18598 macro for use with NSS functions.
18599 * grp/initgroups.c: Use new macro.
18600 * nss/getXXbyYY.c: Likewise.
18601 * nss/getXXbyYY_r.c: Likewise.
18602 * nss/getXXent.c: Likewise.
18603 * nss/getXXent_r.c: Likewise.
18604 * sysdeps/posix/getaddrinfo.c: Likewise.
18606 2012-10-30 Andreas Jaeger <aj@suse.de>
18608 * po/ru.po: Update Russion translation from translation project.
18610 2012-10-30 Joseph Myers <joseph@codesourcery.com>
18614 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
18615 result and shift together with sticky bit instead of replicating
18616 round-to-nearest rounding.
18617 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18618 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18619 * math/libm-test.inc (fma_test): Add more tests. Do not permit
18620 missing underflow exceptions.
18621 (fma_test_towardzero): Add more tests.
18622 (fma_test_downward): Likewise.
18623 (fma_test_upward): Likewise.
18626 * sysdeps/generic/tininess.h: New file.
18627 * sysdeps/i386/tininess.h: Likewise.
18628 * sysdeps/sh/tininess.h: Likewise.
18629 * sysdeps/x86_64/tininess.h: Likewise.
18630 * stdlib/tst-strtod-underflow.c: Likewise.
18631 * stdlib/tst-tininess.c: Likewise.
18632 * stdlib/strtod_l.c: Include <tininess.h>.
18633 (round_and_return): Do not set errno for exact underflow cases.
18634 Force an underflow exception when setting errno for underflow.
18635 Determine underflow based on rounding to normal precision if
18636 TININESS_AFTER_ROUNDING.
18637 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
18638 ERANGE for exact underflow cases.
18639 * stdlib/Makefile (tests): Add tst-tininess and
18640 tst-strtod-underflow.
18641 ($(objpfx)tst-tininess): Use $(link-libm).
18642 ($(objpfx)tst-strtod-underflow): Likewise.
18644 2012-10-30 Andreas Jaeger <aj@suse.de>
18647 * elf/Makefile (tests): Remove conditional for have-initfini-array
18648 since this is now always required and the variable does not exist
18650 (tests-static): Likewise.
18651 (modules-names): Likewise.
18653 * po/eo.po: Add Esperanto translation from translation project.
18655 * elf/tst-array1.c (fini_array): Make writeable so that it can be
18656 merged with constructor/destructor.
18657 (init_array): Likewise.
18658 * elf/tst-array2dep.c (fini_array): Likewise.
18659 (init_array): Likewise.
18661 2012-10-29 Mike Frysinger <vapier@gentoo.org>
18663 * manual/message.texi: Delete @cartouche tags.
18665 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
18667 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
18669 * sysdeps/mach/hurd/fsync.c: Likewise.
18671 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
18672 [_POSIX_REALTIME_SIGNALS]: Change condition to
18673 [_POSIX_REALTIME_SIGNALS > 0].
18675 2012-10-27 Andreas Jaeger <aj@suse.de>
18677 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
18678 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
18679 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
18680 [__WORDSIZE != 64]: Likewise.
18682 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
18684 * iconvdata/tst-table.sh: Remove ${SHELL}.
18685 * iconvdata/tst-tables.sh: Likewise.
18687 2012-10-25 David S. Miller <davem@davemloft.net>
18689 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18690 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
18693 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
18695 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18696 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
18697 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
18700 2012-10-25 Roland McGrath <roland@hack.frob.com>
18702 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18703 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
18706 2012-10-25 Joseph Myers <joseph@codesourcery.com>
18707 Jim Blandy <jimb@codesourcery.com>
18709 * scripts/cross-test-ssh.sh: New file.
18710 * manual/install.texi (Configuring and compiling): Document use of
18712 * INSTALL: Regenerated.
18714 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
18716 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
18719 2012-10-25 Joseph Myers <joseph@codesourcery.com>
18721 * Makeconfig (run-program-prefix): Fix comment.
18723 2012-10-24 Joseph Myers <joseph@codesourcery.com>
18724 Jim Blandy <jimb@codesourcery.com>
18726 * Makeconfig (test-wrapper): New variable,
18727 (test-wrapper-env): Likewise.
18728 [$(cross-compiling) = yes && $(test-wrapper) != ""]
18729 (run-built-tests): Define to yes.
18730 (run-program-prefix): Use $(test-wrapper).
18731 (built-program-cmd): Likewise.
18732 * Rules (make-test-out): Use $(test-wrapper-env) and
18733 $(host-built-program-cmd).
18734 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
18735 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
18737 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
18738 $(test-wrapper-env) to tst-rtld-load-self.sh.
18739 ($(objpfx)order2.out): Use $(test-wrapper).
18740 ($(objpfx)tst-initorder.out): Likewise.
18741 ($(objpfx)tst-initorder2.out): Likewise.
18742 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
18743 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
18744 (test_wrapper_env): New variable. Use it to run ld.so.
18745 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
18746 Use it to run ld.so.
18747 (test_wrapper_env): Likewise.
18748 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
18749 $(test-wrapper) to run-iconv-test.sh.
18750 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
18751 (ICONV): Use $test_wrapper.
18752 * posix/Makefile ($(objpfx)globtest.out): Pass
18753 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
18754 globtest.sh, not $(run-program-prefix).
18755 * posix/globtest.sh (run_via_rtld_prefix): New variable.
18756 (test_wrapper): Likewise.
18757 (test_wrapper_env): Likewise. Use it to run globtest with HOME
18758 set together with run_via_rtld_prefix.
18759 (run_program_prefix): Define in terms of test_wrapper and
18760 run_via_rtld_prefix.
18762 2012-10-24 Roland McGrath <roland@hack.frob.com>
18764 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18765 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18769 * include/time.h: Remove librt_hidden_proto (clock_gettime).
18770 Declare __clock_getres, __clock_gettime, __clock_settime,
18771 __clock_nanosleep, and __clock_getcpuclockid.
18772 * rt/clock_gettime.c: Define __clock_gettime as an alias.
18773 Remove librt_hidden_def (clock_gettime).
18774 * sysdeps/unix/clock_gettime.c: Likewise.
18775 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18776 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18777 * rt/clock_getres.c: Define __clock_getres as an alias.
18778 * sysdeps/posix/clock_getres.c: Likewise.
18779 * rt/clock_settime.c: Define __clock_settime as an alias.
18780 * sysdeps/unix/clock_settime.c: Likewise.
18781 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18782 * sysdeps/unix/clock_nanosleep.c: Likewise.
18783 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18784 * rt/clock-compat.c: New file.
18785 * rt/Makefile (librt-routines): Add clock-compat and move
18786 $(clock-routines) to ...
18787 (routines): ... here, new variable.
18788 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18789 Don't add get_clockfreq here.
18790 * rt/Versions (libc: GLIBC_2.17): New version set.
18791 Add clock_* symbols here.
18792 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
18793 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18794 (GLIBC_2.17): Add clock_* symbols.
18795 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18797 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18802 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18803 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18806 * NEWS: Mention the move.
18808 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18809 Use __open, __read, __close rather than their public counterparts.
18810 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18811 (__get_clockfreq_via_cpuinfo): Likewise.
18812 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18813 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18815 * config.h.in (HAVE_IFUNC): New #undef.
18816 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18818 * configure: Regenerated.
18820 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18822 * configure.in: Move READELF check to start of file.
18823 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18824 libc_cv_asm_gnu_indirect_function in the process.
18825 * configure: Regenerated.
18827 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18829 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18830 send the output to /dev/null.
18831 (libc_cv_cc_with_libunwind): Likewise.
18832 (libc_cv_as_noexecstack): Likewise.
18833 * configure: Regenerate.
18835 2012-10-24 Joseph Myers <joseph@codesourcery.com>
18837 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18839 * posix/globtest.sh (TMPDIR): Do not set.
18840 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18841 (testout): Likewise.
18843 2012-10-24 Andreas Jaeger <aj@suse.de>
18845 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18846 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18847 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18848 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18849 posix_fadvise64, posix_fallocate64.
18851 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18852 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18853 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18855 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18857 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18859 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18860 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18861 <bits/fcntl-linux.h>.
18862 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18864 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18865 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18866 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18867 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18868 [__WORDSIZE != 64]: Likewise.
18870 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18872 * Makeconfig (run-built-tests): New variable.
18873 * Rules [$(cross-compiling) = yes]: Change condition to
18874 [$(run-built-tests) = no].
18875 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18876 to [$(run-built-tests) = yes].
18877 * elf/Makefile [$(cross-compiling) = no]: Likewise
18878 * grp/Makefile [$(cross-compiling) = no]: Likewise.
18879 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18880 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18881 * intl/Makefile [$(cross-compiling) = no]: Likewise.
18882 * io/Makefile [$(cross-compiling) = no]: Likewise.
18883 * libio/Makefile [$(cross-compiling) = no]: Likewise.
18884 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18885 * misc/Makefile [$(cross-compiling) = no]: Likewise.
18886 * posix/Makefile [$(cross-compiling) = no]: Likewise.
18887 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18888 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18889 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18890 * string/Makefile [$(cross-compiling) = no]: Likewise.
18892 * posix/Makefile ($(objpfx)globtest.out): Pass
18893 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18894 $(rtld-installed-name).
18895 * posix/globtest.sh (elf_objpfx): Remove variable.
18896 (rtld_installed_name): Likewise.
18897 (library_path): Likewise.
18898 (run_program_prefix): New variable. Use for running globtest
18901 2012-10-23 Jim Blandy <jimb@codesourcery.com>
18902 Joseph Myers <joseph@codesourcery.com>
18904 * Makeconfig (host-built-program-cmd): New variable.
18905 * elf/Makefile (tst-stackguard1-ARGS): Use
18906 $(host-built-program-cmd).
18907 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18908 (tst-spawn-ARGS): Likewise.
18909 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18911 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18912 Jim Blandy <jimb@codesourcery.com>
18914 * Makeconfig (run-via-rtld-prefix): New variable.
18915 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18916 (built-program-cmd): Likewise.
18918 2012-10-22 Andreas Jaeger <aj@suse.de>
18920 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18921 __O_RSYNC if it exists, otherwise to O_SYNC.
18923 2012-10-22 Jim Blandy <jimb@codesourcery.com>
18924 Joseph Myers <joseph@codesourcery.com>
18926 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18928 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18930 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18933 2012-10-22 Andreas Jaeger <aj@suse.de>
18935 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18937 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18939 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18940 bits/fcntl-linux.h.
18942 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18943 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18945 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18947 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18950 2012-10-21 Jim Blandy <jimb@codesourcery.com>
18951 Joseph Myers <joseph@codesourcery.com>
18953 * config.make.in (NM): New variable.
18955 2012-10-21 Andreas Jaeger <aj@suse.de>
18957 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18958 definitions and declarations that are provided by
18959 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18961 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18964 * elf/Makefile (tests-static): Add tst-leaks1-static.
18965 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18966 ($(objpfx)tst-leaks1-static): New rule.
18967 ($(objpfx)tst-leaks1-static-mem): Likewise.
18968 (tst-leaks1-static-ENV): New macro.
18969 * elf/dl-open.c (dl_open_worker): Check the main application
18970 only if SHARED is defined.
18971 * elf/tst-leaks1-static.c: New file.
18973 2012-10-20 Andreas Jaeger <aj@suse.de>
18975 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18976 generic values for Linux.
18977 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18978 and declarations that are provided by <bits/fcntl-linux.h> and
18979 include <bits/fcntl-linux.h>.
18980 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18981 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18983 2012-10-20 Roland McGrath <roland@hack.frob.com>
18985 * io/fcntl.h: Move include of <bits/types.h> to the top and
18986 include it unconditionally.
18988 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18990 * wcsmbs/Makefile (tests-ifunc): New variable.
18991 (tests): Add $(tests-ifunc).
18992 * wcsmbs/test-wcschr-ifunc.c: New file.
18993 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18994 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18995 * wcsmbs/test-wcslen-ifunc.c: Likewise.
18996 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18997 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18999 * string/Makefile (tests-ifunc): New variable.
19000 (tests): Add $(tests-ifunc).
19001 * string/test-memccpy.c (TEST_NAME): New macro.
19002 * string/test-memchr.c (TEST_NAME): Likewise.
19003 * string/test-memcmp.c (TEST_NAME): Likewise.
19004 * string/test-memcpy.c (TEST_NAME): Likewise.
19005 * string/test-memmem.c (TEST_NAME): Likewise.
19006 * string/test-memmove.c (TEST_NAME): Likewise.
19007 * string/test-memset.c (TEST_NAME): Likewise.
19008 * string/test-rawmemchr.c (TEST_NAME): Likewise.
19009 * string/test-stpcpy.c (TEST_NAME): Likewise.
19010 * string/test-stpncpy.c (TEST_NAME): Likewise.
19011 * string/test-strcasecmp.c (TEST_NAME): Likewise.
19012 * string/test-strcasestr.c (TEST_NAME): Likewise.
19013 * string/test-strcat.c (TEST_NAME): Likewise.
19014 * string/test-strchr.c (TEST_NAME): Likewise.
19015 * string/test-strcmp.c(TEST_NAME): Likewise.
19016 * string/test-strcpy.c (TEST_NAME): Likewise.
19017 * string/test-strcspn.c (TEST_NAME): Likewise.
19018 * string/test-strlen.c (TEST_NAME): Likewise.
19019 * string/test-strncasecmp.c (TEST_NAME): Likewise.
19020 * string/test-strncmp.c (TEST_NAME): Likewise.
19021 * string/test-strncpy.c (TEST_NAME): Likewise.
19022 * string/test-strnlen.c (TEST_NAME): Likewise.
19023 * string/test-strpbrk.c (TEST_NAME): Likewise.
19024 * string/test-strrchr.c (TEST_NAME): Likewise.
19025 * string/test-strspn.c (TEST_NAME): Likewise.
19026 * string/test-strstr.c (TEST_NAME): Likewise.
19027 * string/test-bcopy-ifunc.c: New file.
19028 * string/test-bzero-ifunc.c: Likewise.
19029 * string/test-memccpy-ifunc.c: Likewise.
19030 * string/test-memchr-ifunc.c: Likewise.
19031 * string/test-memcmp-ifunc.c: Likewise.
19032 * string/test-memcpy-ifunc.c: Likewise.
19033 * string/test-memmem-ifunc.c: Likewise.
19034 * string/test-memmove-ifunc.c: Likewise.
19035 * string/test-mempcpy-ifunc.c: Likewise.
19036 * string/test-memset-ifunc.c: Likewise.
19037 * string/test-rawmemchr-ifunc.c: Likewise.
19038 * string/test-stpcpy-ifunc.c: Likewise.
19039 * string/test-stpncpy-ifunc.c: Likewise.
19040 * string/test-strcasecmp-ifunc.c: Likewise.
19041 * string/test-strcasestr-ifunc.c: Likewise.
19042 * string/test-strcat-ifunc.c: Likewise.
19043 * string/test-strchr-ifunc.c: Likewise.
19044 * string/test-strchrnul-ifunc.c: Likewise.
19045 * string/test-strcmp-ifunc.c: Likewise.
19046 * string/test-strcpy-ifunc.c: Likewise.
19047 * string/test-strcspn-ifunc.c: Likewise.
19048 * string/test-strlen-ifunc.c: Likewise.
19049 * string/test-strncasecmp-ifunc.c: Likewise.
19050 * string/test-strncat-ifunc.c: Likewise.
19051 * string/test-strncmp-ifunc.c: Likewise.
19052 * string/test-strncpy-ifunc.c: Likewise.
19053 * string/test-strnlen-ifunc.c: Likewise.
19054 * string/test-strpbrk-ifunc.c: Likewise.
19055 * string/test-strrchr-ifunc.c: Likewise.
19056 * string/test-strspn-ifunc.c: Likewise.
19057 * string/test-strstr-ifunc.c: Likewise.
19059 * debug/Makefile (tests-ifunc): New variable.
19060 (tests): Add $(tests-ifunc).
19061 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19062 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19063 * debug/test-stpcpy_chk-ifunc.c: New file.
19064 * debug/test-strcpy_chk-ifunc.c: Likewise.
19066 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19069 * elf/dl-load.c (open_verify): Retry read if the entire ELF
19070 header is not read in.
19072 2012-10-19 Joseph Myers <joseph@codesourcery.com>
19074 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
19075 script to $(SHELL) as $<. Pass $(common-objpfx) to script
19076 directly. Pass built executable to script as
19077 $(built-program-cmd).
19078 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
19079 $testprogram without using LD_LIBRARY_PATH and $ldso.
19081 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
19082 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
19083 $(rtld-installed-name).
19084 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
19085 (rtld_installed_name): Likewise.
19086 (library_path): Likewise.
19087 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
19088 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
19089 $(run-program-prefix) to tst-tables.sh.
19090 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
19091 it to run tst-table-from and tst-table-to.
19092 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
19093 Pass it to tst-table.sh.
19094 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
19095 $(run-program-prefix) to tst-gettext.sh.
19096 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
19098 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
19100 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
19101 to run tst-gettext.
19102 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
19103 to run tst-gettext2.
19104 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
19105 to run tst-translit.
19106 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
19107 $(run-program-prefix) to tst-mtrace.sh.
19108 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
19110 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
19111 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
19112 $(rtld-installed-name).
19113 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
19114 (rtld_installed_name): Likewise.
19115 (run_program_prefix): New variable. Use it to run wordexp-test.
19117 * Makeconfig (ARCH): Remove all definitions.
19118 (machine): Likewise.
19119 [ARCH]: Remove conditional code.
19120 [!objdir]: Give error.
19121 [!objdir] (objpfx): Remove.
19122 [!objdir] (common-objpfx): Likewise.
19123 [!objdir] (common-objdir): Likewise.
19124 * configure.in (config_makefile): Remove. Hardcode Makefile in
19125 AC_CONFIG_FILES call.
19126 * configure: Regenerated.
19129 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19131 (testout): Likewise.
19133 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
19134 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
19135 $(rtld-installed-name).
19136 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
19137 (rtld_installed_name): Likwise.
19138 (runit): Remove function.
19139 (run_getconf): New variable, Use it for running getconf binary.
19141 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
19144 * string/test-memmem.c (check_result): New function.
19145 (do_one_test): Use it.
19146 (check1): New function.
19147 (test_main): Use it.
19149 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
19151 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
19153 2012-10-18 Joseph Myers <joseph@codesourcery.com>
19155 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
19156 (_G_LSEEK64): Likewise.
19157 (_G_MMAP64): Likewise.
19158 (_G_FSTAT64): Likewise.
19159 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
19160 (_G_LSEEK64): Likewise.
19161 (_G_MMAP64): Likewise.
19162 (_G_FSTAT64): Likewise.
19163 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
19164 unconditional. Call __mmap64 directly.
19165 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
19166 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
19167 __lseek64 directly.
19168 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
19169 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
19171 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
19172 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
19173 __lseek64 directly.
19174 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
19175 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
19176 __lseek64 directly.
19177 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
19178 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
19179 __lseek64 directly.
19180 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
19181 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
19182 __fxstat64 directly.
19183 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
19184 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
19186 (freopen64) [!_G_OPEN64]: Remove conditional code.
19187 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
19189 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
19190 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
19192 (ftello64) [!_G_LSEEK64]: Remove conditional code.
19193 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
19195 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19196 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
19198 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
19199 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
19201 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19202 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
19204 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19205 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
19207 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19209 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19212 * manual/memory.texi (Malloc Tunable Parameters): Add note
19213 about free list pointers overwriting some perturb bytes.
19214 Wording suggested by Roland McGrath.
19216 2012-10-17 Joseph Myers <joseph@codesourcery.com>
19218 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
19219 (lgamma_test): Likewise.
19220 (tgamma_test): Likewise.
19222 2012-10-16 Florian Weimer <fweimer@redhat.com>
19225 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
19226 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
19228 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
19230 * NEWS: Mention BZ #14716.
19231 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
19232 when removing AVAILABLE1_USES_J macro.
19234 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
19236 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
19237 (__bswap_64): __uint64_t for unsigned 64-bit int.
19239 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
19241 * include/string.h (memmem): Declare libc hidden alias.
19242 * string/memmem.c (memmem): Define libc hidden alias.
19243 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
19244 __read, __close instead of open, read, close.
19246 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
19248 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
19249 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
19251 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
19252 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
19253 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
19255 (__rawmemchr_sse2): Likewise.
19256 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
19257 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
19258 (__strchr_sse2): Likewise.
19259 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
19260 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
19261 (__strcasecmp_sse2): Likewise.
19262 (__strncasecmp_sse2): Likewise.
19263 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
19264 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
19265 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
19266 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
19267 (__strrchr_sse2): Likewise.
19268 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
19270 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19271 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19272 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19273 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19274 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19275 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19276 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19277 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19278 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
19279 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
19280 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
19281 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
19282 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
19283 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19284 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19285 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19286 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19287 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19288 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
19289 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
19290 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
19291 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
19292 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
19293 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19294 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
19295 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19296 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19297 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19298 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19299 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19301 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
19303 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
19304 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
19305 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
19306 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
19308 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
19310 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
19311 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
19312 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
19313 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
19315 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19316 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19317 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19318 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19319 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19320 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19321 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19322 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19323 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19324 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19325 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19326 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19327 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19328 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
19329 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
19330 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19331 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
19332 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
19333 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19334 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19335 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19336 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19337 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19338 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19339 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19340 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
19341 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
19342 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
19343 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
19344 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19345 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
19346 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19347 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19348 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
19349 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19350 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19351 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19352 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19353 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19354 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19355 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
19357 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
19358 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
19359 * include/ifunc-impl-list.h: New file.
19360 * misc/ifunc-impl-list.c: Likewise.
19361 * misc/Makefile (routines): Add ifunc-impl-list.
19362 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
19363 * string/test-string.h: Include <ifunc-impl-list.h>.
19364 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
19365 impl_array): New variables.
19366 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
19368 (test_init): Call __libc_ifunc_impl_list to initialize
19369 func_list if TEST_IFUNC and TEST_NAME are defined.
19371 * string/Makefile (strop-tests): Add bcopy and bzero.
19372 * string/test-bcopy.c: New file.
19373 * string/test-bzero.c: Likewise.
19374 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
19376 * string/test-memset.c: Support bzero test if TEST_BZERO is
19378 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
19380 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
19382 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
19385 2012-10-10 Joseph Myers <joseph@codesourcery.com>
19387 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
19388 * configure: Regenerated.
19390 * Makeconfig (+link-static-before-libc): Don't include
19391 $(link-static-libc).
19393 * libio/libio.h (_IO_pos_t): Remove.
19395 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
19397 * NEWS: Add note about FIPS mode. Wording suggested by Roland
19400 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
19402 * crypt/crypt-entry.c: Include fips-private.h.
19403 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
19404 * crypt/md5c-test.c (main): Tolerate disabled MD5.
19405 * sysdeps/unix/sysv/linux/fips-private.h: New file.
19406 * sysdeps/generic/fips-private.h: New file, dummy fallback.
19408 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
19410 * crypt/crypt-private.h: Include stdbool.h.
19411 (_ufc_setup_salt_r): Return bool.
19412 * crypt/crypt-entry.c: Include errno.h.
19413 (__crypt_r): Return NULL with EINVAL for bad salt.
19414 * crypt/crypt_util.c (bad_for_salt): New.
19415 (_ufc_setup_salt_r): Check that salt is long enough and within
19416 the specified alphabet.
19417 * crypt/badsalttest.c: New file.
19418 * crypt/Makefile (tests): Add it.
19419 ($(objpfx)badsalttest): New.
19421 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
19423 * NEWS: Add entry for BZ #14602.
19425 2012-10-09 Joseph Myers <joseph@codesourcery.com>
19427 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
19429 * math/libm-test.inc: Update comment listing what functions and
19431 (isgreater_test): New function.
19432 (isgreaterequal_test): Likewise.
19433 (isless_test): Likewise.
19434 (islessequal_test): Likewise.
19435 (islessgreater_test): Likewise.
19436 (isunordered_test): Likewise.
19437 (main): Call the new functions.
19439 2012-10-09 Roland McGrath <roland@hack.frob.com>
19441 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
19442 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
19443 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
19444 * sysdeps/i386/configure: Regenerated.
19445 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
19446 * sysdeps/mach/configure: Regenerated.
19447 * sysdeps/mach/hurd/configure: Regenerated.
19448 * sysdeps/powerpc/configure: Regenerated.
19449 * sysdeps/powerpc/powerpc32/configure: Regenerated.
19450 * sysdeps/powerpc/powerpc64/configure: Regenerated.
19451 * sysdeps/s390/s390-32/configure: Regenerated.
19452 * sysdeps/s390/s390-64/configure: Regenerated.
19453 * sysdeps/sh/configure: Regenerated.
19454 * sysdeps/sparc/configure: Regenerated.
19455 * sysdeps/unix/sysv/linux/configure: Regenerated.
19456 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19457 * sysdeps/x86_64/configure: Regenerated.
19459 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
19460 defined. Don't check if MAP is NULL.
19462 2012-10-09 Joseph Myers <joseph@codesourcery.com>
19464 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
19465 (_G_stat64): Likewise.
19466 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
19467 (_G_stat64): Likewise.
19468 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
19469 instead of struct _G_stat64.
19470 * libio/fileops.c (mmap_remap_check): Likewise.
19471 (decide_maybe_mmap): Likewise.
19472 (_IO_new_file_seekoff): Likewise.
19473 (_IO_file_stat): Likewise.
19474 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
19476 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
19477 instead of struct _G_stat64.
19478 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19480 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
19483 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19485 (CHECK_EOL): New macro.
19486 (two_way_short_needle): Check beginning of haystack for EOL. Use
19488 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19489 Replace with CHECK_EOL.
19490 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19491 Replace with CHECK_EOL.
19493 2012-10-08 Joseph Myers <joseph@codesourcery.com>
19495 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
19497 * math/libm-test.inc: Update comment listing what functions and
19499 (finite_test): New function.
19500 (isinf_test): Likewise.
19501 (isnan_test): Likewise.
19502 (fpclassify_test): Test subnormal input.
19503 (isfinite_test): Likewise.
19504 (isnormal_test): Likewise.
19505 (main): Call the new functions.
19507 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
19510 * Makerules (%.dynsym): Force C locale when running
19511 $(OBJDUMP) --dynamic-syms.
19513 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
19515 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
19518 2012-10-06 David S. Miller <davem@davemloft.net>
19520 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
19521 upper 32-bits of the length value in %o2 since we use branch-on-register
19522 tests which consider the entire 64-bit register.
19524 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
19526 * string/test-strstr.c (check2): Add a test for page boundary.
19528 2012-10-05 David S. Miller <davem@davemloft.net>
19530 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
19531 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
19533 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19535 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19536 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
19537 and bzero when HWCAP_SPARC_CRYPTO is present.
19539 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
19542 * string/test-strstr.c (check2): New function.
19543 (test_main): Call check2.
19545 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
19547 * string/bug-strcasestr1.c (do_test): Moved to ...
19548 * string/test-strcasestr.c (check1): Here. New function.
19549 (do_one_test): Break out result checking code into ...
19550 (check_result): This. New function.
19551 (do_one_test): Call check_result.
19552 (test_main): Call check1.
19553 * string/bug-strchr1.c (do_test): Moved to ...
19554 * string/test-strchr.c (check1): Here. New function.
19555 (do_one_test): Break out result checking code into ...
19556 (check_result): This. New function.
19557 (do_one_test): Call check_result.
19558 (test_main): Call check1.
19559 * string/bug-strstr1.c (main): Moved to ...
19560 * string/test-strstr.c (check1): Here. New function.
19561 (do_one_test): Break out result checking code into ...
19562 (check_result): This. New function.
19563 (do_one_test): Call check_result.
19564 (test_main): Call check1.
19565 * string/bug-strcasestr1.c: Removed.
19566 * string/bug-strchr1.c: Likewise.
19567 * string/bug-strstr1.c: Likewise.
19569 * elf/Makefile (dl-routines): Add hwcaps.
19570 * elf/dl-support.c (_dl_important_hwcaps): Removed.
19571 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
19572 (_dl_important_hwcaps): Moved to ...
19573 * elf/dl-hwcaps.c: Here. New file.
19574 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
19577 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
19578 if IS_IN_rtld isn't defined.
19580 * elf/dl-support.c (_dl_sysinfo_map): New.
19581 Include "get-dynamic-info.h" and "setup-vdso.h".
19582 (_dl_non_dynamic_init): Call setup_vdso.
19583 * elf/dynamic-link.h: Don't include <assert.h>.
19584 (elf_get_dynamic_info): Moved to ...
19585 * elf/get-dynamic-info.h: Here. New file.
19586 * elf/dynamic-link.h: Include "get-dynamic-info.h".
19587 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
19588 * elf/setup-vdso.h: Here. New file.
19589 * elf/rtld.c: Include "setup-vdso.h".
19590 (dl_main): Call setup_vdso.
19592 2012-10-05 Joseph Myers <joseph@codesourcery.com>
19594 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
19595 creal in comment listing functions tested. List finite, isinf,
19596 isnan, isless, islessequal, isgreater, isgreaterequal,
19597 islessgreater, isunordered, lgamma_r and pow10 as functions and
19598 macros not tested. Mention which functions not tested are aliases
19599 for other functions. Fix typo. Note that signs of NaNs are not
19602 * scripts/config.guess: Update from config.git.
19603 * scripts/config.sub: Likewise.
19605 2012-10-04 Roland McGrath <roland@hack.frob.com>
19607 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
19608 * misc/madvise.c (madvise): Renamed to __madvise.
19609 Make madvise a weak alias.
19610 * include/sys/mman.h: Declare __madvise.
19611 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
19612 * sysdeps/unix/syscalls.list
19613 (madvise): Make __madvise the strong name, and madvise a weak alias.
19614 * sysdeps/unix/sysv/linux/syscalls.list
19615 (madvise, mmap): Remove redundant entries.
19616 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
19617 * malloc/malloc.c (mtrim): Likewise.
19618 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
19620 2012-10-03 Roland McGrath <roland@hack.frob.com>
19622 * sysdeps/mach/hurd/dl-cache.c: File removed.
19623 * config.h.in (USE_LDCONFIG): New #undef.
19624 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
19625 * configure: Regenerated.
19626 * elf/Makefile (dl-routines): Add dl-cache only under
19627 [$(use-ldconfig) = yes].
19628 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
19629 cache on [USE_LDCONFIG].
19630 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
19632 * elf/rtld.c (dl_main): Likewise.
19634 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
19636 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
19637 _SC_LEVEL4_CACHE_LINESIZE.
19639 2012-10-03 Roland McGrath <roland@hack.frob.com>
19641 * sysdeps/unix/bsd/confstr.h: File removed.
19643 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
19645 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
19648 2012-10-02 Roland McGrath <roland@hack.frob.com>
19650 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
19651 Make 'mapoff' field ElfW(Off) rather than off_t.
19653 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
19655 * nscd/Makefile: Remove nscd-cflags and all its users.
19656 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
19657 (CFLAGS-nonlib): Add compiler flags for nscd modules.
19660 * malloc.c (malloc_printerr): Clarify error message.
19662 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
19665 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19666 Set bit_FMA_Usable if FMA is supported.
19667 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
19669 (bit_FMA4_Usable): Updated.
19670 (index_FMA_Usable): New macro.
19671 (CPUID_FMA): Likewise
19672 (HAS_FMA): Defined with bit_FMA_Usable.
19674 2012-10-01 Roland McGrath <roland@hack.frob.com>
19676 * bits/types.h (__swblk_t): Type removed.
19677 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
19678 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
19679 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19680 (__SWBLK_T_TYPE): Likewise.
19681 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19682 (__SWBLK_T_TYPE): Likewise.
19683 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19684 (__SWBLK_T_TYPE): Likewise.
19685 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19686 (__SWBLK_T_TYPE): Likewise.
19688 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
19689 Honza Horak <hhorak@redhat.com>
19691 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
19692 (xdr_mapname): Use YPMAXMAP as maxsize.
19693 (xdr_peername): Use YPMAXPEER as maxsize.
19694 (xdr_keydat): Use YPAXRECORD as maxsize.
19695 (xdr_valdat): Use YPMAXRECORD as maxsize.
19697 2012-10-01 Roland McGrath <roland@hack.frob.com>
19699 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
19701 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
19702 * csu/init-first.c: ... here.
19703 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
19704 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19705 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19706 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19707 * sysdeps/i386/init-first.c: File removed.
19708 * sysdeps/sh/init-first.c: File removed.
19710 2012-10-01 Joseph Myers <joseph@codesourcery.com>
19713 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
19714 if x * y might underflow to zero and z is zero.
19715 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19716 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19717 * math/libm-test.inc (min_subnorm_value): New variable.
19718 (fma_test): Add more tests.
19719 (fma_test_towardzero): Likewise.
19720 (fma_test_downward): Likewise
19721 (fma_test_upward): Likewise.
19722 (initialize): Set min_subnorm_value.
19724 2012-09-29 Joseph Myers <joseph@codesourcery.com>
19727 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
19729 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
19730 mode for addition resulting in exact zero.
19731 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
19732 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
19734 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19735 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19736 * math/libm-test.inc (fma_test): Add more tests.
19737 (fma_test_towardzero): New function.
19738 (fma_test_downward): Likewise.
19739 (fma_test_upward): Likewise.
19740 (main): Call the new functions.
19742 2012-09-28 David S. Miller <davem@davemloft.net>
19744 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
19746 2012-09-28 Roland McGrath <roland@hack.frob.com>
19748 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19749 instead of SIGALRM.
19751 * sysdeps/gnu/_G_config.h: Moved to ...
19752 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
19753 * sysdeps/mach/hurd/_G_config.h: Moved to ...
19754 * sysdeps/generic/_G_config.h: ... here.
19756 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
19758 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19760 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19761 Conditionalize target on [libnss_test1.so-version].
19763 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19765 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19766 (elfobjdir): Move out of conditionals.
19768 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19769 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19770 (__nss_lookup_function): Conditionalize label remove_from_tree on
19771 [!DO_STATIC_NSS || SHARED], matching its only use.
19773 2012-09-28 David S. Miller <davem@davemloft.net>
19775 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19776 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19778 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19780 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19781 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19782 when HWCAP_SPARC_CRYPTO is present.
19784 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19786 * io/tst-mknodat.c: Create a FIFO instead of a socket.
19788 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
19791 * stdio-common/vfprintf.c (process_string_arg): Revert
19794 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
19796 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19798 * stdio-common/tst-sprintf.c: Include <locale.h>
19799 (main): Test sprintf's handling of incomplete multibyte
19802 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
19804 * elf/dl-runtime.c (VERSYMIDX): Removed.
19805 * elf/dl-version.c (VERSYMIDX): Likewise.
19806 * elf/do-rel.h (VERSYMIDX): Likewise.
19807 (VALIDX): Likewise.
19808 * elf/dynamic-link.h (VERSYMIDX): Likewise.
19809 * elf/rtld.c (VALIDX): Likewise.
19810 (ADDRIDX): Likewise.
19811 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19812 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19813 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
19814 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19815 (VALIDX): Likewise.
19816 (ADDRIDX): Likewise.
19818 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19820 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19822 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
19825 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19827 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19828 addresses are in the same scope as 192.0.2/24.
19829 * posix/gai.conf: Document new scope table defaults.
19831 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19834 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19835 for ftell. Compute offsets from write pointers instead.
19836 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19838 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19841 * libio/Makefile (tests): New test case tst-fseek.
19842 * libio/tst-fseek.c: New test case to verify that fseek/ftell
19843 combination works in wide mode.
19844 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19845 state when the external buffer state changes.
19847 2012-09-27 David S. Miller <davem@davemloft.net>
19850 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19851 pass reloc->r_addend in as the 'high' argument to
19852 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19856 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19858 * rt/tst-aio2.c: Include <pthread.h>.
19859 * rt/tst-aio3.c: Likewise.
19861 2012-09-27 Steve Ellcey <sellcey@mips.com>
19863 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19865 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
19867 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19868 contents on [SHARED].
19870 2012-09-26 Marek Polacek <polacek@redhat.com>
19874 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19875 for C++ and GCC <4.3 as well as for non GCC compilers.
19877 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19879 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19881 2012-09-25 Roland McGrath <roland@hack.frob.com>
19883 * Makefile.in (all, install): Declare with .PHONY.
19884 Reported by Michael Hope <michael.hope@linaro.org>.
19886 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19888 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19889 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19891 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19893 (sydep_routines): Add the new and the internal functions.
19894 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19895 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19897 (GLIBC_2.17): Add the new function.
19898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19899 (GLIBC_2.17): Likewise.
19900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19901 (GLIBC_2.17): Likewise.
19902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19903 (GLIBC_2.17): Likewise.
19904 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19906 2012-09-25 Alan Modra <amodra@gmail.com>
19908 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19909 Add release barrier before setting once_control to say
19910 initialisation is done. Add hints on lwarx. Use macro in
19912 (clear_once_control): Add release barrier.
19914 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19917 * math/s_clog.c (__clog): Handle more values close to |z| = 1
19919 * math/s_clog10.c (__clog10): Likewise.
19920 * math/s_clog10f.c (__clog10f): Likewise.
19921 * math/s_clog10l.c (__clog10l): Likewise.
19922 * math/s_clogf.c (__clogf): Likewise.
19923 * math/s_clogl.c (__clogl): Likewise.
19924 * math/Makefile (libm-calls): Add x2y2m1.
19925 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19926 (__x2y2m1): Likewise.
19927 (__x2y2m1l): Likewise.
19928 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19929 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19930 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19931 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19932 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19933 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19934 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19935 * sysdeps/i386/fpu/libm-test-ulps: Update.
19936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19939 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19940 int as type of variable DEPTH.
19941 (glob): Use size_t instead of int as type of variables NEWCOUNT
19944 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19946 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19947 Add s_sincosf-sse2.
19948 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19949 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19950 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19951 macros for using routine as __sincosf_ia32.
19952 Use macro for function declaration and weak_alias.
19953 * sysdeps/i386/fpu/libm-test-ulps: Update.
19955 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19956 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19958 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19959 subnormal argument.
19960 * math/s_cexpf.c (__cexpf): Likewise.
19961 * math/s_csinf.c (__csinf): Likewise.
19962 * math/s_csinhf.c (__csinhf): Likewise.
19963 * math/s_ctanf.c (__ctanf): Likewise.
19964 * math/s_ctanhf.c (__ctanhf): Likewise.
19965 * math/s_ccosh.c (__ccoshf): Likewise.
19966 * math/s_cexp.c (__cexpl): Likewise.
19967 * math/s_csin.c (__csin): Likewise.
19968 * math/s_csinh.c (__csinh): Likewise.
19969 * math/s_ctan.c (__ctan): Likewise.
19970 * math/s_ctanh.c (ctanh): Likewise.
19971 * math/s_ccoshl.c (__ccoshl): Likewise.
19972 * math/s_cexpl.c (__cexpl): Likewise.
19973 * math/s_csinl.c (__csinl): Likewise.
19974 * math/s_csinhl.c (__csinhl): Likewise.
19975 * math/s_ctanl.c (__ctanl): Likewise.
19976 * math/s_ctanhl.c (__ctanhl): Likewise.
19978 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19980 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19981 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19982 (_IO_off_t): Define to __off_t, not _G_off_t.
19983 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19984 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19985 (_IO_wint_t): Define to wint_t, not _G_wint_t.
19986 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19987 type of __dummy and __dummy2 fields.
19988 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19989 (_G_ssize_t): Likewise.
19990 (_G_off_t): Likewise.
19991 (_G_pid_t): Likewise.
19992 (_G_uid_t): Likewise.
19993 (_G_wchar_t): Likewise.
19994 (_G_wint_t): Likewise.
19995 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19996 (_G_ssize_t): Likewise.
19997 (_G_off_t): Likewise.
19998 (_G_pid_t): Likewise.
19999 (_G_uid_t): Likewise.
20000 (_G_wchar_t): Likewise.
20001 (_G_wint_t): Likewise.
20002 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
20003 (_G_ssize_t): Likewise.
20004 (_G_off_t): Likewise.
20005 (_G_pid_t): Likewise.
20006 (_G_uid_t): Likewise.
20007 (_G_wchar_t): Likewise.
20008 (_G_wint_t): Likewise.
20010 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20012 * malloc/arena.c: Include malloc-sysdep.h.
20013 (shrink_heap): Use check_may_shrink_heap to decide if madvise
20014 is sufficient to shrink the heap or an unmap is needed.
20015 * sysdeps/generic/malloc-sysdep.h: New file. Define
20016 new function check_may_shrink_heap.
20017 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
20018 new function check_may_shrink_heap.
20020 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20022 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
20025 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
20027 * catgets/test-gencat.sh: Add "set -e".
20028 * elf/tst-pathopt.sh: Likewise.
20029 * grp/tst_fgetgrent.sh: Likewise.
20030 * iconvdata/run-iconv-test.sh: Likewise.
20031 * intl/tst-gettext.sh: Likewise.
20032 * intl/tst-gettext2.sh: Likewise.
20033 * intl/tst-gettext4.sh: Likewise.
20034 * intl/tst-gettext6.sh: Likewise.
20035 * intl/tst-translit.sh: Likewise.
20036 * io/ftwtest-sh: Likewise.
20037 * libio/test-freopen.sh: Likewise.
20038 * malloc/tst-mtrace.sh: Likewise.
20039 * posix/globtest.sh: Likewise.
20040 * posix/tst-getconf.sh: Likewise.
20041 * posix/wordexp-tst.sh: Likewise.
20042 * stdio-common/tst-printf.sh: Likewise.
20043 * stdio-common/tst-unbputc.sh: Likewise.
20044 * stdlib/tst-fmtmsg.sh: Likewise.
20045 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20046 * catgets/Makefile: Do not specify -e option when running
20047 testsuite shell scripts.
20048 * elf/Makefile: Likewise.
20049 * grp/Makefile: Likewise.
20050 * iconvdata/Makefile: Likewise.
20051 * intl/Makefile: Likewise.
20052 * io/Makefile: Likewise.
20053 * libio/Makefile: Likewise.
20054 * malloc/Makefile: Likewise.
20055 * posix/Makefile: Likewise.
20056 * stdio-common/Makefile: Likewise.
20057 * stdlib/Makefile: Likewise.
20058 * sysdeps/x86_64/Makefile: Likewise.
20060 * io/ftwtest-sh: Add copyright header.
20061 * posix/globtest.sh: Likewise.
20062 * posix/tst-getconf.sh: Likewise.
20063 * posix/wordexp-tst.sh: Likewise.
20064 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20066 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
20069 * Makeconfig (+link): Defined as $(+link-static) if
20070 $(build-shared) isn't yes.
20071 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20073 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20075 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20078 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20079 new chunk size with MALLOC_ALIGN_MASK.
20081 2012-09-24 Joseph Myers <joseph@codesourcery.com>
20084 * stdio-common/printf_fphex.c: Include <stdbool.h> and
20086 (__printf_fphex): Determine rounding using get_rounding_mode and
20088 * stdio-common/tst-printf-round.c (struct hex_test): New
20090 (hex_tests): New variable.
20091 (test_hex_in_one_mode): New function.
20092 (do_test): Also run tests for hex float output.
20094 2012-09-21 Joseph Myers <joseph@codesourcery.com>
20096 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20097 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20098 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
20099 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20100 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20101 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
20102 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20103 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20105 2012-09-20 Joseph Myers <joseph@codesourcery.com>
20107 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
20108 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
20109 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
20110 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
20112 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
20115 * elf/rtld.c (dl_main): Limit the check for self loading to normal
20117 * elf/tst-rtld-load-self.sh: New test.
20118 * elf/Makefile: Run it.
20120 2012-09-18 Joseph Myers <joseph@codesourcery.com>
20122 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
20123 (tst-writev-ENV): Remove.
20124 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
20126 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
20128 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
20130 2012-09-17 Joseph Myers <joseph@codesourcery.com>
20132 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
20134 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
20136 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
20137 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
20138 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
20141 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
20144 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
20145 * config.make.in (have-cpp-asm-debuginfo): Removed.
20146 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
20147 * configure: Regenerated.
20149 2012-09-14 Joseph Myers <joseph@codesourcery.com>
20152 * stdio-common/printf_fp.c: Include <stdbool.h> and
20154 (___printf_fp): Determine rounding using get_rounding_mode and
20156 * stdio-common/tst-printf-round.c: New file.
20157 * stdio-common/Makefile (tests): Add tst-printf-round.
20158 (link-libm): New variable.
20159 ($(objpfx)tst-printf-round): Depend in $(link-libm).
20161 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
20164 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
20165 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
20167 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
20170 2012-09-13 Joseph Myers <joseph@codesourcery.com>
20172 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
20173 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20174 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20175 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20177 2012-09-12 Joseph Myers <joseph@codesourcery.com>
20180 * include/rounding-mode.h: New file.
20181 * sysdeps/generic/get-rounding-mode.h: Likewise.
20182 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
20183 * stdlib/strtod_l.c: Include <rounding-mode.h>.
20184 (MAX_VALUE): New macro.
20185 (MIN_VALUE): Likewise.
20186 (overflow_value): New function.
20187 (underflow_value): Likewise.
20188 (round_and_return): Use overflow_value and underflow_value to
20189 determine return values in overflow and underflow cases. Use
20190 round_away to determine rounding depending on rounding mode.
20191 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
20192 determine return values in overflow and underflow cases.
20193 * stdlib/tst-strtod-round.c: Include <fenv.h>.
20194 (struct test_results): New structure.
20195 (struct test): Use struct test_results to store expected results
20196 for all rounding modes.
20197 (TEST): Include expected results for all rounding modes.
20198 (test_in_one_mode): New function.
20199 (do_test): Use test_in_one_mode to compute and check results.
20200 Check results for all rounding modes.
20201 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
20204 2012-12-09 Allan McRae <allan@archlinux.org>
20206 * sysdeps/i386/fpu/libm-test-ulps: Update
20208 2012-09-11 Joseph Myers <joseph@codesourcery.com>
20210 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
20211 (_G_int32_t): Likewise.
20212 (_G_uint16_t): Likewise.
20213 (_G_uint32_t): Likewise.
20214 (_G_HAVE_BOOL): Likewise.
20215 (_G_HAVE_ATEXIT): Likewise.
20216 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20217 (_G_HAVE_IO_FILE_OPEN): Likewise.
20218 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
20219 (_G_int32_t): Likewise.
20220 (_G_uint16_t): Likewise.
20221 (_G_uint32_t): Likewise.
20222 (_G_HAVE_BOOL): Likewise.
20223 (_G_HAVE_ATEXIT): Likewise.
20224 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20225 (_G_HAVE_IO_FILE_OPEN): Likewise.
20226 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
20227 (_G_int32_t): Likewise.
20228 (_G_uint16_t): Likewise.
20229 (_G_uint32_t): Likewise.
20230 (_G_HAVE_BOOL): Likewise.
20231 (_G_HAVE_ATEXIT): Likewise.
20232 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20233 (_G_HAVE_IO_FILE_OPEN): Likewise.
20235 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
20237 * csu/libc-tls.c: Update copyright years.
20239 2012-09-10 Joseph Myers <joseph@codesourcery.com>
20241 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
20242 [!_G_USING_THUNKS]: Remove conditional code.
20243 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
20244 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
20246 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
20247 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
20248 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20249 (_G_VTABLE_LABEL_PREFIX): Likewise.
20250 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20251 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20252 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20253 (_G_VTABLE_LABEL_PREFIX): Likewise.
20254 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20255 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20256 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20257 (_G_VTABLE_LABEL_PREFIX): Likewise.
20258 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20260 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
20262 * libio/Makefile: Include ../Makeconfig before tests.
20263 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
20264 only if $(build-shared) is yes.
20266 * iconv/gconv_db.c: Update copyright years.
20268 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20270 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
20271 unwind info if defined PIC. Fix special cases description.
20272 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
20274 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
20276 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
20278 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
20280 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
20282 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
20285 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
20286 (LDLIBS-tst-chk4): This.
20287 (LDFLAGS-tst-chk5): Renamed to ...
20288 (LDLIBS-tst-chk5): This.
20289 (LDFLAGS-tst-chk6): Renamed to ...
20290 (LDLIBS-tst-chk6): This.
20291 (LDFLAGS-tst-lfschk4): Renamed to ...
20292 (LDLIBS-tst-lfschk4): This.
20293 (LDFLAGS-tst-lfschk5): Renamed to ...
20294 (LDLIBS-tst-lfschk5): This.
20295 (LDFLAGS-tst-lfschk6): Renamed to ...
20296 (LDLIBS-tst-lfschk6): This.
20298 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
20299 on $(common-objpfx)soversions.mk.
20301 2012-09-07 Joseph Myers <joseph@codesourcery.com>
20304 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
20307 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20309 * malloc/arena.c (arena_get_retry): New function that gets
20310 another arena for the caller to try its request on.
20311 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
20312 current arena cannot fulfill the request.
20313 (__libc_memalign): Likewise.
20314 (__libc_memalign): Likewise.
20315 (__libc_pvalloc): Likewise.
20316 (__libc_calloc): Likewise.
20318 2012-09-05 John Tobey <john.tobey@gmail.com>
20321 * manual/arith.texi (Operations on Complex): Fix description
20322 of carg branch cut.
20324 2012-09-06 Joseph Myers <joseph@codesourcery.com>
20327 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
20331 * manual/memory.texi (Memory): Make order of menu items match
20334 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20336 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
20337 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
20338 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
20340 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20342 * csu/libc-tls.c (static_dtv): Renamed to ...
20343 (_dl_static_dtv): This. Make it global.
20344 (_dl_initial_dtv): Removed.
20345 (__libc_setup_tls): Updated.
20346 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
20347 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
20350 2012-09-06 Petr Machata <pmachata@redhat.com>
20352 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
20353 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
20354 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
20355 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
20357 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20360 * csu/libc-tls.c (_dl_initial_dtv): New variable.
20361 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
20364 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20367 * Makeconfig (link-static-before-libc): Replace $(+prector)
20369 (link-static-after-libc): Replace $(+postctor) with
20371 (link-bounded): Replace $(+prector)/$(+postctor) with
20372 $(+prectorT)/$(+postctorT).
20373 (+prectorT): New macro.
20374 (+postctorT): Likewise.
20376 2012-09-06 Joseph Myers <joseph@codesourcery.com>
20378 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
20379 (round_str): Handle values above the maximum for IBM long double
20381 * stdlib/tst-strtod-round.c (tests): Regenerated.
20383 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20385 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
20387 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
20388 zarch_nohighgprs around the zarch optimized routines.
20389 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20390 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20391 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
20394 2012-09-05 David S. Miller <davem@davemloft.net>
20396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20398 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
20399 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
20400 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
20401 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20404 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20406 * malloc/arena.c: Fold copyright years.
20407 * malloc/mcheck.c, malloc/memusage.c: Likewise.
20409 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20411 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
20413 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20415 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
20417 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20419 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
20420 change internal state upon failure.
20422 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20424 * malloc/mcheck.c (mcheck_check_all): Fix typo.
20425 * malloc/memusage.c (mmap): Likewise.
20426 (mmap64, mremap): Likewise. Adjust name in comment.
20428 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20430 * libio/fileops.c: Fix typos in comments.
20431 * libio/oldfileops.c: Likewise.
20432 * libio/wfileops.c: Likewise.
20434 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20437 * malloc/Makefile (tests): Add tst-malloc-usable test case.
20438 (tst-malloc-usable-ENV): Set environment for test case.
20439 * malloc/hooks.c (malloc_check_get_size): New function to get
20441 * malloc/malloc.c (musable): Use malloc_check_get_size.
20442 * malloc/tst-malloc-usable.c: New test case.
20444 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20446 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
20448 2012-09-05 Allan McRae <allan@archlinux.org>
20451 * configure.in (CXX_SYSINCLUDES): Use compiler output to
20452 determine header location.
20453 * configure: Regenerated.
20455 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20457 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
20459 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
20460 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
20462 (test): Regenerate.
20464 2012-09-04 David S. Miller <davem@davemloft.net>
20466 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
20467 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
20468 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
20470 2012-09-04 Florian Weimer <fweimer@redhat.com>
20472 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
20475 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
20477 2012-09-04 Joseph Myers <joseph@codesourcery.com>
20480 * libio/iogetdelim.c: Include <limits.h>.
20481 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
20482 + len + 1 would overflow.
20484 2012-09-03 Andreas Jaeger <aj@suse.de>
20486 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20487 * sysdeps/i386/fpu/libm-test-ulps: Update.
20489 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20491 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20492 Add s_sinf-sse2, s_conf-sse2.
20494 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
20495 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
20496 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
20497 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
20499 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
20500 for using routine as __sinf_ia32.
20501 Use macro for function declaration and weak_alias.
20502 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
20503 for using routine as __cosf_ia32.
20504 Use macro for function declaration and weak_alias.
20506 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
20507 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
20509 * sysdeps/x86_64/fpu/s_sinf.S: New file.
20510 * sysdeps/x86_64/fpu/s_cosf.S: New file.
20511 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20513 * math/libm-test.inc (cos_test): Add more test cases.
20514 (sin_test): Likewise.
20515 (sincos_test): Likewise.
20517 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20519 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20520 (IFUNC_RESOLVE): Make pointers to the specialized implementations
20522 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20524 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
20527 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
20528 first element of the GOT.
20529 (elf_machine_load_address): Return the difference between
20530 the runtime address of _DYNAMIC and elf_machine_dynamic ().
20532 2012-09-01 Allan McRae <allan@archlinux.org>
20535 * configure.in (AWK): Require gawk version 3.0 or later.
20536 * configure: Regenerated.
20538 2012-09-01 Joseph Myers <joseph@codesourcery.com>
20540 * sysdeps/unix/sysv/linux/kernel-features.h
20541 (__ASSUME_POSIX_CPU_TIMERS): Remove.
20542 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20543 [__NR_clock_getres]: Make code unconditional.
20544 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
20545 (clock_getcpuclockid): Remove code left unreachable by removal of
20547 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
20548 code unconditional.
20549 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20550 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20551 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
20552 Make code unconditional.
20553 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20554 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20555 * sysdeps/unix/sysv/linux/clock_settime.c
20556 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
20558 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
20559 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20561 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
20564 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
20565 scripts/test-installation.pl.
20567 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
20568 and $ld_so_version if it is set.
20570 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20573 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
20574 failure if reading from procfs failed.
20575 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
20577 2012-08-27 Joseph Myers <joseph@codesourcery.com>
20579 * sysdeps/unix/sysv/linux/kernel-features.h
20580 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
20581 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20582 Remove conditional code.
20583 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20584 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
20585 Remove conditional code.
20586 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20587 * sysdeps/unix/sysv/linux/i386/fxstat.c
20588 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20589 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20590 * sysdeps/unix/sysv/linux/i386/fxstatat.c
20591 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20592 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20593 * sysdeps/unix/sysv/linux/i386/lxstat.c
20594 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20595 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20596 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
20597 Remove conditional code.
20598 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20599 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20600 Remove conditional code.
20601 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20602 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
20603 <kernel-features.h>.
20604 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
20606 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
20607 Remove conditional code.
20608 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20609 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
20610 Remove conditional.
20612 2012-08-27 Mike Frysinger <vapier@gentoo.org>
20615 * NEWS: Add fixed bug number.
20617 2012-08-27 Joseph Myers <joseph@codesourcery.com>
20620 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
20621 underflowing exponent in case of negative sign.
20622 * stdlib/tst-strtod-round-data: Add more tests.
20623 * stdlib/tst-strtod-round.c (tests): Regenerated.
20626 * stdlib/strtod_l.c (NDIG): Remove.
20627 (HEXNDIG): Likewise.
20628 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
20629 smallest representable value.
20630 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
20631 lie within an exact representation of 1/2 ulp of the result.
20632 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
20634 (TENS_P9_IDX): Define unconditionally.
20635 (TENS_P9_SIZE): Likewise.
20636 (TENS_P10_IDX): Likewise.
20637 (TENS_P10_SIZE): Likewise.
20638 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
20639 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
20640 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
20641 entries for 10^2^13 and 10^2^14.
20642 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
20643 (TENS_P13_IDX): Define.
20644 (TENS_P13_SIZE): Likewise.
20645 (TENS_P14_IDX): Likewise.
20646 (TENS_P14_SIZE): Likewise.
20647 (_fpioconst_pow10): Change array size to
20648 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
20650 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
20651 1024]: Add entries for 10^2^13 and 10^2^14.
20652 [LAST_POW10 > _LAST_POW10]: Remove #error.
20653 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
20654 (_fpioconst_pow10): Change array size to
20655 FPIOCONST_POW10_ARRAY_SIZE.
20656 * stdlib/gen-fpioconst.c: New file.
20657 * stdlib/gen-tst-strtod-round.c: Likewise.
20658 * stdlib/tst-strtod-round-data: Likewise.
20659 * stdlib/tst-strtod-round.c: Likewise.
20660 * stdlib/Makefile (tests): Add tst-strtod-round.
20663 * stdlib/strtod_l.c: Include <stdint.h>.
20664 (NDEBUG): Do not define.
20665 (round_and_return): Change EXPONENT parameter to type intmax_t.
20666 Rearrange calculations to avoid internal overflow possibilities.
20667 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
20668 Rearrange calculations to avoid internal overflow possibilities.
20669 Assert that number fits inside MPNSIZE limbs.
20670 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
20671 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
20672 calculations and add assertions to avoid internal overflow
20673 possibilities. Add casts to avoid signed/unsigned operations.
20674 * stdlib/tst-strtod-overflow.c: New file.
20675 * stdlib/Makefile (tests): Add tst-strtod-overflow.
20677 2012-08-25 Marek Polacek <polacek@redhat.com>
20679 * time/time.h: Fix some typos in comments.
20681 2012-08-23 Roland McGrath <roland@hack.frob.com>
20683 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
20684 * posix/tst-rfc3484-2.c: Likewise.
20685 * posix/tst-rfc3484-3.c: Likewise.
20687 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
20689 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
20690 (EF_ARM_ABI_FLOAT_HARD): Likewise.
20692 2012-08-23 Joseph Myers <joseph@codesourcery.com>
20694 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
20695 #include of fxstatat64.c.
20697 2012-08-22 Roland McGrath <roland@hack.frob.com>
20699 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
20700 * shadow/getspent_r.c: Likewise.
20701 * shadow/getspnam.c: Likewise.
20702 * shadow/getspnam_r.c: Likewise.
20703 * gshadow/getsgent.c: Likewise.
20704 * gshadow/getsgent_r.c: Likewise.
20705 * gshadow/getsgnam.c: Likewise.
20706 * gshadow/getsgnam_r.c: Likewise.
20707 * inet/getnetbyad.c: Likewise.
20708 * inet/getnetbyad_r.c: Likewise.
20709 * inet/getnetbynm.c: Likewise.
20710 * inet/getnetbynm_r.c: Likewise.
20711 * inet/getnetent.c: Likewise.
20712 * inet/getnetent_r.c: Likewise.
20713 * inet/getproto.c: Likewise.
20714 * inet/getproto_r.c: Likewise.
20715 * inet/getprtent.c: Likewise.
20716 * inet/getprtent_r.c: Likewise.
20717 * inet/getprtname.c: Likewise.
20718 * inet/getprtname_r.c: Likewise.
20719 * inet/getrpcbyname.c: Likewise.
20720 * inet/getrpcbyname_r.c: Likewise.
20721 * inet/getrpcbynumber.c: Likewise.
20722 * inet/getrpcbynumber_r.c: Likewise.
20723 * inet/getrpcent.c: Likewise.
20724 * inet/getrpcent_r.c: Likewise.
20725 * inet/getaliasent.c: Likewise.
20726 * inet/getaliasent_r.c: Likewise.
20727 * inet/getaliasname.c: Likewise.
20728 * inet/getaliasname_r.c: Likewise.
20729 * nscd/getgrgid_r.c: Likewise.
20730 * nscd/getgrnam_r.c: Likewise.
20731 * nscd/gethstbyad_r.c: Likewise.
20732 * nscd/gethstbynm3_r.c: Likewise.
20733 * nscd/getpwnam_r.c: Likewise.
20734 * nscd/getpwuid_r.c: Likewise.
20735 * nscd/getsrvbynm_r.c: Likewise.
20736 * nscd/getsrvbypt_r.c: Likewise.
20737 * nscd/gai.c: Likewise.
20739 * configure.in (build_nscd): New substituted variable, set
20740 by --disable-build-nscd and defaults to $use_nscd.
20741 * configure: Regenerated.
20742 * config.make.in (build-nscd): New substituted variable.
20743 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
20744 Change conditional to require [$(build-nscd) = yes] as well.
20745 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
20748 * configure.in (use_nscd): New substituted variable, set by
20749 --disable-nscd. If enabled, define USE_NSCD.
20750 * configure: Regenerated.
20751 * config.h.in: Add USE_NSCD.
20752 * config.make.in (use-nscd): New substituted variable.
20753 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20754 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20755 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20756 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20757 (CFLAGS-getgrnam_r.c): Likewise.
20758 (CFLAGS-initgroups.c): Likewise.
20759 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20760 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20762 * inet/getnetgrent_r.c
20763 (nscd_setnetgrent): New function, broken out of ...
20764 (setnetgrent): ... here. Call it.
20765 (innetgr): Conditionalize nscd bits on [USE_NSCD].
20766 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20767 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20768 * nscd/Makefile (routines, aux): Move definitions after include of
20769 Makeconfig. Conditionalize on [$(use-nscd) != no].
20770 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20771 Conditionalize on [USE_NSCD].
20772 (is_nscd, nscd_init_cb): Likewise.
20773 (nss_load_library): Conditionalize init callback on [USE_NSCD].
20774 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20775 * nss/nss_db/db-init.c: Likewise.
20776 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20778 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20779 (make_request): Use it.
20780 (cache_valid_p): New function.
20781 (__check_pf): Use it.
20782 * NEWS: Add item for --disable-nscd.
20784 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
20786 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20787 to support sed >= 4.2.1-20-ga9bf076.
20788 * configure: Regenerated.
20790 2012-08-22 Roland McGrath <roland@hack.frob.com>
20792 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20793 Conditionalize whole body on [IREL].
20795 2012-08-22 Jeff Law <law@redhat.com>
20798 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20799 if the family is PF_UNSPEC.
20801 2012-08-22 Mike Frysinger <vapier@gentoo.org>
20803 * Makerules (lib-version): Rename from V.
20804 (install-lib-nosubdir): Change V to lib-version.
20806 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
20809 * powerpc32/power6/wcschr.c: New file.
20810 * powerpc32/power6/wcscpy.c: New file.
20811 * powerpc32/power6/wcsrchr.c: New file.
20812 * powerpc64/power6/wcschr.c: New file.
20813 * powerpc64/power6/wcscpy.c: New file.
20814 * powerpc64/power6/wcsrchr.c: New file.
20816 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20818 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20819 (two_way_short_needle): Use it.
20820 * string/strstr.c (AVAILABLE1_USES_J): Define.
20821 * string/strcasestr.c: Likewise.
20823 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20825 * string/strcasestr.c (TOLOWER): Make side-effect safe.
20828 * NEWS: Add an entry.
20829 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20830 define their defaults.
20831 (two_way_short_needle): Detect end-of-string on-the-fly.
20832 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20833 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20834 * string/bug-strcasestr1.c: New test.
20835 * string/Makefile: Run it.
20837 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20840 * string/str-two-way.h (two_way_short_needle): Optimize matching of
20841 the first character.
20843 2012-08-21 Roland McGrath <roland@hack.frob.com>
20845 * csu/elf-init.c (__libc_csu_irel): Function removed.
20846 * csu/libc-start.c (apply_irel): New function.
20847 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20849 2012-08-21 Joseph Myers <joseph@codesourcery.com>
20851 * sysdeps/unix/sysv/linux/kernel-features.h
20852 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20853 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20854 <kernel-features.h>.
20855 [__NR_fadvise64_64]: Make code unconditional.
20856 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20857 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20858 !__NR_fadvise64_64)]: Likewise.
20859 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20860 !__NR_fadvise64_64))]: Likewise.
20861 [__NR_fadvise64]: Make code unconditional.
20862 [!__NR_fadvise64]: Remove conditional code.
20863 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20864 <kernel-features.h>.
20865 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20867 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20870 not include <kernel-features.h>.
20871 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20873 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20875 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20876 include <kernel-features.h>.
20877 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20879 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20882 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20884 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20885 slight instruction rearrangements per scrollpipe analysis.
20886 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20888 2012-08-20 Roland McGrath <roland@hack.frob.com>
20890 * manual/syslog.texi (syslog; vsyslog, closelog):
20891 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20892 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20894 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20895 DSOCAPS to match condition on defining it.
20897 2012-08-20 Joseph Myers <joseph@codesourcery.com>
20899 * sysdeps/unix/sysv/linux/kernel-features.h
20900 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20902 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20903 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20905 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20906 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20908 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20909 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20911 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20912 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20914 * sysdeps/unix/sysv/linux/kernel-features.h
20915 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20916 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20918 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20919 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20920 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20921 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20922 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20923 Make code unconditional.
20924 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20925 (__mmap64) [!__NR_mmap2]: Likewise.
20926 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20927 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20928 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20929 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20930 [__NR_mmap2]: Make code unconditional.
20931 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20932 (__mmap64) [!__NR_mmap2]: Likewise.
20934 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20936 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20938 2012-08-18 Andreas Jaeger <aj@suse.de>
20940 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20942 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20944 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20945 * include/unistd.h (__have_sock_cloexec): Likewise.
20946 (__have_pipe2): Likewise.
20947 (__have_dup3): Likewise.
20949 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20952 * include/unistd.h (__have_pipe2): Change define into an extern int.
20953 (__have_dup3): Likewise.
20954 * socket/have_sock_cloexec.c: Include fcntl.h.
20955 (__have_pipe2): New variable.
20956 (__have_dup3): Likewise.
20958 2012-08-17 Mike Frysinger <vapier@gentoo.org>
20960 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20962 2012-08-17 Marek Polacek <polacek@redhat.com>
20964 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20965 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20967 2012-08-17 Roland McGrath <roland@hack.frob.com>
20969 * configure.in: Add AC_SUBST for sysheaders.
20970 * configure: Regenerated.
20971 * config.make.in (sysheaders): New substituted variable.
20973 * sysdeps/unix/mkfifo.c: Moved ...
20974 * sysdeps/posix/mkfifo.c: ... here.
20975 * sysdeps/unix/mkfifoat.c: Moved ...
20976 * sysdeps/posix/mkfifoat.c: ... here.
20978 * sysdeps/unix/utime.c: Moved ...
20979 * sysdeps/posix/utime.c: ... here.
20981 * sysdeps/unix/time.c: Moved ...
20982 * sysdeps/posix/time.c: ... here.
20983 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20984 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
20986 * sysdeps/unix/nice.c: Moved ...
20987 * sysdeps/posix/nice.c: ... here.
20989 * sysdeps/unix/alarm.c: Moved ...
20990 * sysdeps/posix/alarm.c: ... here.
20992 * intl/Makefile ($(codeset_mo)): Depend on the input file.
20994 2012-08-17 Jeff Law <law@redhat.com>
20996 * intl/Makefile (codeset_mo): New variable.
20997 ($(codeset_mo)): New target.
20998 (tst-codeset.out): Depend on that. Remove explicit rule.
20999 (tst-gettext3.out, tst-gettext5.out): Likewise.
21000 (LOCPATH-ENV, tst-codeset-ENV): New variables.
21001 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
21002 * intl/tst-codeset.sh: Remove.
21003 * intl/tst-gettext3.sh: Likewise.
21004 * intl/tst-gettext5.sh: Likewise.
21006 2012-08-17 Roland McGrath <roland@hack.frob.com>
21008 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
21009 * sysdeps/unix/syscalls.list: ... here.
21011 * sysdeps/posix/getaddrinfo.c
21012 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
21013 (gaiconf_init, gaiconf_reload): Use them.
21014 [!_STATBUF_ST_NSEC]
21015 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
21016 Define using time_t rather than struct timespec.
21018 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
21019 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
21021 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
21023 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
21024 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
21027 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
21028 __libc_cleanup_push argument.
21030 * bits/param.h: New file.
21031 * misc/sys/param.h: New file.
21032 * include/sys/param.h: New file.
21033 * misc/Makefile (headers): Add bits/param.h.
21034 * sysdeps/generic/sys/param.h: File removed.
21035 * sysdeps/unix/sysv/linux/bits/param.h: New file.
21036 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
21037 * sysdeps/mach/hurd/bits/param.h: New file.
21038 * sysdeps/mach/hurd/sys/param.h: File removed.
21040 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21043 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21045 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21046 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21049 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
21050 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
21051 rather than -D_IO_MTSAFE_IO conditionally.
21052 * stdio-common/Makefile (CPPFLAGS): Likewise.
21053 * wcsmbs/Makefile (CPPFLAGS): Likewise.
21054 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21055 Use $(libio-mtsafe).
21056 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21057 of -D_IO_MTSAFE_IO.
21058 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21059 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21060 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21061 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21062 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21063 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21064 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21065 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21066 (CFLAGS-fread_u_chk.c): Likewise.
21067 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21068 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21069 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21070 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21071 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21072 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21073 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21074 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21075 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21077 * libio/Makefile: Test [$(libc-reentrant) = yes]
21078 instead of [$(filter %REENTRANT, $(defines)) nonempty].
21081 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
21082 * sysdeps/pthread/configure: File removed.
21083 * sysdeps/pthread/Makeconfig: New file.
21084 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
21085 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
21087 2012-08-16 Gary Benson <gbenson@redhat.com>
21089 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21090 unmapping the first object in a namespace.
21092 2012-08-16 Roland McGrath <roland@hack.frob.com>
21094 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
21095 (__internal_setnetgrent): ... this. Add internal_function to
21096 definition. Add libc_hidden_def.
21097 (setnetgrent): Update caller.
21098 (internal_endnetgrent): Renamed to ...
21099 (__internal_endnetgrent): ... this. Add internal_function to
21100 definition. Add libc_hidden_def.
21101 (endnetgrent): Update caller.
21102 (internal_getnetgrent_r): Renamed to ...
21103 (__internal_getnetgrent_r): ... this. Add internal_function to
21104 definition. Add libc_hidden_def.
21105 (__getnetgrent_r): Update caller.
21106 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
21108 2012-08-16 Joseph Myers <joseph@codesourcery.com>
21110 * stdlib/longlong.h: Update from GCC.
21112 2012-08-16 Roland McGrath <roland@hack.frob.com>
21114 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
21115 on _QL, which is set by umul_ppmm but never used.
21116 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
21117 variables, which are set by GMP macros but never used.
21118 * stdio-common/_itowa.c (_itowa): Likewise.
21119 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
21120 * stdlib/mod_1.c (mpn_mod_1): Likewise.
21122 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
21124 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
21125 struct La_sh_regs is not constant.
21126 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
21127 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
21128 and struct La_sparc64_regs are not constant.
21130 2012-08-16 Joseph Myers <joseph@codesourcery.com>
21132 * sysdeps/unix/sysv/linux/kernel-features.h
21133 (__ASSUME_POSIX_TIMERS): Remove.
21134 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21135 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21136 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
21137 Make code unconditional.
21138 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21139 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
21140 Make code unconditional.
21141 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21142 * sysdeps/unix/sysv/linux/clock_nanosleep.c
21143 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
21144 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21145 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
21146 Make code unconditional.
21147 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21148 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
21149 (__libc_missing_posix_timers): Remove.
21151 2012-08-15 Roland McGrath <roland@hack.frob.com>
21153 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
21154 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
21156 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
21158 * elf/dl-sym.c: Include <stdlib.h>.
21160 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
21161 constants, which avoids warnings in 32-bit builds.
21163 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
21164 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
21166 * misc/lseek.c: File moved to ...
21167 * io/lseek.c: ... here.
21169 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
21171 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
21172 shifting LEN more than 31 bits at once.
21174 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21177 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
21178 segmentation fault for a case of two empty input strings.
21179 * string/test-strncasecmp.c (check1): Renamed to...
21180 (bz12205): ...this.
21181 (bz14195): Add new testcase for two empty input strings and N > 0.
21182 (test_main): Call new testcase, adapt for renamed function.
21184 2012-08-15 Andreas Jaeger <aj@suse.de>
21187 * crypt/md5test2.c: New test, based on test supplied by Serge
21188 Belyshev <belyshev@depni.sinp.msu.ru>.
21189 * crypt/Makefile (xtests): Add md5test-giant..
21190 * crypt/Makefile ($(objpfx)md5test-giant): Add.
21192 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
21195 * crypt/md5.c (md5_process_block): Don't assume the buffer
21196 length is less than 2**32.
21197 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
21198 length is less than 2**64.
21200 2012-08-15 Roland McGrath <roland@hack.frob.com>
21202 * string/str-two-way.h: Include <sys/param.h>.
21203 (MAX): Macro removed.
21205 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
21206 Move #define and #undef of memmove to just before and after
21207 including <string.h>.
21209 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
21210 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
21211 and after including <string.h>. Move declarations of
21212 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
21213 to before #include "string/memmove.c".
21215 * include/dirent.h: Declare __getdirentries.
21217 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
21218 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
21220 2012-08-14 Mike Frysinger <vapier@gentoo.org>
21222 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
21223 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
21224 * sysdeps/i386/configure: Regenerated.
21225 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
21226 STABS_CURRENT_FILE, and STABS_FUN.
21227 (END): Remove call to STABS_FUN_END.
21228 (STABS_CURRENT_FILE1): Delete.
21229 (STABS_CURRENT_FILE): Likewise.
21230 (STABS_FUN): Likewise.
21231 (STABS_FUN_END): Likewise.
21232 (STABS_FUN2): Likewise.
21233 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
21234 * sysdeps/x86_64/configure: Regenerated.
21236 2012-08-14 Roland McGrath <roland@hack.frob.com>
21238 * elf/dl-open.c: Include <atomic.h>.
21239 * elf/dl-lookup.c: Likewise.
21241 2012-08-14 Joseph Myers <joseph@codesourcery.com>
21243 * sysdeps/unix/sysv/linux/kernel-features.h
21244 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
21245 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
21247 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
21249 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
21250 condition on __ASSUME_CLONE_THREAD_FLAGS.
21252 2012-08-14 Andreas Jaeger <aj@suse.de>
21254 * sysdeps/i386/fpu/libm-test-ulps: Update.
21256 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
21258 * include/atomic.h (atomic_exchange_and_add): Split into ...
21259 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
21262 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
21264 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21266 2012-08-13 Jeff Law <law@redhat.com>
21268 * manual/stdio.texi (snprintf): Clarify handling of the trailing
21269 null byte in the output string.
21271 2012-08-10 Joseph Myers <joseph@codesourcery.com>
21273 * sysdeps/unix/sysv/linux/kernel-features.h
21274 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
21275 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
21276 (__ASSUME_ARG_MAX_STACK_BASED): Define.
21277 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21278 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
21279 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
21280 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
21282 2012-08-09 Jeff Law <law@redhat.com>
21285 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
21286 When avoid_arena is set, don't retry in the that arena. Pick the
21287 next one, whatever it might be.
21288 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
21289 (arena_lock): Pass in new parameter to arena_get2.
21290 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
21292 (__libc_malloc): Unify retrying after main arena failure with
21293 __libc_memalign version.
21294 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
21296 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
21299 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
21300 to __redirect_strstr.
21301 (__strstr_sse42): Use typeof __redirect_strstr.
21302 (__strstr_ia32): Likewise.
21303 (__libc_strstr): New prototype.
21304 (strstr): Renamed to ...
21305 (__libc_strstr): This.
21306 (strstr): New strong alias of __libc_strstr.
21307 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21308 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
21311 (__libc_time): New prototype.
21312 (time_ifunc): Replace time with __libc_time.
21313 (time): New strong alias and hidden definition of __libc_time.
21314 (__GI_time): Remove strong alias.
21315 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
21316 Include <stddef.h>.
21317 (memmove): Redefined to __redirect_memmove.
21318 (__memmove_sse2): Use typeof __redirect_memmove.
21319 (__memmove_ssse3): Likewise.
21320 (__memmove_ssse3_back): Likewise.
21321 (__libc_memmove): New prototype.
21322 (memmove): Renamed to ...
21323 (__libc_memmove): This.
21324 (memmove): New strong alias of __libc_memmove.
21326 2012-08-08 Mark Salter <msalter@redhat.com>
21329 (R_MN10300_TLS_GD): Define.
21330 (R_MN10300_TLS_LD): Likewise.
21331 (R_MN10300_TLS_LDO): Likewise.
21332 (R_MN10300_TLS_GOTIE): Likewise.
21333 (R_MN10300_TLS_IE): Likewise.
21334 (R_MN10300_TLS_LE): Likewise.
21335 (R_MN10300_TLS_DTPMOD): Likewise.
21336 (R_MN10300_TLS_DTPOFF): Likewise.
21337 (R_MN10300_TLS_TPOFF): Likewise.
21338 (R_MN10300_SYM_DIFF): Likewise.
21339 (R_MN10300_ALIGN): Likewise.
21340 (R_MN10300_NUM): Update.
21342 2012-08-08 Joseph Myers <joseph@codesourcery.com>
21344 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
21347 2012-08-08 Roland McGrath <roland@hack.frob.com>
21349 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
21351 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
21352 sysdeps/unix -> sysdeps/posix move.
21353 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21355 2012-08-07 Allan McRae <allan@archlinux.org>
21358 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
21359 (SUNOS_CPP): Likewise.
21360 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
21362 (open_input): Call CPP using execvp.
21364 2012-08-07 Joseph Myers <joseph@codesourcery.com>
21366 * sysdeps/unix/sysv/linux/kernel-features.h
21367 (__ASSUME_PROT_GROWSUPDOWN): Remove.
21368 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21369 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21370 (__ASSUME_WAITID_SYSCALL): Likewise.
21371 * sysdeps/unix/sysv/linux/dl-execstack.c
21372 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
21373 code unconditional.
21374 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
21376 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
21377 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
21378 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
21380 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
21382 [__ASSUME_WAITID_SYSCALL]: Likewise.
21383 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
21385 2012-08-07 Roland McGrath <roland@hack.frob.com>
21387 * sysdeps/unix/closedir.c: Renamed to ...
21388 * sysdeps/posix/closedir.c: ... here.
21389 * sysdeps/unix/dirfd.c: Renamed to ...
21390 * sysdeps/posix/dirfd.c: ... here.
21391 * sysdeps/unix/dirstream.h: Renamed to ...
21392 * sysdeps/posix/dirstream.h: ... here.
21393 * sysdeps/unix/fdopendir.c: Renamed to ...
21394 * sysdeps/posix/fdopendir.c: ... here.
21395 * sysdeps/unix/opendir.c: Renamed to ...
21396 * sysdeps/posix/opendir.c: ... here.
21397 * sysdeps/unix/readdir.c: Renamed to ...
21398 * sysdeps/posix/readdir.c: ... here.
21399 * sysdeps/unix/readdir_r.c: Renamed to ...
21400 * sysdeps/posix/readdir_r.c: ... here.
21401 * sysdeps/unix/rewinddir.c: Renamed to ...
21402 * sysdeps/posix/rewinddir.c: ... here.
21403 * sysdeps/unix/seekdir.c: Renamed to ...
21404 * sysdeps/posix/seekdir.c: ... here.
21405 * sysdeps/unix/telldir.c: Renamed to ...
21406 * sysdeps/posix/telldir.c: ... here.
21407 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
21408 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
21409 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
21410 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
21412 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
21413 * bits/fcntl.h: ... here.
21415 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
21417 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
21418 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
21419 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
21420 (struct flock): Move l_start, l_len to the beginning.
21421 Use __pid_t for l_pid.
21422 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
21423 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
21424 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
21425 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
21426 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
21427 [__USE_LARGEFILE64] (struct flock64): New type.
21428 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
21430 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
21431 * bits/dirent.h: ... here.
21433 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
21434 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
21436 2012-08-07 Joseph Myers <joseph@codesourcery.com>
21438 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21439 Change from 2.6.0 to 2.6.16.
21440 * sysdeps/unix/sysv/linux/configure: Regenerated.
21441 * sysdeps/unix/sysv/linux/kernel-features.h
21442 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
21443 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
21445 (__ASSUME_UTIMES): Likewise.
21446 (__ASSUME_CLONE_STOPPED): Remove.
21447 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
21448 architectures, not kernel version.
21449 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
21450 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21451 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21452 (__ASSUME_WAITID_SYSCALL): Likewise.
21453 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
21454 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
21455 * README: State 2.6.16 as minimum Linux kernel version. Do not
21456 refer to older versions.
21458 2012-08-06 Roland McGrath <roland@hack.frob.com>
21460 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
21461 Define alphasort64 as an alias.
21462 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
21463 Define versionsort64 as an alias.
21464 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
21465 Define scandir64 as an alias.
21466 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
21467 Define scandirat64 as an alias.
21468 * dirent/alphasort64.c (alphasort64):
21469 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
21470 * dirent/versionsort64.c: Likewise.
21471 * dirent/scandir64.c: Likewise.
21472 * dirent/scandirat64.c: Likewise.
21473 * sysdeps/wordsize-64/alphasort.c: File removed.
21474 * sysdeps/wordsize-64/alphasort64.c: File removed.
21475 * sysdeps/wordsize-64/scandir.c: File removed.
21476 * sysdeps/wordsize-64/scandir64.c: File removed.
21477 * sysdeps/wordsize-64/scandirat.c: File removed.
21478 * sysdeps/wordsize-64/scandirat64.c: File removed.
21479 * sysdeps/wordsize-64/versionsort.c: File removed.
21480 * sysdeps/wordsize-64/versionsort64.c: File removed.
21481 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
21482 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
21483 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
21484 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
21485 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
21486 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
21487 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
21488 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
21490 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
21491 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21492 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
21493 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21494 [defined __arch64__ || defined __sparcv9]
21495 (__INO_T_MATCHES_INO64_T): New macro.
21496 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21497 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
21498 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
21499 * sysdeps/unix/sysv/linux/bits/dirent.h
21500 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
21501 (_DIRENT_MATCHES_DIRENT64): New macro.
21503 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
21504 Define lockf64 as an alias.
21505 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
21506 Define fseeko64 as an alias.
21507 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
21508 Define ftello64 as an alias.
21509 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
21510 Define _IO_fgetpos64 and fgetpos64 as aliases.
21511 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
21512 Define _IO_fsetpos64 and fsetpos64 as aliases.
21513 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
21514 Conditionalize body on this.
21515 * libio/fseeko64.c: Likewise.
21516 * libio/ftello64.c: Likewise.
21517 * libio/iofgetpos64.c: Likewise.
21518 * libio/iofsetpos64.c: Likewise.
21519 * sysdeps/wordsize-64/lockf.c: File removed.
21520 * sysdeps/wordsize-64/lockf64.c: File removed.
21521 * sysdeps/wordsize-64/fseeko.c: File removed.
21522 * sysdeps/wordsize-64/fseeko64.c: File removed.
21523 * sysdeps/wordsize-64/ftello.c: File removed.
21524 * sysdeps/wordsize-64/ftello64.c: File removed.
21525 * sysdeps/wordsize-64/iofgetpos.c: File removed.
21526 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
21527 * sysdeps/wordsize-64/iofsetpos.c: File removed.
21528 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
21529 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
21530 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
21531 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
21532 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
21533 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
21534 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
21535 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
21536 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
21537 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
21538 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
21540 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21541 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21542 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
21543 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21544 [defined __arch64__ || defined __sparcv9]
21545 (__OFF_T_MATCHES_OFF64_T): New macro.
21546 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21547 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21548 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21549 (__OFF_T_MATCHES_OFF64_T): New macro.
21551 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
21553 * stdlib/secure-getenv.c (__secure_getenv): Replace
21554 GLIBC_2_16 with GLIBC_2_17.
21556 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
21558 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
21559 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21561 2012-08-03 David S. Miller <davem@davemloft.net>
21563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21565 2012-08-03 Joseph Myers <joseph@codesourcery.com>
21567 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
21569 (__ASSUME_CORRECT_SI_PID): Likewise.
21570 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
21571 (__ASSUME_TMPFS_NAME): Likewise.
21572 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
21573 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
21574 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
21575 (HAVE_AUX_SECURE): Make definition unconditional.
21576 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
21577 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
21579 2012-08-03 Roland McGrath <roland@hack.frob.com>
21581 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
21582 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
21583 * sysdeps/mach/hurd/eloop-threshold.h: New file.
21584 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21585 __eloop_threshold instead of SYMLOOP_MAX.
21587 * sysdeps/generic/eloop-threshold.h: New file.
21588 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
21590 * elf/chroot_canon.c (chroot_canon): Likewise.
21592 2012-08-03 Joseph Myers <joseph@codesourcery.com>
21595 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21596 Change to 2.6.0 everywhere.
21597 * sysdeps/unix/sysv/linux/configure: Regenerated.
21598 * sysdeps/unix/sysv/linux/kernel-features.h
21599 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
21600 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
21602 (__ASSUME_POSIX_TIMERS): Define unconditionally.
21603 (__ASSUME_FUTEX_REQUEUE): Remove.
21604 (__ASSUME_STATFS64): Define unconditionally.
21605 (__ASSUME_AT_SECURE): Likewise.
21606 (__ASSUME_CORRECT_SI_PID): Likewise.
21607 (__ASSUME_TGKILL): Define without depending on kernel version for
21609 (__ASSUME_UTIMES): Likewise.
21610 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
21612 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
21613 (__ASSUME_TMPFS_NAME): Likewise.
21614 * README: Update reference to Linux kernel versions.
21616 2012-08-02 Marek Polacek <polacek@redhat.com>
21619 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
21620 libc_cv_asm_type_prefix with %.
21621 * configure: Regenerated.
21622 * include/libc-symbols.h: Remove comment about
21623 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21624 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
21625 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
21626 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
21627 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
21628 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21629 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
21630 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
21631 * elf/tst-unique2mod1.c: Likewise.
21632 * elf/tst-unique1mod2.c: Likewise.
21633 * elf/tst-unique1mod1.c: Likewise.
21634 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
21635 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
21636 Replace ASM_TYPE_DIRECTIVE with .type.
21637 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21638 * sysdeps/i386/sysdep.h: Likewise.
21639 * sysdeps/x86_64/sysdep.h: Likewise.
21640 * sysdeps/sh/sysdep.h: Likewise.
21641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21642 Do not define ASM_TYPE_DIRECTIVE.
21643 * sysdeps/powerpc/sysdep.h: Likewise.
21644 * sysdeps/powerpc/powerpc32/sysdep.h:
21645 Replace ASM_TYPE_DIRECTIVE with .type.
21646 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21647 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21648 * sysdeps/i386/fpu/e_powf.S: Likewise.
21649 * sysdeps/i386/fpu/e_expl.S: Likewise.
21650 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21651 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21652 * sysdeps/i386/fpu/e_pow.S: Likewise.
21653 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21654 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21655 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21656 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21657 * sysdeps/i386/fpu/e_log2.S: Likewise.
21658 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21659 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21660 * sysdeps/i386/fpu/e_powl.S: Likewise.
21661 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21662 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21663 * sysdeps/i386/fpu/e_logl.S: Likewise.
21664 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21665 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21666 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21667 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21668 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21669 * sysdeps/i386/fpu/e_log.S: Likewise.
21670 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21671 * sysdeps/i386/fpu/e_logf.S: Likewise.
21672 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21673 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21674 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21675 * sysdeps/i386/fpu/e_log10.S: Likewise.
21676 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21677 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21678 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21679 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21680 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21681 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
21682 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21683 * sysdeps/i386/i686/strtok.S: Likewise.
21684 * sysdeps/i386/i386-mcount.S: Likewise.
21685 * sysdeps/i386/strtok.S: Likewise.
21686 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
21687 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21688 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21689 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21690 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21691 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21692 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21693 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21694 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21695 * sysdeps/x86_64/_mcount.S: Likewise.
21696 * sysdeps/x86_64/strtok.S: Likewise.
21697 * sysdeps/sh/_mcount.S: Likewise.
21699 2012-08-01 Roland McGrath <roland@hack.frob.com>
21701 * libio/iofopen.c: Include <fcntl.h>.
21702 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
21703 (_IO_fopen64, fopen64): Define as aliases.
21704 * libio/iofopen64.c: Include <fcntl.h>.
21705 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
21706 Conditionalize body on this.
21707 * sysdeps/wordsize-64/iofopen.c: File removed.
21708 * sysdeps/wordsize-64/iofopen64.c: File removed.
21710 2012-08-01 Marek Polacek <polacek@redhat.com>
21712 * libc/Makeconfig: Use elf in place of binfmt-subdir.
21713 Use dlfcn directly instead of a variable.
21714 (binfmt-subdir): Do not define.
21717 2012-08-01 Joseph Myers <joseph@codesourcery.com>
21719 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
21720 Remove all definitions.
21721 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
21722 <kernel-features.h>.
21723 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21724 (miss_F_GETOWN_EX): Remove all definitions.
21725 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
21727 [!__ASSUME_FCNTL64]: Remove conditional code.
21728 [__ASSUME_FCNTL64]: Make code unconditional.
21729 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
21730 <kernel-features.h>.
21731 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21732 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
21733 (lockf64) [__NR_fcntl64]: Make code unconditional.
21734 (lockf64) [__ASSUME_FCNTL64]: Likewise.
21736 * sysdeps/unix/sysv/linux/kernel-features.h
21737 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
21738 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
21739 Make code unconditional.
21740 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21741 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
21743 [__NR_vfork]: Make code unconditional.
21744 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21745 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
21747 [__NR_vfork]: Make code unconditional.
21748 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21749 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21751 2012-08-01 Roland McGrath <roland@hack.frob.com>
21753 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21754 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21756 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21757 Define mkstemp64 as an alias.
21758 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21759 Define mkstemps64 as an alias.
21760 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21761 Define mkostemp64 as an alias.
21762 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21763 Define mkostemps64 as an alias.
21764 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21765 Conditionalize body on this.
21766 * misc/mkostemp64.c: Likewise.
21767 * misc/mkostemps64.c: Likewise.
21768 * misc/mkstemps64.c: Likewise.
21769 * sysdeps/wordsize-64/mkstemp64.c: File removed.
21770 * sysdeps/wordsize-64/mkostemp64.c: File removed.
21771 * sysdeps/wordsize-64/mkostemp.c: File removed.
21772 * sysdeps/wordsize-64/mkstemp.c: File removed.
21773 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21774 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21775 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21776 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21779 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21780 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21781 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21782 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21784 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21785 compat_symbol macros from <shlib-compat.h> rather than the underlying
21786 default_symbol_version and symbol_version macros, so that DEFAULT
21787 lines in shlib-versions are respected.
21788 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21790 2012-08-01 Florian Weimer <fweimer@redhat.com>
21792 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21793 Declare with warn_unused_result.
21794 (setgid, setregid, setegid, setresgid): Likewise.
21795 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21797 * WUR-REPORT: Remove set*id functions.
21799 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
21801 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21803 2012-07-31 Roland McGrath <roland@hack.frob.com>
21806 * include/sys/socket.h (__libc_accept, __libc_accept4):
21807 Add attribute_hidden.
21808 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21810 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21812 * inet/getnetgrent_r.c (setup): Likewise.
21814 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21816 2012-07-31 David S. Miller <davem@davemloft.net>
21818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21820 2012-07-31 Joseph Myers <joseph@codesourcery.com>
21823 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21824 value between 1.0 and 2.0 and smaller part has absolute value less
21826 * math/s_clog10.c (__clog10): Likewise.
21827 * math/s_clog10f.c (__clog10f): Likewise.
21828 * math/s_clog10l.c (__clog10l): Likewise.
21829 * math/s_clogf.c (__clogf): Likewise.
21830 * math/s_clogl.c (__clogl): Likewise.
21831 * math/libm-test.inc (clog_test): Add more tests.
21832 (clog10_test): Likewise.
21833 * sysdeps/i386/fpu/libm-test-ulps: Update.
21834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21836 2012-07-31 Florian Weimer <fweimer@redhat.com>
21838 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21839 Exit with zero in case no suitable GID is found, and write a
21840 message to standard error.
21842 2012-07-30 Roland McGrath <roland@hack.frob.com>
21844 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21846 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21847 (MAXPATHLEN): Removed.
21848 (NOGROUP, NODEV): New macros.
21849 (setbit, clrbit, isset, isclr): New macros.
21850 (howmany, roundup, powerof2): New macros.
21851 (DEV_BSIZE): New macro.
21853 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21854 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21856 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21857 definition on [!__NO_LONG_DOUBLE_MATH].
21859 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21860 PTR_MANGLE and PTR_DEMANGLE.
21862 * socket/accept4.c (accept4): Rename to __libc_accept4.
21863 Define accept4 as a weak alias.
21865 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21866 on [_DIRENT_HAVE_D_TYPE].
21867 * io/ftw.c (ftw_dir): Likewise.
21869 * io/xmknod.c (__xmknod): Don't check PATH for being null.
21871 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21873 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21874 Use the BSD numbers rather than the arbitrary ones we had.
21875 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21876 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21877 (SIGXCPU, SIGXFSZ): New macros.
21880 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21881 initializer on [_LIBC_REENTRANT].
21883 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21884 definitions inside [_POSIX_MAPPED_FILES].
21886 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21888 * dirent/opendir.c: Include <fcntl.h>.
21890 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21891 (__libc_getspecific): Likewise.
21892 (__libc_key_create): Likewise.
21894 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21895 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21896 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21897 (tmpfile64): Define as alias.
21898 * sysdeps/wordsize-64/tmpfile.c: File removed.
21899 * sysdeps/wordsize-64/tmpfile64.c: File removed.
21900 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21901 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21903 * stdio-common/vfscanf.c: Include <stdbool.h>.
21904 * nss/makedb.c: Likewise.
21905 * stdio-common/_i18n_number.h: Likewise.
21906 * argp/argp-help.c: Likewise.
21907 * posix/wordexp.c: Likewise.
21908 * sysdeps/posix/spawni.c: Likewise.
21909 * nss/nss_files/files-initgroups.c: Likewise.
21910 * stdio-common/reg-modifier.c: Include <stdlib.h>.
21911 * nss/nss_files/files-initgroups.c: Likewise.
21912 * nss/nss_db/db-netgrp.c: Likewise.
21913 * nss/nss_db/db-initgroups.c: Likewise.
21914 * io/fchmodat.c: Include <sys/stat.h>.
21916 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21917 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21919 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21922 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21923 Add multiple inclusion protection.
21925 2012-07-27 David S. Miller <davem@davemloft.net>
21927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21929 2012-07-27 Gary Benson <gbenson@redhat.com>
21932 * elf/rtld.c: Include <stap-probe.h>.
21933 (dl_main): Added static probes "init_start" and "init_complete".
21934 * elf/dl-load.c: Include <stap-probe.h>.
21935 (lose): Take new parameter "nsid".
21936 Added static probe "map_failed".
21937 (_dl_map_object_from_fd): Pass namespace id to lose.
21938 Added static probe "map_start".
21939 (open_verify): Pass namespace id to lose.
21940 * elf/dl-open.c: Include <stap-probe.h>.
21941 (dl_open_worker) Added static probes "map_complete", "reloc_start"
21942 and "reloc_complete".
21943 * elf/dl-close.c: Include <stap-probe.h>.
21944 (_dl_close_worker): Added static probes "unmap_start" and
21946 * elf/rtld-debugger-interface.txt: New file documenting the above.
21948 2012-07-26 Roland McGrath <roland@hack.frob.com>
21950 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21951 rather than a string variable.
21952 * sunrpc/rpc_main.c (h_output): Likewise.
21953 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21955 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
21957 * inet/check_native.c: New file.
21959 2012-07-26 Joseph Myers <joseph@codesourcery.com>
21962 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21963 if larger part has absolute value 1.0.
21964 * math/s_clog10.c (__clog10): Likewise.
21965 * math/s_clog10f.c (__clog10f): Likewise.
21966 * math/s_clog10l.c (__clog10l): Likewise.
21967 * math/s_clogf.c (__clogf): Likewise.
21968 * math/s_clogl.c (__clogl): Likewise.
21969 * math/libm-test.inc (clog_test): Add more tests.
21970 (clog10_test): Likewise.
21971 * sysdeps/i386/fpu/libm-test-ulps: Update.
21972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21974 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21975 (pltexit): Likewise.
21976 (La_regs): Likewise.
21977 (La_retval): Likewise.
21978 (int_retval): Likewise.
21979 Update #error for removed macros to refer only to definitions in
21981 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21983 (pltexit): Likewise.
21984 (La_regs): Likewise.
21985 (La_retval): Likewise.
21986 (int_retval): Likewise.
21987 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21989 (pltexit): Likewise.
21990 (La_regs): Likewise.
21991 (La_retval): Likewise.
21992 (int_retval): Likewise.
21993 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21995 (pltexit): Likewise.
21996 (La_regs): Likewise.
21997 (La_retval): Likewise.
21998 (int_retval): Likewise.
21999 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
22001 (pltexit): Likewise.
22002 (La_regs): Likewise.
22003 (La_retval): Likewise.
22004 (int_retval): Likewise.
22005 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
22007 (pltexit): Likewise.
22008 (La_regs): Likewise.
22009 (La_retval): Likewise.
22010 (int_retval): Likewise.
22011 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
22013 (pltexit): Likewise.
22014 (La_regs): Likewise.
22015 (La_retval): Likewise.
22016 (int_retval): Likewise.
22017 * sysdeps/generic/tst-audit.h: Update comment to refer only to
22018 macro definitions in tst-audit.h.
22019 * sysdeps/i386/tst-audit.h: New file.
22020 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
22021 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
22022 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
22023 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
22024 * sysdeps/sh/tst-audit.h: Likewise.
22025 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
22026 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
22027 * sysdeps/x86_64/tst-audit.h: Likewise.
22029 2012-07-26 Andreas Jaeger <aj@suse.de>
22031 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
22034 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
22035 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
22036 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
22038 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
22039 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
22040 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
22042 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22045 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22047 (si_call_addr, si_syscall, si_arch): Define new macro.
22048 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22050 (si_call_addr, si_syscall, si_arch): Define new marcro.
22051 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22053 (si_call_addr, si_syscall, si_arch): Define new macro.
22054 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22056 (si_call_addr, si_syscall, si_arch): Define new macro.
22058 2012-07-25 Joseph Myers <joseph@codesourcery.com>
22061 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22062 Change to 2.4.21 where previously 2.4.1.
22063 * sysdeps/unix/sysv/linux/configure: Regenerated.
22064 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22065 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22066 Linux kernel version.
22067 (__ASSUME_STD_AUXV): Remove.
22068 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22070 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22071 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22072 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22073 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22074 (__ASSUME_NETLINK_SUPPORT): Likewise.
22075 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22076 (__no_netlink_support): Remove conditional definition.
22077 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22079 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22080 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
22081 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
22082 (if_nameindex_ioctl): Remove.
22083 (if_nameindex_netlink): Do not handle __no_netlink_support.
22084 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22086 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22087 Remove conditional code.
22088 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22090 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
22092 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22093 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
22094 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
22096 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
22097 [!__ASSUME_STD_AUXV]: Remove conditional code.
22098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
22099 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
22100 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
22101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
22102 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
22103 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22105 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22107 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
22108 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22110 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22112 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22115 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
22118 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22119 code unconditional.
22120 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22122 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22124 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22127 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22129 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22132 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22133 code unconditional.
22134 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22136 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22138 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22141 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22142 code unconditional.
22143 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22145 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22147 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22150 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
22152 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
22153 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
22154 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22155 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
22156 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
22157 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22158 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22159 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22160 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
22161 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22162 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
22163 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
22164 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
22165 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22166 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
22167 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
22168 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
22169 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
22170 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22171 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
22172 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
22173 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
22174 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22176 2012-07-25 Florian Weimer <fweimer@redhat.com>
22178 * Versions.def: Add GLIBC_2.17.
22179 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
22180 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
22181 Introduce __libc_secure_getenv.
22182 * stdlib/Versions (2.17): Add secure_getenv
22183 (GLIBC_PRIVATE): Add __libc_secure_getenv.
22184 * stdlib/secure-getenv.c: Rename __secure_getenv to
22185 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
22186 symbol __secure_getenv for GLIBC_2.0.
22187 * stdlib/tst-secure-getenv.c: New.
22188 * stdlib/Makefile (tests): Add testcase.
22189 * manual/startup.texi (Environment Access): Document
22191 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
22192 __libc_secure_getenv.
22193 * inet/ruserpass.c (ruserpass): Likewise.
22194 * malloc/mtrace.c (mtrace): Likewise.
22195 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
22196 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
22197 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
22198 * sysdeps/posix/tempname.c: Likewise. Evaluate
22199 HAVE_SECURE_GETENV.
22200 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
22201 __secure_getenv to __libc_secure_getenv.
22202 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
22203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22209 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22213 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22215 2012-07-25 Joseph Myers <joseph@codesourcery.com>
22217 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
22218 (struct La_i86_retval): Likewise.
22219 (struct La_x86_64_regs): Likewise.
22220 (struct La_x86_64_retval): Likewise.
22221 (struct La_x32_regs): Likewise.
22222 (struct La_x32_retval): Likewise.
22223 (struct La_ppc32_regs): Likewise.
22224 (struct La_ppc32_retval): Likewise.
22225 (struct La_ppc64_regs): Likewise.
22226 (struct La_ppc64_retval): Likewise.
22227 (struct La_sh_regs): Likewise.
22228 (struct La_sh_retval): Likewise.
22229 (struct La_s390_32_regs): Likewise.
22230 (struct La_s390_32_retval): Likewise.
22231 (struct La_s390_64_regs): Likewise.
22232 (struct La_s390_64_retval): Likewise.
22233 (struct La_sparc32_regs): Likewise.
22234 (struct La_sparc32_retval): Likewise.
22235 (struct La_sparc64_regs): Likewise.
22236 (struct La_sparc64_retval): Likewise.
22237 (struct audit_ifaces): Remove architecture-specific pltenter and
22239 * sysdeps/i386/ldsodefs.h: New file.
22240 * sysdeps/powerpc/ldsodefs.h: Likewise.
22241 * sysdeps/s390/ldsodefs.h: Likewise.
22242 * sysdeps/sh/ldsodefs.h: Likewise.
22243 * sysdeps/sparc/ldsodefs.h: Likewise.
22244 * sysdeps/x86_64/ldsodefs.h: Likewise.
22246 2012-07-25 Marek Polacek <polacek@redhat.com>
22249 * math/libm-test.inc (yn_test): Add another test.
22250 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
22251 to ERANGE when the result is +-Inf.
22252 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22253 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
22254 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
22255 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
22257 2012-07-24 Joseph Myers <joseph@codesourcery.com>
22259 * conform/data/time.h-data (NULL): Use macro-constant. Require
22261 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
22263 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
22265 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
22267 * configure.in <sysdeps resolving>: Correct printing
22269 * configure: Regenerate.
22271 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
22273 * math/w_ilogb.c: Include <limits.h>.
22274 * math/w_ilogbl.c: Likewise.
22276 2012-07-20 Joseph Myers <joseph@codesourcery.com>
22278 * manual/lang.texi (__va_copy): Document primarily as ISO C99
22279 va_copy. Document allowing for unavailable va_copy only as
22280 pre-C99 compatibility.
22281 * manual/string.texi (Copying and Concatenation): Use va_copy
22282 instead of __va_copy in concat example.
22284 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
22286 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
22287 (__sendto): Use create_address_port. Initialize APORT and deallocate
22290 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
22291 with O_NOLINK passed to __file_name_lookup.
22293 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
22294 with O_NOLINK passed to __file_name_lookup.
22296 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
22297 negative N or less than NGIDS.
22299 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
22300 type to string_t. Set ERANGE as errno and return it if NAME is not big
22301 enough. Use memcpy instead of strncpy.
22303 2012-07-20 Joseph Myers <joseph@codesourcery.com>
22305 * elf/Makefile (check-data): Remove.
22306 (localplt.data): New vpath directive.
22307 ($(objpfx)check-localplt.out): Use localplt.data from vpath
22308 instead of $(check-data).
22309 * scripts/data/localplt-generic.data: Move to ...
22310 * sysdeps/generic/localplt.data: ... here.
22311 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
22312 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
22313 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
22314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22316 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
22317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22319 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
22320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
22322 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
22323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22325 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
22326 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
22328 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
22329 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
22332 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22334 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
22335 PPC32 and PPC64 files.
22336 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
22337 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
22339 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22341 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
22342 __makecontext_ret to ...
22343 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
22344 ... here and call exit if uc_link is NULL. New file.
22345 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
22346 __makecontext_ret.S.
22347 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
22348 __makecontext_ret to ...
22349 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
22350 ... here and call exit if uc_link is NULL. New file.
22351 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
22352 __makecontext_ret.S.
22354 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22356 * elf/elf.h (R_390_IRELATIVE): New definition.
22357 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
22358 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
22359 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
22360 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22361 (elf_machine_lazy_rel): Likewise.
22362 * sysdeps/s390/dl-irel.h: New file.
22363 * sysdeps/s390/s390-64/memcpy.S: New asm code.
22364 * sysdeps/s390/s390-64/memset.S: New asm code.
22365 * sysdeps/s390/s390-64/memcmp.S: New asm code.
22366 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
22367 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
22368 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
22369 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
22370 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
22371 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
22372 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
22373 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
22374 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
22375 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
22376 * sysdeps/s390/s390-32/memcpy.S: New asm code.
22377 * sysdeps/s390/s390-32/memset.S: New asm code.
22378 * sysdeps/s390/s390-32/memcmp.S: New asm code.
22380 2012-07-17 Marek Polacek <polacek@redhat.com>
22383 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
22384 * sysdeps/s390/s390-64/configure.in: Likewise.
22385 * sysdeps/sparc/configure.in: Likewise.
22386 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
22387 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
22388 * sysdeps/i386/configure.in: Likewise.
22389 * sysdeps/x86_64/configure.in: Likewise.
22390 * sysdeps/sh/configure.in: Likewise.
22391 * sysdeps/s390/s390-32/configure: Regenerated.
22392 * sysdeps/s390/s390-64/configure: Likewise.
22393 * sysdeps/x86_64/configure: Likewise.
22394 * sysdeps/sh/configure: Likewise.
22395 * sysdeps/powerpc/powerpc64/configure: Likewise.
22396 * sysdeps/powerpc/powerpc32/configure: Likewise.
22397 * sysdeps/sparc/configure: Likwise.
22398 * sysdeps/i386/configure: Likewise.
22400 * elf/dl-open.c: Comment fixes.
22402 2012-07-17 Joseph Myers <joseph@codesourcery.com>
22404 * Makefile [CXX] (check-data): Remove.
22405 [CXX] (c++-types.data): New vpath directive.
22406 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
22407 vpath. Do not allow for C++ type data being missing.
22408 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
22409 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
22410 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
22411 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
22412 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
22413 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
22414 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
22415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22417 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
22418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22420 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
22421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
22423 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
22424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
22426 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
22427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
22429 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
22430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
22432 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
22433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
22435 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
22436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
22438 * elf/tls-macros.h (TLS_LE): Move architecture-specific
22439 definitions to architecture-specific files.
22440 (TLS_IE): Likewise.
22441 (TLS_LD): Likewise.
22442 (TLS_GD): Likewise.
22443 * sysdeps/i386/tls-macros.h: New file.
22444 * sysdeps/powerpc/tls-macros.h: Likewise.
22445 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22446 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22447 * sysdeps/sh/tls-macros.h: Likewise.
22448 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
22449 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
22450 * sysdeps/x86_64/tls-macros.h: Likewise.
22452 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22454 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
22455 zero value for regular exit case.
22457 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22458 (__start_context): Preserve zero value for regular exit case.
22460 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22461 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22463 * manual/setjmp.texi (setcontext): Clarify normal process
22464 termination when uc_link is the null pointer.
22465 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
22468 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
22470 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
22471 preprocessor. Test for each exception mask separately.
22473 2012-07-16 Andreas Jaeger <aj@suse.de>
22475 * po/ru.po: Update from translation team.
22477 2012-07-15 Joseph Myers <joseph@codesourcery.com>
22479 * conform/data/string.h-data (NULL): Use macro-constant. Require
22481 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22482 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22483 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
22484 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
22485 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22487 2012-07-13 Andreas Jaeger <aj@suse.de>
22489 * po/fr.po: Update from translation team.
22491 2012-07-12 Marek Polacek <polacek@redhat.com>
22494 * math/libm-test.inc (yn_test): Add test for BZ #14173.
22495 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
22498 2012-07-12 Joseph Myers <joseph@codesourcery.com>
22501 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22502 Change to 2.4.1 where previously 2.4.0.
22503 * sysdeps/unix/sysv/linux/configure: Regenerated.
22504 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
22505 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
22507 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
22508 (__ASSUME_AT_CLKTCK): Remove.
22509 (__ASSUME_AT_PAGESIZE): Likewise.
22510 (__ASSUME_AT_XID): Likewise.
22511 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
22512 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
22513 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
22515 (HAVE_AUX_PAGESIZE): Likewise.
22516 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
22517 [__ASSUME_AT_CLKTCK]: Make code unconditional.
22518 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
22520 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
22523 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
22524 the temporary buffer used to invoke __gethostbyname2_r,
22525 __gethostbyaddr_r and gethostbyname4_r to make room for struct
22526 host_data / struct gaih_addrtuple.
22527 * resolv/nss_dns/dns-host.c (global scope): Move definition of
22528 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
22529 header file nss/nsswitch.h.
22530 * nss/nsswitch.h (global scope): Add definition of implementation
22531 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
22532 resolv/nss_dns/dns-host.c).
22534 2012-07-11 Andreas Jaeger <aj@suse.de>
22536 * po/fr.po: Update from translation team.
22538 * po/sv.po: Update from translation team
22539 * po/fr.po: Another update from translation team.
22541 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22543 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
22544 for subnormals or multiply small sinh result by itself.
22545 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22548 2012-07-11 David S. Miller <davem@davemloft.net>
22550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22552 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
22555 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
22556 (INTERNAL_MARK): Shift it here.
22558 2012-07-10 Marek Polacek <polacek@redhat.com>
22561 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
22562 libc_cv_asm_global_directive with .globl.
22563 * configure: Regenerated.
22564 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
22566 * sysdeps/i386/configure: Regenerated.
22567 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
22569 * sysdeps/x86_64/configure: Regenerated.
22570 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
22571 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
22572 * elf/tst-unique2mod2.c: Likewise.
22573 * elf/tst-unique2mod1.c: Likewise.
22574 * elf/tst-unique1mod2.c: Likewise.
22575 * elf/tst-unique1mod1.c: Likewise.
22576 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22577 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22578 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22579 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22580 * sysdeps/mach/sysdep.h: Likewise.
22581 * sysdeps/i386/sysdep.h: Likewise.
22582 * sysdeps/i386/i386-mcount.S: Likewise.
22583 * sysdeps/x86_64/_mcount.S: Likewise.
22584 * sysdeps/x86_64/sysdep.h: Likewise.
22585 * sysdeps/sh/_mcount.S: Likewise.
22586 * sysdeps/sh/sysdep.h: Likewise.
22587 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
22588 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
22589 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
22590 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22591 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
22592 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
22593 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
22594 * locale/localeinfo.h: Likewise.
22595 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
22596 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
22598 2012-07-09 Roland McGrath <roland@hack.frob.com>
22601 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
22603 * manual/message.texi (The Uniforum approach): Likewise.
22604 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
22605 (glibc iconv Implementation): Likewise.
22607 2012-07-09 Joseph Myers <joseph@codesourcery.com>
22610 * math/s_clog.c (__clog): Avoid scaling a value down where that
22611 could result in underflow.
22612 * math/s_clog10.c (__clog10): Likewise.
22613 * math/s_clog10f.c (__clog10f): Likewise.
22614 * math/s_clog10l.c (__clog10l): Likewise.
22615 * math/s_clogf.c (__clogf): Likewise.
22616 * math/s_clogl.c (__clogl): Likewise.
22617 * math/libm-test.inc (clog_test): Add more tests.
22618 (clog10_test): Likewise.
22619 * sysdeps/i386/fpu/libm-test-ulps: Update.
22620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22622 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
22625 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
22626 by 7 not 8 to examine high bit of fractional part.
22629 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
22630 for call to __mcount_internal.
22631 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
22632 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
22633 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
22635 2012-07-06 Joseph Myers <joseph@codesourcery.com>
22638 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
22639 approximation for values within 0x1p-13f of an odd multiple of
22641 * math/libm-test.inc (tan_test): Do not allow spurious underflow
22642 exception. Add more tests.
22643 * sysdeps/i386/fpu/libm-test-ulps: Update.
22646 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
22647 inputs and return -1 for them. Do not check for +Inf in case not
22648 reachable for +Inf.
22649 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22650 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
22651 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22652 and return -1 for them. Do not check for +Inf in case not
22653 reachable for +Inf.
22654 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
22656 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22657 and return -1 for them. Do not check for +Inf in case not
22658 reachable for +Inf.
22659 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
22660 spurious underflow.
22661 * sysdeps/i386/fpu/libm-test-ulps: Update.
22662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22664 2012-07-06 Mike Frysinger <vapier@gentoo.org>
22666 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
22668 2012-07-05 Joseph Myers <joseph@codesourcery.com>
22672 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
22673 could result in spurious underflow. Scale down values above
22674 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
22675 * math/s_csqrtf.c (__csqrtf): Likewise.
22676 * math/s_csqrtl.c (__csqrtl): Likewise.
22677 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
22678 spurious underflow.
22679 * sysdeps/i386/fpu/libm-test-ulps: Update.
22680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22682 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
22684 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
22686 * catgets/xopen-msg.awk: New file.
22687 * catgets/xopen-msg.sed: Removed.
22689 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
22691 * intl/po2test.awk: New file.
22692 * intl/po2test.sed: Removed.
22694 2012-07-04 Joseph Myers <joseph@codesourcery.com>
22697 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
22698 or multiply small sinh result by itself.
22699 * math/s_ctanf.c (__ctanf): Likewise.
22700 * math/s_ctanh.c (__ctanh): Likewise.
22701 * math/s_ctanhf.c (__ctanhf): Likewise.
22702 * math/s_ctanhl.c (__ctanhl): Likewise.
22703 * math/s_ctanl.c (__ctanl): Likewise.
22704 * math/libm-test.inc (ctan_test_tonearest): New function.
22705 (ctan_test_towardzero): Likewise.
22706 (ctan_test_downward): Likewise.
22707 (ctan_test_upward): Likewise.
22708 (ctanh_test_tonearest): Likewise.
22709 (ctanh_test_towardzero): Likewise.
22710 (ctanh_test_downward): Likewise.
22711 (ctanh_test_upward): Likewise.
22712 (main): Call these new functions.
22713 * sysdeps/i386/fpu/libm-test-ulps: Update.
22714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22716 2012-07-03 Mike Frysinger <vapier@gentoo.org>
22718 * .gitignore: Delete /ports entry.
22720 2012-07-03 Andreas Jaeger <aj@suse.de>
22722 * po/bg.po: Update from translation team.
22723 * po/cs.po: Likewise.
22724 * po/de.po: Likewise.
22725 * po/hr.po: Likewise.
22726 * po/nl.pl: Likewise.
22727 * po/pl.po: Likewise.
22728 * po/vi.po: Likewise.
22730 2012-07-03 Joseph Myers <joseph@codesourcery.com>
22732 * Makeconfig [!+link] (+link-before-libc): New variable.
22733 [!+link] (+link-after-libc): Likewise.
22734 [!+link] (+link-tests): Likewise.
22735 [!+link] (+link): Define in terms of $(+link-before-libc) and
22736 $(+link-after-libc).
22737 [!+link-static] (+link-static-before-libc): New variable.
22738 [!+link-static] (+link-static-after-libc): Likewise.
22739 [!+link-static] (+link-static-tests): Likewise.
22740 [!+link-static] (+link-static): Define in terms of
22741 $(+link-static-before-libc) and $(+link-static-after-libc).
22742 [build-shared] (link-libc-before-gnulib): New variable.
22743 [build-shared] (link-libc-tests): Likewise.
22744 [build-shared] (link-libc): Define in terms of
22745 $(link-libc-before-gnulib).
22746 [!build-shared] (link-libc-tests): New variable.
22747 (link-libc-static-tests): New variable.
22748 [!gnulib] (gnulib-arch): New variable.
22749 [!gnulib] (gnulib-tests): Likewise.
22750 [!gnulib] (static-gnulib-arch): Likewise.
22751 [!gnulib] (static-gnulib-tests): Likewise.
22752 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
22753 Define with "=" instead of ":=".
22754 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
22755 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
22756 * Rules (binaries-all-notests): New variable.
22757 (binaries-all-tests): Likewise.
22758 (binaries-static-notests): Likewise.
22759 (binaries-static-tests): Likewise.
22760 (binaries-all): Define using $(binaries-all-notests) and
22761 $(binaries-all-tests).
22762 (binaries-static): Define using $(binaries-static-notests) and
22763 $(binaries-static-tests).
22764 (binaries-shared-tests): New variable.
22765 (binaries-shared-notests): Likewise.
22766 (binaries-shared): Remove variable.
22767 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22768 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22769 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22770 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22771 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22772 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22773 * elf/Makefile (sln-modules): New variable.
22774 (extra-objs): Add $(sln-modules:=.o).
22775 (ldconfig-modules): Add static-stubs.
22776 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22777 * elf/static-stubs.c: New file.
22780 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22781 by 7 not 8 to examine high bit of fractional part. Use volatile
22782 variables when splitting into final array of floats if
22783 __FLT_EVAL_METHOD__ != 0.
22784 * math/libm-test.inc (cos_test): Add another test.
22785 (sin_test): Likewise.
22786 * sysdeps/i386/fpu/libm-test-ulps: Update.
22789 * math/libm-test.inc (cosh_test): Add more tests.
22791 * version.h (RELEASE): Set to "development".
22792 (VERSION): Set to "2.16.90".
22794 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
22796 * NEWS: Update copyright. Remove last-updated date.
22797 Mention math library bug fixes and timezone data changes.
22798 * README: Mention GNU/Hurd, x32, and HPPA support status.
22800 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
22802 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22804 2012-06-27 Andreas Jaeger <aj@suse.de>
22806 * manual/contrib.texi (Contributors): Add Samuel Thibault.
22808 2012-06-25 Andreas Jaeger <aj@suse.de>
22810 * sysdeps/s390/fpu/libm-test-ulps: Update.
22812 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
22813 Thomas Schwinge <thomas@codesourcery.com>
22815 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22816 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22817 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22820 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
22822 * sysdeps/mach/start.c: Remove file.
22823 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22824 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22825 * sysdeps/sh/init-first.c: Likewise.
22827 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22828 registers for frame unwinding purposes, add CFI directives.
22829 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22830 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22831 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22834 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22835 __fortify_fail returning.
22836 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22838 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22839 sysdeps/sh/____longjmp_chk.S.
22840 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22841 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22842 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22843 (gen-as-const-headers): Append sigaltstack-offsets.sym.
22845 * sysdeps/sh/abort-instr.h: New file.
22846 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22847 process in case exit returns.
22849 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22850 initialize the GOT register before use.
22852 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22853 calculation of ARGC > 4.
22855 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22856 meaningful names to some local labels.
22858 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22859 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22861 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22862 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22863 (__arch_compare_and_exchange_val_16_acq): Likewise.
22864 (__arch_compare_and_exchange_val_32_acq): Likewise.
22865 (atomic_exchange_and_add): Fix gUSA sequence.
22866 (atomic_add): Likewise.
22867 (atomic_add_negative): Likewise.
22868 (atomic_add_zero): Likewise.
22869 (atomic_bit_test_set): Likewise.
22871 2012-06-22 Andreas Schwab <schwab@redhat.com>
22874 * include/link.h (struct link_map): Add l_free_initfini.
22875 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22877 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22878 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22879 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22882 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
22884 * configure.in: Use AC_LANG_SOURCE.
22885 * configure: Regenerate.
22887 2012-06-22 Roland McGrath <roland@hack.frob.com>
22889 * configure.in (libc_cv_localstatedir): New substituted variable.
22890 * configure: Regenerated.
22891 * config.make.in (localstatedir): New variable, substituted from
22892 libc_cv_localstatedir.
22893 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22894 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22895 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22896 * sysdeps/gnu/configure: Regenerated.
22898 2012-06-21 Jeff Law <law@redhat.com>
22901 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22902 free. Simplify list management for _LIBC case.
22904 2012-06-21 Joseph Myers <joseph@codesourcery.com>
22907 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22908 Clear sign bit of 64-bit integer value before comparing against
22911 * sysdeps/mach/configure: Regenerated.
22913 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
22916 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22918 2012-06-21 Jeff Law <law@redhat.com>
22921 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
22922 uint16_t for elements in the "seen" array to avoid char overflows.
22923 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22924 * elf/dl-open.c (dl_open_worker): Likewise.
22926 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
22928 * scripts/list-sources.sh: Scan PORTS for translations.
22929 * po/libc.pot: Regenerated.
22931 2012-06-21 Andreas Jaeger <aj@suse.de>
22934 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22936 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22937 * bits/byteswap-16.h (__bswap_16): Likewise.
22938 * bits/byteswap.h (__bswap_constant_16): Likewise.
22940 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
22943 * sysdeps/i386/fpu_control.h: Removed.
22944 * sysdeps/x86_64/fpu_control.h: Moved to ...
22945 * sysdeps/x86/fpu_control.h: Here.
22947 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22948 (_FPU_SETCW): Likewise.
22950 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
22953 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22954 * sysdeps/x86/fpu/bits/mathinline.h: This.
22955 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22959 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22960 functions if __x86_64__ is defined.
22962 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
22964 * string/endian.h: Add !__ASSEMBLER__ condition for including
22965 conversion interfaces.
22967 2012-06-15 Joseph Myers <joseph@codesourcery.com>
22970 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22971 of ABS(x) in calculating zero to negative powers other than odd
22973 * math/libm-test.inc (pow_test): Add more tests.
22975 2012-06-15 Andreas Jaeger <aj@suse.de>
22977 * manual/contrib.texi (Contributors): Update entry of Liubov
22978 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22981 2012-06-15 Cyril Hrubis <metan@ucw.cz>
22983 * string/string.h: Add __wur to GNU version of strerror_r.
22985 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
22988 * string/Makefile (tests): Add tst-strtok_r.
22989 * string/tst-strtok_r.c: New file.
22990 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22991 RAX_LP/RDX_LP on SAVE_PTR.
22993 2012-06-14 Roland McGrath <roland@hack.frob.com>
22995 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22997 2012-06-14 Joseph Myers <joseph@codesourcery.com>
22999 * libm_test.inc (csqrt_test): Allow more spurious underflow
23001 (j0_test): Likewise.
23002 (j1_test): Likewise.
23003 (y0_test): Likewise.
23004 (y1_test): Likewise.
23006 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
23008 * po/Makefile (libc.pot): Use UTF-8 charset.
23010 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
23013 Suppress sign-conversion warning from FD_SET.
23014 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
23015 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
23016 not unsigned long int.
23017 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
23019 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
23023 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
23024 __extern_always_inline instead of __extern_inline.
23025 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
23026 (__signbit): Likewise.
23027 (__signbitl): Support C++ namespace.
23028 (lrintf): New inline function.
23030 (llrintf): Likewise.
23031 (llrint): Likewise.
23041 (floorf): Likewise.
23042 (nearbyint): Likewise.
23043 (nearbyintf): Likewise.
23045 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
23047 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23048 non-default versions.
23050 2012-06-11 Roland McGrath <roland@hack.frob.com>
23053 * manual/argp.texi (Argp): Reword argp_parse description slightly.
23055 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
23057 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23058 (FE_UPWARD, FE_DOWNWARD): Don't define.
23059 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23060 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23062 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23064 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23065 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23067 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23069 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23070 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23071 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23072 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23074 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
23077 * sysdeps/i386/fpu/bits/fenv.h: Removed.
23078 * sysdeps/i386/fpu/Implies: New file.
23079 * sysdeps/x86_64/fpu/Implies: Likewise.
23080 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
23081 * sysdeps/x86/fpu/bits/fenv.h: This.
23083 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23086 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23089 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23090 character 0xffff that matches the last element of the
23093 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23095 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23098 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23100 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
23101 values higher than 25.6283.
23103 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23105 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
23106 subnormal exponent extraction and add some __builtin_expect.
23107 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
23108 Fix for subnormal mantissa calculation.
23110 2012-06-04 Mike Frysinger <vapier@gentoo.org>
23112 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
23113 cpu2 is -1 and errno is not ENOSYS.
23115 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
23118 * sysdeps/i386/i486/bits/string.h: Renamed to ...
23119 * sysdeps/x86/bits/string.h: This.
23120 * sysdeps/x86_64/bits/string.h: Removed.
23122 * sysdeps/i386/i486/bits/string.h: Define inline functions only
23123 if not compiling for x86-64, but compiling for >= i486.
23125 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
23126 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
23128 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
23129 New macro from Linux kernel 3.4.0.
23130 (FP_XSTATE_MAGIC2): Likewise.
23131 (FP_XSTATE_MAGIC2_SIZE): Likewise.
23132 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
23133 (struct _fpx_sw_bytes): New struct.
23134 (struct _xsave_hdr): Likewise.
23135 (struct _ymmh_state): Likewise.
23136 (struct _xstate): Likewise.
23138 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
23139 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
23140 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
23141 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
23142 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
23143 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
23145 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
23146 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
23147 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
23148 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
23149 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
23150 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
23152 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23155 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
23156 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
23157 (sysdep_headers): Include sys/platform/ppc.h.
23158 * sysdeps/powerpc/test-gettimebase.c: Test for
23159 __ppc_get_timebase() to catch future ISA opcode/insn changes.
23160 * manual/Makefile (appendices): Include platform.texi.
23161 * manual/contrib.texi (Contributors): Update @node pointers.
23162 * manual/maint.texi (Maintenance): Likewise.
23163 (Platform): New node.
23164 * manual/platform.texi: New file. Document the new features.
23166 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23167 Jakub Jelinek <jakub@redhat.com>
23170 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
23171 where __builtin_expect is unavailable.
23173 2012-06-03 David S. Miller <davem@davemloft.net>
23175 * stdlib/longlong.h: Updated from GCC.
23177 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
23180 * sysdeps/powerpc/powerpc32/mcount.c: New file.
23181 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
23183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23184 (GLIBC_2.16): Likewise.
23186 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23188 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
23190 2012-06-01 Joseph Myers <joseph@codesourcery.com>
23192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
23193 (default-abi): New variable.
23194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
23195 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
23197 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
23199 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
23201 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
23204 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
23205 definition. Document in comment.
23207 2012-06-01 David S. Miller <davem@davemloft.net>
23209 * stdlib/longlong.h: Updated from GCC.
23211 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23214 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
23215 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
23216 sys/debugreg.h sys/io.h here.
23217 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
23218 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
23220 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
23221 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
23222 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
23223 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
23224 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
23225 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
23227 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
23228 Define only if __x86_64__ is defined.
23230 2012-06-01 Joseph Myers <joseph@codesourcery.com>
23233 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
23234 Use int64_t for variable i.
23235 * math/libm-test.inc (fmod_test): Add more tests.
23237 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
23238 z computation is not scheduled after fetestexcept.
23239 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
23240 Use math_force_eval instead of asm to ensure calculation scheduled
23241 before exception test.
23242 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
23243 Ensure a1 + u.d computation is not scheduled after fetestexcept.
23245 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
23247 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
23248 computation is not scheduled after fetestexcept.
23250 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23253 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
23254 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
23256 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23258 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
23259 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23261 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23264 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
23266 (__WCHAR_MIN): Support __WORDSIZE == 64.
23267 (__WCHAR_MAX): Likewise.
23269 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
23270 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
23273 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
23274 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
23277 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
23278 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
23280 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
23281 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
23283 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
23284 Defined to 1 if __x86_64__ isn't defined.
23285 (_STAT_VER_LINUX_OLD): New.
23286 (st_atime): Remove duplicate.
23287 (st_mtime): Likewise.
23288 (st_ctime): Likewise.
23290 2012-05-31 David S. Miller <davem@davemloft.net>
23292 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
23295 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
23297 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
23301 * elf/dl-reloc.c: Include <_itoa.h>.
23302 (_dl_reloc_bad_type): Remove use of INTUSE.
23303 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
23304 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
23305 * stdio-common/psiginfo.c (psiginfo): Likewise.
23306 * stdio-common/psignal.c (psignal): Likewise.
23307 * string/strsignal.c (strsignal): Likewise.
23308 * include/signal.h (_sys_siglist): Declare hidden proto.
23309 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
23310 INTVARDEF with libc_hidden_data_def.
23311 * stdio-common/itoa-udigits.c: Likewise.
23312 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
23313 (_itoa_lower_digits_internal): Remove declaration.
23314 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
23315 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
23316 (_sys_sigabbrev_internal): Remove aliases.
23317 (_sys_siglist): Define hidden alias.
23319 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
23321 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23324 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23327 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
23328 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
23330 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
23331 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
23332 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
23333 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
23334 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
23335 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
23337 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
23338 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
23339 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
23341 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
23349 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
23350 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
23351 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
23353 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
23354 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
23355 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
23356 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
23357 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
23358 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
23360 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
23361 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
23363 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
23364 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
23366 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
23367 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
23368 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
23370 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
23371 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
23373 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
23375 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
23376 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
23377 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
23379 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
23381 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
23383 2012-05-31 Joseph Myers <joseph@codesourcery.com>
23385 * math/math.h (M_El): Use two more decimal places.
23386 (M_LOG2El): Likewise.
23387 (M_LOG10El): Likewise.
23388 (M_LN2l): Likewise.
23389 (M_LN10l): Likewise.
23391 (M_PI_2l): Likewise.
23392 (M_PI_4l): Likewise.
23393 (M_1_PIl): Likewise.
23394 (M_2_PIl): Likewise.
23395 (M_2_SQRTPIl): Likewise.
23396 (M_SQRT2l): Likewise.
23397 (M_SQRT1_2l): Likewise.
23399 2012-05-31 David S. Miller <davem@davemloft.net>
23401 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
23402 values between float registers.
23403 * sysdeps/sparc/sparc64/memset.S: Likewise.
23404 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23406 2012-05-31 Mike Frysinger <vapier@gentoo.org>
23408 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
23409 -D_FORTIFY_SOURCE=1.
23410 (CPPFLAGS-tst-longjmp_chk.c): Define.
23411 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
23412 (CPPFLAGS-tst-longjmp_chk2.c): Define.
23413 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
23414 CFLAGS-tst-wchar-h.c.
23416 2012-05-31 Marek Polacek <polacek@redhat.com>
23419 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
23420 __endmntent_internal): Remove declaration.
23421 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
23422 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
23423 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
23425 2012-05-30 David S. Miller <davem@davemloft.net>
23427 * sysdeps/sparc/sparc32/soft-fp/q_util.c
23428 (___Q_simulate_exceptions): Use real FP ops rather than writing
23430 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
23433 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23436 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
23437 * sysdeps/x86/bits/xtitypes.h: This.
23439 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
23440 * sysdeps/x86/bits/wordsize.h: This.
23442 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
23443 * sysdeps/x86/bits/huge_vall.h: This.
23445 * sysdeps/i386/bits/select.h: Removed.
23446 * sysdeps/x86_64/bits/select.h: Renamed to ...
23447 * sysdeps/x86/bits/select.h: This.
23449 * sysdeps/i386/bits/setjmp.h: Removed.
23450 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
23451 * sysdeps/x86/bits/setjmp.h: This.
23453 * sysdeps/i386/bits/mathdef.h: Removed.
23454 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
23455 * sysdeps/x86/bits/mathdef.h: This.
23457 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
23460 * include/sys/socket.h (__connect_internal)
23461 (__libc_sa_len_internal): Remove declaration.
23462 (__connect, __libc_sa_len): Declare hidden_proto.
23463 (SA_LEN): Remove use of INTUSE.
23464 * socket/connect.c: Add libc_hidden_def.
23465 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
23466 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
23467 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
23469 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23470 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
23471 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
23472 of adding _internal alias.
23474 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23477 * sysdeps/i386/bits/link.h: Removed.
23478 * sysdeps/i386/bits/linkmap.h: Likewise.
23479 * sysdeps/x86_64/bits/link.h: Renamed to ...
23480 * sysdeps/x86/bits/link.h: This.
23481 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
23482 * sysdeps/x86/bits/linkmap.h: This.
23484 * sysdeps/i386/bits/endian.h: Removed.
23485 * sysdeps/x86_64/bits/endian.h: Renamed to ...
23486 * sysdeps/x86/bits/endian.h: This.
23488 * sysdeps/i386/bits/byteswap.h: Removed.
23489 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23490 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
23491 * sysdeps/x86/bits/byteswap.h: This.
23492 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
23493 * sysdeps/x86/bits/byteswap-16.h: This.
23494 * sysdeps/i386/Implies: Add x86.
23495 * sysdeps/x86_64/Implies: Likewise.
23497 2012-05-30 David S. Miller <davem@davemloft.net>
23499 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
23500 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
23501 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23502 (FP_TRAPPING_EXCEPTIONS): Define.
23503 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23504 (FP_TRAPPING_EXCEPTIONS): Define.
23505 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
23506 subnormals only when inexact has been signalled or underflow
23507 exceptions are enabled.
23508 (_FP_PACK_CANONICAL): Likewise.
23510 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23513 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
23514 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
23516 2012-05-30 Richard Henderson <rth@twiddle.net>
23518 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
23519 with #ifndef NOT_IN_libc.
23521 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
23522 marked to avoid plt entry.
23524 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23527 * Makeconfig (default-abi): New macro.
23528 (abi-includes): Likewise.
23529 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
23530 $(abi-$(default-abi)-lib-soname) for soname if defined.
23531 ($(common-objpfx)gnu/lib-names.stmp): Generate from
23533 * Makefile (installed-stubs): Likewise.
23534 * include/stubs-biarch.h: Removed.
23535 * scripts/lib-names.awk: Only handle one library at a time.
23536 * scripts/soversions.awk: Remove WORDSIZE support.
23537 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
23539 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
23541 (syscall-list-default-condition): Likewise.
23542 (syscall-list-default-condition): Likewise.
23543 (syscall-list-includes): Likewise.
23544 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
23545 syscall-list-* with abi-*. Handle undefined abi-variants.
23546 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
23547 * sysdeps/unix/sysv/linux/i386/Implies: New file.
23548 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
23549 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
23550 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
23551 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
23553 (syscall-list-32-options): Likewise.
23554 (syscall-list-32-condition): Likewise.
23555 (syscall-list-64-options): Likewise.
23556 (syscall-list-64-condition): Likewise.
23557 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
23559 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
23562 (abi-64-ld-soname): New macro.
23563 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
23564 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
23567 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
23568 * sysdeps/x86_64/x32/shlib-versions: Likewise.
23570 2012-05-30 Joseph Myers <joseph@codesourcery.com>
23572 * sysdeps/unix/sysv/linux/kernel-features.h
23573 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
23574 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
23575 include <kernel-features.h>.
23576 [!__NR_ftruncate64]: Remove conditional code.
23577 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23578 [__NR_ftruncate64]: Make code unconditional.
23579 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23580 * sysdeps/unix/sysv/linux/truncate64.c: Do not
23581 include <kernel-features.h>.
23582 [!__NR_ftruncate64]: Remove conditional code.
23583 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23584 [__NR_ftruncate64]: Make code unconditional.
23585 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
23587 include <kernel-features.h>.
23588 [!__NR_ftruncate64]: Remove conditional code.
23589 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23590 [__NR_ftruncate64]: Make code unconditional.
23591 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23593 include <kernel-features.h>.
23594 [!__NR_ftruncate64]: Remove conditional code.
23595 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23596 [__NR_ftruncate64]: Make code unconditional.
23597 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23599 * configure.in (libc_cv_fpie): Weaken to a compile test using
23600 LIBC_TRY_CC_OPTION.
23601 * configure: Regenerated.
23603 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
23606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
23607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
23608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
23611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
23612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
23613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
23614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
23615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23618 2012-05-27 David S. Miller <davem@davemloft.net>
23620 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
23622 (__Q_simulate_exceptions): Return void. Change to simulate
23623 exceptions by writing into the %fsr.
23624 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
23625 (__Qp_handle_exceptions): Likewise.
23627 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
23628 __Qp_handle_exceptions.
23629 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
23630 __Qp_handle_exceptions.
23631 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23632 as unused and give dummy FP_RND_NEAREST initializer.
23633 (FP_INHIBIT_RESULTS): Define.
23634 (___Q_simulate_exceptions): Update declaration.
23635 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
23637 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23638 as unused and give dummy FP_RND_NEAREST initializer.
23639 (__Qp_handle_exceptions): Update declaration.
23640 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
23643 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
23645 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
23646 the temporary FPU control word.
23647 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23648 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
23649 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23650 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23651 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23652 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23653 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23654 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23655 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23656 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23657 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23659 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23661 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
23664 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
23666 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
23667 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
23668 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
23669 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
23671 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
23672 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
23675 2012-05-27 Ulrich Drepper <drepper@gmail.com>
23677 * po/h.po: Update from translation team.
23679 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
23681 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
23683 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
23684 handling of denormals.
23685 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23686 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23687 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23688 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23689 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23690 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
23691 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
23694 2012-05-26 Marek Polacek <polacek@redhat.com>
23697 * math/libm-test.inc (fma_test): Don't always expect underflow
23700 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23703 * elf/tst-execstack.c: Include stackinfo.h.
23704 (do_test): Adjust test case to ensure that pthread_getattr_np
23705 behaviour remains the same after marking stack executable.
23707 2012-05-25 Joseph Myers <joseph@codesourcery.com>
23709 * sysdeps/unix/sysv/linux/kernel-features.h
23710 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
23711 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
23713 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23714 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23715 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
23717 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23718 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23720 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
23722 * configure.in: Define the default includes to being none.
23723 * configure: Regenerated.
23725 2012-05-25 Roland McGrath <roland@hack.frob.com>
23727 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
23728 * sysdeps/x86_64/setjmp.S: Likewise.
23729 * sysdeps/i386/bsd-setjmp.S: Likewise.
23730 * sysdeps/i386/bsd-_setjmp.S: Likewise.
23731 * sysdeps/i386/setjmp.S: Likewise.
23732 * sysdeps/i386/__longjmp.S: Likewise.
23733 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23734 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
23736 * include/stap-probe.h: New file.
23737 * configure.in: Handle --enable-systemtap.
23738 * configure: Regenerated.
23739 * config.h.in (USE_STAP_PROBE): New #undef.
23740 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
23741 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
23742 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23744 2012-05-25 Joseph Myers <joseph@codesourcery.com>
23747 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23748 to 2.4.0 where earlier.
23749 * sysdeps/unix/sysv/linux/configure: Regenerated.
23750 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23751 <kernel-features.h>.
23752 [__ASSUME_32BITUIDS]: Make code unconditional.
23753 [!__ASSUME_32BITUIDS]: Remove conditional code.
23754 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
23755 <kernel-features.h>.
23756 [__ASSUME_32BITUIDS]: Make code unconditional.
23757 [!__ASSUME_32BITUIDS]: Remove conditional code.
23758 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
23759 [__ASSUME_32BITUIDS]: Make code unconditional.
23760 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23761 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
23762 <kernel-features.h>.
23763 [__ASSUME_32BITUIDS]: Make code unconditional.
23764 [!__ASSUME_32BITUIDS]: Remove conditional code.
23765 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
23766 <kernel-features.h>.
23767 [__ASSUME_32BITUIDS]: Make code unconditional.
23768 [!__ASSUME_32BITUIDS]: Remove conditional code.
23769 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
23770 <kernel-features.h>.
23771 [__ASSUME_32BITUIDS]: Make code unconditional.
23772 [!__ASSUME_32BITUIDS]: Remove conditional code.
23773 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
23774 <kernel-features.h>.
23775 [__ASSUME_32BITUIDS]: Make code unconditional.
23776 [!__ASSUME_32BITUIDS]: Remove conditional code.
23777 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23778 <kernel-features.h>.
23779 [__ASSUME_32BITUIDS]: Make code unconditional.
23780 [!__ASSUME_32BITUIDS]: Remove conditional code.
23781 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23782 <kernel-features.h>.
23783 [__ASSUME_32BITUIDS]: Make code unconditional.
23784 [!__ASSUME_32BITUIDS]: Remove conditional code.
23785 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
23786 <kernel-features.h>.
23787 [__ASSUME_32BITUIDS]: Make code unconditional.
23788 [!__ASSUME_32BITUIDS]: Remove conditional code.
23789 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23790 <kernel-features.h>.
23791 [__ASSUME_32BITUIDS]: Make code unconditional.
23792 [!__ASSUME_32BITUIDS]: Remove conditional code.
23793 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23794 <kernel-features.h>.
23795 [__ASSUME_32BITUIDS]: Make code unconditional.
23796 [!__ASSUME_32BITUIDS]: Remove conditional code.
23797 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
23798 <kernel-features.h>.
23799 [__ASSUME_32BITUIDS]: Make code unconditional.
23800 [!__ASSUME_32BITUIDS]: Remove conditional code.
23801 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
23802 <kernel-features.h>.
23803 [__NR_setresgid] (__setresgid): Do not declare.
23804 [__ASSUME_32BITUIDS]: Make code unconditional.
23805 [!__ASSUME_32BITUIDS]: Remove conditional code.
23806 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23807 <kernel-features.h>.
23808 [__NR_setresuid] (__setresuid): Do not declare.
23809 [__ASSUME_32BITUIDS]: Make code unconditional.
23810 [!__ASSUME_32BITUIDS]: Remove conditional code.
23811 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23812 <kernel-features.h>.
23813 [__ASSUME_32BITUIDS]: Make code unconditional.
23814 [!__ASSUME_32BITUIDS]: Remove conditional code.
23815 * sysdeps/unix/sysv/linux/i386/setfsuid.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/setgid.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/setgroups.c: Do not include
23824 <kernel-features.h>.
23825 [__ASSUME_32BITUIDS]: Make code unconditional.
23826 [!__ASSUME_32BITUIDS]: Remove conditional code.
23827 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23828 <kernel-features.h>.
23829 [__ASSUME_32BITUIDS]: Make code unconditional.
23830 [!__ASSUME_32BITUIDS]: Remove conditional code.
23831 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23832 <kernel-features.h>.
23833 [__ASSUME_32BITUIDS]: Make code unconditional.
23834 [!__ASSUME_32BITUIDS]: Remove conditional code.
23835 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23836 <kernel-features.h>.
23837 [__ASSUME_32BITUIDS]: Make code unconditional.
23838 [!__ASSUME_32BITUIDS]: Remove conditional code.
23839 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23840 <kernel-features.h>.
23841 [__ASSUME_32BITUIDS]: Make code unconditional.
23842 [!__ASSUME_32BITUIDS]: Remove conditional code.
23843 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23844 <kernel-features.h>.
23845 [__ASSUME_32BITUIDS]: Make code unconditional.
23846 [!__ASSUME_32BITUIDS]: Remove conditional code.
23847 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23848 <kernel-features.h>.
23849 [__ASSUME_32BITUIDS]: Make code unconditional.
23850 [!__ASSUME_32BITUIDS]: Remove conditional code.
23851 * sysdeps/unix/sysv/linux/kernel-features.h
23852 (__ASSUME_SETRESUID_SYSCALL): Remove.
23853 (__ASSUME_SETRESGID_SYSCALL): Likewise.
23854 (__ASSUME_32BITUIDS): Likewise.
23855 (__ASSUME_LDT_WORKS): Likewise.
23856 (__ASSUME_O_DIRECTORY): Likewise.
23857 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23858 architecture but not kernel version.
23859 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23860 (__ASSUME_MMAP2_SYSCALL): Likewise.
23861 (__ASSUME_STAT64_SYSCALL): Likewise.
23862 (__ASSUME_IPC64): Likewise.
23863 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23864 <kernel-features.h>.
23865 [__ASSUME_32BITUIDS]: Make code unconditional.
23866 [!__ASSUME_32BITUIDS]: Remove conditional code.
23867 * sysdeps/unix/sysv/linux/opendir.c: Do not include
23868 <kernel-features.h>.
23869 [__ASSUME_O_DIRECTORY]: Make code unconditional.
23870 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23871 132096]: Remove conditional code.
23872 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23873 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23874 <kernel-features.h>.
23875 [__ASSUME_32BITUIDS]: Make code unconditional.
23876 [!__ASSUME_32BITUIDS]: Remove conditional code.
23877 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23878 <kernel-features.h>.
23879 [__ASSUME_32BITUIDS]: Make code unconditional.
23880 [!__ASSUME_32BITUIDS]: Remove conditional code.
23881 * sysdeps/unix/sysv/linux/setegid.c: Do not include
23882 <kernel-features.h>.
23883 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23885 (__setresgid): Do not declare.
23886 [__ASSUME_32BITUIDS]: Make code unconditional.
23887 [!__ASSUME_32BITUIDS]: Remove conditional code.
23888 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23889 <kernel-features.h>.
23890 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23892 (__setresuid): Do not declare.
23893 [__ASSUME_32BITUIDS]: Make code unconditional.
23894 [!__ASSUME_32BITUIDS]: Remove conditional code.
23895 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23896 <kernel-features.h>.
23897 [__ASSUME_32BITUIDS]: Make code unconditional.
23898 [!__ASSUME_32BITUIDS]: Remove conditional code.
23899 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23900 <kernel-features.h>.
23901 [__ASSUME_32BITUIDS]: Make code unconditional.
23902 [!__ASSUME_32BITUIDS]: Remove conditional code.
23904 2012-05-25 Richard Henderson <rth@twiddle.net>
23906 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23907 dl_hwcap to ifunc resolver.
23908 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23910 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23911 dl_hwcap to ifunc resolver.
23912 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23914 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23917 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23918 for |x| <= 2**-26, not 2**-57.
23919 * math/libm-test.inc (acos_test): Do not allow spurious underflow
23922 2012-05-24 Jeff Law <law@redhat.com>
23924 * stdio-common/Makefile (tests): Add bug25.
23925 * stdio-common/bug25.c: New test.
23927 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23930 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23931 multiple of MALLOC_ALIGNMENT in size.
23932 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23934 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23936 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23938 (FILENAME_MAX): Use macro-int-constant.
23939 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
23940 (_IOFBF): Use macro-int-constant.
23941 (_IOLBF): Likewise.
23942 (_IONBF): Likewise.
23943 (SEEK_CUR): Likewise.
23944 (SEEK_END): Likewise.
23945 (SEEK_SET): Likewise.
23946 (TMP_MAX): Likewise.
23947 (EOF): Use macro-int-constant. Require < 0.
23948 (NULL): Use macro-constant. Require == 0.
23949 (stdin): Require type to be FILE *.
23950 (stdout): Likewise.
23951 (stderr): Likewise.
23952 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23953 macro-int-constant.
23954 (EXIT_SUCCESS): Likewise.
23955 (NULL): Use macro-constant. Require == 0.
23956 (RAND_MAX): Use macro-int-constant.
23957 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23958 [C99-based standards] (strtof): Require function.
23959 [C99-based standards] (strtold): Likewise.
23960 [C99-based standards] (strtoll): Likewise.
23961 [C99-based standards] (strtoull): Likewise.
23962 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23963 [ISO || ISO99 || ISO11] (limits.h): Likewise.
23964 [ISO || ISO99 || ISO11] (math.h): Likewise.
23965 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23966 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23967 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23969 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
23972 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23973 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23974 * intl/dgettext.c (DCGETTEXT): Likewise.
23975 * intl/gettext.c (DCGETTEXT): Likewise.
23976 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23977 * posix/regex_internal.h (gettext): Likewise.
23978 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23979 Remove declaration.
23980 * include/argz.h (__argz_count_internal)
23981 (__argz_stringify_internal): Remove declaration.
23982 (__argz_count, __argz_stringify): Declare hidden proto.
23983 * intl/dcgettext.c: Remove use of INTDEF.
23984 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23985 * string/argz-stringify.c: Likewise.
23986 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23987 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23988 Declare hidden proto.
23989 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23990 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23991 Declare hidden proto.
23992 * include/stdio.h (__asprintf_internal): Don't declare.
23993 (__asprintf): Don't define as macro. Declare hidden proto.
23994 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23995 (__fsetlocking): Declare hidden proto.
23996 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23997 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23999 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
24000 (_IO_setlinebuf): Remove use of INTUSE.
24001 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
24002 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
24003 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
24004 Remove declaration.
24005 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
24006 (_IO_do_flush): Remove use of INTUSE.
24007 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
24008 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
24009 (_IO_adjust_column, _IO_least_wmarker)
24010 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
24011 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
24012 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
24013 (_IO_default_doallocate, _IO_wdefault_doallocate)
24014 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
24015 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
24016 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
24017 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
24018 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
24019 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
24020 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
24021 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
24022 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
24023 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
24024 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
24025 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
24026 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
24028 (_IO_flush_all_internal, _IO_adjust_column_internal)
24029 (_IO_default_uflow_internal, _IO_default_finish_internal)
24030 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
24031 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
24032 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
24033 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
24034 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
24035 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
24036 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
24037 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
24038 (_IO_file_close_internal, _IO_file_close_it_internal)
24039 (_IO_file_underflow_internal, _IO_file_overflow_internal)
24040 (_IO_file_init_internal, _IO_file_attach_internal)
24041 (_IO_file_fopen_internal, _IO_file_read_internal)
24042 (_IO_file_sync_internal, _IO_file_seek_internal)
24043 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
24044 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
24045 (_IO_str_underflow_internal, _IO_str_overflow_internal)
24046 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
24047 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
24048 (_IO_list_all_internal, _IO_link_in_internal)
24049 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
24050 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
24051 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24052 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24053 (_IO_do_write_internal, _IO_padn_internal)
24054 (_IO_getline_info_internal, _IO_getline_internal)
24055 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24056 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24057 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24058 (_IO_vfscanf_internal, _IO_vfprintf_internal)
24059 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24060 (_IO_init_internal, _IO_un_link_internal): Don't declare.
24061 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24062 with libc_hidden_ver, remove use of INTUSE.
24063 * libio/genops.c: Likewise.
24064 * libio/freopen.c: Likewise.
24065 * libio/freopen64.c: Likewise.
24066 * libio/iofclose.c: Likewise.
24067 * libio/iofdopen.c: Likewise.
24068 * libio/iofflush.c: Likewise.
24069 * libio/iofflush_u.c: Likewise.
24070 * libio/iofgets.c: Likewise.
24071 * libio/iofgets_u.c: Likewise.
24072 * libio/iofopen.c: Likewise.
24073 * libio/iofopncook.c: Likewise.
24074 * libio/iofread.c: Likewise.
24075 * libio/iofread_u.c: Likewise.
24076 * libio/ioftell.c: Likewise.
24077 * libio/iofwrite.c: Likewise.
24078 * libio/iogetline.c: Likewise.
24079 * libio/iogets.c: Likewise.
24080 * libio/iogetwline.c: Likewise.
24081 * libio/iopadn.c: Likewise.
24082 * libio/iopopen.c: Likewise.
24083 * libio/ioseekoff.c: Likewise.
24084 * libio/ioseekpos.c: Likewise.
24085 * libio/iosetbuffer.c: Likewise.
24086 * libio/iosetvbuf.c: Likewise.
24087 * libio/ioungetc.c: Likewise.
24088 * libio/ioungetwc.c: Likewise.
24089 * libio/iovdprintf.c: Likewise.
24090 * libio/iovsprintf.c: Likewise.
24091 * libio/iovsscanf.c: Likewise.
24092 * libio/memstream.c: Likewise.
24093 * libio/obprintf.c: Likewise.
24094 * libio/oldfileops.c: Likewise.
24095 * libio/oldiofclose.c: Likewise.
24096 * libio/oldiofdopen.c: Likewise.
24097 * libio/oldiofopen.c: Likewise.
24098 * libio/oldiopopen.c: Likewise.
24099 * libio/oldstdfiles.c: Likewise.
24100 * libio/putc.c: Likewise.
24101 * libio/setbuf.c: Likewise.
24102 * libio/setlinebuf.c: Likewise.
24103 * libio/stdfiles.c: Likewise.
24104 * libio/strops.c: Likewise.
24105 * libio/vasprintf.c: Likewise.
24106 * libio/vscanf.c: Likewise.
24107 * libio/vsnprintf.c: Likewise.
24108 * libio/vswprintf.c: Likewise.
24109 * libio/wfiledoalloc.c: Likewise.
24110 * libio/wfileops.c: Likewise.
24111 * libio/wgenops.c: Likewise.
24112 * libio/wmemstream.c: Likewise.
24113 * libio/wstrops.c: Likewise.
24114 * libio/__fpurge.c: Likewise.
24115 * libio/__fsetlocking.c: Likewise.
24116 * assert/assert.c: Likewise.
24117 * debug/fgets_chk.c: Likewise.
24118 * debug/fgets_u_chk.c: Likewise.
24119 * debug/fread_chk.c: Likewise.
24120 * debug/fread_u_chk.c: Likewise.
24121 * debug/gets_chk.c: Likewise.
24122 * debug/obprintf_chk.c: Likewise.
24123 * debug/vasprintf_chk.c: Likewise.
24124 * debug/vdprintf_chk.c: Likewise.
24125 * debug/vsnprintf_chk.c: Likewise.
24126 * debug/vsprintf_chk.c: Likewise.
24127 * malloc/mtrace.c: Likewise.
24128 * misc/error.c: Likewise.
24129 * misc/syslog.c: Likewise.
24130 * stdio-common/asprintf.c: Likewise.
24131 * stdio-common/fxprintf.c: Likewise.
24132 * stdio-common/getw.c: Likewise.
24133 * stdio-common/isoc99_fscanf.c: Likewise.
24134 * stdio-common/isoc99_scanf.c: Likewise.
24135 * stdio-common/isoc99_vfscanf.c: Likewise.
24136 * stdio-common/isoc99_vscanf.c: Likewise.
24137 * stdio-common/isoc99_vsscanf.c: Likewise.
24138 * stdio-common/printf-prs.c: Likewise.
24139 * stdio-common/printf_fp.c: Likewise.
24140 * stdio-common/printf_fphex.c: Likewise.
24141 * stdio-common/printf_size.c: Likewise.
24142 * stdio-common/putw.c: Likewise.
24143 * stdio-common/scanf.c: Likewise.
24144 * stdio-common/sprintf.c: Likewise.
24145 * stdio-common/tmpfile.c: Likewise.
24146 * stdio-common/vfprintf.c: Likewise.
24147 * stdio-common/vfscanf.c: Likewise.
24148 * stdlib/strfmon_l.c: Likewise.
24149 * sunrpc/openchild.c: Likewise.
24150 * sunrpc/xdr_stdio.c: Likewise.
24151 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24152 * sysdeps/mach/hurd/tmpfile.c: Likewise.
24154 2012-05-24 Roland McGrath <roland@hack.frob.com>
24156 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24158 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
24159 in the third column, to generate for the shared library an IFUNC
24160 that uses _dl_vdso_vsym.
24161 * Makerules (COMPILE.c, compile-stdin.c): New variables.
24162 * Makeconfig (object-suffixes-noshared): New variable.
24164 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
24165 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
24166 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
24167 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
24170 * include/sys/time.h (__gettimeofday): Remove macro.
24171 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
24172 * time/gettimeofday.c (__gettimeofday): Remove #undef.
24174 (__gettimeofday): Add libc_hidden_def.
24175 (gettimeofday): Add libc_hidden_weak.
24176 * sysdeps/mach/gettimeofday.c: Likewise.
24177 * sysdeps/posix/gettimeofday.c: Likewise.
24178 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24179 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24180 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
24181 (__gettimeofday_internal): Remove strong_alias.
24182 (__gettimeofday): Add libc_hidden_def.
24183 (gettimeofday): Add libc_hidden_weak.
24184 * sysdeps/unix/syscalls.list (gettimeofday):
24185 Remove __gettimeofday_internal alias.
24187 2012-05-24 Daniel Jacobowitz <drow@false.org>
24188 H.J. Lu <hongjiu.lu@intel.com>
24191 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
24192 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
24193 (largebin_index_32_big): New.
24194 (largebin_index): Use it for 16-byte alignment.
24195 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
24196 correction with front_misalign.
24198 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
24201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24203 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
24205 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24207 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
24209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
24211 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
24213 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
24215 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24217 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
24219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
24221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
24226 * scripts/data/c++-types-x32-linux-gnu.data: New file.
24227 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
24229 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24233 * math/libm-test.inc (exp_test): Add test from bug 14036.
24234 (pow_test): Add test from bug 10846.
24236 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
24238 (special_function): Do not include flags in test name.
24239 (parse_args): Likewise.
24240 * sysdeps/i386/fpu/libm-test-ulps: Update.
24241 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24242 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24243 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24246 * math/gen-libm-test.pl (%beautify): Add entries for underflow
24248 * math/libm-test.inc ("Philosophy"): Update comment about
24250 (UNDERFLOW_EXCEPTION): New macro.
24251 (UNDERFLOW_EXCEPTION_OK): Likewise.
24252 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
24253 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
24254 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
24255 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
24256 (INVALID_EXCEPTION_OK): Update value.
24257 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24258 (OVERFLOW_EXCEPTION_OK): Likewise.
24259 (IGNORE_ZERO_INF_SIGN): Likewise.
24260 (test_exceptions): Handle underflow exceptions.
24261 (acos_test): Update for underflow exception expectations.
24262 (cexp_test): Likewise.
24263 (clog_test): Likewise.
24264 (clog10_test): Likewise.
24265 (csqrt_test): Likewise.
24266 (ctan_test): Likewise.
24267 (ctanh_test): Likewise.
24268 (exp_test): Likewise.
24269 (exp10_test): Likewise.
24270 (exp2_test): Likewise.
24271 (expm1_test): Likewise.
24272 (fma_test): Likewise.
24273 (j0_test): Likewise.
24274 (jn_test): Likewise.
24275 (nexttoward_test): Likewise.
24276 (pow_test): Likewise.
24277 (scalbn_test): Likewise.
24278 (scalbln_test): Likewise.
24279 (tan_test): Likewise.
24280 (y1_test): Likewise.
24281 * sysdeps/i386/fpu/libm-test-ulps: Update.
24282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24284 2012-05-23 David S. Miller <davem@davemloft.net>
24286 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24287 (__libc_sigaction): Remove unused local variables.
24289 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24291 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
24293 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
24295 mktime: avoid signed integer overflow
24296 * time/mktime.c (__mktime_internal): Do not mishandle the case
24297 where diff == INT_MIN.
24299 mktime: simplify computation of average
24300 * time/mktime.c (ranged_convert): Use new time_t_avg function
24301 instead of rolling our own (probably-slower) code.
24303 mktime: do not assume signed right shift propagates sign bit
24304 * time/mktime.c (isdst_differ): New static function.
24305 (__mktime_internal): No need to normalize tm_isdst now.
24306 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
24309 mktime: merge another wrapv change from gnulib
24310 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
24311 from some compilers.
24313 mktime: remove incorrect attempt at unusual arithmetics
24314 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
24315 The code didn't really work on such machines anyway.
24316 (TYPE_MINIMUM): Assume two's complement.
24317 (twos_complement_arithmetic): Verify that long_int and time_t
24318 are two's complement (or unsigned, in the latter case).
24320 mktime: check signed shifts on long_int and time_t, too
24321 * time/mktime.c (SHR): Check that shifts work as desired
24322 on the types long_int and time_t too, as SHR is used on
24325 mktime: do not assume 'long' is wide enough
24326 * time/mktime.c (verify): Move decl up.
24327 (long_int): New type.
24328 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
24329 to remove assumption in the code that 'long' is wide enough to
24330 store year values. This assumption is not true on x32 and on
24331 some non-glibc platforms.
24333 mktime: merge wrapv change from gnulib
24334 * time/mktime.c (WRAPV): New macro.
24335 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
24336 (guess_time_tm, __mktime_internal): Do not assume that signed
24337 integer overflow wraps around; modern compilers generate code
24338 where this assumption is no longer valid.
24340 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24342 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24343 Replace "jmp L(pseudo_end)" with "ret".
24344 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
24347 2012-05-23 Andreas Jaeger <aj@suse.de>
24349 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
24350 * sysdeps/unix/sysv/linux/poll.c: Remove file.
24352 2012-05-23 Andreas Jaeger <aj@suse.de>
24353 Maximilian Attems <max@stro.at>
24355 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
24358 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24360 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
24361 code so that pseudo_end is just ret and the stack pointer is
24362 correct also for static library in error case.
24364 2012-05-23 Joseph Myers <joseph@codesourcery.com>
24366 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
24367 move to syscalls.list.
24368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24373 * manual/install.texi (Running make install): Do not mention Linux
24374 kernel version for which pt_chown is not needed.
24375 (Linux): Do not mention problems with nscd with 2.0 kernels.
24376 * INSTALL: Regenerated.
24378 2012-05-23 Andreas Jaeger <aj@suse.de>
24380 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
24381 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
24383 * sysdeps/unix/sysv/linux/s390/bits/mman.h
24384 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24385 * sysdeps/unix/sysv/linux/sh/bits/mman.h
24386 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24387 * sysdeps/unix/sysv/linux/i386/bits/mman.h
24388 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24389 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
24390 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24391 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
24392 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24393 * sysdeps/unix/sysv/linux/bits/in.h
24394 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
24396 2012-05-22 Roland McGrath <roland@hack.frob.com>
24398 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
24399 (PREPARE_VERSION): Just use assert instead, it will be elided
24400 under [NDEBUG] anyway.
24402 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24404 * sysdeps/unix/sysv/linux/Makefile: Include
24405 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
24406 (sysdep_routines): Remove sysctl.
24407 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
24408 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
24409 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
24410 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
24411 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
24413 2012-05-22 Andreas Jaeger <aj@suse.de>
24415 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
24416 that pseudo_end is just ret and the stack pointer is correct also
24417 for static library in error case.
24419 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
24422 * nss/nsswitch.c (defconfig_entries): New variable.
24423 (__nss_database_lookup): Don't leak defconfig entries.
24424 (nss_parse_service_list): Don't leak on error paths.
24425 (free_database_entries): New function.
24426 (free_defconfig): New function.
24427 (free_mem): Move common code to free_database_entries.
24429 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24431 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
24433 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
24435 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24436 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
24437 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
24439 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
24440 (INTERNAL_SYSCALL_TYPES): Likewise.
24441 (LOAD_ARGS_TYPES_[1-6]): Likewise.
24442 (LOAD_REGS_TYPES_[1-6]): Likewise.
24443 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
24444 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
24446 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24448 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
24449 copysignl for GLIBC_2_0.
24450 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
24451 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
24452 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
24453 logbl for GLIBC_2_0.
24454 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24455 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24457 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24459 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
24460 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24462 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24465 * time/mktime.c: Update copyright years.
24467 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
24469 mktime: merge comment-quoting-style change from gnulib
24470 * time/mktime.c: Quote 'like this' in comments.
24471 The GNU coding standards suggest that we no longer quote `like this',
24472 as "`" and "'" are typically rendered asymmetrically nowadays.
24473 The typical gnulib style is to quote 'like this' when quoting
24474 code, and "like this" when quoting English.
24476 * time/mktime.c (compile-command): Add "-I.".
24478 mktime: merge mktime-internal.h change from gnulib
24479 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
24481 mktime: merge time_r change from gnulib
24482 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
24484 mktime: merge DEBUG change from gnulib
24485 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
24486 case system <time.h> has a #define.
24488 mktime: merge <sys/types.h> change from gnulib
24489 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
24490 since <time.t> is now guaranteed to define time_t.
24492 mktime: merge HAVE_CONFIG_H change from gnulib
24493 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
24495 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24497 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24500 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
24502 (struct rusage): Use anonymous union to pad each field to
24505 2012-05-21 David S. Miller <davem@davemloft.net>
24507 * Makefules (o-iterator): Remove .s cases.
24508 (compile-command.s): Delete.
24509 (COMPILE.s): Delete.
24510 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
24512 2012-05-21 Joseph Myers <joseph@codesourcery.com>
24514 * configure.in (libc_cv_predef_stack_protector): Only consider
24515 "foobar" and "__stack_chk_fail" lines in libc_undefs.
24516 * configure: Regenerated.
24518 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24520 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24521 New macro. Use R*LP on int and pointer.
24522 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
24523 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
24524 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
24525 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
24527 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
24528 [__WORDSIZE_TIME64_COMPAT32] instead of
24529 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
24530 (struct utmp): Likewise.
24531 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
24532 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
24534 (__WORDSIZE_TIME64_COMPAT32): This.
24535 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
24536 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
24537 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
24538 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
24539 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
24540 (__WORDSIZE_TIME64_COMPAT32): New macro.
24542 2012-05-21 Andreas Jaeger <aj@suse.de>
24544 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
24545 only if [SHARED]. Add prototype for __wcschr_ia32.
24547 2012-05-21 Roland McGrath <roland@hack.frob.com>
24549 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
24550 of %rbp unmolested in the jmp_buf while mangling the low bits.
24551 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
24552 unmolested high bits of %rbp while demangling the low bits.
24553 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24555 2012-05-21 Andreas Jaeger <aj@suse.de>
24557 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
24558 * sunrpc/svc_simple.c: Use it for registerrpc.
24559 * sunrpc/xcrypt.c: Use it for passwd2des.
24561 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
24563 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24565 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
24566 Don't define if [__SYSCALL_WORDSIZE != 32].
24567 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
24570 2012-05-21 Bruno Haible <bruno@clisp.org>
24571 Andreas Jaeger <aj@suse.de>
24573 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
24574 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
24575 inptr and inend for must_buffer_ch.
24576 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
24577 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
24578 * stdio-common/Makefile (tests): Remove bug15.
24579 (bug15-ENV): Remove macro.
24580 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
24583 2012-05-19 Andreas Jaeger <aj@suse.de>
24584 Roland McGrath <roland@hack.frob.com>
24586 * manual/contrib.texi: Completely rewritten. It contains now an
24587 alphabetical list of contributors and their contributions.
24589 2012-05-21 Richard Henderson <rth@twiddle.net>
24591 * misc/getauxval.c (__getauxval): Use unsigned long int.
24592 * misc/sys/auxv.h: Include <sys/cdefs.h>.
24593 (getauxval): Use unsigned long int.
24595 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24597 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24599 2012-05-21 Roland McGrath <roland@hack.frob.com>
24601 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
24602 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
24603 __alignof__ (long double).
24605 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24609 2012-05-20 Richard Henderson <rth@twiddle.net>
24611 * misc/getauxval.c: New file.
24612 * misc/sys/auxv.h: New file.
24613 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
24614 (routines): Add getauxval.
24615 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
24616 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
24617 * elf/dl-sysdep.c (_dl_auxv): Remove.
24618 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
24619 * elf/dl-support.c (_dl_auxv): New variable.
24620 (_dl_aux_init): Initialize it.
24621 * manual/startup.texi (Auxiliary Vector): New node.
24622 * sysdeps/generic/bits/hwcap.h: New file.
24623 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
24624 * sysdeps/powerpc/sysdep.h: ... here. Include it.
24625 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
24626 * sysdeps/sparc/sysdep.h: ... here. Include it.
24627 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
24628 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
24629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
24632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
24633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
24634 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
24635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
24638 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
24640 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24644 2012-05-19 David S. Miller <davem@davemloft.net>
24646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24648 2012-05-19 Joseph Myers <joseph@codesourcery.com>
24651 * math/s_ccosh.c: Include <float.h>
24652 (__ccosh): Avoid internal overflow calculating sinh and cosh
24653 values before multiplying by sin and cos values.
24654 * math/s_ccoshf.c: Likewise.
24655 * math/s_ccoshl.c: Likewise.
24656 * math/s_csin.c: Likewise.
24657 * math/s_csinf.c: Likewise.
24658 * math/s_csinl.c: Likewise.
24659 * math/s_csinh.c: Likewise.
24660 * math/s_csinhf.c: Likewise.
24661 * math/s_csinhl.c: Likewise.
24662 * math/libm-test.inc (ccos_test): Add more tests.
24663 (ccosh_test): Likewise.
24664 (csin_test): Likewise.
24665 (csinh_test): Likewise.
24666 * sysdeps/i386/fpu/libm-test-ulps: Update.
24667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24669 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
24671 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
24672 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
24674 * sysdeps/x86_64/x32/_itoa.h: Add comment.
24676 2012-05-19 Joseph Myers <joseph@codesourcery.com>
24678 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
24679 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
24680 * sysdeps/powerpc/soft-fp/Versions: Likewise.
24681 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
24682 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
24683 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
24684 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
24685 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
24686 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
24687 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
24688 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
24689 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
24690 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
24691 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
24692 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
24693 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
24694 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
24695 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
24696 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
24697 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
24698 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
24699 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
24700 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
24701 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
24702 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
24703 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
24704 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
24705 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
24706 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
24707 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
24708 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
24710 2012-05-18 Andreas Jaeger <aj@suse.de>
24712 * csu/.gitignore: Delete.
24714 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24716 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
24717 (timex): Use __syscall_slong_t.
24719 2012-05-18 Andreas Jaeger <aj@suse.de>
24720 Carlos O'Donell <carlos_odonell@mentor.com>
24722 * manual/install.texi (Configuring and compiling): Update
24723 description about files modified in the source directory.
24724 * INSTALL: Regenerated.
24726 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24728 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
24729 value. Use "or" to set return value to -1.
24730 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
24731 negate return value.
24733 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24735 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
24736 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
24737 failure if the compiler has Graphite support disabled.
24738 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
24740 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
24741 CFLAGS-memmove.c): Likewise.
24742 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
24745 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24747 * sysdeps/x86_64/x32/_itoa.h: New file.
24749 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
24750 getdents system call only if kernel and user dirents have the
24751 same d_ino and d_off.
24753 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24754 LLONG_MAX != LONG_MAX.
24755 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24756 (_fitoa_word): Likewise.
24758 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24760 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24761 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24762 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24764 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24765 include <bits/wordsize.h>. Check __x86_64__ instead of
24767 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24768 if __x86_64__ is defined. Use anonymous union on fpstate.
24770 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24773 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
24775 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24776 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24777 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24778 Refer to _rtld_local_ro instead of _rtld_global_ro.
24779 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24781 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24783 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24785 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24786 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24787 of _rtld_global, and rtld_progname instead of _dl_argv[0].
24789 * sysdeps/powerpc/powerpc32/dl-machine.c
24790 (__elf_machine_runtime_setup) [PROF]: Don't reference
24793 2012-05-18 Andreas Jaeger <aj@suse.de>
24795 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24796 function only available for GCCs before 3.4 since GCC 3.4
24797 introduced a builtin.
24799 (llrintf): Likewise.
24800 (llrint): Likewise.
24807 (nearbyint): Likewise.
24808 (nearbyintf): Likewise.
24812 (floorf): Likewise.
24814 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24816 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24817 on both fields and cast pointer to __syscall_ulong_t.
24819 * bits/types.h (__fsword_t): New type.
24820 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24821 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24822 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24823 (__FSWORD_T_TYPE): Likewise.
24824 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24825 (__FSWORD_T_TYPE): Likewise.
24826 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24827 (__FSWORD_T_TYPE): Likewise.
24828 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24829 (__FSWORD_T_TYPE): Likewise.
24830 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24831 __SWORD_TYPE with __fsword_t.
24832 (statfs64): Likewise.
24834 2012-05-17 David S. Miller <davem@davemloft.net>
24836 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24838 2012-05-17 Andreas Jaeger <aj@suse.de>
24840 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24843 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24845 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24847 2012-05-17 Andreas Jaeger <aj@suse.de>
24849 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24852 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24854 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24856 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24858 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24859 * sysdeps/x86_64/tst-mallocalign1.c: New file.
24861 2012-05-17 Andreas Jaeger <aj@suse.de>
24862 Carlos O'Donell <carlos_odonell@mentor.com>
24865 * sysdeps/x86_64/multiarch/init-arch.h
24866 (bit_YMM_Usable): Rename to...
24867 (bit_AVX_Usable): ... this.
24868 (bit_FMA4_Usable): New macro.
24869 (bit_XMM_state): New macro.
24870 (bit_YMM_state): New macro.
24871 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24872 [__ASSEMBLER__] (index_AVX_Usable): ... this.
24873 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24874 (CPUID_OSXSAVE): New macro.
24875 (CPUID_AVX): New macro.
24876 (CPUID_FMA4): New macro.
24877 (index_YMM_Usable): Rename to...
24878 (index_AVX_Usable): ... this.
24879 (HAS_AVX): Use HAS_ARCH_FEATURE.
24880 (HAS_FMA4): Likewise.
24881 (HAS_YMM_USABLE): Remove.
24882 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24883 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24885 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24886 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24887 * sysdeps/x86_64/multiarch/Makefile: Likewise.
24888 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24889 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24891 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24893 * math/libm-test.c: Support platforms without multiple rounding modes.
24894 * math/bug-nextafter.c: Support platforms without FP exceptions.
24895 * math/bug-nexttoward.c: Likewise.
24896 * math/test-fenv.c: Likewise.
24897 * math/test-misc.c: Likewise.
24898 * stdlib/bug-getcontext.c: Likewise.
24900 2012-05-17 Andreas Jaeger <aj@suse.de>
24902 * manual/examples/search.c (critter_cmp): Change signature to
24904 * manual/string.texi (Collation Functions): Likewise.
24906 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24908 * bits/types.h: Fold copyright years.
24909 * bits/typesizes.h: Likewise.
24910 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24911 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24912 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24913 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24914 * time/time.h: Likewise.
24916 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
24919 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24920 in instead of returning them. Return void.
24921 (__libc_mallinfo): Accumulate over all arenas.
24922 (__malloc_stats): Adjust for change in int_mallinfo interface.
24924 2012-05-16 Roland McGrath <roland@hack.frob.com>
24927 * configure.in (NM): Add AC_CHECK_TOOL for it.
24928 (libc_extra_cflags): New substituted variable.
24929 Check for -fstack-protector being used implicitly.
24930 * configure: Regenerated.
24931 * config.make.in (config-extra-cflags): New variable,
24932 gets @libc_extra_cflags@.
24933 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24936 * configure.in: Check for _FORTIFY_SOURCE being predefined.
24937 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24938 * configure: Regenerated.
24939 * config.make.in (CPPUNDEFS): New substituted variable.
24940 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24941 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24942 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24944 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24946 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24947 (mq_attr): Use __syscall_slong_t.
24949 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24951 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24952 Check __x86_64__ instead of __WORDSIZE.
24953 (_STAT_VER_LINUX): Likewise.
24954 (stat): Check __x86_64__ instead of __WORDSIZE. Use
24955 __syscall_ulong_t and __syscall_slong_t.
24956 (stat64): Likewise.
24958 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24960 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24962 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24964 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24966 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24968 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24971 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24972 include <bits/wordsize.h>. Check __x86_64__ instead of
24974 (greg_t): Use "__extension__ long long int" if __x86_64__ is
24976 (mcontext_t): Replace "unsigned long" with "unsigned long long".
24978 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24979 include <bits/wordsize.h>. Check __x86_64__ instead of
24981 (user_regs_struct): Use "__extension__ unsigned long long"
24982 instead of "unsigned long" if __x86_64__ is defined.
24983 (user): Likewise. Pad after pointer field if __ILP32__ is
24986 2012-05-16 Joseph Myers <joseph@codesourcery.com>
24988 * configure.in (makeinfo): Require version 4.5 or later. Allow
24990 * configure: Regenerated.
24991 * manual/install.texi (texinfo): Increase version requirement to
24993 * INSTALL: Regenerated.
24995 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24997 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24999 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
25001 * sysdeps/x86_64/x32/ffs.c: New file.
25003 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
25005 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
25006 defined. Use __syscall_ulong_t.
25007 (shminfo): Use __syscall_ulong_t.
25008 (shm_info): Likewise.
25010 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
25013 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
25015 (msgqnum_t): Use __syscall_ulong_t.
25016 (msglen_t): Likewise.
25017 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
25020 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
25021 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25023 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
25025 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
25026 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
25028 * sysvipc/sys/msg.h (msgbuf): Replace long int with
25031 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
25032 include <bits/wordsize.h>. Check __x86_64__ instead of
25035 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
25036 "unsigned long long int" if __x86_64__ is defined.
25037 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
25039 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
25040 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25041 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
25043 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25045 (GET_PC): Cast to uintptr_t first.
25046 (GET_FRAME): Likewise.
25047 (GET_STACK): Likewise.
25049 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
25050 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
25051 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25052 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25053 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25054 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25055 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25056 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25057 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25058 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25059 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25060 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25061 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25062 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25063 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25064 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25065 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25066 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25067 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25068 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25069 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25070 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25071 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25072 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25073 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25074 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25075 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25076 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25077 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
25079 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
25081 * Makerules (+depfiles): Also collect depfiles from .oS in
25083 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25084 .oS, $(libnldbl-routines)).
25086 * Makerules (native-compile-mkdep-flags): Define.
25087 * sunrpc/Makefile (extra-objs): Add $(addprefix
25088 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
25089 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
25090 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
25091 calling $(make-target-directory).
25093 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25095 * bits/types.h (__snseconds_t): Removed.
25096 * time/time.h (struct timespec): Replace __snseconds_t with
25098 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
25099 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
25101 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25102 (__SNSECONDS_T_TYPE): Likewise.
25103 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25104 (__SNSECONDS_T_TYPE): Likewise.
25105 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25106 (__SNSECONDS_T_TYPE): Likewise.
25108 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25110 * sysdeps/mach/hurd/bits/typesizes.h
25111 (__SYSCALL_SLONG_TYPE): New macro.
25112 (__SYSCALL_ULONG_TYPE): Likewise.
25114 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25116 * bits/types.h (__syscall_slong_t): New type.
25117 (__syscall_ulong_t): Likewise.
25119 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
25120 (__SYSCALL_ULONG_TYPE): Likewise.
25121 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25122 (__SYSCALL_SLONG_TYPE): Likewise.
25123 (__SYSCALL_ULONG_TYPE): Likewise.
25124 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25125 (__SYSCALL_SLONG_TYPE): Likewise.
25126 (__SYSCALL_ULONG_TYPE): Likewise.
25127 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25128 (__SYSCALL_SLONG_TYPE): Likewise.
25129 (__SYSCALL_ULONG_TYPE): Likewise.
25131 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25133 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
25134 Add sigaltstack-offsets.sym.
25135 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
25136 <sigaltstack-offsets.h>.
25137 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
25138 longjmp_msg pointer.
25139 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
25140 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
25142 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
25144 2012-05-15 Joseph Myers <joseph@codesourcery.com>
25146 * elf/stackguard-macros.h: Remove file.
25147 * sysdeps/generic/stackguard-macros.h: New file.
25148 * sysdeps/i386/stackguard-macros.h: Likewise.
25149 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25150 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25151 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25152 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25153 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25154 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25155 * sysdeps/x86_64/stackguard-macros.h: Likewise.
25156 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
25157 <elf/stackguard-macros.h>.
25160 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
25161 __aligned__ in attribute.
25162 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
25163 (gregset_t): Likewise.
25165 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25167 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
25168 * sysdeps/x86_64/64/Implies-after: Here. New file.
25169 * sysdeps/x86_64/x32/Implies-after: New file.
25171 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25173 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
25174 and access return value for _dl_profile_fixup. Use R10_LP to
25177 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25179 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
25181 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25183 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
25184 * sysdeps/x86_64/x32/sysdep.h: New file.
25186 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25188 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
25189 * sysdeps/x86_64/setjmp.S: Likewise.
25191 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25193 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
25194 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
25195 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
25196 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
25197 remove unused global constant.
25199 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
25201 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
25202 include of <not-cancel.h>.
25204 2012-05-15 Roland McGrath <roland@hack.frob.com>
25206 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
25208 2012-05-15 Jeff Law <law@redhat.com>
25209 Andreas Jaeger <aj@suse.de>
25212 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
25214 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
25215 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
25216 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
25217 code changing __hst_map_handle.map.
25219 2012-05-15 Roland McGrath <roland@hack.frob.com>
25221 * configure.in (sysnames): Look for Implies-before and Implies-after
25223 * configure: Regenerated.
25225 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25227 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
25228 8-byte data alignment with LP_SIZE alignment.
25230 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25232 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
25235 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25237 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
25239 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25241 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
25242 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
25243 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
25245 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25247 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25249 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
25250 (stackinfo_sub_sp): Likewise.
25252 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25254 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
25257 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25259 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
25262 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25264 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
25267 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25269 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
25271 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25273 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
25274 into R11_LP and load __x86_64_shared_cache_size_half into
25277 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25279 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
25282 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25284 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
25286 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
25288 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
25290 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
25291 powerpc32/power7/fpu/s_logb.c via #include.
25292 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
25293 powerpc32/power7/fpu/s_logbf.c via #include.
25294 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
25295 powerpc32/power7/fpu/s_logbl.c via #include.
25297 2012-05-15 Joseph Myers <joseph@codesourcery.com>
25299 * README.libm: Remove file.
25301 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25303 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
25304 count for x32. Use R*_LP and omit operand-size suffix.
25306 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25308 * shlib-versions: Move x86_64-.*-linux.* entries to ...
25309 * sysdeps/x86_64/64/shlib-versions: Here. New file.
25310 * sysdeps/x86_64/x32/shlib-versions: New file.
25312 2012-05-14 Roland McGrath <roland@hack.frob.com>
25314 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
25315 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
25316 Use _dl_fatal_printf instead.
25318 2012-05-14 Joseph Myers <joseph@codesourcery.com>
25320 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
25321 set if not set by the user. Do not allow for being unset.
25322 * sysdeps/unix/sysv/linux/configure: Regenerated.
25324 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25326 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
25327 the `q' suffix from lea and replace .quad with ASM_ADDR.
25329 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25331 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
25332 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
25334 (PTR_DEMANGLE): Likewise.
25336 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25338 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
25340 (ASM_ADDR): Likewise.
25341 (RAX_LP): Likewise.
25342 (RBP_LP): Likewise.
25343 (RBX_LP): Likewise.
25344 (RCX_LP): Likewise.
25345 (RDI_LP): Likewise.
25346 (RSI_LP): Likewise.
25347 (RSP_LP): Likewise.
25350 (R10_LP): Likewise.
25351 (R10_LP): Likewise.
25352 (R11_LP): Likewise.
25353 (R12_LP): Likewise.
25354 (R13_LP): Likewise.
25355 (R14_LP): Likewise.
25356 (R15_LP): Likewise.
25358 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25360 * sysdeps/x86_64/x32/dl-machine.h: New file.
25362 2012-05-14 Andreas Jaeger <aj@suse.de>
25364 * manual/Makefile (subdir): Remove export of subdir.
25365 (all): Remove target.
25366 (.PHONY): Remove all from list.
25367 (mkinstalldirs): Remove.
25368 (.PHONY): Remove installdirs from list.
25369 ($(inst_infodir)/libc.info): Use make-target-directory.
25370 (installdirs): Remove.
25371 (subdir_%): Remove.
25372 (glibc-targets): Remove.
25375 ($(objpfx)stubs ../po/manual.pot): Remove.
25376 ($(objpfx)stamp%): Remove.
25377 (make-target-directory): Remove.
25378 (subdir_install): Remove.
25379 (routines): Remove.
25386 * manual/.gitignore: Remove, it's not needed anymore.
25387 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
25389 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
25391 (texis): Renamed to $(objpfx)texis.
25392 (texis-path): New, contains path to generated files.
25393 (chapters.%): Use texis-path for complete path, add extra argument
25395 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
25396 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
25397 (summary,texi, stamp-summary): Use complete path of
25398 files. Generate files in build dir.
25399 (dir-add.texi): Build in build dir.
25400 (libm-err.texi,stamp-libm-err): Likewise.
25401 (version.texi, stamp-version): Likewise.
25402 (.%c.texi): Likewise.
25403 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
25404 (mostlyclean): Remove target.
25405 (realclean): Remove target.
25406 (generated): Add new variable with contents from mostlyclean and
25407 realclean, remove entries duplicated in common-mostlyclean, add
25408 stamp-libm-err and stamp-version.
25409 (generated-dirs): Add libc directory.
25410 ($(inst_infodir)/libc.info): Install files from build dir.
25412 * manual/install.texi (Configuring and compiling): Adjust since
25413 the info files are not part of the tar ball anymore.
25415 2012-05-14 Andreas Jaeger <aj@suse.de>
25417 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
25420 2012-05-14 Joseph Myers <joseph@codesourcery.com>
25423 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
25424 to 2.2.0 where earlier.
25425 * sysdeps/unix/sysv/linux/configure: Regenerated.
25426 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
25427 Remove conditional code.
25428 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
25429 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
25430 Remove conditional code.
25431 [!__NR_lchown]: Likewise.
25432 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25433 [__NR_lchown]: Likewise.
25434 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
25435 comment referencing __ASSUME_LCHOWN_SYSCALL.
25436 * sysdeps/unix/sysv/linux/i386/sigaction.c
25437 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25438 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25439 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
25440 Remove conditional code.
25441 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
25442 (__protocol_available): Remove #if 0 code.
25443 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
25445 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
25446 * sysdeps/unix/sysv/linux/kernel-features.h
25447 (__ASSUME_GETCWD_SYSCALL): Don't define.
25448 (__ASSUME_REALTIME_SIGNALS): Likewise.
25449 (__ASSUME_PREAD_SYSCALL): Likewise.
25450 (__ASSUME_PWRITE_SYSCALL): Likewise.
25451 (__ASSUME_POLL_SYSCALL): Likewise.
25452 (__ASSUME_LCHOWN_SYSCALL): Likewise.
25453 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
25455 (__ASSUME_SIOCGIFNAME): Don't define.
25456 (__ASSUME_MSG_NOSIGNAL): Likewise.
25457 (__ASSUME_SENDFILE): Define unconditionally.
25458 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
25459 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
25461 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
25462 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
25463 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25464 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25465 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
25466 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25467 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
25469 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25470 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25472 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25473 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
25475 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25476 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25478 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25479 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
25481 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25482 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25484 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25485 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
25487 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25488 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25490 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25491 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25492 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
25493 Remove conditional code.
25494 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25495 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25496 Remove conditional code.
25497 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25498 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
25499 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
25500 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25501 Remove conditional code.
25502 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25503 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
25504 Remove conditional code.
25505 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25506 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
25507 Remove conditional code.
25508 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25509 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25510 Remove conditional code.
25511 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25512 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25513 Remove conditional code.
25514 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25515 * sysdeps/unix/sysv/linux/sh/pwrite64.c
25516 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25517 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25518 * sysdeps/unix/sysv/linux/sigaction.c
25519 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25520 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25521 * sysdeps/unix/sysv/linux/sigpending.c
25522 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25523 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25524 * sysdeps/unix/sysv/linux/sigprocmask.c
25525 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25526 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25527 * sysdeps/unix/sysv/linux/sigsuspend.c
25528 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25529 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25530 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25531 (__libc_missing_rt_sigs): Remove.
25532 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
25533 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
25534 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
25535 Remove conditional code.
25536 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
25537 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
25539 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
25540 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
25541 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
25542 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
25544 2012-05-14 Andreas Jaeger <aj@suse.de>
25546 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
25547 it's not used in glibc.
25548 (__coshm1): Likewise.
25549 (__acosh1p): Likewise.
25552 * manual/string.texi (Copying and Concatenation): Add missing
25553 variable in concat example.
25554 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
25556 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25559 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
25560 __builtin_clzl with __builtin_clzll.
25562 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25565 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
25568 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25570 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
25571 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
25572 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
25573 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
25575 2012-05-14 Mike Frysinger <vapier@gentoo.org>
25577 * NEWS: Update ia64 info.
25579 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
25581 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
25584 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
25586 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
25587 * sysdeps/unix/syscalls.list (dup3): Likewise.
25588 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
25589 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
25591 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
25593 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
25594 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
25596 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
25598 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
25600 (TLS_IE): Use mov/add instead of movq/addq to load thread
25602 (TLS_GD_PREFIX): New.
25605 2012-05-11 David S. Miller <davem@davemloft.net>
25607 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
25608 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
25609 (_FPU_SETCW): Likewise.
25611 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25613 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
25614 is 32-byte aligned.
25616 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
25619 * iconvdata/gb18030.c: Update tables.
25620 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
25621 characters specially.
25622 (BODY for TO_LOOP): Add encoding of missing ranges.
25624 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
25627 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
25628 * sysdeps/mach/hurd/dup3.c: Likewise.
25629 * sysdeps/mach/hurd/readlinkat.c: Likewise.
25630 * sysdeps/powerpc/memmove.c:: Likewise.
25632 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25634 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
25635 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
25637 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25639 * elf/elf.h (R_X86_64_RELATIVE64): New.
25640 (R_X86_64_NUM): Updated.
25641 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25642 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
25643 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
25644 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
25645 tst-quad1pie tst-quad2pie
25646 (modules-names): Add tst-quadmod1 tst-quadmod2.
25647 ($(objpfx)tst-quad1): New dependency.
25648 ($(objpfx)tst-quad2): Likewise.
25649 ($(objpfx)tst-quad1pie): Likewise.
25650 ($(objpfx)tst-quad2pie): Likewise.
25651 * sysdeps/x86_64/tst-quad1.c: New file.
25652 * sysdeps/x86_64/tst-quad1pie.c: New file.
25653 * sysdeps/x86_64/tst-quad2.c: Likewise.
25654 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
25655 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
25656 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
25657 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
25658 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
25660 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25662 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
25663 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
25664 * streams/stropts.h (t_scalar_t): Define type.
25666 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
25667 (_PATH_PRESERVE): Set to "/var/lib".
25668 (_PATH_RWHODIR): Set to "/var/spool/rwho".
25670 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
25673 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
25674 if __dir_mkfile succeeded.
25676 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
25677 checking for _hurd_dtablesize. Unlock it right after having
25678 finished _hurd_dtable allocation.
25680 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25682 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
25683 * sysdeps/mach/hurd/configure: Regenerated.
25684 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
25685 special-casing to...
25686 * sysdeps/gnu/configure.in: ... this new file.
25687 * sysdeps/unix/sysv/linux/configure: Regenerated.
25688 * sysdeps/gnu/configure: New generated file.
25690 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
25691 for Linux: use nsec instead of usec, as well as:
25692 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
25693 members of type struct timespec.
25694 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
25696 (struct stat64): Likewise.
25697 (_STATBUF_ST_NSEC): New macro.
25698 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
25700 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25701 __strtoul_internal rather than strtoul.
25703 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25705 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
25708 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25710 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
25711 which preserves existing values.
25712 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
25714 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25716 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
25717 TIMEOUT values. Return EINVAL for NFDS values either negative or
25718 greater than FD_SETSIZE.
25720 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25722 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
25723 allocated, call __vm_protect to finish enabling the existing space, and
25724 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
25725 allocate the remainder.
25727 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25729 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
25730 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
25732 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25734 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25735 sysdeps/mach/hurd/readlink.c.
25737 * posix/tst-sysconf.c (posix_options): Only use
25738 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
25739 _POSIX_SYNCHRONIZED_IO when they are defined
25740 * sysdeps/mach/hurd/bits/posix_opt.h:
25741 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
25742 (_XOPEN_REALTIME): Undefine macro.
25743 (_XOPEN_REALTIME_THREADS): Undefine macro.
25744 (_XOPEN_SHM): Undefine macro.
25745 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
25747 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25749 (_POSIX_ASYNC_IO): Undefine macro.
25750 (_POSIX_PRIORITIZED_IO): Undefine macro.
25751 (_POSIX_SPIN_LOCKS): Define macro to -1.
25753 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
25754 SA_NODEFER, SA_RESETHAND.
25755 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25756 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25759 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25761 * elf/Makefile (pldd-modules): Define unconditionally.
25763 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25765 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25767 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25769 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25770 Return ENOENT when name is empty.
25771 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25773 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25775 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25777 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25779 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25781 Fix mlock in all cases except non-readable pages.
25782 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25783 instead of VM_PROT_ALL as parameter to __vm_wire function.
25785 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25786 (__mkdir): When path is `/', just fail with EEXIST.
25787 * sysdeps/mach/hurd/mkdirat.c: Likewise.
25789 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25791 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25792 <sys/uio.h> (for writev).
25793 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25794 and <sys/param.h> (for MIN).
25796 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25798 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25799 REQUESTED_TIME. Properly set the remaining time and return EINTR
25802 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25804 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25805 Depend on against $(link-rpcuserlibs).
25807 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25809 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25810 (__libc_stack_end): Do not use attribute_relro.
25811 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25812 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
25813 to libthread-provided value.
25814 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25817 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25820 * bits/libc-lock.h (__libc_once_get): New macro.
25821 * sysdeps/mach/bits/libc-lock.h: Likewise.
25822 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25823 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25824 instead of using implementation details.
25826 * libio/fileops.c: Unconditionally include <kernel-features.h>.
25827 * libio/freopen.c: Likewise.
25828 * libio/freopen64.c: Likewise.
25829 * misc/syslog.c: Likewise.
25830 * nscd/connections.c: Likewise.
25831 * nscd/netgroupcache.c: Likewise.
25832 * sysdeps/posix/getcwd.c: Likewise.
25834 2012-05-10 Roland McGrath <roland@hack.frob.com>
25836 * math/w_ilogbf.c: Add #include <limits.h>.
25838 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25840 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25841 path instead of returning without unlocking.
25843 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25844 immediate-write ioctls.
25845 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25847 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25849 * sysdeps/mach/hurd/i386/init-first.c (init): Use
25850 __builtin_frame_address instead of making assumptions about the
25851 location of the return address relative to DATA. Force early load of
25852 the return address.
25853 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25854 __builtin_frame_address.
25857 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25858 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
25859 implement dup3 and do some further code clean-ups.
25860 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25861 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25863 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25865 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25867 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25868 HURD_CRITICAL_END around holding _hurd_dtable_lock.
25869 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25870 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25871 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25874 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25875 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
25876 when handler == SIG_ERR, not when handler != SIG_ERR.
25878 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25880 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25881 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25884 accept4 for GNU Hurd.
25885 * include/sys/socket.h (__libc_accept4): New prototype.
25886 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
25887 to implement __libc_accept4.
25888 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25890 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25892 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25893 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25894 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25895 signal-defines.sym.
25897 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25899 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25901 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25903 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25904 assertion on O_CLOEXEC flag.
25905 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25906 * hurd/intern-fd.c: Likewise.
25907 * hurd/port2fd.c: Likewise.
25909 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25912 * bits/in.h (IPV6_PKTINFO): Define new macro.
25913 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25915 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25920 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25921 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25922 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25923 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25924 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25925 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25926 * math/libm-test.inc (logb_test) : Additional logb tests.
25928 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
25929 Andreas Jaeger <aj@suse.de>
25931 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25932 * configure: Regenerated.
25933 * config.h.in (LINK_OBSOLETE_RPC): New macro.
25934 * config.make.in (link-obsolete-rpc): New substituted variable.
25935 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25936 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25937 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25938 (shared-only-routines): Don't set it under [link-obsolete-rpc],
25939 so that libc.a contains the symbols.
25940 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25941 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25942 * sunrpc/auth_none.c: Likewise.
25943 * sunrpc/auth_unix.c: Likewise.
25944 * sunrpc/authdes_prot.c: Likewise.
25945 * sunrpc/authuxprot.c: Likewise.
25946 * sunrpc/clnt_gen.c: Likewise.
25947 * sunrpc/clnt_perr.c: Likewise.
25948 * sunrpc/clnt_raw.c: Likewise.
25949 * sunrpc/clnt_simp.c: Likewise.
25950 * sunrpc/clnt_tcp.c: Likewise.
25951 * sunrpc/clnt_udp.c: Likewise.
25952 * sunrpc/clnt_unix.c: Likewise.
25953 * sunrpc/des_crypt.c: Likewise.
25954 * sunrpc/des_soft.c: Likewise.
25955 * sunrpc/get_myaddr.c: Likewise.
25956 * sunrpc/key_call.c: Likewise.
25957 * sunrpc/key_prot.c: Likewise.
25958 * sunrpc/netname.c: Likewise.
25959 * sunrpc/pm_getmaps.c: Likewise.
25960 * sunrpc/pm_getport.c: Likewise.
25961 * sunrpc/pmap_clnt.c: Likewise.
25962 * sunrpc/pmap_prot.c: Likewise.
25963 * sunrpc/pmap_prot2.c: Likewise.
25964 * sunrpc/pmap_rmt.c: Likewise.
25965 * sunrpc/publickey.c: Likewise.
25966 * sunrpc/rpc_cmsg.c: Likewise.
25967 * sunrpc/rpc_common.c: Likewise.
25968 * sunrpc/rpc_dtable.c: Likewise.
25969 * sunrpc/rpc_prot.c: Likewise.
25970 * sunrpc/rpc_thread.c: Likewise.
25971 * sunrpc/rtime.c: Likewise.
25972 * sunrpc/svc.c: Likewise.
25973 * sunrpc/svc_auth.c: Likewise.
25974 * sunrpc/svc_raw.c: Likewise.
25975 * sunrpc/svc_run.c: Likewise.
25976 * sunrpc/svc_tcp.c: Likewise.
25977 * sunrpc/svc_udp.c: Likewise.
25978 * sunrpc/svc_unix.c: Likewise.
25979 * sunrpc/svcauth_des.c: Likewise.
25980 * sunrpc/xcrypt.c: Likewise.
25981 * sunrpc/xdr.c: Likewise.
25982 * sunrpc/xdr_array.c: Likewise.
25983 * sunrpc/xdr_float.c: Likewise.
25984 * sunrpc/xdr_intXX_t.c: Likewise.
25985 * sunrpc/xdr_mem.c: Likewise.
25986 * sunrpc/xdr_rec.c: Likewise.
25987 * sunrpc/xdr_ref.c: Likewise.
25988 * sunrpc/xdr_sizeof.c: Likewise.
25989 * sunrpc/xdr_stdio.c: Likewise.
25991 2012-05-10 Roland McGrath <roland@hack.frob.com>
25993 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25994 change. Update copyright years.
25996 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25998 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
26000 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
26001 Joseph Myers <joseph@codesourcery.com>
26002 Paul Pluzhnikov <ppluzhnikov@google.com>
26005 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
26007 [cross-compiling] (extra-libs): Likewise.
26008 [cross-compiling] (extra-libs-others): Likewise.
26009 [cross-compiling] (librpcsvc-routines): Likewise.
26010 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
26011 [cross-compiling] (omit-deps): Likewise.
26012 (sunrpc-CPPFLAGS): New variable.
26013 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
26014 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
26015 (cross-rpcgen-objs): New variable.
26016 (extra-objs): Append $(cross-rpcgen-objs).
26017 ($(cross-rpcgen-objs)): New rule.
26018 ($(objpfx)cross-rpcgen): Likewise.
26019 (rpcgen-cmd): Define to use $(built-program-file). Expand
26021 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
26022 ($(objpfx)x%.stmp): Likewise.
26023 * sunrpc/proto.h [IS_IN_build] (_): Define.
26024 [IS_IN_build] (_libc_intl_domainname): Likewise.
26026 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26028 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
26029 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
26030 and R_X86_64_TPOFF64.
26032 2012-05-10 Joseph Myers <joseph@codesourcery.com>
26034 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
26035 sysdeps/unix/sysv/syscalls.list.
26038 * sysdeps/unix/sysv/syscalls.list: Remove file.
26040 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
26043 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
26044 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
26045 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
26046 (__LC_IDENTIFICATION): Make these macros useful in #if
26047 expressions, as required by C99.
26049 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
26051 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26052 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
26055 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
26057 * stdlib/longlong.h: Updated from GCC.
26059 2012-05-09 Andreas Jaeger <aj@suse.de>
26061 * nscd/nscd.c (run_modes): Make named enum, reorder so that
26062 default is first entry.
26063 (run_mode): Set type.
26064 (main): Remove informal message about syslog.
26065 (options): Fix typo.
26068 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
26071 (llrintf): Likewise.
26072 (llrint): Likewise.
26075 (nearbyint): Likewise.
26076 (nearbyintf): Likewise.
26078 2012-05-09 Andreas Jaeger <aj@suse.de>
26079 Pedro Alves <palves@redhat.com>
26081 * nscd/nscd.c (run_mode): Use enum.
26082 (main): Cleanup coding style issue.
26084 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
26085 Andreas Jaeger <aj@suse.de>
26087 * nscd/nscd.c (go_background): Replaced with...
26088 (run_mode): ... this.
26089 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
26090 (options): Add -F --foreground.
26091 (main): Implement it.
26092 (parse_opt): Parse it.
26094 2012-05-09 Andreas Jaeger <aj@suse.de>
26097 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
26098 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
26099 -Wconversion warning.
26100 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
26103 2012-05-09 Joseph Myers <joseph@codesourcery.com>
26105 * conform/data/locale.h-data (NULL): Use macro-constant. Require
26107 (LC_ALL): Use macro-int-constant.
26108 (LC_COLLATE): Likewise.
26109 (LC_CTYPE): Likewise.
26110 (LC_MESSAGES): Likewise.
26111 (LC_MONETARY): Likewise.
26112 (LC_NUMERIC): Likewise.
26113 (LC_TIME): Likewise.
26114 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
26115 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26116 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26117 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
26119 [C99-based standards] (float_t): Expect type.
26120 [C99-based standards] (double_t): Expect type.
26121 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
26123 [C99-based standards] (HUGE_VALL): Likewise.
26124 [C99-based standards] (INFINITY): Likewise.
26125 [C99-based standards] (NAN): Likewise.
26126 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
26127 [C99-based standards] (FP_NAN): Likewise.
26128 [C99-based standards] (FP_NORMAL): Likewise.
26129 [C99-based standards] (FP_SUBNORMAL): Likewise.
26130 [C99-based standards] (FP_ZERO): Likewise.
26131 [C99-based standards] (FP_FAST_FMA): Use
26132 optional-macro-int-constant. Specify type. Require == 1.
26133 [C99-based standards] (FP_FAST_FMAF): Likewise.
26134 [C99-based standards] (FP_FAST_FMAL): Likewise.
26135 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
26136 [C99-based standards] (FP_ILOGBNAN): Likewise.
26137 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
26139 [C99-based standards] (MATH_ERREXCEPT): Likewise.
26140 [C99-based standards] (math_errhandling): Specify type.
26141 [ISO99 || ISO11] (signgam): Do not allow.
26142 [non-C99-based standards] (copysignf): Do not allow.
26143 [non-C99-based standards] (exp2f): Likewise.
26144 [non-C99-based standards] (log2f): Likewise.
26145 [non-C99-based standards] (modff): Allow.
26146 [non-C99-based standards] (erff): Do not allow.
26147 [non-C99-based standards] (erfcf): Likewise.
26148 [non-C99-based standards] (gammaf): Likewise.
26149 [non-C99-based standards] (hypotf): Likewise.
26150 [non-C99-based standards] (j0f): Likewise.
26151 [non-C99-based standards] (j1f): Likewise.
26152 [non-C99-based standards] (jnf): Likewise.
26153 [non-C99-based standards] (lgammaf): Likewise.
26154 [non-C99-based standards] (tgammaf): Likewise.
26155 [non-C99-based standards] (y0f): Likewise.
26156 [non-C99-based standards] (y1f): Likewise.
26157 [non-C99-based standards] (ynf): Likewise.
26158 [non-C99-based standards] (isnanf): Likewise.
26159 [non-C99-based standards] (acoshf): Likewise.
26160 [non-C99-based standards] (asinhf): Likewise.
26161 [non-C99-based standards] (atanhf): Likewise.
26162 [non-C99-based standards] (cbrtf): Likewise.
26163 [non-C99-based standards] (expm1f): Likewise.
26164 [non-C99-based standards] (ilogbf): Likewise.
26165 [non-C99-based standards] (log1pf): Likewise.
26166 [non-C99-based standards] (logbf): Likewise.
26167 [non-C99-based standards] (nextafterf): Likewise.
26168 [non-C99-based standards] (remainderf): Likewise.
26169 [non-C99-based standards] (rintf): Likewise.
26170 [non-C99-based standards] (scalbf): Likewise.
26171 [non-C99-based standards] (copysignl): Likewise.
26172 [non-C99-based standards] (exp2l): Likewise.
26173 [non-C99-based standards] (log2l): Likewise.
26174 [non-C99-based standards] (modfl): Allow.
26175 [non-C99-based standards] (erfl): Do not allow.
26176 [non-C99-based standards] (erfcl): Likewise.
26177 [non-C99-based standards] (gammal): Likewise.
26178 [non-C99-based standards] (hypotl): Likewise.
26179 [non-C99-based standards] (j0l): Likewise.
26180 [non-C99-based standards] (j1l): Likewise.
26181 [non-C99-based standards] (jnl): Likewise.
26182 [non-C99-based standards] (lgammal): Likewise.
26183 [non-C99-based standards] (tgammal): Likewise.
26184 [non-C99-based standards] (y0l): Likewise.
26185 [non-C99-based standards] (y1l): Likewise.
26186 [non-C99-based standards] (ynl): Likewise.
26187 [non-C99-based standards] (isnanl): Likewise.
26188 [non-C99-based standards] (acoshl): Likewise.
26189 [non-C99-based standards] (asinhl): Likewise.
26190 [non-C99-based standards] (atanhl): Likewise.
26191 [non-C99-based standards] (cbrtl): Likewise.
26192 [non-C99-based standards] (expm1l): Likewise.
26193 [non-C99-based standards] (ilogbl): Likewise.
26194 [non-C99-based standards] (log1pl): Likewise.
26195 [non-C99-based standards] (logbl): Likewise.
26196 [non-C99-based standards] (nextafterl): Likewise.
26197 [non-C99-based standards] (remainderl): Likewise.
26198 [non-C99-based standards] (rintl): Likewise.
26199 [non-C99-based standards] (scalbl): Likewise.
26200 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26201 [non-C99-based standards] (FP_*): Do not allow.
26202 [C99-based standards] (FP_*): Change to
26203 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26204 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26206 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
26207 (SIG_ERR): Likewise.
26208 [X/Open-based standards] (SIG_HOLD): Likewise.
26209 (SIG_IGN): Likewise.
26210 (SIGABRT): Use macro-int-constant. Specify type. Require
26212 (SIGFPE): Likewise.
26213 (SIGILL): Likewise.
26214 (SIGINT): Likewise.
26215 (SIGSEGV): Likewise.
26216 (SIGTER): Likewise.
26217 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
26218 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
26219 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
26220 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
26221 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
26222 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
26223 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
26224 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
26225 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
26226 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
26227 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
26228 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
26229 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
26230 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
26231 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
26232 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
26233 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
26234 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
26235 [X/Open-based standards] (SIGTRAP): Likewise.
26236 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
26237 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
26238 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
26239 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
26240 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26243 2012-05-08 Ian Wienand <ianw@vmware.com>
26246 * time/tzset.c (__tzset_parse_tz): Update default rules for
26247 daylight time changes in the Energy Policy Act of 2005.
26249 2012-05-09 Andreas Jaeger <aj@suse.de>
26252 * elf/ldconfig.c (parse_conf): Change string to make clear that
26253 ldconfig only issued a warning if ld.so.conf does not exist.
26255 2012-05-08 David S. Miller <davem@davemloft.net>
26257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
26258 movxtod instead of popping the value on the stack.
26260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26262 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
26264 * config.h.in: Add HAVE_ARM_PCS_VFP.
26266 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
26269 * include/features.h: Warn if user requests __FORTIFY_SOURCE
26270 checking but the checks are disabled for any reason.
26272 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
26274 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
26275 and ELF64_R_TYPE with ELFW(R_TYPE).
26277 2012-05-08 Joseph Myers <joseph@codesourcery.com>
26279 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
26280 (ulimit): Likewise.
26282 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
26283 (settimeofday): Likewise.
26285 2012-05-08 Mike Frysinger <vapier@gentoo.org>
26287 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
26288 a struct th_u2 inside the union, and move tu_block/tu_code into
26289 a new th_u3 union of tu_block/tu_code inside of that. Move
26290 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
26291 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
26292 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
26293 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
26294 (th_stuff): Change to th_u1.tu_stuff.
26296 (th_msg): Change to th_u1.th_u2.tu_data.
26298 2012-05-07 David S. Miller <davem@davemloft.net>
26300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26303 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
26304 (SETUP_PIC_REG): Use it.
26305 (SETUP_PIC_REG_LEAF): Use it.
26307 2012-05-07 Joseph Myers <joseph@codesourcery.com>
26311 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26313 (EXPL_FINITE): Likewise.
26314 (FLDLOG): Likewise.
26315 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26316 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26318 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26320 (EXPL_FINITE): Likewise.
26321 (FLDLOG): Likewise.
26322 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26323 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26325 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
26326 test of -max_value argument for long double.
26327 * sysdeps/i386/fpu/libm-test-ulps: Update.
26328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26330 2012-05-06 David S. Miller <davem@davemloft.net>
26332 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
26333 quad soft-float symbols whose references which are compiler
26335 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26337 2012-05-06 Joseph Myers <joseph@codesourcery.com>
26341 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26343 (EXPL_FINITE): Likewise.
26344 (FLDLOG): Likewise.
26347 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26348 Adjust comments for base varying.
26349 (__expl_finite): Change alias to EXPL_FINITE.
26350 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
26352 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
26353 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26354 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26355 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
26356 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26358 (EXPL_FINITE): Likewise.
26359 (FLDLOG): Likewise.
26362 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26363 Adjust comments for base varying.
26364 (__expl_finite): Change alias to EXPL_FINITE.
26365 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
26367 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26370 * math/libm-test.inc (check_float_internal): Correct ulp
26371 calculation for subnormal expected results.
26373 2012-05-06 Andreas Jaeger <aj@suse.de>
26375 * Makeconfig (+math-flags): New, set to -frounding-math.
26376 (+cflags): Add +math-flags so that all of glibc gets compiled with
26379 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
26381 2012-05-05 Joseph Myers <joseph@codesourcery.com>
26383 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
26389 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
26390 (__ieee754_expl): Allow for and saturate large arguments.
26391 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
26392 (u_threshold): Likewise.
26393 (__exp): Call __ieee754_exp before checking for overflow and
26395 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
26396 (u_threshold): Likewise.
26397 (__expf): Call __ieee754_expf before checking for overflow and
26399 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
26400 (u_threshold): Likewise.
26401 (__expl): Call __ieee754_expl before checking for overflow and
26403 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
26404 (__ieee754_expl): Allow for and saturate large arguments.
26405 * math/libm-test.inc (exp_test): Add another test. Do not allow
26406 missing overflow exception on overflow.
26407 (expm1_test): Do not allow missing overflow exception on overflow.
26409 * sysdeps/i386/fpu/e_expl.c: Move to ...
26410 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
26411 rather than using inline asm.
26412 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
26413 * sysdeps/x86_64/fpu/e_expl.S: Copy from
26414 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
26416 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
26419 (signal): Likewise.
26423 2012-05-04 Joseph Myers <joseph@codesourcery.com>
26425 * sysdeps/unix/syscalls.list (adjtime): Add entry from
26426 sysdeps/unix/common/syscalls.list.
26427 (fchmod): Likewise.
26428 (fchown): Likewise.
26429 (ftruncate): Likewise.
26430 (getrusage): Likewise.
26431 (gettimeofday): Likewise.
26432 (setpgid): Likewise.
26433 (setregid): Likewise.
26434 (setreuid): Likewise.
26435 (sigaction): Likewise.
26436 (truncate): Likewise.
26437 (vhangup): Likewise.
26438 * sysdeps/unix/common/syscalls.list: Remove file.
26439 * sysdeps/unix/bsd/Implies: Don't include unix/common.
26440 * sysdeps/unix/sysv/linux/Implies: Likewise.
26442 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
26444 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
26445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
26446 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
26448 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26450 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
26452 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
26453 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
26455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
26456 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
26458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
26459 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
26461 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
26462 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
26464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
26465 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
26467 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
26468 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
26470 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26472 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
26474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
26476 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
26478 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
26479 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
26481 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
26483 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
26485 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
26487 2012-05-04 Joseph Myers <joseph@codesourcery.com>
26489 * sysdeps/unix/common/bits/dirent.h: Remove file.
26490 * sysdeps/unix/common/bits/fcntl.h: Likewise.
26492 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
26493 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
26494 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
26495 * sysdeps/unix/bsd/isatty.c: Likewise.
26496 * sysdeps/unix/bsd/tcdrain.c: Likewise.
26497 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
26498 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
26500 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26503 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
26504 long double comparison inaccuracies.
26505 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26508 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
26510 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
26511 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
26513 2012-05-04 Joseph Myers <joseph@codesourcery.com>
26516 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
26517 nonzero digits before rounding a hex value.
26518 * stdlib/tst-strtod.c (tests): Add another test.
26520 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26522 * sysdeps/s390/fpu/libm-test-ulps: Update.
26524 2012-05-03 Andreas Jaeger <aj@suse.de>
26526 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
26527 does not get optimized out.
26528 (malloc_opt_barrier): New.
26530 2012-05-03 Andreas Jaeger <aj@suse.de>
26531 Roland McGrath <roland@hack.frob.com>
26533 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
26534 intermediate file deletion.
26535 (generated): Add .symlist files.
26537 2012-05-03 Joseph Myers <joseph@codesourcery.com>
26540 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
26541 Redirect under this condition.
26542 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26543 [__USE_GNU] (__dprintf_chk): Not under this condition.
26544 [__USE_GNU] (__vdprintf_chk): Likewise.
26545 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
26546 under this condition.
26547 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26548 [__USE_XOPEN2K8] (dprintf): Define under this condition.
26549 [__USE_XOPEN2K8] (vdprintf): Likewise.
26550 [__USE_GNU] (__dprintf_chk): Not under this condition.
26551 [__USE_GNU] (__vdprintf_chk): Likewise.
26552 [__USE_GNU] (dprintf): Likewise.
26553 [__USE_GNU] (vdprintf): Likewise.
26555 2012-05-03 Roland McGrath <roland@hack.frob.com>
26557 * elf/Makefile (common-generated): Set this instead of generated for
26558 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
26559 $(all-built-dso)-derived lists.
26561 2012-05-03 Andreas Jaeger <aj@suse.de>
26563 * sysdeps/i386/fpu/libm-test-ulps: Update.
26566 * FAQ.in: Likewise.
26567 * scripts/gen-FAQ.pl: Likewise.
26568 * manual/install.texi (Installation): Point to online location of
26570 * Makefile (files-for-dist): Remove FAQ.
26573 2012-05-02 Allan McRae <allan@archlinux.org>
26575 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
26576 (LDFLAGS-reldepmod5.so): Likewise.
26577 (LDFLAGS-reldep6mod1.so): Likewise.
26578 (LDFLAGS-reldep6mod4.so): Likewise.
26579 (LDFLAGS-reldep8mod3.so): Likewise.
26580 (LDFLAGS-unload4mod1.so): Likewise.
26581 (LDFLAGS-unload4mod2.so): Likewise.
26582 (LDFLAGS-tst-initorder): Likewise.
26583 (LDFLAGS-tst-initordera2.so): Likewise.
26584 (LDFLAGS-tst-initordera3.so): Likewise.
26585 (LDFLAGS-tst-initordera4.so): Likewise.
26586 (LDFLAGS-tst-initorderb2.so): Likewise.
26587 (LDFLAGS-noload): Likewise.
26588 (LDFLAGS-next): Likewise.
26589 (LDFLAGS-order2mod1.so): Likewise.
26590 (LDFLAGS-order2mod2.so): Likewise.
26591 (LDFLAGS-tst-initorder2): Likewise.
26592 (LDFLAGS-tst-initorder2a.so): Likewise.
26593 (LDFLAGS-tst-initorder2b.so): Likewise.
26594 (LDFLAGS-tst-initorder2c.so): Likewise.
26595 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
26597 2012-05-02 David S. Miller <davem@davemloft.net>
26599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26601 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
26604 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
26606 2012-05-02 Andreas Jaeger <aj@suse.de>
26608 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
26609 since we manipulate rounding mode.
26610 (CPPFLAGS-test-idouble.c): Likewise.
26611 (CPPFLAGS-test-ifloat.c): Likewise.
26612 (CFLAGS-test-ldouble.c): Likewise.
26613 (CFLAGS-test-double.c): Likewise.
26614 (CFLAGS-test-float.c): Likewise.
26615 (CFLAGS-test-misc.c): Likewise.
26616 (CFLAGS-test-test-fenv.c): Likewise.
26618 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26622 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
26623 comparisons to determine direction to adjust input.
26625 2012-05-01 Roland McGrath <roland@hack.frob.com>
26627 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
26628 output to the target.
26630 * scripts/localplt.awk: New file.
26631 * elf/Makefile ($(objpfx)check-localplt): Target removed.
26632 (check-localplt-CFLAGS): Variable removed.
26633 ($(all-built-dso:=.jmprel)): New static pattern rule.
26634 (generated): Add those targets.
26635 (localplt-built-dso): New variable.
26636 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
26638 * elf/check-localplt.c: File removed.
26640 * scripts/check-execstack.awk: New file.
26641 * elf/Makefile ($(objpfx)check-execstack): Target removed.
26642 (check-execstack-CFLAGS): Variable removed.
26643 ($(objpfx)check-execstack.h): Target removed.
26644 ($(objpfx)execstack-default): New target.
26645 (generated): Add that instead of check-execstack.h.
26646 ($(all-built-dso:=.phdr)): New static pattern rule.
26647 (generated): Add those targets.
26648 * elf/check-execstack.c: File removed.
26650 * scripts/check-textrel.awk: New file.
26651 * elf/Makefile ($(objpfx)check-textrel): Target removed.
26652 (check-textrel-CFLAGS): Variable removed.
26653 (all-built-dso): Use := to define.o
26654 ($(all-built-dso:=.dyn)): New static pattern rule.
26655 (generated): Add those targets.
26656 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
26657 * config.make.in (READELF): New substituted variable.
26658 * elf/check-textrel.c: File removed.
26660 2012-05-01 Joseph Myers <joseph@codesourcery.com>
26662 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26664 * conform/data/ctype.h-data [C99-based standards] (isblank):
26666 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
26667 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
26668 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26669 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
26670 Specify type. Require positive value.
26671 (EILSEQ): Likewise.
26672 (ERANGE): Likewise.
26673 [ISO || POSIX] (EILSEQ): Do not expect.
26674 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
26675 Specify type. Require positive value.
26676 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
26677 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
26678 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
26679 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
26680 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
26681 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
26682 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
26683 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
26684 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
26685 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
26686 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
26687 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
26688 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
26689 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
26690 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
26691 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
26692 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
26693 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
26694 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
26695 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
26696 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
26697 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
26698 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
26699 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
26700 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
26701 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
26702 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
26703 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
26704 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
26705 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
26706 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
26707 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
26708 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
26709 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
26710 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
26711 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
26712 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
26713 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
26714 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
26715 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
26716 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
26717 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
26718 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
26719 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
26720 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
26721 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
26722 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
26723 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
26724 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
26725 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
26726 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
26727 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
26728 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
26729 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
26730 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
26731 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
26732 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
26733 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
26734 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
26735 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
26736 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
26737 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
26738 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
26739 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
26740 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
26741 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
26742 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
26743 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
26744 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
26745 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
26746 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
26747 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
26748 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
26749 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
26750 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
26751 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
26752 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
26754 (FLT_ROUNDS): Expect as macro, not constant.
26755 (FLT_MANT_DIG): Use macro-int-constant.
26756 (DBL_MANT_DIG): Likewise.
26757 (LDBL_MANT_DIG): Likewise.
26758 (FLT_DIG): Likewise.
26759 (DBL_DIG): Likewise.
26760 (LDBL_DIG): Likewise.
26761 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
26762 (DBL_MIN_EXP): Likewise.
26763 (LDBL_MIN_EXP): Likewise.
26764 (FLT_MAX_EXP): Use macro-int-constant.
26765 (DBL_MAX_EXP): Likewise.
26766 (LDBL_MAX_EXP): Likewise.
26767 (FLT_MAX_10_EXP): Likewise.
26768 (DBL_MAX_10_EXP): Likewise.
26769 (LDBL_MAX_10_EXP): Likewise.
26770 (FLT_MAX): Use macro-constant.
26771 (DBL_MAX): Likewise.
26772 (LDBL_MAX): Likewise.
26773 (FLT_EPSILON): Use macro-constant. Give upper bound.
26774 (DBL_EPSILON): Likewise.
26775 (LDBL_EPSILON): Likewise.
26776 (FLT_MIN): Likewise.
26777 (DBL_MIN): Likewise.
26778 (LDBL_MIN): Likewise.
26779 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26780 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26781 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26782 [ISO11] (FLT_HAS_SUBNORM): Likewise.
26783 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26784 [ISO11] (DBL_DECIMAL_DIG): Likewise.
26785 [ISO11] (FLT_DECIMAL_DIG): Likewise.
26786 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26787 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26788 [ISO11] (FLT_TRUE_MIN): Likewise.
26789 [ISO11] (LDBL_TRUE_MIN): Likewise.
26790 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26791 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26792 (SCHAR_MIN): Use macro-int-constant. Specify type.
26793 (SCHAR_MAX): Likewise.
26794 (UCHAR_MAX): Likewise.
26795 (CHAR_MIN): Likewise.
26796 (CHAR_MAX): Likewise.
26797 (MB_LEN_MAX): Use macro-int-constant.
26798 (SHRT_MIN): Use macro-int-constant. Specify type.
26799 (SHRT_MAX): Likewise.
26800 (USHRT_MAX): Likewise.
26801 (INT_MAX): Likewise.
26802 (INT_MIN): Use macro-int-constant. Specify type. Make upper
26804 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
26806 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26808 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
26809 bound negative. Suffix upper bound with "L".
26810 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26812 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26814 [C99-based standards] (LLONG_MAX): Likewise.
26815 [C99-based standards] (ULLONG_MAX): Likewise.
26816 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
26818 [ISO11] (max_align_t): Require type.
26819 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26821 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26822 from $CFLAGS, without defining away __attribute__ calls.
26823 (checknamespace): Use $CFLAGS_namespace.
26825 * conform/conformtest.pl (@keywords): Only include C99 keywords
26826 for standards based on C99 or C11.
26828 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26830 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26833 * conform/conformtest.pl: Handle "macro-int-constant" and test for
26834 usability of symbols in #if.
26836 * conform/conformtest.pl: If macro or constant types start
26837 "promoted:", expect the symbol to be of the following type
26838 promoted by the integer promotions.
26840 * conform/conformtest.pl: Parse all "constant" and "macro" lines
26841 in one place. Also handle "macro-constant".
26843 * conform/conformtest.pl: Only accept expected macro values with
26844 "==". Parse all "macro" lines in one place.
26845 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26847 * conform/conformtest.pl: Handle braced types on "constant" lines
26848 instead of handling "typed-constant".
26849 * conform/data/signal.h-data: Use "constant" instead of
26852 * conform/conformtest.pl: Handle "optional-" at start of lines in
26853 one place rather than duplicating several cases. Handle each
26854 format of "macro" line with initial "optional-".
26856 * conform/conformtest.pl: Only accept expected constant or
26857 optional-constant values with "==". Parse all "constant" lines in
26858 one place. Parse all "optional-constant" lines in one place.
26859 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26860 * conform/data/fmtmsg.h-data: Likewise.
26861 * conform/data/netinet/in.h-data: Likewise.
26862 * conform/data/tar.h-data: Likewise.
26863 * conform/data/limits.h-data: Use "==" form on "constant" and
26864 "optional-constant" lines.
26866 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26867 Use -std=c99 for XOPEN2K.
26868 (@knownproblems): Remove.
26869 (newtoken): Don't check %isknown.
26871 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26872 Do not expect macro.
26873 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26874 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26875 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26876 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26877 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26878 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26879 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26880 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26881 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26882 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26883 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26884 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26885 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26886 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26887 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26888 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26889 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26890 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26891 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26892 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26893 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26894 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26895 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26896 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26897 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26898 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26899 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26900 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26901 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26902 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26903 [XPG3] (acosh): Likewise.
26904 [XPG3] (asinh): Likewise.
26905 [XPG3] (atanh): Likewise.
26906 [XPG3] (cbrt): Likewise.
26907 [XPG3] (expm1): Likewise.
26908 [XPG3] (ilogb): Likewise.
26909 [XPG3] (log1p): Likewise.
26910 [XPG3] (logb): Likewise.
26911 [XPG3] (nextafter): Likewise.
26912 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26913 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26914 [XPG3] (remainder): Likewise.
26915 [XPG3] (rint): Likewise.
26916 [XPG3 || XPG4 || UNIX98] (round): Likewise.
26917 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26918 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26919 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26920 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26921 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26922 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26923 [UNIX98 || XOPEN2K] (scalb): Expect.
26924 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26925 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26926 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26927 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26928 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26929 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26930 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26931 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26932 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26933 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26934 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26935 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26936 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26937 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26938 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26939 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26940 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26941 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26942 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26943 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26944 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26945 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26946 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26947 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26948 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26949 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26950 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26951 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26952 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26953 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26954 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26955 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26956 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26957 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26958 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26959 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26960 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26961 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26962 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26963 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26964 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26965 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26966 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26967 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26968 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26969 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26970 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26971 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26972 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26973 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26974 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26975 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26976 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26977 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26978 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26979 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26980 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26981 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26982 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26983 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26984 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26985 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26986 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26987 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26988 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26989 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26990 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26991 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26992 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26993 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26994 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26995 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26996 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26997 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26998 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26999 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
27000 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
27001 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
27002 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
27003 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
27004 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
27005 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
27006 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
27007 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
27008 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
27009 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
27010 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
27011 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
27012 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
27013 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
27014 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
27015 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
27016 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
27017 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
27018 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
27019 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
27020 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
27021 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
27022 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
27023 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
27024 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
27025 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
27026 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
27027 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
27028 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
27029 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
27030 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
27031 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
27032 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
27033 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
27034 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
27035 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
27036 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
27037 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
27038 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
27039 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
27040 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
27041 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
27042 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
27043 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
27044 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
27045 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
27046 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
27047 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
27048 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
27049 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
27050 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
27051 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27052 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27053 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27054 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27055 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27056 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27057 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27058 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27059 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27060 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27062 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27063 _XOPEN_SOURCE_EXTENDED for XPG4.
27065 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27067 * Makeconfig (localtime): Remove variable.
27068 (inst_localtime-file): Likewise.
27070 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27091 2012-05-01 Joseph Myers <joseph@codesourcery.com>
27095 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
27096 comparisons to determine direction to adjust input.
27097 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27098 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
27099 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27101 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27103 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27105 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27106 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27108 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27110 * math/libm-test.inc (nexttoward_test): Add more tests.
27112 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27115 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
27116 in version GLIBC_2.1, not GLIBC_2.0.
27117 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
27120 2012-04-30 Joseph Myers <joseph@codesourcery.com>
27123 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
27125 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27126 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
27127 * math/libm-test.inc (acos_test): Add more tests.
27128 (asin_test): Likewise.
27129 * sysdeps/i386/fpu/libm-test-ulps: Update.
27130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27133 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
27135 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
27136 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27137 * math/libm-test.inc (acos_test_tonearest): New function.
27138 (acos_test_towardzero): Likewise.
27139 (acos_test_downward): Likewise.
27140 (acos_test_upward): Likewise.
27141 (asin_test_tonearest): Likewise.
27142 (asin_test_towardzero): Likewise.
27143 (asin_test_downward): Likewise.
27144 (asin_test_upward): Likewise.
27145 (main): Call the new functions.
27146 * sysdeps/i386/fpu/libm-test-ulps: Update.
27147 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27151 * math/e_exp10.c: Include <float.h>.
27152 (__ieee754_exp10): Handle underflow here rather than multiplying
27153 large negative argument by M_LN10.
27154 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
27156 * math/e_exp10l.c: Include <float.h>.
27157 (__ieee754_exp10l): Handle underflow here rather than multiplying
27158 large negative argument by M_LN10l.
27159 * math/libm-test.inc (exp10_test): Add another test. Do not allow
27160 spurious overflow exception on underflow.
27162 2012-04-29 Marek Polacek <polacek@redhat.com>
27164 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
27165 (__fortify_function): New macro.
27166 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
27167 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
27168 __extern_always_inline.
27169 * libio/bits/stdio2.h: Likewise.
27170 * libio/bits/stdio.h: Likewise.
27171 * string/string.h: Likewise.
27172 * string/bits/string3.h: Likewise.
27173 * include/stdio.h: Likewise.
27174 * stdlib/bits/stdlib.h: Likewise.
27175 * stdlib/stdlib.h: Likewise.
27176 * rt/bits/mqueue2.h: Likewise.
27177 * rt/mqueue.h: Likewise.
27178 * posix/bits/unistd.h: Likewise.
27179 * posix/unistd.h: Likewise.
27180 * io/bits/poll2.h: Likewise.
27181 * io/bits/fcntl2.h: Likewise.
27182 * io/fcntl.h: Likewise.
27183 * io/sys/poll.h: Likewise.
27184 * misc/bits/syslog.h: Likewise.
27185 * misc/bits/syslog-ldbl.h: Likewise.
27186 * misc/sys/syslog.h: Likewise.
27187 * socket/bits/socket2.h: Likewise.
27188 * socket/sys/socket.h: Likewise.
27189 * debug/tst-chk1.c: Likewise.
27190 * wcsmbs/bits/wchar2.h: Likewise.
27191 * wcsmbs/bits/wchar-ldbl.h: Likewise.
27192 * wcsmbs/wchar.h: Likewise.
27194 2012-04-29 Andreas Jaeger <aj@suse.de>
27196 * Makerules (tests): Remove enable-check-abi protection.
27197 (check-abi-warn): Remove.
27198 (check-abi-%): Remove check-abi-warn usage.
27200 * configure.in: Remove check-abi configure option.
27201 * configure: Regenerated.
27202 * config.make.in (enable-check-abi): Remove.
27204 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
27207 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
27208 double functions to double *_finite functions.
27211 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
27212 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
27214 * stdio-common/Makefile (tests): Add tst-sprintf3.
27215 * stdio-common/tst-sprintf3.c: New file.
27217 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
27218 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
27220 2012-04-28 Joseph Myers <joseph@codesourcery.com>
27222 * conform/conformtest.pl: Remove duplicate typed-constant
27225 2012-04-28 David S. Miller <davem@davemloft.net>
27227 * Makerules (%.abilist): Add vpath on sysdep_dirs.
27228 (check-abi-%): Remove AWK script prerequisite and explicit
27230 (check-abi): Rewrite to just diff the symlist with the abilist.
27231 (config-tls, config-abi-config): Delete, no longer used.
27232 (update-abi-%): Remove AWK script and explicit abilist directory.
27233 (update-abi): Rewrite to simply compare and conditionally copy the
27234 symlist and the sysdep abilist file. Remove update-abi-config
27236 * abilist/ld.abilist: Remove.
27237 * abilist/libBrokenLocale.abilist: Remove.
27238 * abilist/libanl.abilist: Remove.
27239 * abilist/libcrypt.abilist: Remove.
27240 * abilist/libdl.abilist: Remove.
27241 * abilist/librt.abilist: Remove.
27242 * abilist/libthread_db.abilist: Remove.
27243 * abilist/libutil.abilist: Remove.
27244 * scripts/extract-abilist.awk: Remove.
27245 * scripts/merge-abilist.awk: Remove.
27246 * sysdeps/generic/libcidn.abilist: New file.
27247 * sysdeps/generic/libnss_compat.abilist: New file.
27248 * sysdeps/generic/libnss_db.abilist: New file.
27249 * sysdeps/generic/libnss_dns.abilist: New file.
27250 * sysdeps/generic/libnss_files.abilist: New file.
27251 * sysdeps/generic/libnss_hesiod.abilist: New file.
27252 * sysdeps/generic/libnss_nis.abilist: New file.
27253 * sysdeps/generic/libnss_nisplus.abilist: New file.
27254 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
27255 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
27256 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
27258 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
27259 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
27260 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
27261 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
27262 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
27263 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
27264 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
27265 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
27266 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
27268 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
27269 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
27270 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
27271 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
27273 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
27274 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
27275 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
27276 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
27277 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
27278 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
27280 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
27281 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
27282 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
27284 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
27285 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
27287 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
27289 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
27291 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
27293 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
27295 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
27297 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
27299 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
27301 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
27303 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
27305 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
27307 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
27309 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
27311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
27313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
27319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
27325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
27338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
27340 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
27344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
27346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
27348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
27350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
27352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
27356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
27358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
27362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
27363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
27365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
27369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
27371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
27373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
27375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
27377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
27381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
27383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
27387 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27388 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
27389 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
27391 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
27392 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
27393 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
27394 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
27395 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
27396 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
27397 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
27398 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
27399 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
27400 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
27401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
27402 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
27404 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27406 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
27408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
27410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
27412 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
27414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
27416 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27420 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
27422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
27426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
27427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
27429 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
27433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
27435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
27437 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
27439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
27441 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27443 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27445 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
27447 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
27452 2012-04-28 Joseph Myers <joseph@codesourcery.com>
27454 * conform/conformtest.pl: Fix typo in handling typed-constant from
27457 2012-04-27 Joseph Myers <joseph@codesourcery.com>
27459 * README: Cut down references to pre-2.6 Linux kernels and
27460 Linuxthreads. Update lists of configurations in libc and ports
27461 and sort alphabetically. Say "or newer" with Linux kernel version
27464 * config.h.in [IS_IN_build]: Allow compiling without optimization.
27466 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27469 * math/libm-test.inc (logb_test_downward): New test to expose
27470 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
27473 2012-04-27 Joseph Myers <joseph@codesourcery.com>
27476 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
27478 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
27479 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
27481 2012-04-26 Joseph Myers <joseph@codesourcery.com>
27483 * sysdeps/unix/i386/brk.S: Remove file.
27484 * sysdeps/unix/i386/dl-brk.S: Likewise.
27485 * sysdeps/unix/i386/pipe.S: Likewise.
27486 * sysdeps/unix/i386/sigreturn.S: Likewise.
27487 * sysdeps/unix/i386/syscall.S: Likewise.
27488 * sysdeps/unix/i386/vfork.S: Likewise.
27489 * sysdeps/unix/i386/wait.S: Likewise.
27491 * sysdeps/unix/common/tcsendbrk.c: Move to ...
27492 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
27494 * configure.in (arm*-none*): Do not allow without
27495 --enable-hacker-mode.
27496 (netbsd*): Remove case setting base_os.
27497 (386bsd*): Likewise.
27498 (freebsd*): Likewise.
27501 (sunos*): Likewise.
27502 (ultrix*): Likewise.
27503 (newsos*): Likewise.
27504 (dynix*): Likewise.
27510 (minix*): Likewise.
27511 (irix4*): Likewise.
27512 (irix6*): Likewise.
27513 (solaris[2-9]*): Likewise.
27515 * configure: Regenerated.
27517 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27520 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
27521 overflow or cancellation in calculating denominator.
27522 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
27523 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
27524 down expression to avoid unexpected rounding in newer GCCs.
27525 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
27527 2012-04-26 David S. Miller <davem@davemloft.net>
27529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
27530 long-double compat symbols.
27531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
27535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
27537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
27538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
27539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
27540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
27542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
27543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27545 2012-04-25 David S. Miller <davem@davemloft.net>
27547 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
27548 HWCAP_* values only after the memory barriers have been defined.
27549 (atomic_full_barrier): Define.
27550 (atomic_read_barrier): Define.
27551 (atomic_write_barrier): Define.
27553 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27555 * shlib-versions: Add libgcc_s version information.
27556 * sysdeps/generic/libgcc_s.h: Remove.
27557 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
27559 * sysdeps/gnu/unwind-resume.c: Likewise.
27560 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
27562 2012-04-25 David S. Miller <davem@davemloft.net>
27564 * sysdeps/unix/sparc/brk.S: Delete.
27565 * sysdeps/unix/sparc/dl-brk.S: Delete.
27566 * sysdeps/unix/sparc/pipe.S: Delete.
27567 * sysdeps/unix/sparc/sysdep.S: Delete.
27568 * sysdeps/unix/sparc/sysdep.h: Delete.
27569 * sysdeps/unix/sparc/vfork.S: Delete.
27570 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
27571 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
27572 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
27573 ret_ERRVAL, r0, r1, MOVE): Define.
27574 (JUMPTARGET): Remove.
27575 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
27576 sysdeps/unix/sparc/sysdep.h
27577 (ENTRY, END): Remove.
27578 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27580 2012-04-25 Joseph Myers <joseph@codesourcery.com>
27582 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
27583 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
27586 * timezone/README: Update upstream location and email address for
27588 * timezone/zdump.c: Update from tzcode 2012b.
27589 * timezone/zic.c: Likewise.
27591 * configure.in (libc_cv_as_needed): Remove test.
27592 * configure: Regenerated.
27593 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
27594 conditional definition.
27595 [$(have-as-needed) != yes] (no-as-needed): Likewise.
27596 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
27597 * config.make.in (have-as-needed): Remove variable.
27599 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27600 Paul Pluzhnikov <ppluzhnikov@google.com>
27602 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
27605 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
27607 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
27608 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
27609 * sysdeps/sh/strlen.S: Likewise.
27611 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27613 * sysdeps/unix/fork.S: Remove file.
27614 * sysdeps/unix/i386/fork.S: Likewise.
27615 * sysdeps/unix/sparc/fork.S: Likewise.
27617 * sysdeps/unix/system.c: Remove file.
27618 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
27620 * sysdeps/unix/getegid.S: Remove file.
27621 * sysdeps/unix/geteuid.S: Likewise.
27623 2012-04-24 Roland McGrath <roland@hack.frob.com>
27625 * scripts/check-localplt.awk: New file.
27626 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
27628 * scripts/data/localplt-generic.data: Add a comment.
27630 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
27631 NODE when __dir_mkfile failed.
27632 * sysdeps/mach/hurd/symlinkat.c: Likewise.
27633 Reported by Ludovic Courtès <ludo@gnu.org>.
27635 2012-04-24 Andreas Jaeger <aj@suse.de>
27637 * Makerules (common-clean): Also remove gen-as-const-headers
27640 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27642 * Makerules (native-compile): Do not change working directory for
27643 build. Use $(OUTPUT_OPTION) in command.
27644 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
27646 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27649 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
27650 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
27651 * math/libm-test.inc (floor_test): Add more tests.
27652 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
27654 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27656 * sysdeps/unix/getdents.c: Remove file.
27657 * sysdeps/unix/sysv/getdents.c: Likewise.
27658 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
27660 * sysdeps/unix/syscalls.list (madvise): Add syscall from
27661 sysdeps/unix/mman/syscalls.list.
27663 (mprotect): Likewise.
27665 (munmap): Likewise.
27666 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
27667 * sysdeps/unix/mman/syscalls.list: Remove.
27668 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
27670 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
27671 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
27672 * configure: Regenerated.
27673 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
27674 $(libgcc_s_suffix).
27675 * config.make.in (libgcc_s_suffix): Remove variable.
27677 2012-04-23 Joseph Myers <joseph@codesourcery.com>
27679 * sysdeps/unix/sysv/gethostname.c: Move to ...
27680 * sysdeps/posix/gethostname.c: ... here.
27682 * sysdeps/unix/execve.S: Remove file.
27684 * sysdeps/unix/_exit.S: Remove file.
27686 2012-04-23 Andreas Jaeger <aj@suse.de>
27689 * manual/Makefile: Remove make dist support, there's no
27690 need for a stand-alone documentation tar ball.
27691 (TEXI2DVI): Define always, it's not in Makeconfig.
27694 (edition): Removed.
27695 (glibc-doc-$(edition).tar): Removed
27699 (ETAGS): Remove, it's in Makeconfig.
27700 (move-if-change): Remove, it's in Makeconfig.
27702 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
27705 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
27706 (strtod, strtof, strtold, strtol, strtoul, strtoq)
27707 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
27708 (strtod_l, strtof_l, strtold_l): Remove __wur.
27709 It is not necessarily an error to ignore strtol's return value.
27710 One can reliably look at the stored endptr to decide whether
27711 the number had valid syntax.
27713 2012-04-21 Andreas Jaeger <aj@suse.de>
27716 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
27718 2012-04-21 Joseph Myers <joseph@codesourcery.com>
27720 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
27721 * sysdeps/unix/sysv/Versions: Remove file.
27723 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
27726 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27728 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
27731 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
27732 version from __vm86.
27734 2012-04-20 Joseph Myers <joseph@codesourcery.com>
27736 * sysdeps/unix/common/lxstat.c: Remove file.
27737 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
27739 * sysdeps/unix/sysv/Makefile: Remove file.
27741 * sysdeps/unix/sysv/direct.h: Remove file.
27743 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
27744 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
27745 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
27746 * sysdeps/unix/sysv/bits/signum.h: Likewise.
27747 * sysdeps/unix/sysv/bits/stat.h: Likewise.
27748 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27749 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
27751 * sysdeps/unix/sysv/setrlimit.c: Remove file.
27753 * sysdeps/unix/xmknod.c: Remove file.
27754 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27756 * sysdeps/unix/sysv/settimeofday.c: Remove file.
27758 * sysdeps/unix/sysv/i386/time.S: Remove file.
27760 * sysdeps/unix/fxstat.c: Remove file.
27761 * sysdeps/unix/xstat.c: Likewise.
27762 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27764 * sysdeps/unix/sysv/sigaction.c: Remove file.
27766 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27767 (sysdep_headers): Remove variable.
27768 [termio.h not in sysdep_headers] (generated): Likewise.
27769 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27770 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27771 * sysdeps/unix/sysv/tcdrain.c: Likewise.
27772 * sysdeps/unix/sysv/tcflow.c: Likewise.
27773 * sysdeps/unix/sysv/tcflush.c: Likewise.
27774 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27775 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27776 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27777 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27778 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27780 * sysdeps/unix/siglist.c: Remove file.
27782 * sysdeps/unix/getppid.S: Remove file.
27784 * sysdeps/unix/mkdir.c: Remove file.
27785 * sysdeps/unix/rmdir.c: Likewise.
27787 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
27789 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27791 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27792 errlist-compat value.
27794 2012-04-18 David S. Miller <davem@davemloft.net>
27796 * sysdeps/generic/memcopy.h (reg_char): Delete.
27797 * debug/strcat_chk.c: Use char, not reg_char.
27798 * debug/strcpy_chk.c: Likewise.
27799 * debug/strncat_chk.c: Likewise.
27800 * debug/strncpy_chk.c: Likewise.
27801 * string/memchr.c: Likewise.
27802 * string/memrchr.c: Likewise.
27803 * string/rawmemchr.c: Likewise.
27804 * string/strcat.c: Likewise.
27805 * string/strchr.c: Likewise.
27806 * string/strchrnul.c: Likewise.
27807 * string/strcmp.c: Likewise.
27808 * string/strcpy.c: Likewise.
27809 * string/strncat.c: Likewise.
27810 * string/strncmp.c: Likewise.
27811 * string/strncpy.c: Likewise.
27813 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27815 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27816 __builtin_memcopy is called when src and dest ranges are known to not
27819 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27821 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27822 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27823 fwd_align_merge macro call.
27824 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27825 bwd_align_merge macro call.
27826 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27828 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27830 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27831 bwd_align_merge macros.
27832 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27833 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27834 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27836 2012-04-18 David S. Miller <davem@davemloft.net>
27838 * sysdeps/sparc/sparc64/memcopy.h: Delete.
27840 2012-04-18 Andreas Jaeger <aj@suse.de>
27843 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27844 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27845 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27847 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27848 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27849 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27851 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27852 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27853 Adjust for changed ldbl-128 files.
27855 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27856 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27857 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27859 2012-04-17 David S. Miller <davem@davemloft.net>
27861 * sysdeps/sparc/sparc32/memcopy.h: Delete.
27863 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
27865 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27866 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27867 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27868 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27869 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27870 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27872 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27875 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27876 * math/libm-test.inc: Add ilogb errno and exception tests.
27877 * math/w_ilogb.c: New file: ilogb wrapper.
27878 * math/w_ilogbf.c: New file: ilogbf wrapper.
27879 * math/w_ilogbl.c: New file: ilogbl wrapper.
27880 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27881 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27882 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27883 exception being thrown with 0.0 as argument.
27884 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27885 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27886 exception being thrown with 0.0 as argument.
27887 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27888 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27889 exception being thrown with 0.0 as argument.
27890 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27891 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27892 exception being thrown with 0.0 as argument.
27893 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27894 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27895 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27896 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27897 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27898 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27899 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27900 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27901 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27903 2012-04-17 Petr Baudis <pasky@ucw.cz>
27905 * include/sys/uio.h: Change __vector to __iovec to avoid clash
27908 2012-04-16 Marek Polacek <polacek@redhat.com>
27910 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27912 2012-04-16 Marek Polacek <polacek@redhat.com>
27914 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27915 operands of fdivp instruction.
27917 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27919 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27920 * elf/tst-auditmod3b.c: Likewise.
27921 * elf/tst-auditmod4b.c: Likewise.
27922 * elf/tst-auditmod5b.c: Likewise.
27923 * elf/tst-auditmod6b.c: Likewise.
27924 * elf/tst-auditmod6c.c: Likewise.
27925 * elf/tst-auditmod7b.c: Likewise.
27926 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27927 * sysdeps/x86_64/preconfigure.in: Likewise.
27928 * sysdeps/x86_64/preconfigure: Regenerated.
27930 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27932 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27935 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
27937 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27938 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27940 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
27943 * locale/iso-639.def: Fix gl language name. Spotted by
27946 2012-04-12 Roland McGrath <roland@hack.frob.com>
27949 * libio/libio.h (__io_write_fn): Update comment.
27951 2012-04-12 Petr Baudis <pasky@ucw.cz>
27954 * stdio.texi (Hook Functions): The user provided writer function
27955 is not allowed to return -1.
27957 2012-04-11 David S. Miller <davem@davemloft.net>
27959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27961 2012-04-11 Mike Frysinger <vapier@gentoo.org>
27963 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27964 Add a leading slash to rtkaio.
27966 2012-04-11 Jim Meyering <meyering@redhat.com>
27969 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27970 It is not necessarily an error to ignore fwrite's return
27971 value. One can reliably use ferror to test for errors after
27974 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27976 * bits/types.h (__snseconds_t): New type.
27977 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27979 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27980 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27981 (__SNSECONDS_T_TYPE): Likewise.
27982 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27983 (__SNSECONDS_T_TYPE): Likewise.
27984 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27985 (__SNSECONDS_T_TYPE): Likewise.
27987 2012-04-10 Andreas Jaeger <aj@suse.de>
27990 * manual/time.texi (Processor Time): Return type of times is
27991 elapsed real time since an arbitrary point in the past.
27992 (CPU Time): Move CLK_TCK from here...
27993 (Processor Time): ...to here. Correct description.
27994 * manual/conf.texi (Constants for Sysconf): Correct description of
27997 2012-04-10 David S. Miller <davem@davemloft.net>
28000 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
28001 where the is a gap between DT_REL(A) and DT_JMPREL.
28003 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28005 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
28006 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28007 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28009 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28011 * elf/dl-support.c (_dl_inhibit_cache): New variable.
28012 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
28013 (dl_main): Handle --inhibit-cache.
28014 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
28016 * elf/dl-load.c (_dl_map_object): Use it.
28017 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
28019 2012-04-09 Joseph Myers <joseph@codesourcery.com>
28022 * sysdeps/i386/fpu/e_powl.S (p78): New object.
28023 (__ieee754_powl): Saturate large exponents rather than testing for
28024 overflow of y*log2(x).
28025 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28026 * math/libm-test.inc (pow_test): Do not permit spurious overflow
28030 * math/s_ctan.c: Include <float.h>.
28031 (__ctan): Avoid internal overflow or cancellation in calculating
28033 * math/s_ctanf.c: Likewise.
28034 * math/s_ctanl.c: Likewise.
28035 * math/s_ctanh.c: Likewise.
28036 * math/s_ctanhf.c: Likewise.
28037 * math/s_ctanhl.c: Likewise.
28038 * math/libm-test.inc (ctan_test): Add more tests.
28039 (ctanh_test): Likewise.
28040 * sysdeps/i386/fpu/libm-test-ulps: Update.
28041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28043 2012-04-09 Andreas Jaeger <aj@suse.de>
28046 * manual/filesys.texi (Directory Entries): Mention that d_namlen
28047 is an optional BSD extension.
28050 * manual/stdio.texi (Opening Streams): Document additional fopen
28053 2012-04-09 Roland McGrath <roland@hack.frob.com>
28055 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28056 %eax without telling the compiler.
28058 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
28061 * manual/install.texi: Use sourceware.org.
28063 2012-04-09 Joseph Myers <joseph@codesourcery.com>
28066 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28067 (__ieee754_pow): Generate overflow and underflow using huge*huge
28068 and tiny*tiny rather than just returning constant infinity or zero
28069 for large exponents.
28070 * math/libm-test.inc (pow_test): Require overflow exceptions for
28071 applicable cases of large exponents.
28074 * sysdeps/i386/fpu/e_pow.S (p10): New object.
28075 (__ieee754_pow): Use iterative multiplication algorithm only for
28076 integer exponents with absolute value below 1024. Check for odd
28077 integer exponents when using algorithm for real exponents.
28078 * math/libm-test.inc (pow_test): Add more tests.
28079 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28081 2012-04-08 Joseph Myers <joseph@codesourcery.com>
28084 * math/libm-test.inc (exp_test): Do not allow overflow exception
28087 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
28090 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
28091 instead of __kernel_standard_f.
28093 2012-04-08 Mike Frysinger <vapier@gentoo.org>
28095 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
28096 * sysdeps/x86_64/memset_chk.S: Likewise.
28098 2012-04-08 Andreas Jaeger <aj@suse.de>
28101 * manual/startup.texi (Environment Access): Describe return value
28102 for putenv and setenv.
28105 * manual/filesys.texi (Directory Entries): Add description for
28109 * manual/filesys.texi (Directory Entries): Clarify that it's file
28110 system not operating system in the description of DT_UNKNOWN.
28113 * manual/syslog.texi (closelog): Fix reference, it's openlog.
28115 2012-04-08 Stephen Compall <s11@member.fsf.org>
28118 * manual/llio.texi (Opening and Closing Files): Add cross
28119 reference to explain mode argument.
28121 2012-04-07 Mike Frysinger <vapier@gentoo.org>
28123 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
28124 * sysdeps/x86_64/memset_chk.S: Likewise.
28126 2012-04-07 David S. Miller <davem@davemloft.net>
28128 * elf/elf.h (R_SPARC_WDISP10): Define.
28129 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
28131 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
28132 R_SPARC_SIZE64 and R_SPARC_H34.
28134 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
28136 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
28137 conditions and remove no longer applicable assertion.
28139 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28141 * bits/byteswap.h: Include <features.h>.
28142 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28143 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28145 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28147 * bits/byteswap.h (__bswap_16): Removed.
28148 Include <bits/byteswap-16.h> to get __bswap_16.
28149 * sysdeps/i386/bits/byteswap.h: Likewise.
28150 * sysdeps/s390/bits/byteswap.h: Likewise.
28151 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28152 * bits/byteswap-16.h: New file.
28153 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28154 * sysdeps/s390/bits/byteswap-16.h: Likewise.
28155 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
28156 * string/Makefile (headers): Add bits/byteswap-16.h.
28158 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28161 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
28163 * nss/Makefile (tests-static, tests): Add tst-nss-static.
28164 * nss/tst-nss-static.c: New.
28166 2012-04-06 Robert Millan <rmh@gnu.org>
28169 * manual/llio.texi (File Position Primitive): lseek
28170 refers to WHENCE when it really means OFFSET.
28172 2012-04-06 Andreas Jaeger <aj@suse.de>
28174 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
28175 strncmp declarations.
28177 * abilist/libc.abilist: Add __poll and __ppoll.
28179 2012-04-05 David S. Miller <davem@davemloft.net>
28181 * scripts/check-local-headers.sh: Accept a host triplet in the
28182 path matched by the exclude regexp.
28184 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
28186 * sysdeps/powerpc/powerpc32/dl-machine.h
28187 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
28188 * sysdeps/s390/s390-32/dl-machine.h
28189 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28190 * sysdeps/sparc/sparc32/dl-machine.h
28191 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28192 * sysdeps/sparc/sparc64/dl-machine.h
28193 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28195 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
28197 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
28198 undefined symbol errors.
28200 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
28203 2012-04-05 Michael Matz <matz@suse.de>
28206 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
28208 2012-04-05 Andreas Jaeger <aj@suse.de>
28211 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
28214 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28216 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
28217 which ROUND is no valid rounding mode.
28219 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28221 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
28223 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
28225 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28227 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
28228 an exception using FPU order intentionally.
28230 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28232 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
28233 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
28234 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
28235 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
28237 2012-04-05 Simon Josefsson <simon@josefsson.org>
28240 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
28241 EINVAL when BUFLEN is too smal.
28243 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
28246 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
28247 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
28249 2012-04-03 Andreas Jaeger <aj@suse.de>
28252 * manual/setjmp.texi (System V contexts): Fix sentence.
28255 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
28256 New macro for this case.
28257 [!__GNUC__] (__bswap_64): New inline function for this case.
28258 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28259 * bits/byteswap.h: Likewise.
28260 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
28261 ull, guard with __GLIBC_HAVE_LONG_LONG.
28263 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
28264 __GLIBC_HAVE_LONG_LONG.
28266 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
28267 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
28269 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28272 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
28273 inptr and inend, rather than using last_ch.
28275 2012-04-02 David S. Miller <davem@davemloft.net>
28277 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
28278 * stdio-common/printf-parse.h (read_int): Change return type to
28279 'int', return -1 on INT_MAX overflow.
28280 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
28281 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
28282 overflows INT_MAX. Check for overflow of in-format-string precision
28283 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
28284 SIZE_MAX not INT_MAX for integer overflow test.
28285 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
28286 skip the construct in the format string but do not record anything.
28287 * stdio-common/bug22.c: Adjust to test both width/prevision
28288 INT_MAX overflow as well as total length INT_MAX overflow. Check
28289 explicitly for proper errno values.
28291 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
28293 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
28295 * string/test-strcmp.c [! WIDE]: Likewise.
28296 * time/tst-mktime2.c: Likewise for INT_MAX.
28297 * string/test-string.h: #include <sys/param.h> for MIN.
28299 * csu/init-first.c (__libc_init_first): Call __ctype_init.
28300 * sysdeps/i386/init-first.c (init): Likewise.
28301 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
28302 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
28303 * sysdeps/sh/init-first.c (init): Likewise.
28305 2012-04-01 Ulrich Drepper <drepper@gmail.com>
28307 * po/ru.po: Update from translation team.
28308 * po/vi.po: Likewise.
28310 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28312 * resolv/nss_dns/dns-host.c: Merge copyright years.
28314 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28316 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28317 Optimize memcpy with prefetch if
28318 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
28319 src, dst pointers have unequal 16 byte alignments.
28321 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28324 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
28325 from a CNAME entry and return the minimum ttl for the query.
28326 (gaih_getanswer_slice): Likewise.
28328 2012-03-30 Jeff Law <law@redhat.com>
28330 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
28332 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
28333 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
28335 * resolv/nss_dns/dns-host.c: Update copyright year.
28337 2012-03-30 Ulrich Drepper <drepper@gmail.com>
28339 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
28340 requests to save a system call. Fix check that all bytes are sent.
28342 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
28343 comments for sendmmsg.
28345 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28348 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
28349 with only 1 character between 0x0041 and 0x01b0.
28350 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
28351 * wcsmbs/tst-mbsnrtowcs.c: New file.
28353 2012-03-29 David S. Miller <davem@davemloft.net>
28355 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
28356 small copies by hand.
28358 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28361 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
28362 _nss_compat_initgroups_dyn): Fall back to malloc/free
28363 for large group memberships.
28365 2012-03-28 David S. Miller <davem@davemloft.net>
28367 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
28368 that branches into memcpy.
28369 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28370 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28371 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28372 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28373 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
28375 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
28376 implementation too.
28377 * sysdeps/sparc/mempcpy.S: New file.
28379 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
28380 the IFUNC routine in the libc case.
28381 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28383 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
28384 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
28385 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
28386 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
28387 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
28388 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
28389 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
28390 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
28392 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
28393 loop to 256 bytes instead of 64 bytes and fix test signedness.
28395 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
28396 * sysdeps/sparc/sparc32/Makefile: rather than here...
28397 * sysdeps/sparc/sparc64/Makefile: and here.
28399 2012-03-28 Ulrich Drepper <drepper@gmail.com>
28401 * malloc/mallocbug.c: Avoid warnings about unused variables.
28403 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28406 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
28407 in the right place. Discard and retry query if response is
28408 larger than input buffer size.
28410 2012-03-28 Joseph Myers <joseph@codesourcery.com>
28415 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
28416 x for large integer exponent.
28417 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28418 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
28419 sign of result as needed afterwards.
28420 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28421 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
28422 result for underflowing pow the same as for overflow.
28423 (__kernel_standard_l): Handle powl overflow and underflow here
28424 rather than calling __kernel_standard.
28425 * math/libm-test.inc (pow_test): Add more tests.
28440 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
28441 * sysdeps/ieee754/k_standard.c: Include <float.h>.
28442 (__kernel_standard_l): New function.
28443 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
28445 * math/w_acosl.c (__acosl): Likewise.
28446 * math/w_asinl.c (__asinl): Likewise.
28447 * math/w_atan2l.c (__atan2l): Likewise.
28448 * math/w_atanhl.c (__atanhl): Likewise.
28449 * math/w_coshl.c (__coshl): Likewise.
28450 * math/w_exp10l.c (__exp10l): Likewise.
28451 * math/w_exp2l.c (__exp2l): Likewise.
28452 * math/w_fmodl.c (__fmodl): Likewise.
28453 * math/w_hypotl.c (__hypotl): Likewise.
28454 * math/w_j0l.c (__j0l, __y0l): Likewise.
28455 * math/w_j1l.c (__j1l, __y1l): Likewise.
28456 * math/w_jnl.c (__jnl, __ynl): Likewise.
28457 * math/w_lgammal.c (__lgammal): Likewise.
28458 * math/w_log10l.c (__log10l): Likewise.
28459 * math/w_log2l.c (__log2l): Likewise.
28460 * math/w_logl.c (__logl): Likewise.
28461 * math/w_powl.c (__powl): Likewise.
28462 * math/w_remainderl.c (__remainderl): Likewise.
28463 * math/w_scalbl.c (sysv_scalbl): Likewise.
28464 * math/w_sinhl.c (__sinhl): Likewise.
28465 * math/w_sqrtl.c (__sqrtl): Likewise.
28466 * math/w_tgammal.c (__tgammal): Likewise.
28467 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
28468 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
28469 * math/libm-test.inc (acos_test): Add more tests.
28470 (acosh_test): Likewise.
28471 (asin_test): Likewise.
28472 (atanh_test): Likewise.
28473 (exp_test): Likewise.
28474 (exp10_test): Likewise.
28475 (exp2_test): Likewise.
28476 (expm1_test): Likewise.
28477 (lgamma_test): Likewise.
28478 (log_test): Likewise.
28479 (log10_test): Likewise.
28480 (log1p_test): Likewise.
28481 (log2_test): Likewise.
28482 (pow_test): Do not allow some spurious overflow exceptions.
28483 (sqrt_test): Add more tests.
28484 (tgamma_test): Likewise.
28485 (y0_test): Likewise.
28486 (y1_test): Likewise.
28487 (yn_test): Likewise.
28489 2012-03-27 Anton Blanchard <anton@samba.org>
28491 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
28493 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28494 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28495 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28497 2012-03-27 David S. Miller <davem@davemloft.net>
28499 * conform/Makefile: Run run-conformtest.sh using $(BASH).
28501 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
28502 have-as-vis3 check.
28504 2012-03-27 Andreas Jaeger <aj@suse.de>
28506 * sysdeps/x86_64/elf/configure.in: Moved to ...
28507 * sysdeps/x86_64/configure.in: ... here.
28508 * sysdeps/x86_64/elf/start.S: Moved to ...
28509 * sysdeps/x86_64/start.S: ... here.
28510 * sysdeps/x86_64/elf/configure: Delete.
28512 * sysdeps/x86_64/configure.in: Merge contents from
28513 sysdeps/i386/configure.in (without i686 check).
28515 * sysdeps/i386/elf/Versions: Merge into ...
28516 * sysdeps/i386/Versions: ... this.
28517 * sysdeps/i386/elf/Versions: Delete file.
28518 * sysdeps/i386/elf/start.S: Moved to ...
28519 * sysdeps/i386/start.S: ...here.
28520 * sysdeps/i386/elf/configure.in: Merge into...
28521 * sysdeps/i386/configure.in: ...here.
28522 * sysdeps/i386/elf/configure.in: Delete file.
28523 * sysdeps/i386/elf/configure: Delete file.
28525 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
28526 * debug/backtracesyms.c: ... here.
28527 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
28528 * debug/backtracesymsfd.c: ... here.
28529 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
28530 * sysdeps/generic/ifunc-sel.h: ... here.
28532 * sysdeps/unix/i386/start.c: Delete file.
28533 * sysdeps/unix/sparc/start.c: Delete file.
28534 * sysdeps/unix/start.c: Delete file.
28536 * sysdeps/sh/elf/configure.in: Moved to ...
28537 * sysdeps/sh/configure.in: ... here.
28538 * sysdeps/sh/elf/start.S: Moved to ...
28539 * sysdeps/sh/start.S: ... here.
28540 * sysdeps/sh/elf/configure: Delete file.
28542 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
28543 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
28544 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
28545 * sysdeps/powerpc/powerpc64/entry.h: ... here.
28546 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
28547 * sysdeps/powerpc/powerpc64/start.S: here.
28548 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
28549 * sysdeps/powerpc/powerpc64/Makefile: ... this.
28550 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
28551 * sysdeps/powerpc/powerpc64/configure.in: ... this.
28552 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
28554 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
28555 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
28556 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
28557 * sysdeps/powerpc/powerpc32/start.S: ... here.
28558 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
28559 * sysdeps/powerpc/powerpc32/configure.in: ... this.
28560 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
28562 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
28563 * sysdeps/powerpc/ifunc-sel.h: ... here.
28564 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
28565 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
28567 * sysdeps/sparc/elf/configure.in: Moved to ...
28568 * sysdeps/sparc/configure.in: ... here.
28569 * sysdeps/sparc/elf/configure: Delete file.
28570 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
28571 * sysdeps/sparc/sparc32/start.S: ... here.
28572 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
28573 * sysdeps/sparc/sparc64/start.S: ... here.
28574 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
28575 * sysdeps/sparc/sparc32/Makefile: ... this.
28576 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
28577 * sysdeps/sparc/sparc64/Makefile: ... this.
28579 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
28580 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
28581 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
28582 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
28583 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
28584 * sysdeps/s390/s390-32/setjmp.S: ... here.
28585 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
28586 * sysdeps/s390/s390-32/configure.in: ... here.
28587 * sysdeps/s390/s390-32/elf/configure: Delete file.
28588 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
28589 * sysdeps/s390/s390-32/start.S: ... here.
28591 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
28592 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
28593 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
28594 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
28595 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
28596 * sysdeps/s390/s390-64/setjmp.S: ... here.
28597 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
28598 * sysdeps/s390/s390-64/configure.in: ... here
28599 * sysdeps/s390/s390-64/elf/configure: Delete file.
28600 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
28601 * sysdeps/s390/s390-64/start.S: ... here.
28602 * sysdeps/s390/s390-64/elf/configure: Delete.
28604 * configure.in: Remove support for elf directories in sysdeps.
28606 * configure: Regenerated.
28607 * sysdeps/i386/configure: Regenerated.
28608 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28609 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28610 * sysdeps/s390/s390-32/configure: Regenerated.
28611 * sysdeps/s390/s390-64/configure: Regenerated.
28612 * sysdeps/sh/configure: Regenerated.
28613 * sysdeps/sparc/configure: Regenerated.
28614 * sysdeps/x86_64/configure: Regenerated.
28616 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
28618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28620 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
28621 denormal result into account.
28623 2012-03-25 Roland McGrath <roland@hack.frob.com>
28625 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
28626 Reported by Allan McRae <allan@archlinux.org>.
28628 2012-03-23 Jeff Law <law@redhat.com>
28630 * nss/getnssent.c (__nss_getent): Fix typo.
28632 2012-03-23 David S. Miller <davem@davemloft.net>
28634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28636 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
28638 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
28639 to pad to uint64_t for each field.
28640 (dl_tls_index): Replace unsigned long with uint64_t.
28642 2012-03-23 Daniel Jacobowitz <dmj@google.com>
28643 Paul Pluzhnikov <ppluzhnikov@google.com>
28646 * grp/Makefile (otherlibs): Don't set it.
28647 * inet/Makefile (otherlibs): Likewise.
28648 * login/Makefile (otherlibs): Likewise.
28649 * nscd/Makefile (otherlibs): Likewise.
28650 * posix/Makefile (otherlibs): Likewise.
28651 * pwd/Makefile (otherlibs): Likewise.
28652 * rt/Makefile (otherlibs): Likewise.
28653 * sunrpc/Makefile (otherlibs): Likewise.
28654 * nss/Makefile (otherlibs): Likewise.
28655 Add libnss_files to routines and static-only-routines.
28656 ($(objpfx)getent): Remove rule.
28657 * resolv/Makefile: Add libnss_dns and libresolv to routines and
28658 static-only-routines.
28660 2012-03-22 Joseph Myers <joseph@codesourcery.com>
28663 * math/s_cexp.c: Include <float.h>.
28664 (__cexp): Handle exp result overflowing not necessarily
28665 overflowing both real and imaginary parts of result.
28666 * math/s_cexpf.c: Likewise.
28667 * math/s_cexpl.c: Likewise.
28668 * math/libm-test.inc (cexp_test): Add more tests.
28669 * sysdeps/i386/fpu/libm-test-ulps: Update.
28670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28672 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28674 * include/link.h (ELFW): New macro.
28675 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
28676 Replace ELF64_R_TYPE with ELFW(R_TYPE).
28678 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28680 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
28683 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28685 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
28687 (struct La_x32_retval): Likewise.
28689 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28691 * sysdeps/x86_64/preconfigure.in: New file.
28692 * sysdeps/x86_64/preconfigure: New generated file.
28694 2012-03-22 Joseph Myers <joseph@codesourcery.com>
28697 * math/e_exp2l.c: Include <float.h>.
28698 (__ieee754_exp2l): Handle overflow and underflow cases
28699 separately. Only pass fractional part of argument to
28701 * math/libm-test.inc (exp2_test): Add more tests.
28703 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
28704 negating x to take absolute value.
28705 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28707 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28708 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28710 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
28711 computing low part if x was negated.
28712 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28714 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28716 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
28717 la_x32_gnu_pltexit.
28718 (pltexit): Cast int_retval to ptrdiff_t.
28719 * elf/tst-auditmod3b.c: Likewise.
28720 * elf/tst-auditmod4b.c: Likewise.
28721 * elf/tst-auditmod5b.c: Likewise.
28722 * elf/tst-auditmod6b.c: Likewise.
28723 * elf/tst-auditmod6c.c: Likewise.
28724 * elf/tst-auditmod7b.c: Likewise.
28726 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
28727 and x32_gnu_pltexit.
28729 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
28730 __ELF_NATIVE_CLASS.
28731 (La_x32_regs): New macro.
28732 (La_x32_retval): Likewise.
28733 (la_x32_gnu_pltenter): New function prototype.
28734 (la_x32_gnu_pltexit): Likewise.
28736 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
28738 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
28741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28743 * configure.in (libc_cv_cc_nofma): Check for option to disable
28744 generation of FMA instructions.
28745 * configure: Regenerate.
28746 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
28747 * sysdeps/ieee754/dbl-64/Makefile: New file.
28748 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28749 Remove brandred-fma4.
28750 (CFLAGS-brandred-fma4.c): Remove.
28751 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
28752 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
28754 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28757 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28759 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28760 LLONG_MAX != LONG_MAX.
28761 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28762 (_fitoa_word): Likewise.
28763 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28764 LLONG_MAX != LONG_MAX.
28765 * stdio-common/_itowa.h: Include <_itoa.h>.
28766 (_itowa_word): Use _ITOA_WORD_TYPE on value.
28767 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
28768 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
28769 only if not defined.
28770 (_ITOA_WORD_TYPE): Likewise.
28771 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28772 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28774 2012-03-21 David S. Miller <davem@davemloft.net>
28776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28778 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28780 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28781 of x86_64 when setting libc_cv_slibdir, libdir and
28783 * sysdeps/unix/sysv/linux/configure: Regenerated.
28785 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28787 * manual/lang.texi (Old Varargs): Remove section.
28788 (How Variadic): Update menu.
28789 (va_start): Do not mention varargs.h.
28791 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28792 Joseph Myers <joseph@codesourcery.com>
28794 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28796 * configure: Regenerated.
28798 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28800 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28801 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28804 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28807 * Makefile (files-for-dist): Remove NOTES.
28808 (NOTES): Remove rule.
28809 * README: Don't refer to NOTES.
28810 * manual/creature.texi: Don't include macros.texi.
28811 * manual/intro.texi (creature.texi): Remove comment referring to
28814 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28815 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28816 * configure: Regenerated.
28817 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28818 LIBC_TRY_CC_OPTION.
28819 (libc_cv_as_i686): Likewise.
28820 (libc_cv_cc_avx): Likewise.
28821 (libc_cv_cc_sse2avx): Likewise.
28822 (libc_cv_cc_fma4): Likewise.
28823 (libc_cv_cc_novzeroupper): Likewise.
28824 * sysdeps/i386/configure: Regenerated.
28827 * sysdeps/i386/fpu/s_cexp.S: Remove.
28828 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28829 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28830 * math/libm-test.inc (cexp_test): Add more tests.
28831 * sysdeps/i386/fpu/libm-test-ulps: Update.
28832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28834 2012-03-21 Allan McRae <allan@archlinux.org>
28836 * timezone/Makefile: Do not install iso3166.tab and zone.tab
28838 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28841 * math/w_exp2.c: Do not include <float.h>.
28842 (o_threshold, u_threshold): Remove.
28843 (__exp2): Calculate result before checking finiteness and calling
28845 * math/w_exp2f.c: Likewise.
28846 * math/w_exp2l.c: Likewise.
28847 * math/libm-test.inc (exp2_test): Require overflow exception for
28851 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28852 range of signed 64-bit integers before using fistpll. Remove
28853 checks for whether integers fit in mantissa bits.
28854 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28855 the range of signed 32-bit integers before using fistpl. Remove
28856 checks for whether integers fit in mantissa bits.
28857 * sysdeps/i386/fpu/e_powl.S (p64): New object.
28858 (__ieee754_powl): Test for y outside the range of signed 64-bit
28859 integers before using fistpll. Reduce 64-bit values to 63-bit
28861 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28862 divide-by-zero is raised for zero to large negative powers.
28863 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28864 (__ieee754_powl): Test for y outside the range of signed 64-bit
28865 integers before using fistpll. Reduce 64-bit values to 63-bit
28867 * math/libm-test.inc (pow_test): Add more tests.
28869 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28871 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28872 <stdio-common/_itoa.h>.
28873 * debug/segfault.c: Likewise.
28874 * elf/dl-cache.c: Likewise.
28875 * elf/dl-minimal.c: Likewise.
28876 * elf/dl-misc.c: Likewise.
28877 * elf/dl-sysdep.c: Likewise.
28878 * elf/dl-version.c: Likewise.
28879 * elf/rtld.c: Likewise.
28880 * hurd/hurdsock.c: Likewise.
28881 * hurd/lookup-retry.c: Likewise.
28882 * malloc/malloc.c: Likewise.
28883 * malloc/mtrace.c: Likewise.
28884 * nscd/nscd_getgr_r.c: Likewise.
28885 * nscd/nscd_getpw_r.c: Likewise.
28886 * nscd/nscd_getserv_r.c: Likewise.
28887 * posix/getopt_init.c: Likewise.
28888 * posix/wordexp.c: Likewise.
28889 * stdio-common/_itoa.c: Likewise.
28890 * stdio-common/printf_fphex.c: Likewise.
28891 * stdio-common/vfprintf.c: Likewise.
28892 * string/_strerror.c: Likewise.
28893 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28894 * sysdeps/i386/i686/hp-timing.h: Likewise.
28895 * sysdeps/mach/_strerror.c: Likewise.
28896 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28897 * sysdeps/mach/hurd/sethostid.c: Likewise.
28898 * sysdeps/mach/hurd/xmknodat.c: Likewise.
28899 * sysdeps/mach/xpg-strerror.c: Likewise.
28900 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28901 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28902 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28903 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28904 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28905 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28906 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28907 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28908 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28909 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28910 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28911 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28912 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28913 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28914 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28915 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28916 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28917 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28918 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28919 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28920 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28922 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28924 * stdio-common/_itoa.h: Moved to ...
28925 * sysdeps/generic/_itoa.h: Here.
28927 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28929 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28930 instead of "_itoa.h" and "_itowa.h".
28931 * stdio-common/vfprintf.: Likewise.
28933 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28935 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28937 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28938 (__signbit): Likwise.
28939 (llrintf): Likwise.
28942 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28944 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28947 2012-03-20 Joseph Myers <joseph@codesourcery.com>
28949 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28950 OVERFLOW_EXCEPTION_OK.
28951 * math/libm-test.inc ("Philosophy"): Update comment about
28953 (OVERFLOW_EXCEPTION): Define.
28954 (OVERFLOW_EXCEPTION_OK): Likewise.
28955 (INVALID_EXCEPTION_OK): Renumber.
28956 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28957 (IGNORE_ZERO_INF_SIGN): Likewise.
28958 (test_exceptions): Handle FE_OVERFLOW.
28959 (exp10_test): Expect overflow exceptions.
28960 (exp2_test): Likewise.
28961 (expm1_test): Likewise.
28962 (nextafter_test): Likewise.
28963 (pow_test): Likewise.
28964 (scalbn_test): Likewise.
28965 (scalbln_test): Likewise.
28967 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28969 * sysdeps/x86_64/bits/atomic.h
28970 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28972 (atomic_exchange_acq): Likewise.
28973 (__arch_exchange_and_add_body): Likewise.
28974 (__arch_add_body): Likewise.
28975 (atomic_add_negative): Likewise.
28976 (atomic_add_zero): Likewise.
28978 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28980 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28981 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28983 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28985 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28986 Check __x86_64__ instead of __WORDSIZE.
28988 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28990 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28992 2012-03-19 David S. Miller <davem@davemloft.net>
28994 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28996 * sysdeps/sparc/fpu/fenv_private.h: New file.
28997 * sysdeps/sparc/fpu/math_private.h: Use it.
28998 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
29000 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
29001 (libc_feholdexcept_setroundl): Remove.
29002 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
29004 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
29005 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
29007 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29009 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
29010 int64_t instead of long int.
29011 (INSERT_WORDS64): Likwise.
29013 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29015 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
29016 _Unwind_GetCFA return to _Unwind_Ptr first.
29018 2012-03-19 Joseph Myers <joseph@codesourcery.com>
29021 * math/s_clog.c: Include <float.h>.
29022 (__clog): Scale large or subnormal inputs.
29023 * math/s_clogf.c: Likewise.
29024 * math/s_clogl.c: Likewise.
29025 * math/s_clog10.c: Include <float.h>.
29026 (M_LOG10_2): Define.
29027 (__clog10): Scale large or subnormal inputs.
29028 * math/s_clog10f.c: Likewise.
29029 * math/s_clog10l.c: Likewise.
29030 * math/libm-test.inc (clog_test): Add more tests.
29031 (clog10_test): Likewise.
29032 * sysdeps/i386/fpu/libm-test-ulps: Update.
29033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29036 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
29038 * math/libm-test.inc (atan2_test): Add another test.
29040 * Makerules (common-objdir-compile): Remove.
29041 * sysdeps/unix/Makefile (config-generated): Do not add
29042 $(unix-generated) to variable.
29043 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
29044 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
29046 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29048 [generic bits/local_lim.h] (before-compile): Do not append to
29050 [generic bits/local_lim.h] (common-generated): Likewise.
29051 [generic sys/param.h] (before-compile): Do not append to variable.
29052 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29053 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29054 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29055 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29057 [generic sys/param.h] (sys/param.h-includes): Remove variable.
29058 [generic sys/param.h] (sys/param.h-includes): Remove rule.
29059 [generic sys/param.h] ($(addprefix
29060 $(common-objpfx),$(sys/param.h-includes))): Likewise.
29061 [generic sys/param.h] (common-generated): Do not append to
29063 [generic sys/param.h] (sysdep_headers): Likewise.
29064 [generic bits/errno.h] (before-compile): Do not append to
29066 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29068 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29069 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29070 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29071 [generic bits/errno.h] (common-generated): Do not append to
29073 [generic bits/ioctls.h] (before-compile): Do not append to
29075 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29077 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29078 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
29079 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
29081 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
29082 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
29083 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
29084 [generic bits/ioctls.h] (common-generated): Do not append to
29086 [generic sys/syscall.h] (syscall.h): Remove variable.
29087 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29089 [generic sys/syscall.h] (before-compile): Do not append to
29091 [generic sys/syscall.h] (common-generated): Likewise.
29092 * sysdeps/unix/errnos-tmpl.c: Remove file.
29093 * sysdeps/unix/errnos.awk: Likewise.
29094 * sysdeps/unix/ioctls-tmpl.c: Likewise.
29095 * sysdeps/unix/ioctls.awk: Likewise.
29096 * sysdeps/unix/mk-local_lim.c: Likewise.
29097 * sysdeps/unix/snarf-ioctls: Likewise.
29099 2012-03-19 Richard Henderson <rth@twiddle.net>
29101 * sysdeps/i386/fpu/fenv_private.h: New file.
29102 * sysdeps/i386/fpu/math_private.h: Use it.
29103 (math_opt_barrier, math_force_eval): Remove.
29104 (libc_feholdexcept_setround_53bit): Remove.
29105 (libc_feupdateenv_53bit): Remove.
29106 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29107 (math_opt_barrier, math_force_eval): Remove.
29108 (libc_feholdexcept): Remove.
29109 (libc_feholdexcept_setround): Remove.
29110 (libc_fetestexcept, libc_fesetenv): Remove.
29111 (libc_feupdateenv_test): Remove.
29112 (libc_feupdateenv, libc_feholdsetround): Remove.
29113 (libc_feresetround): Remove.
29115 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
29116 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29118 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
29119 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
29120 (libc_feupdateenv_testl): New.
29121 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
29122 (libc_feupdateenv_testf): New.
29123 (libc_feupdateenv): Use libc_feupdateenv_test.
29124 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
29125 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
29127 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
29128 (libc_feholdsetroundf, libc_feholdsetroundl): New.
29129 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
29130 (libc_feresetround_noex): New.
29131 (libc_feresetround_noexf): New.
29132 (libc_feresetround_noexl): New.
29133 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
29134 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
29135 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
29136 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
29138 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29139 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
29141 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
29142 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29143 SET_RESTORE_ROUND_NOEX.
29144 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
29145 SET_RESTORE_ROUND_NOEXF.
29146 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
29147 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
29148 (libc_feholdsetroundf): New.
29149 (libc_feresetround, libc_feresetroundf): New.
29151 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
29152 (libc_feholdexcept_setround_53bit): Convert from macro to function.
29153 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
29155 * sysdeps/generic/math_private.h: Include <fenv.h>.
29156 (default_libc_feholdexcept): New.
29157 (default_libc_feholdexcept_setround): New.
29158 (default_libc_fesetenv, default_libc_feupdateenv): New.
29159 (libc_feholdexcept): Only define if undefined.
29160 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
29161 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
29162 (libc_feholdexcept_setroundl): Likewise.
29163 (libc_feholdexcept_setround_53bit): Likewise.
29164 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
29165 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
29166 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
29167 (libc_feupdateenv_53bit): Likewise.
29168 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
29169 (libc_feholdexcept): Convert from macro to inline function.
29170 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
29171 (libc_fesetenv, libc_feupdateenv): Likewise.
29173 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
29174 not previously defined.
29175 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
29176 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
29177 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
29178 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
29179 * sysdeps/ieee754/flt-32/math_private.h: New file.
29180 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
29181 math_private.h below SET_FLOAT_WORD.
29182 (__isnan, __isinf_ns, __finite): Remove.
29183 (__isnanf, __isinf_nsf, __finitef): Remove.
29185 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
29187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29189 2012-03-17 David S. Miller <davem@davemloft.net>
29192 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
29195 2012-03-16 David S. Miller <davem@davemloft.net>
29197 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
29201 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
29203 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
29204 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
29205 sysdep_routines when subdir is sysvipc.
29206 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
29207 __getshmlba helper.
29209 * sysdeps/sparc/fpu/libm-test/ulps: Update.
29211 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29213 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
29216 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29218 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
29219 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
29220 (__lround): Renamed to ...
29221 (__llround): This. Replace long int with long long int.
29222 Define lround functions as aliases of llround functions.
29223 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
29225 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29227 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
29228 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
29229 adresses to uintptr_t. Replace "long int" and "unsigned long
29230 int" with "greg_t" on va_arg.
29232 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29234 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
29235 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
29237 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
29238 Move e_machine check before EI_CLASS check. Handle x32
29239 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
29240 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
29241 SKIP_EM_IA_64 and include
29242 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
29244 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
29245 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
29246 (add_system_dir): New macro.
29248 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
29249 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
29251 2012-03-16 Joseph Myers <joseph@codesourcery.com>
29262 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
29264 * math/w_j0f.c (j0f): Likewise.
29266 * math/w_j0l.c (__j0l): Likewise.
29268 * math/w_j1.c (j1): Likewise.
29270 * math/w_j1f.c (j1f): Likewise.
29272 * math/w_j1l.c (__j1l): Likewise.
29274 * math/w_jn.c (jn): Likewise.
29276 * math/w_jnf.c (jnf): Likewise.
29278 * math/w_jnl.c (__jnl): Likewise.
29280 * math/libm-test.inc (j0_test): Add more tests.
29281 (j1_test): Likewise.
29282 (jn_test): Likewise. Add trailing semicolon to existing test.
29283 (y0_test): Likewise.
29284 (y1_test): Likewise.
29285 * sysdeps/i386/fpu/libm-test-ulps: Update.
29286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29290 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29291 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
29292 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
29293 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
29294 (__tanl): Set errno for infinite argument.
29295 * sysdeps/i386/fpu/mptan.c: Remove.
29296 * sysdeps/i386/fpu/s_tan.S: Likewise.
29297 * sysdeps/i386/fpu/s_tanl.S: Likewise.
29298 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
29299 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
29300 * math/libm-test.inc (tan_test): Add more tests and enable more
29301 tests for double and long double.
29302 * sysdeps/i386/fpu/libm-test-ulps: Update.
29303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29305 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
29307 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
29308 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
29310 2012-03-16 Roland McGrath <roland@hack.frob.com>
29312 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
29313 * configure.in: Use it for both main tree and add-ons.
29314 * configure: Regenerated.
29316 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29318 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
29320 2012-03-16 Joseph Myers <joseph@codesourcery.com>
29322 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
29326 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
29327 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
29328 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
29329 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
29330 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
29332 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
29333 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
29334 != 0 for prec == 2.
29335 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
29336 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
29337 * sysdeps/i386/fpu/s_cosl.S: Likewise.
29338 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
29339 * sysdeps/i386/fpu/s_sinl.S: Likewise.
29340 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
29341 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
29342 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
29343 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
29344 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
29345 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
29346 * math/libm-test.inc (cos_test): Add more tests and enable more
29347 tests for long double.
29348 (sin_test): Likewise.
29349 (sincos_test): Likewise.
29350 * sysdeps/i386/fpu/libm-test-ulps: Update.
29351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29353 2012-03-16 David S. Miller <davem@davemloft.net>
29355 * sysdeps/sparc/fpu/math_private.h: New file.
29357 2012-03-15 David S. Miller <davem@davemloft.net>
29359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
29361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
29362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
29364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
29365 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
29366 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
29367 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
29368 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
29369 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
29371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29373 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
29374 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
29376 * sysdeps/sparc/sparc-ifunc.h: New file.
29377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
29379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
29384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
29385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
29386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
29391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
29393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
29395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
29397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
29399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
29400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
29401 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29402 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29403 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
29404 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
29405 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29406 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29407 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
29408 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
29409 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
29410 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
29411 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
29412 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
29413 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
29414 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
29415 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
29416 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
29417 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
29418 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
29419 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
29420 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
29422 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
29424 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
29426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29428 2012-03-15 Andreas Jaeger <aj@suse.de>
29431 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
29432 ieee754/flt-32 implementation for sin, cos and sincos.
29433 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
29434 * sysdeps/i386/fpu/s_cosf.S: Likewise.
29435 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
29436 * sysdeps/i386/fpu/s_sinf.S: Likewise.
29437 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
29438 ieee754/flt-32 implementation for tan.
29440 * math/libm-test.inc (cos_test): Enable some large input tests for
29442 (sin_test): Likewise.
29443 (sincos_test): Likewise.
29444 (tan_test): Add tests for large input.
29446 * sysdeps/i386/fpu/libm-test-ulps: Update.
29448 2012-03-15 Andreas Jaeger <aj@suse.de>
29451 * math/libm-test.inc (cos_test): Add more test cases.
29452 (sin_test): Likewise.
29453 (sincos_test): Likewise.
29455 2012-03-15 Andreas Jaeger <aj@suse.de>
29458 * math/libm-test.inc (cos_test): Add a test case for large input
29460 (sin_test): Likewise.
29461 (sincos_test): Likewise.
29463 2012-03-15 Andreas Jaeger <aj@suse.de>,
29464 Joseph Myers <joseph@codesourcery.com>
29467 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
29468 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
29469 * sysdeps/i386/fpu/branred.c: Likewise.
29470 * sysdeps/i386/fpu/dosincos.c: Likewise.
29471 * sysdeps/i386/fpu/mpa.c: Likewise.
29472 * sysdeps/i386/fpu/s_cos.S: Likewise.
29473 * sysdeps/i386/fpu/s_sin.S: Likewise.
29474 * sysdeps/i386/fpu/s_sincos.S: Likewise.
29475 * sysdeps/i386/fpu/sincos32.c: Likewise.
29477 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
29479 (libc_feupdateenv_53bit): Define.
29480 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
29482 (libc_feupdateenv_53bit): Define.
29484 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
29485 53 bit (without extend i386 double precision).
29487 * math/libm-test.inc (sincos_test): Add tests for large input.
29491 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29493 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
29495 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29497 2012-03-15 David S. Miller <davem@davemloft.net>
29499 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
29500 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
29501 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
29502 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
29503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
29504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
29505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
29506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
29507 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
29508 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
29509 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
29510 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
29511 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
29512 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
29513 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
29514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
29516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
29517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
29519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
29520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
29522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
29523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
29525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
29526 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
29527 fmin/fmax sysdep routines.
29528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29530 2012-03-14 David S. Miller <davem@davemloft.net>
29532 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
29533 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
29534 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
29535 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
29536 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
29537 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
29538 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
29539 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
29540 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
29541 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
29542 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
29543 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
29544 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
29545 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
29546 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
29547 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
29548 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
29549 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
29550 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
29551 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
29552 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
29553 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
29554 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
29555 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
29556 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
29557 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
29558 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
29559 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
29560 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
29562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
29564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
29565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
29567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
29568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
29570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
29571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
29573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
29574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
29576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
29577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
29579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
29581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
29583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
29585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
29587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
29589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
29591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
29592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
29594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
29595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
29597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
29598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
29600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
29601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
29604 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29609 * sysdeps/sparc/configure.in: New file.
29610 * sysdeps/sparc/configure: Generate.
29611 * configure.in (libc_cv_sparc_as_vis3): Substitute.
29612 * configure: Regenerate.
29613 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
29614 * config.make.in (have-as-vis3): New.
29615 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
29616 available use -Av9d instead of -Av9a.
29617 * sysdeps/sparc/sparc64/Makefile: Likewise.
29618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
29619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
29621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
29623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
29625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
29627 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
29628 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
29629 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
29630 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
29631 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
29633 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
29634 fzeros/fnegs to load 0x80000000 into a float register instead of
29636 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
29638 2012-03-14 Joseph Myers <joseph@codesourcery.com>
29640 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29642 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
29643 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
29644 ($(inst_includedir)/bits/syscall.h): Remove rule.
29645 ($(objpfx)bits/syscall.d): Include instead of
29646 $(objpfx)syscall-list.d.
29647 (generated): Change syscall-list.h and syscall-list.d to
29648 bits/syscall.h and bits/syscall.d.
29650 2012-03-14 Roland McGrath <roland@hack.frob.com>
29653 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
29655 2012-03-14 Joseph Myers <joseph@codesourcery.com>
29658 * math/s_csqrt.c: Include <float.h>.
29659 (__csqrt): Scale large or subnormal inputs.
29660 * math/s_csqrtf.c: Likewise.
29661 * math/s_csqrtl.c: Likewise.
29662 * math/libm-test.inc (csqrt_test): Add more tests.
29663 * sysdeps/i386/fpu/libm-test-ulps: Update.
29664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29667 * math/libm-test.inc (hypot_test): Add more tests.
29669 2012-03-13 David S. Miller <davem@davemloft.net>
29672 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
29673 double-precision for the calculation instead of scaling.
29675 2012-03-13 Joseph Myers <joseph@codesourcery.com>
29677 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
29678 manipulate bits before adding and subtracting TWO52[sx].
29679 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
29680 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29682 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
29684 2012-03-13 David S. Miller <davem@davemloft.net>
29686 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
29687 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
29688 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
29689 rtld-global-offsets.h
29690 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29692 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
29695 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
29697 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
29698 'err' in the ifdef scope in which it is actually used.
29700 * nss/nss_db/db-init.c: Include string.h
29702 2012-03-12 David S. Miller <davem@davemloft.net>
29704 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29705 masking out of the most significant byte of random value used.
29706 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29707 Fix coding style in previous change.
29709 * sysdeps/unix/sysv/linux/kernel-features.h
29710 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
29711 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
29713 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
29716 2012-03-11 David S. Miller <davem@davemloft.net>
29718 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29719 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
29720 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
29721 for 'resultvar' otherwise things get truncated on 64-bit.
29723 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29724 Fix masking out of the most significant byte of random value used.
29726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29728 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
29730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29732 2012-03-09 David S. Miller <davem@davemloft.net>
29734 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
29735 variables with appropriate CPP guards.
29736 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
29737 frame pointer, not the stack pointer. Correct layout comments. Fix test
29738 on resulting framesize and the management of the outregs buffer for pltexit.
29739 Preserve floating point return values across _dl_call_pltexit call.
29740 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
29741 framesize and the management of the outregs buffer for pltexit.
29742 Preserve floating point return values across _dl_call_pltexit
29744 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
29745 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
29746 (print_exit): Fix format string for return register value.
29748 2012-03-10 Joseph Myers <joseph@codesourcery.com>
29750 * sunrpc/Makefile (others): Add rpcgen.
29751 ($(objpfx)rpcgen): Remove special build rule and dependency on
29753 * sunrpc/rpcgen.c: New file.
29755 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
29758 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29759 * stdio-common/bug-vfprintf-nargs.c: Likewise.
29760 * sysdeps/i386/crti.S: Likewise.
29761 * sysdeps/i386/crtn.S: Likewise.
29762 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29763 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29764 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29765 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29766 * sysdeps/sh/crti.S: Likewise.
29767 * sysdeps/sh/crtn.S: Likewise.
29768 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29771 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29773 * locale/programs/locfile-kw.gperf: Likewise.
29774 * locale/programs/charmap-kw.h: Regenerated.
29775 * locale/programs/locfile-kw.h: Likewise.
29778 * intl/plural.y: Replace FSF snail mail address with URL.
29779 * intl/plural.c: Regenerated.
29781 2012-03-09 Richard Henderson <rth@twiddle.net>
29783 * include/math_private.h: Remove file.
29784 * math/math_private.h: Move file ...
29785 * sysdeps/generic/math_private.h: ... here.
29787 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29788 * sysdeps/powerpc/fpu/math_private.h: Likewise.
29789 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29791 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
29792 and <math_private.h>.
29793 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29794 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29795 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29796 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29797 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29798 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29799 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29800 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29801 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29802 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29803 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29804 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29805 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29806 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29807 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29808 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29809 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29810 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29811 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29812 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29813 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29814 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29815 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29816 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29817 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29818 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29819 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29820 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29821 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29822 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29823 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29824 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29825 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29826 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29827 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29828 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29829 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29830 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29831 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29832 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29833 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29834 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29835 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29836 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29837 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29838 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29839 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29840 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29841 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29842 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29843 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29844 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29845 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29846 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29847 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29848 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29849 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29850 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29851 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29852 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29853 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29854 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29855 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29856 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29857 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29858 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29859 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29860 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29861 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29862 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29863 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29864 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29865 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29866 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29867 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29868 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29869 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29870 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29871 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29872 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29873 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29874 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29875 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29876 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29877 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29878 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29879 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29880 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29881 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29882 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29883 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29884 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29885 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29886 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29887 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29888 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29889 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29890 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29891 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29892 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29893 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29894 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29895 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29896 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29897 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29898 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29899 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29900 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29901 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29902 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29903 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29904 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29905 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29906 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29907 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29908 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29909 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29910 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29911 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29912 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29913 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29914 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29915 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29916 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29917 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29918 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29919 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29920 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29921 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29922 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29923 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29924 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29925 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29926 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29927 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29928 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29929 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29930 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29931 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29932 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29933 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29934 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29935 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29936 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29937 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29938 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29939 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29940 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29941 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29942 * sysdeps/ieee754/k_standard.c: Likewise.
29943 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29944 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29945 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29946 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29947 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29948 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29949 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29950 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29951 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29952 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29953 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29954 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29955 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29956 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29957 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29958 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29959 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29960 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29961 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29962 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29963 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29964 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29965 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29966 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29967 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29968 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29969 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29970 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29971 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29972 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29973 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29974 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29975 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29976 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29977 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29978 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29979 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29980 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29981 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29982 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29983 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29984 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29985 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29986 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29987 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29988 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29989 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29990 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29991 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29992 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29993 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29994 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29995 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29996 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29997 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29998 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29999 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
30000 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
30001 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30002 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30003 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30004 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30005 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30006 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30007 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30008 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30009 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30010 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30011 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30012 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30013 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30014 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30015 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30016 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30017 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30018 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30019 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
30020 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30021 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30022 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30023 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30024 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30025 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30026 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30027 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
30028 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30029 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30030 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30031 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30032 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30033 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
30034 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30035 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30036 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30037 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30038 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30039 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
30040 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30041 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30042 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
30043 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30044 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30045 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30046 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30047 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
30048 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30049 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30050 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30051 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30052 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30053 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30054 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30055 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30056 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30057 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30058 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30059 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30060 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30061 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30062 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30063 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30064 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30065 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30066 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30067 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30068 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30069 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30070 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30071 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30072 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30073 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30074 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30075 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30076 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30077 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30078 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30079 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
30080 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30081 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30082 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
30083 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
30084 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30085 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
30086 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
30087 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30088 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30089 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30090 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30091 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30092 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
30093 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30094 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30095 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30096 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30097 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
30098 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
30099 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30100 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30101 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30102 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30103 * sysdeps/ieee754/s_lib_version.c: Likewise.
30104 * sysdeps/ieee754/s_matherr.c: Likewise.
30105 * sysdeps/ieee754/s_signgam.c: Likewise.
30106 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30107 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30108 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
30109 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
30110 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
30111 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30112 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
30113 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
30114 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
30115 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
30116 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30117 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
30118 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30119 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30120 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
30121 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30122 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30123 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30124 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30125 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30126 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30128 2012-03-09 Joseph Myers <joseph@codesourcery.com>
30130 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
30131 * sunrpc/rpc_main.c: Likewise.
30132 * sunrpc/rpc_svcout.c: Likewise.
30134 2012-03-09 David S. Miller <davem@davemloft.net>
30136 * include/math_private.h: New file.
30138 2012-03-09 Joseph Myers <joseph@codesourcery.com>
30140 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
30141 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
30142 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
30143 from <bits/socket_type.h>.
30144 (enum __socket_type): Don't define here.
30145 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
30146 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30147 bits/socket_type.h.
30150 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
30151 checking __USE_GNU.
30153 * Makerules ($(inst_includedir)/%.h): New rule.
30154 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
30155 (install-others): Remove variable setting.
30156 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
30158 2012-03-08 Richard Henderson <rth@twiddle.net>
30160 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
30161 from macro to inline function; merge with the
30162 !__LIBC_INTERNAL_MATH_INLINES version.
30163 (__ieee754_sqrtf): Likewise.
30165 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
30166 to inline function.
30167 (__rintf, __floor, __floorf): Likewise.
30169 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
30170 macro to inline function.
30171 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
30173 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
30174 not <math/math_private.h>.
30176 2012-03-08 David S. Miller <davem@davemloft.net>
30178 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
30180 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
30182 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
30184 * resolv/gai_misc.c (handle_requests): Fix struct timespec
30186 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
30187 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30189 2012-03-08 Ulrich Drepper <drepper@gmail.com>
30191 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
30192 be defined individually, they must be defined as a block. Define
30193 S for printing a string instead of hidint the different by using a
30194 macro for adding the 'l'.
30195 * stdio-common/tst-fphex-wide.c: Adjust.
30197 2012-03-07 Marek Polacek <polacek@redhat.com>
30199 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
30201 2012-03-08 Marek Polacek <polacek@redhat.com>
30204 * stdio-common/Makefile (tests): Add tst-fphex-wide.
30205 * stdio-common/tst-fphex.c: Define a few macros to make the
30206 test reusable. Use them.
30207 * stdio-common/tst-fphex-wide.c: New file.
30209 2012-03-08 Joseph Myers <joseph@codesourcery.com>
30212 * manual/macros.texi (gnusystems): New macro.
30213 (nongnusystems): Likewise.
30214 (gnulinuxhurdsystems): Likewise.
30215 (gnuhurdsystems): Likewise..
30216 (gnulinuxsystems): Likewise.
30217 * manual/charset.texi: Use new macros or @theglibc{} to refer to
30218 variants of the GNU system, not "GNU system".
30219 * manual/conf.texi: Likewise.
30220 * manual/errno.texi: Likewise. Update example of errno macro
30222 * manual/filesys.texi: Likewise.
30223 (getumask): Document as specific to GNU/Hurd.
30224 * manual/install.texi: Likewise. Reword some references to
30226 * manual/intro.texi: Likewise.
30227 * manual/io.texi: Likewise.
30228 (File Name Portability): Detail which constraints are inapplicable
30229 to all GNU systems and which are only inapplicable to GNU/Hurd.
30230 * manual/job.texi: Likewise.
30231 * manual/llio.texi: Likewise.
30232 (O_NOCTTY): Document as present on GNU/Linux.
30233 * manual/maint.texi: Likewise.
30234 * manual/memory.texi: Likewise.
30235 * manual/pattern.texi: Likewise.
30236 * manual/pipe.texi: Likewise.
30237 * manual/process.texi: Likewise.
30238 * manual/resource.texi: Likewise.
30239 (RUSAGE_CHILDREN): Remove statement about specifying a particular
30241 * manual/setjmp.texi: Likewise.
30242 * manual/signal.texi: Likewise.
30243 * manual/startup.texi: Likewise.
30244 * manual/stdio.texi: Likewise.
30245 * manual/terminal.texi: Likewise.
30246 (ONLCR): Document as POSIX.
30247 (OXTABS): Document availability on GNU/Linux as XTABS.
30248 (ONOEOT): Document availability separately from other bits.
30249 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
30250 * manual/time.texi: Likewise.
30251 * manual/users.texi: Likewise.
30252 * INSTALL: Regenerated.
30253 * sysdeps/gnu/errlist.c: Regenerated.
30255 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
30256 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
30257 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
30259 * configure: Regenerated.
30261 2012-03-07 Joseph Myers <joseph@codesourcery.com>
30263 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
30264 default includes instead of AC_HEADER_CHECK.
30265 * sysdeps/i386/configure: Regenerated.
30268 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
30269 * math/s_cacoshf.c (__cacoshf): Likewise.
30270 * math/s_cacoshl.c (__cacoshl): Likewise.
30271 * math/s_casinh.c (__casinh): Set signs of result from argument.
30272 * math/s_casinhf.c (__casinhf): Likewise.
30273 * math/s_casinhl.c (__casinhl): Likewise.
30274 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
30275 (casinh_test): Add more tests.
30276 * sysdeps/i386/fpu/libm-test-ulps: Update.
30277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30279 2012-03-07 Ulrich Drepper <drepper@gmail.com>
30281 * po/zh_TW.po: Update from translation team.
30283 * login/Makefile (distribute): Remove variable.
30284 * catgets/Makefile: Likewise.
30285 * mach/Makefile: Likewise.
30286 * malloc/Makefile: Likewise.
30287 * misc/Makefile: Likewise.
30288 * iconv/Makefile: Likewise.
30289 * nscd/Makefile: Likewise.
30290 * hurd/Makefile: Likewise.
30291 * manual/Makefile: Likewise.
30292 * locale/Makefile: Likewise.
30293 * intl/Makefile: Likewise.
30294 * conform/Makefile: Likewise.
30295 * nss/Makefile: Likewise.
30296 * time/Makefile: Likewise.
30297 * soft-fp/Makefile: Likewise.
30298 * dirent/Makefile: Likewise.
30299 * gmon/Makefile: Likewise.
30300 * po/Makefile: Likewise.
30301 * rt/Makefile: Likewise.
30302 * socket/Makefile: Likewise.
30303 * math/Makefile: Likewise.
30304 * signal/Makefile: Likewise.
30305 * debug/Makefile: Likewise.
30306 * elf/Makefile: Likewise.
30307 * timezone/Makefile: Likewise.
30308 * stdlib/Makefile: Likewise.
30309 * iconvdata/Makefile: Likewise.
30310 * sunrpc/Makefile: Likewise.
30311 * io/Makefile: Likewise.
30312 * argp/Makefile: Likewise.
30313 * inet/Makefile: Likewise.
30314 * hesiod/Makefile: Likewise.
30315 * grp/Makefile: Likewise.
30316 * csu/Makefile: Likewise.
30317 * wctype/Makefile: Likewise.
30318 * crypt/Makefile: Likewise.
30319 * libio/Makefile: Likewise.
30320 * string/Makefile: Likewise.
30321 * nis/Makefile: Likewise.
30322 * resolv/Makefile: Likewise.
30323 * stdio-common/Makefile: Likewise.
30324 * wcsmbs/Makefile: Likewise.
30325 * dlfcn/Makefile: Likewise.
30326 * posix/Makefile: Likewise.
30329 * timezone/Makefile: Don't install timezone files, just the programs
30332 2012-03-06 Ulrich Drepper <drepper@gmail.com>
30334 * nss/databases.def: Add missing gshadow entry.
30336 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
30338 2012-03-06 Marek Polacek <polacek@redhat.com>
30341 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
30342 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30343 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
30344 * stdio-common/tst-long-dbl-fphex.c: New file.
30346 2012-03-06 David S. Miller <davem@davemloft.net>
30348 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30349 (set_obp_int): New function.
30350 (get_obp_int): New function.
30351 (__get_clockfreq_via_dev_openprom): Likewise.
30352 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
30353 Avoid unused variable warnings on 'val' and use builtin_expect.
30354 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
30356 (INLINE_CLONE_SYSCALL): Likewise.
30358 2012-03-05 David S. Miller <davem@davemloft.net>
30360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30362 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
30364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30366 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
30367 only for |x| >= 40.
30368 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30370 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
30372 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
30373 Replace gettimeofday with __vdso_gettimeofday.
30375 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30376 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
30377 __vdso_clock_gettime and __vdso_getcpu.
30379 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
30380 time with __vdso_time.
30382 2012-03-05 Joseph Myers <joseph@codesourcery.com>
30384 * manual/lang.texi (size_t): Note types to which size_t may be
30385 equivalent with the GNU C Library, but do not describe when
30386 differences between them are significant.
30388 2012-03-05 Andreas Jaeger <aj@suse.de>
30390 * sysdeps/i386/fpu/libm-test-ulps: Update.
30392 2012-03-05 Joseph Myers <joseph@codesourcery.com>
30395 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
30396 (__ieee754_pow): Save and restore rounding mode and use
30397 round-to-nearest for main computations.
30398 * math/libm-test.inc (pow_test_tonearest): New function.
30399 (pow_test_towardzero): Likewise.
30400 (pow_test_downward): Likewise.
30401 (pow_test_upward): Likewise.
30402 (main): Call the new functions.
30403 * sysdeps/i386/fpu/libm-test-ulps: Update.
30404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30407 * math/libm-test.inc (cosh_test_tonearest): New function.
30408 (cosh_test_towardzero): Likewise.
30409 (cosh_test_downward): Likewise.
30410 (cosh_test_upward): Likewise.
30411 (sinh_test_tonearest): Likewise.
30412 (sinh_test_towardzero): Likewise.
30413 (sinh_test_downward): Likewise.
30414 (sinh_test_upward): Likewise.
30415 (main): Call the new functions.
30416 * sysdeps/i386/fpu/libm-test-ulps: Update.
30417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30419 2012-03-05 Tom de Vries <tom@codesourcery.com>
30421 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
30422 default stack guard is set in last bytes.
30423 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
30425 2012-03-05 Kees Cook <keescook@chromium.org>
30427 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
30430 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
30431 possibly allocate from heap instead of stack.
30432 * stdio-common/bug-vfprintf-nargs.c: New file.
30433 * stdio-common/Makefile (tests): Add nargs overflow test.
30435 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
30437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30439 2012-03-03 Marek Polacek <polacek@redhat.com>
30441 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
30442 * math/math_private.h: Likewise.
30443 * stdlib/tst-strtod.c: Likewise.
30444 * sysdeps/i386/i486/bits/atomic.h: Likewise.
30445 * sysdeps/x86_64/bits/atomic.h: Likewise.
30447 2012-03-02 David S. Miller <davem@davemloft.net>
30449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
30450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
30451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
30452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
30453 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
30454 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
30455 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
30456 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
30458 2012-03-02 Roland McGrath <roland@hack.frob.com>
30461 * manual/examples/README: New file, says the example source files
30462 can be used under GPL>=2.
30463 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
30464 line containing just "*/".
30465 * manual/examples/add.c: Add copyright header (GPL>=2).
30466 * manual/examples/argp-ex1.c: Likewise.
30467 * manual/examples/argp-ex2.c: Likewise.
30468 * manual/examples/argp-ex3.c: Likewise.
30469 * manual/examples/argp-ex4.c: Likewise.
30470 * manual/examples/atexit.c: Likewise.
30471 * manual/examples/db.c: Likewise.
30472 * manual/examples/dir.c: Likewise.
30473 * manual/examples/dir2.c: Likewise.
30474 * manual/examples/execinfo.c: Likewise.
30475 * manual/examples/filecli.c: Likewise.
30476 * manual/examples/filesrv.c: Likewise.
30477 * manual/examples/fmtmsgexpl.c: Likewise.
30478 * manual/examples/genpass.c: Likewise.
30479 * manual/examples/inetcli.c: Likewise.
30480 * manual/examples/inetsrv.c: Likewise.
30481 * manual/examples/isockad.c: Likewise.
30482 * manual/examples/longopt.c: Likewise.
30483 * manual/examples/memopen.c: Likewise.
30484 * manual/examples/memstrm.c: Likewise.
30485 * manual/examples/mkfsock.c: Likewise.
30486 * manual/examples/mkisock.c: Likewise.
30487 * manual/examples/mygetpass.c: Likewise.
30488 * manual/examples/pipe.c: Likewise.
30489 * manual/examples/popen.c: Likewise.
30490 * manual/examples/rprintf.c: Likewise.
30491 * manual/examples/search.c: Likewise.
30492 * manual/examples/select.c: Likewise.
30493 * manual/examples/setjmp.c: Likewise.
30494 * manual/examples/sigh1.c: Likewise.
30495 * manual/examples/sigusr.c: Likewise.
30496 * manual/examples/stpcpy.c: Likewise.
30497 * manual/examples/strdupa.c: Likewise.
30498 * manual/examples/strftim.c: Likewise.
30499 * manual/examples/strncat.c: Likewise.
30500 * manual/examples/subopt.c: Likewise.
30501 * manual/examples/swapcontext.c: Likewise.
30502 * manual/examples/termios.c: Likewise.
30503 * manual/examples/testopt.c: Likewise.
30504 * manual/examples/testpass.c: Likewise.
30505 * manual/examples/timeval_subtract.c: Likewise.
30508 * manual/time.texi (Elapsed Time): Move timeval_subtract example
30510 * manual/timeval_subtract.c.texi: ... here, new file.
30512 2012-03-02 David S. Miller <davem@davemloft.net>
30514 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
30516 2012-03-02 Joseph Myers <joseph@codesourcery.com>
30519 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
30520 (__sin): Save and restore rounding mode and use round-to-nearest
30521 for all computations.
30522 (__cos): Save and restore rounding mode and use round-to-nearest
30523 for all computations.
30524 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
30526 (tan): Save and restore rounding mode and use round-to-nearest for
30528 * math/libm-test.inc (cos_test_tonearest): New function.
30529 (cos_test_towardzero): Likewise.
30530 (cos_test_downward): Likewise.
30531 (cos_test_upward): Likewise.
30532 (sin_test_tonearest): Likewise.
30533 (sin_test_towardzero): Likewise.
30534 (sin_test_downward): Likewise.
30535 (sin_test_upward): Likewise.
30536 (tan_test_tonearest): Likewise.
30537 (tan_test_towardzero): Likewise.
30538 (tan_test_downward): Likewise.
30539 (tan_test_upward): Likewise.
30540 (main): Call the new functions.
30541 * sysdeps/i386/fpu/libm-test-ulps: Update.
30542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30545 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
30546 small n, then large n, before computing and testing k+n.
30547 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
30548 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
30550 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
30552 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
30553 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
30554 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
30555 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
30556 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30557 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30558 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
30559 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
30560 * math/libm-test.inc (scalbn_test): Add more tests.
30561 (scalbln_test): Likewise.
30563 * manual/filesys.texi (mode_t): Describe constraints on size and
30564 signedness, not exact equivalence to a particular type.
30566 (ino64_t): Likewise.
30568 (nlink_t): Likewise.
30569 (blkcnt_t): Likewise.
30570 (blkcnt64_t): Likewise.
30571 * manual/llio.texi (off_t): Likewise.
30574 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
30575 (__ieee754_exp): Save and restore rounding mode and use
30576 round-to-nearest for all computations.
30577 * math/libm-test.inc (exp_test_tonearest): New function.
30578 (exp_test_towardzero): Likewise.
30579 (exp_test_downward): Likewise.
30580 (exp_test_upward): Likewise.
30581 (main): Call the new functions.
30582 * sysdeps/i386/fpu/libm-test-ulps: Update.
30583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30585 2012-03-01 Chris Demetriou <cgd@google.com>
30587 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
30588 have predictable order.
30590 2012-03-01 David S. Miller <davem@davemloft.net>
30592 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
30594 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
30595 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
30596 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
30597 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
30599 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
30600 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
30601 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
30602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
30603 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
30604 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
30605 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
30606 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
30607 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
30609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30611 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
30612 * sysdeps/sparc/fpu/libm-test-ulps: to here.
30613 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
30615 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
30616 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30617 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30618 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
30619 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
30620 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
30621 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
30622 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30623 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30624 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
30625 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
30626 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30627 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30628 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30629 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30630 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30631 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
30632 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
30633 * sysdeps/sparc/elf/configure: Regenerated.
30635 2012-03-01 Joseph Myers <joseph@codesourcery.com>
30637 * configure.in (AS, LD): Require binutils 2.20 or later.
30638 * configure: Regenerated.
30639 * manual/install.texi (Tools for Compilation): Give binutils 2.20
30640 as required minimum version.
30641 * INSTALL: Regenerated.
30645 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
30646 before squaring exponent.
30647 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
30648 bottom long double and 27 bits of top long double before squaring
30650 * math/libm-test.inc (erfc_test): Add more tests.
30651 * sysdeps/i386/fpu/libm-test-ulps: Update.
30652 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30655 2012-03-01 Kai Tietz <ktietz@redhat.com>
30657 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
30658 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
30659 containing bit-fields.
30660 * soft-fp/extended.h (_FP_UNION_E): Likewise.
30661 * soft-fp/single.h (_FP_UNION_S): Likewise.
30662 * soft-fp/double.h (_FP_UNION_D): Likewise.
30664 2012-02-29 Joseph Myers <joseph@codesourcery.com>
30667 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
30668 not include ../strcmp.S.
30669 [USE_AS_STRNCASECMP_L]: Likewise.
30670 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
30671 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
30672 * sysdeps/i386/i686/multiarch/strncase_l-c.c
30673 (__strncasecmp_l_ia32): Define as alias to
30674 __strncasecmp_l_nonascii.
30677 * math/libm-test.inc (expm1_test): Add test for bug 5794.
30678 * sysdeps/i386/fpu/libm-test-ulps: Update.
30679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30681 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
30682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30684 2012-02-29 Jeff Law <law@redhat.com>
30686 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
30687 out of bounds read.
30689 2012-02-29 Marek Polacek <polacek@redhat.com>
30692 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
30693 * elf/Makefile: Add rules to run tst-unused-dep.out.
30695 2012-02-28 David S. Miller <davem@davemloft.net>
30697 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
30698 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
30699 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
30700 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
30701 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
30702 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
30704 2012-02-29 Joseph Myers <joseph@codesourcery.com>
30706 * math/libm-test.inc (llround_test): Move one test from
30707 lround_test. Use TEST_f_L in moved test.
30708 (lround_test): Move misplaced test to llround_test. Add testcase
30711 2012-02-28 Ulrich Drepper <drepper@gmail.com>
30713 * sysdeps/x86_64/fpu/e_expf.S: New file.
30714 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
30716 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
30719 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
30720 of remain_len that may cause incomplete multi-byte character and
30722 * posix/bug-regex33.c: New file.
30723 * posix/Makefile (tests): Add bug-regex33.
30725 2012-02-28 Joseph Myers <joseph@codesourcery.com>
30727 * manual/macros.texi: New file.
30728 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
30729 * manual/libc.texinfo: Include macros.texi.
30730 * manual/creatute.texi: Likewise.
30731 * manual/install.texi: Likewise.
30732 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
30733 @glibcadj{} in references to the GNU C Library.
30734 * manual/charset.texi: Likewise.
30735 * manual/conf.texi: Likewise.
30736 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
30737 when not using those macros.
30738 * manual/creature.texi: Likewise.
30739 * manual/crypt.texi: Likewise.
30740 * manual/errno.texi: Likewise.
30741 * manual/filesys.texi: Likewise.
30742 * manual/header.texi: Likewise.
30743 * manual/install.texi: Likewise.
30744 * manual/intro.texi: Likewise.
30745 * manual/io.texi: Likewise.
30746 * manual/job.texi: Likewise.
30747 * manual/lang.texi: Likewise.
30748 * manual/libc.texiinfo: Likewise.
30749 * manual/llio.texi: Likewise.
30750 * manual/locale.texi: Likewise.
30751 * manual/maint.texi: Likewise.
30752 * manual/math.texi: Likewise.
30753 * manual/memory.texi: Likewise.
30754 * manual/message.texi: Likewise.
30755 * manual/nss.texi: Likewise.
30756 * manual/pattern.texi: Likewise.
30757 * manual/process.texi: Likewise.
30758 * manual/resource.texi: Likewise.
30759 * manual/search.texi: Likewise.
30760 * manual/setjmp.texi: Likewise.
30761 * manual/signal.texi: Likewise.
30762 * manual/socket.texi: Likewise.
30763 * manual/startup.texi: Likewise.
30764 * manual/stdio.texi: Likewise.
30765 * manual/string.texi: Likewise.
30766 * manual/sysinfo.texi: Likewise.
30767 * manual/syslog.texi: Likewise.
30768 * manual/terminal.texi: Likewise.
30769 * manual/time.texi: Likewise.
30770 * manual/users.texi: Likewise.
30771 * INSTALL: Regenerated.
30772 * NOTES: Regenerated.
30773 * sysdeps/gnu/errlist.c: Regenerated.
30775 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
30777 * include/dirent.h: Include <dirstream.h> before
30780 2012-02-28 David S. Miller <davem@davemloft.net>
30782 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30783 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30784 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30785 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30787 2012-02-27 David S. Miller <davem@davemloft.net>
30789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30791 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30792 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30795 frame pointer instead of stack pointer relative arg slot.
30796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30797 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30798 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30800 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
30803 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30805 2012-02-27 David S. Miller <davem@davemloft.net>
30807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30811 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30812 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30813 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30814 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30816 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30818 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30819 later. Allow versions 5-9.
30820 * configure: Regenerated.
30821 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30822 required minimum version and 4.6 as recommended version. Do not
30823 mention bugs in GCC 2.7 and 2.8.
30824 * INSTALL: Regenerated.
30826 2012-02-27 David S. Miller <davem@davemloft.net>
30828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30832 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30833 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30834 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30835 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30837 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30838 manipulate bits before adding and subtracting TWO112[sx].
30839 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30841 2012-02-27 Roland McGrath <roland@hack.frob.com>
30844 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30845 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30846 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30847 being in POSIX, because they are in 1003.1-2008.
30849 * rt/tst-aio.c: Include <fcntl.h>.
30850 * rt/tst-aio7.c: Likewise.
30851 * rt/tst-aio64.c: Likewise.
30853 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30855 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30857 * manual/install.texi (--with-headers): Describe headers as
30858 interface headers, not private headers.
30859 (Specific advice for GNU/Linux systems): Describe use of headers
30860 from "make headers_install", not private headers from older
30862 * INSTALL: Regenerated.
30863 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30865 * sysdeps/unix/sysv/linux/configure: Regenerated.
30867 * manual/llio.texi (fclean): Remove documentation.
30869 * manual/Makefile (libc-texi-generated): New variable. Include
30871 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30872 $(libc-texi-generated), not duplicated list of files.
30873 (version.texi, stamp-version): New rules.
30874 (realclean): Remove $(libc-texi-generated), not individual files
30875 from that list. Do not remove dir-add.texinfo.
30876 * manual/libc.texinfo: Comment out uses of edition numbers and
30877 references to printed manual. Remove last-updated dates.
30878 (EDITION): Comment out.
30880 (VERSION, UPDATED): Remove.
30881 (version.texi): Include.
30883 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
30885 * sysdeps/posix/spawni.c: Include <signal.h>.
30886 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30887 * sysdeps/pthread/aio_fsync.c: Likewise.
30889 2012-02-26 Ulrich Drepper <drepper@gmail.com>
30891 * conform/Makefile (tests): Run only when not cross-compiling and
30892 when fast-check is not defined.
30894 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30895 * conform/data/limits.h-data: Fixes for POSIX2008.
30896 * conform/run-conformtest.sh: Run all tests.
30897 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30899 * include/bits/dlfcn.h: Likewise.
30900 * include/langinfo.h: Likewise.
30901 * include/monetary.h: Likewise.
30902 * include/sys/poll.h: Likewise.
30904 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30906 * posix/spawn.h: Define __need_sigset_t.
30907 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30908 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30909 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
30910 to get sigevent_t only.
30911 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30912 only for __USE_GNU.
30913 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30914 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30915 process_vm_writev only for __USE_GNU.
30916 * termios/termios.h: Declare tcgetsid also for POSIX2008.
30918 * conform/Makefile: For now ignore errors from run-conformtest.
30919 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
30920 POSIX to avoid namespace pollution. Don't prepend headers.
30921 * conform/data/aio.h-data: Fixes for POSIX testing.
30922 * conform/data/fcntl.h-data: Likewise.
30923 * conform/data/glob.h-data: Likewise.
30924 * conform/data/grp.h-data: Likewise.
30925 * conform/data/pthread.h-data: Likewise.
30926 * conform/data/pwd.h-data: Likewise.
30927 * conform/data/signal.h-data: Likewise.
30928 * conform/data/spawn.h-data: Likewise.
30929 * conform/data/stdio.h-data: Likewise.
30930 * conform/data/stdlib.h-data: Likewise.
30931 * conform/data/stropts.h-data: Likewise.
30932 * conform/data/sys/mman.h-data: Likewise.
30933 * conform/data/sys/stat.h-data: Likewise.
30934 * conform/data/sys/types.h-data: Likewise.
30935 * conform/data/sys/wait.h-data: Likewise.
30936 * conform/data/time.h-data: Likewise.
30937 * conform/data/unistd.h-data: Likewise.
30938 * conform/data/utime.h-data: Likewise.
30940 * io/sys/stat.h: fchmod was always in POSIX.
30941 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30942 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30943 * rt/aio.h: Define __need_timespec before including <time.h>.
30944 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30945 struct. Add forward declaration of pthread_attr_t and use it in
30947 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30948 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30949 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30950 always remove CLK_TCK definition.
30952 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
30954 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30956 2012-02-25 Ulrich Drepper <drepper@gmail.com>
30958 * conform/run-conformtest.sh: New file.
30959 * conform/Makefile: Run run-conformtest for tests.
30960 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
30963 * conform/data/uchar.h-data: New file.
30964 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30965 * conform/data/arpa/inet.h-data: Likewise.
30966 * conform/data/assert.h-data: Likewise.
30967 * conform/data/complex.h-data: Likewise.
30968 * conform/data/cpio.h-data: Likewise.
30969 * conform/data/ctype.h-data: Likewise.
30970 * conform/data/dirent.h-data: Likewise.
30971 * conform/data/dlfcn.h-data: Likewise.
30972 * conform/data/errno.h-data: Likewise.
30973 * conform/data/fcntl.h-data: Likewise.
30974 * conform/data/float.h-data: Likewise.
30975 * conform/data/fmtmsg.h-data: Likewise.
30976 * conform/data/fnmatch.h-data: Likewise.
30977 * conform/data/ftw.h-data: Likewise.
30978 * conform/data/glob.h-data: Likewise.
30979 * conform/data/grp.h-data: Likewise.
30980 * conform/data/iconv.h-data: Likewise.
30981 * conform/data/inttypes.h-data: Likewise.
30982 * conform/data/langinfo.h-data: Likewise.
30983 * conform/data/libgen.h-data: Likewise.
30984 * conform/data/limits.h-data: Likewise.
30985 * conform/data/locale.h-data: Likewise.
30986 * conform/data/math.h-data: Likewise.
30987 * conform/data/monetary.h-data: Likewise.
30988 * conform/data/mqueue.h-data: Likewise.
30989 * conform/data/ndbm.h-data: Likewise.
30990 * conform/data/net/if.h-data: Likewise.
30991 * conform/data/netdb.h-data: Likewise.
30992 * conform/data/netinet/in.h-data: Likewise.
30993 * conform/data/nl_types.h-data: Likewise.
30994 * conform/data/poll.h-data: Likewise.
30995 * conform/data/pthread.h-data: Likewise.
30996 * conform/data/pwd.h-data: Likewise.
30997 * conform/data/regex.h-data: Likewise.
30998 * conform/data/sched.h-data: Likewise.
30999 * conform/data/search.h-data: Likewise.
31000 * conform/data/semaphore.h-data: Likewise.
31001 * conform/data/setjmp.h-data: Likewise.
31002 * conform/data/signal.h-data: Likewise.
31003 * conform/data/spawn.h-data: Likewise.
31004 * conform/data/stdarg.h-data: Likewise.
31005 * conform/data/stdio.h-data: Likewise.
31006 * conform/data/stdlib.h-data: Likewise.
31007 * conform/data/string.h-data: Likewise.
31008 * conform/data/strings.h-data: Likewise.
31009 * conform/data/stropts.h-data: Likewise.
31010 * conform/data/sys/ipc.h-data: Likewise.
31011 * conform/data/sys/mman.h-data: Likewise.
31012 * conform/data/sys/msg.h-data: Likewise.
31013 * conform/data/sys/resource.h-data: Likewise.
31014 * conform/data/sys/select.h-data: Likewise.
31015 * conform/data/sys/sem.h-data: Likewise.
31016 * conform/data/sys/shm.h-data: Likewise.
31017 * conform/data/sys/socket.h-data: Likewise.
31018 * conform/data/sys/stat.h-data: Likewise.
31019 * conform/data/sys/statvfs.h-data: Likewise.
31020 * conform/data/sys/time.h-data: Likewise.
31021 * conform/data/sys/timeb.h-data: Likewise.
31022 * conform/data/sys/times.h-data: Likewise.
31023 * conform/data/sys/types.h-data: Likewise.
31024 * conform/data/sys/uio.h-data: Likewise.
31025 * conform/data/sys/un.h-data: Likewise.
31026 * conform/data/sys/utsname.h-data: Likewise.
31027 * conform/data/sys/wait.h-data: Likewise.
31028 * conform/data/syslog.h-data: Likewise.
31029 * conform/data/tar.h-data: Likewise.
31030 * conform/data/termios.h-data: Likewise.
31031 * conform/data/utime.h-data: Likewise.
31032 * conform/data/utmpx.h-data: Likewise.
31033 * conform/data/varargs.h-data: Likewise.
31034 * conform/data/wchar.h-data: Likewise.
31035 * conform/data/wctype.h-data: Likewise.
31036 * conform/data/wordexp.h-data: Likewise.
31038 * include/stropts.h: New file.
31039 * include/uchar.h: New file.
31040 * include/aio.h: Changes to allow conformtest.pl to use the headers.
31041 * include/assert.h: Likewise.
31042 * include/ctype.h: Likewise.
31043 * include/dirent.h: Likewise.
31044 * include/dlfcn.h: Likewise.
31045 * include/fcntl.h: Likewise.
31046 * include/fnmatch.h: Likewise.
31047 * include/glob.h: Likewise.
31048 * include/grp.h: Likewise.
31049 * include/libio.h: Likewise.
31050 * include/locale.h: Likewise.
31051 * include/math.h: Likewise.
31052 * include/net/if.h: Likewise.
31053 * include/netdb.h: Likewise.
31054 * include/netinet/in.h: Likewise.
31055 * include/pthread.h: Likewise.
31056 * include/pwd.h: Likewise.
31057 * include/regex.h: Likewise.
31058 * include/sched.h: Likewise.
31059 * include/search.h: Likewise.
31060 * include/setjmp.h: Likewise.
31061 * include/signal.h: Likewise.
31062 * include/stdio.h: Likewise.
31063 * include/stdlib.h: Likewise.
31064 * include/string.h: Likewise.
31065 * include/sys/cdefs.h: Likewise.
31066 * include/sys/mman.h: Likewise.
31067 * include/sys/msg.h: Likewise.
31068 * include/sys/resource.h: Likewise.
31069 * include/sys/select.h: Likewise.
31070 * include/sys/socket.h: Likewise.
31071 * include/sys/stat.h: Likewise.
31072 * include/sys/statvfs.h: Likewise.
31073 * include/sys/time.h: Likewise.
31074 * include/sys/times.h: Likewise.
31075 * include/sys/uio.h: Likewise.
31076 * include/sys/utsname.h: Likewise.
31077 * include/sys/wait.h: Likewise.
31078 * include/termios.h: Likewise.
31079 * include/time.h: Likewise.
31080 * include/ulimit.h: Likewise.
31081 * include/unistd.h: Likewise.
31082 * include/utime.h: Likewise.
31083 * include/wchar.h: Likewise.
31084 * include/wctype.h: Likewise.
31085 * include/wordexp.h: Likewise.
31087 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31089 * time/time.h: TIME_UTC must be a macro.
31090 Make timespec_get available for ISO C11 only as well.
31092 2012-02-24 Ulrich Drepper <drepper@gmail.com>
31094 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
31095 Reported by Peng Haitao <penght@cn.fujitsu.com>.
31097 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31099 * configure.in: Use -o not -a in test for unsupported multi-arch.
31101 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31103 * manual/texinfo.tex: Update to version 2012-01-19.16.
31105 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31107 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
31109 2012-02-24 Roland McGrath <roland@hack.frob.com>
31112 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
31113 * manual/fdl-1.3.texi: New file.
31114 * manual/fdl-1.1.texi: File removed.
31117 * manual/libc.texinfo (FDL_VERSION): New @set.
31118 Use it for mention of FDL in cover text.
31119 (Documentation License): Use it in @include file name.
31121 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31122 Roland McGrath <roland@hack.frob.com>
31125 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
31126 not LONG_LONG_MAX and LONG_LONG_MIN.
31127 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
31128 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
31130 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
31132 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31136 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
31137 manipulate bits before adding and subtracting TWO23[sx].
31138 * math/libm-test.inc (nearbyint_test): Add more tests.
31140 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31143 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
31144 bits before adding and subtracting TWO23[sx].
31145 * math/libm-test.inc (rint_test): Add more tests.
31146 (rint_test_tonearest): Likewise.
31147 (rint_test_towardzero): Likewise.
31148 (rint_test_downward): Likewise.
31149 (rint_test_upward: Likewise.
31151 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31154 * include/stdc-predef.h: New file. Extracted from features.h.
31155 * include/features.h: Include stdc-predef.h.
31156 * Makefile (headers): Add stdc-predef.h.
31157 * CONFORMANCE (Compiler limitations): Update.
31159 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31161 * manual/libc.texinfo (VERSION, UPDATED): Revert.
31163 2012-02-21 David S. Miller <davem@davemloft.net>
31165 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
31166 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31168 2012-02-20 David S. Miller <davem@davemloft.net>
31170 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
31171 using a normal save/restore sequence, rather than allocating a
31172 dummy stack frame just to store a frame pointer and restore.
31173 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31175 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31177 * manual/install.texi: Fix stray word in line-wrapped comment.
31179 2012-02-20 David S. Miller <davem@davemloft.net>
31181 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
31182 both binutils and gcc support GOTDATA.
31184 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
31185 "rd %pc" in the PIC register setup sequences.
31187 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
31188 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31189 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31190 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31191 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31192 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31193 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31194 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31195 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
31196 (SYSCALL_ERROR_HANDLER): Likewise.
31197 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31198 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31199 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
31200 (SYSCALL_ERROR_HANDLER): Likewise.
31202 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
31203 (HAVE_GCC_GOTDATA): New.
31204 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
31205 relocation support in both binutils and gcc.
31206 * sysdeps/sparc/elf/configure: Regenerate.
31208 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
31209 * sysdeps/sparc/sparc32/elf/configure: Delete.
31210 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
31211 * sysdeps/sparc/sparc64/elf/configure: Delete.
31212 * sysdeps/sparc/elf/configure.in: New file.
31213 * sysdeps/sparc/elf/configure: Generate.
31215 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
31216 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
31217 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31218 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
31219 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
31221 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31223 * manual/install.texi: Do not mention specific glibc version
31225 * manual/libc.texinfo (VERSION, UPDATED): Update.
31226 (@copying): Use @copyright{} and range of years.
31228 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31231 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
31232 [crti.S not in sysdirs] (generated): Do not append.
31233 [crti.S not in sysdirs] (omit-deps): Likewise.
31234 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
31235 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
31236 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
31237 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
31238 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
31240 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
31241 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
31242 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
31243 * csu/defs.awk: Remove file.
31244 * sysdeps/generic/initfini.c: Likewise.
31245 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
31247 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
31250 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31252 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
31253 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
31254 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
31255 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
31256 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31257 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
31259 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
31260 (__EPOLL_PACKED): Define to empty if not defined by
31262 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
31263 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31266 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31268 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
31269 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
31270 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
31271 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
31273 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
31274 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31277 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31279 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
31281 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31282 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31283 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
31284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31286 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
31288 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31289 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31291 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
31293 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
31294 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
31296 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
31298 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
31301 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
31303 * math/w_acos.c: Use non-signaling floating-point comparisons.
31304 * math/w_acosf.c: Likewise.
31305 * math/w_acosh.c: Likewise.
31306 * math/w_acoshf.c: Likewise.
31307 * math/w_acoshl.c: Likewise.
31308 * math/w_acosl.c: Likewise.
31309 * math/w_asin.c: Likewise.
31310 * math/w_asinf.c: Likewise.
31311 * math/w_asinl.c: Likewise.
31312 * math/w_atanh.c: Likewise.
31313 * math/w_atanhf.c: Likewise.
31314 * math/w_atanhl.c: Likewise.
31315 * math/w_exp2.c: Likewise.
31316 * math/w_exp2f.c: Likewise.
31317 * math/w_exp2l.c: Likewise.
31318 * math/w_j0.c: Likewise.
31319 * math/w_j0f.c: Likewise.
31320 * math/w_j0l.c: Likewise.
31321 * math/w_j1.c: Likewise.
31322 * math/w_j1f.c: Likewise.
31323 * math/w_j1l.c: Likewise.
31324 * math/w_jn.c: Likewise.
31325 * math/w_jnf.c: Likewise.
31326 * math/w_log.c: Likewise.
31327 * math/w_log10.c: Likewise.
31328 * math/w_log10f.c: Likewise.
31329 * math/w_log10l.c: Likewise.
31330 * math/w_log2.c: Likewise.
31331 * math/w_log2f.c: Likewise.
31332 * math/w_log2l.c: Likewise.
31333 * math/w_logf.c: Likewise.
31334 * math/w_logl.c: Likewise.
31335 * math/w_sqrt.c: Likewise.
31336 * math/w_sqrtf.c: Likewise.
31337 * math/w_sqrtl.c: Likewise.
31338 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31339 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31340 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31341 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31342 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31344 2012-02-19 Joseph Myers <joseph@codesourcery.com>
31347 * manual/string.texi (strnlen): Use correct parameter name in
31348 equivalent expression.
31350 2012-02-19 Joseph Myers <joseph@codesourcery.com>
31353 * manual/users.texi (seteuid): Consistently use neweuid for
31356 2012-02-19 Joseph Myers <joseph@codesourcery.com>
31359 * manual/nss.texi (Services in the NSS configuration): Correct
31360 list of services in example configuration file.
31362 2012-02-19 Nick Bowler <nbowler@draconx.ca>
31365 * manual/arith.texi: Remove statements about negative zero
31366 behaving identically to zero.
31368 2012-02-18 Joseph Myers <joseph@codesourcery.com>
31371 * manual/install.texi: Do not document upgrading from libc5.
31373 2012-02-18 Joseph Myers <joseph@codesourcery.com>
31376 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
31378 2012-02-18 David S. Miller <davem@davemloft.net>
31380 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
31381 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
31382 %o7 across the call.
31383 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
31385 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
31386 SETUP_PIC_REG_LEAF.
31387 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31388 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
31389 * sysdeps/sparc/crtn.S: Likewise.
31391 2012-02-17 Ulrich Drepper <drepper@gmail.com>
31393 * aout/Makefile: Remove.
31395 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
31398 * manual/examples/argp-ex1.c (main): Format definition in GNU
31400 * manual/examples/argp-ex2.c (main): Likewise.
31401 * manual/examples/argp-ex3.c (main): Likewise.
31402 * manual/examples/argp-ex4.c (main): Likewise.
31403 * manual/examples/longopt.c (main): Use new-style prototype
31405 * manual/examples/strncat.c (main): Specify return type and use
31406 (void) for arguments.
31407 * manual/examples/subopt.c (main): Use char **argv argument.
31409 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31412 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
31415 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
31418 * manual/string.texi (strchr): Change when strchrnul is
31421 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
31424 * manual/locale.texi (setlocale): Document LOCPATH.
31426 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31429 * manual/process.texi (execle): Move @dots{} before last argument.
31431 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
31434 * manual/charset.texi (Generic Charset Conversion): Fix typo
31435 (LC_TYPE -> LC_CTYPE).
31437 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
31440 * manual/arith.texi (scalbn): Use @var{} on parameter names.
31441 (scalbnf): Likewise.
31442 (scalbnl): Likewise.
31443 (scalbln): Likewise.
31444 (scalblnf): Likewise.
31445 (scalblnl): Likewise.
31446 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
31447 (vwarnx): Likewise.
31450 * manual/filesys.texi (telldir): Use braces around return type.
31451 * manual/llio.texi (mmap): Add space after comma.
31452 (mmap64): Likewise.
31453 * manual/math.texi (jn): Use @var{} on parameter names.
31459 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
31461 * manual/resource.texi (ulimit): Use @dots{} instead of literal
31463 (sched_get_priority_min): Remove semicolon on @deftypefun line.
31464 (sched_get_priority_max): Likewise.
31465 * manual/signal.texi (sigvec): Add space after comma.
31466 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
31468 (if_indextoname): Likewise.
31469 (if_freenameindex): Likewise.
31470 (sendto): Use ',' instead of '.' in prototype.
31471 * manual/startup.texi (syscall): Use @dots{} instead of literal
31473 * manual/stdio.texi (__fpending): Separate initial words of
31474 paragraph from @deftypefun line.
31475 * manual/syslog.texi (syslog): Use @dots{} instead of literal
31477 (vsyslog): Use @var{} on parameter names.
31478 * manual/terminal.texi (stty): Use @var{} on parameter names.
31479 * manual/users.texi (getutmp): Use @var{} on parameter names.
31480 (getutmpx): Likewise.
31482 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31485 * manual/stdio.texi (fopen): Fix typos in description of
31488 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
31491 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
31492 get clock_id definition.
31494 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
31497 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
31498 (madvise): Cast every argument to void on its own.
31500 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31503 * manual/startup.texi (Exit Status): Fix typo.
31505 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31508 * manual/examples/argp-ex1.c: Include <stdlib.h>.
31509 * manual/examples/argp-ex2.c: Likewise.
31510 * manual/examples/argp-ex3.c: Likewise.
31512 2012-02-16 Richard Henderson <rth@redhat.com>
31514 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
31515 * sysdeps/s390/s390-32/initfini.c: Remove.
31516 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
31517 * sysdeps/s390/s390-64/initfini.c: Remove.
31519 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31521 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
31522 compiler output for sysdeps/generic/initfini.c.
31523 * sysdeps/sh/elf/initfini.c: Remove file.
31525 2012-02-16 David S. Miller <davem@davemloft.net>
31528 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
31530 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
31531 * sysdeps/sparc/crti.S: New file.
31532 * sysdeps/sparc/crtn.S: New file.
31533 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
31534 * sysdeps/sparc/sparc64/Makefile: Likewise.
31536 2012-02-15 Mike Frysinger <vapier@gentoo.org>
31539 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
31541 2012-02-15 Roland McGrath <roland@hack.frob.com>
31544 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
31546 * mach/devstream.c (cookie_io_functions_t): Macro removed.
31547 (write, read, close): Likewise.
31548 Patch by Aurelien Jarno <aurelien@aurel32.net>.
31550 2012-02-15 Joseph Myers <joseph@codesourcery.com>
31552 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
31553 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
31554 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
31555 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
31557 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
31558 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31561 2012-02-14 Marek Polacek <polacek@redhat.com>
31563 * sysdeps/x86_64/crti.S: New file.
31564 * sysdeps/x86_64/crtn.S: New file.
31565 * sysdeps/x86_64/elf/initfini.c: Remove file.
31567 2012-02-13 Joseph Myers <joseph@codesourcery.com>
31569 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
31570 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
31571 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
31572 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
31574 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
31575 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31578 2012-02-13 Joseph Myers <joseph@codesourcery.com>
31580 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
31581 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
31582 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
31583 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
31585 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
31586 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31589 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
31591 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
31592 __feraiseexcept instead of feraiseexcept.
31594 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
31595 nanosleep invocations.
31596 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
31597 strings, and add error checking for a nanosleep invocations.
31599 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
31601 Replace FSF snail mail address with URLs, as per GNU coding standards.
31602 Most of the snail mail addresses were wrong anyway, and omitting
31603 them makes the source code easier to maintain. Almost all of the
31604 changes are to license notices and to locale LC_IDENTIFICATION
31605 addresses, except for this one:
31606 * manual/libc.texinfo: In "Published by", give the FSF's URL,
31607 not its snail mail address.
31609 2012-02-09 Richard Henderson <rth@twiddle.net>
31611 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
31612 of kernel-features.h.
31614 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
31616 2012-02-08 Marek Polacek <polacek@redhat.com>
31618 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
31619 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
31620 * sysdeps/gnu/_G_config.h: Likewise.
31621 * sysdeps/generic/_G_config.h: Likewise.
31623 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
31625 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
31627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31629 * sysdeps/powerpc/powerpc32/crti.S: New file.
31630 * sysdeps/powerpc/powerpc32/crtn.S: New file.
31631 * sysdeps/powerpc/powerpc64/crti.S: New file.
31632 * sysdeps/powerpc/powerpc64/crtn.S: New file.
31634 * Makeconfig (have-initfini): Don't set.
31635 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
31636 * configure.in (nopic_initfini): Don't substitute.
31637 * config.h.in (HAVE_INITFINI): Don't #undef.
31638 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
31639 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
31641 2012-02-08 Joseph Myers <joseph@codesourcery.com>
31643 Support crti.S and crtn.S provided directly by architectures.
31644 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
31645 [crti.S in sysdirs] (omit-deps): Likewise.
31646 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
31647 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
31648 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
31649 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
31650 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
31651 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
31652 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
31653 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
31654 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
31655 compiler output for sysdeps/generic/initfini.c.
31656 * sysdeps/i386/elf/Makefile: Remove file.
31657 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
31659 2012-02-07 Marek Polacek <polacek@redhat.com>
31661 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
31662 * sysdeps/gnu/_G_config.h: Likewise.
31663 * sysdeps/mach/hurd/_G_config.h: Likewise.
31665 2012-02-07 Marek Polacek <polacek@redhat.com>
31667 * math/Makefile (tests): Add tst-CMPLX2.
31668 * math/tst-CMPLX2.c: New file.
31670 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
31672 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31674 * math/libm-test.inc (jn_test): Add missing L suffix.
31676 2012-02-06 Marek Polacek <polacek@redhat.com>
31678 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
31679 * sysdeps/i386/fpu/e_powf.S: Likewise.
31680 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31681 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31682 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31683 * sysdeps/i386/fpu/e_pow.S: Likewise.
31684 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31685 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31686 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31687 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31688 * sysdeps/i386/fpu/e_log2.S: Likewise.
31689 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31690 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31691 * sysdeps/i386/fpu/e_powl.S: Likewise.
31692 * sysdeps/i386/fpu/s_log1p.S: Likewise.
31693 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31694 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31695 * sysdeps/i386/fpu/e_logl.S: Likewise.
31696 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31697 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
31698 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31699 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31700 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31701 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31702 * sysdeps/i386/fpu/e_log.S: Likewise.
31703 * sysdeps/i386/fpu/s_cexp.S: Likewise.
31704 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31705 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
31706 * sysdeps/i386/fpu/e_logf.S: Likewise.
31707 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31708 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31709 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
31710 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31711 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31712 * sysdeps/i386/fpu/e_log10.S: Likewise.
31713 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31714 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31715 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31716 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31717 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31718 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31719 * sysdeps/i386/asm-syntax.h: Likewise.
31720 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31721 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31722 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31723 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
31724 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
31725 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31726 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31727 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31728 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31729 * sysdeps/powerpc/sysdep.h: Likewise.
31730 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
31731 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31733 2012-02-06 Joseph Myers <joseph@codesourcery.com>
31736 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
31738 2012-02-06 Joseph Myers <joseph@codesourcery.com>
31740 * sysdeps/i386/sysdep.h: Include <features.h>.
31741 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
31744 2012-02-05 Joseph Myers <joseph@codesourcery.com>
31746 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31748 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31751 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31753 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
31754 (SETUP_PIC_REG): Use GET_PC_THUNK.
31755 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31758 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31760 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31761 for non-PIC compilation.
31762 (SETUP_PIC_REG): Add .p2align directive.
31763 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31764 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31765 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31766 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31767 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31768 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31769 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31770 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31771 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31772 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31773 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31774 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31775 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31776 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31777 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31778 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31779 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31780 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31781 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31782 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31783 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31784 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31785 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31786 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31787 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31788 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31789 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31790 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31791 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31792 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31793 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31794 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31795 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31796 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31797 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31798 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31799 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31800 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31801 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31802 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31803 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31805 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31807 * math/tst-CMPLX.c: Include <stdio.h>.
31809 2012-01-31 Joseph Myers <joseph@codesourcery.com>
31811 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31813 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31814 * sysdeps/sparc/bits/mathdef.h: Likewise.
31816 2012-01-31 Marek Polacek <polacek@redhat.com>
31818 * libio/libio.h: Don't define _PARAMS.
31819 * locale/programs/config.h: Don't define PARAMS.
31820 * stdlib/strtol_l.c: Likewise.
31821 (__strtol_l): Remove PARAMS from the prototype.
31823 2012-01-31 Ulrich Drepper <drepper@gmail.com>
31825 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
31826 names. Just use the correct names. Remove unnecessary wrapper
31828 * malloc/arena.c: Likewise.
31829 * malloc/hooks.c: Likewise.
31831 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31832 ARENA_TEST says not to. Simplify test for creation of a new arena.
31833 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31835 2012-01-30 Ulrich Drepper <drepper@gmail.com>
31837 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31839 (update_get_addr): New function.
31840 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31841 GET_ADDR_MODULE parameter.
31843 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31845 * crypt/cert.c: Remove __STDC__ conditionals.
31846 * crypt/crypt-entry.c: Likewise.
31847 * crypt/crypt_util.c: Likewise.
31848 * libio/filedoalloc.c: Likewise.
31849 * libio/fileops.c: Likewise.
31850 * libio/genops.c: Likewise.
31851 * libio/iofclose.c: Likewise.
31852 * libio/iofdopen.c: Likewise.
31853 * libio/iofopen.c: Likewise.
31854 * libio/iofopen64.c: Likewise.
31855 * libio/iogetdelim.c: Likewise.
31856 * libio/iopopen.c: Likewise.
31857 * libio/obprintf.c: Likewise.
31858 * libio/oldfileops.c: Likewise.
31859 * libio/oldiofclose.c: Likewise.
31860 * libio/oldiofdopen.c: Likewise.
31861 * libio/oldiofopen.c: Likewise.
31862 * libio/oldiopopen.c: Likewise.
31863 * libio/wfiledoalloc.c: Likewise.
31864 * libio/wgenops.c: Likewise.
31865 * locale/programs/xmalloc.c: Likewise.
31866 * misc/syslog.c: Likewise.
31867 * stdio-common/xbug.c: Likewise.
31868 * string/memchr.c: Likewise.
31869 * string/memcmp.c: Likewise.
31870 * string/memrchr.c: Likewise.
31871 * string/rawmemchr.c: Likewise.
31872 * sysdeps/posix/getcwd.c: Likewise.
31873 * time/strftime_l.c: Likewise.
31875 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31877 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31878 * config.make.in (config-cflags-sse2avx): Define.
31879 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31882 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
31884 * scripts/config.guess: Update from upstream config git repository.
31885 * scripts/config.sub: Likewise.
31887 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
31889 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31891 (R_TILEPRO_*, R_TILEGX_*): New macros.
31893 * scripts/firstversions.awk: Fix bug in version range handling.
31895 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31897 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31899 * include/sys/epoll.h: New file.
31900 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31903 2012-01-28 Ulrich Drepper <drepper@gmail.com>
31905 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31906 Avoid unnecessary __WORDSIZE == 64 test.
31907 (fmaxf): Use VEX format if possible.
31912 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31913 * math/math_private.h: Remove libc_fegetround* and
31915 * sysdeps/i386/configure.in: Check for -msse2avx.
31916 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31917 also if SSE2AVX is defined.
31918 Remove libc_fegetround* and libc_fesetround*.
31919 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31920 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
31921 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31923 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31924 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31925 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31926 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31927 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31929 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31931 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31933 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31935 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31937 2012-01-27 Ulrich Drepper <drepper@gmail.com>
31940 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31942 * Makeconfig (libm): Define.
31943 * elf/Makefile: Add rules to build and run tst-relsort1.
31944 * elf/tst-relsort1.c: New file.
31945 * elf/tst-relsort1mod1.c: New file.
31946 * elf/tst-relsort1mod2.c: New file.
31948 2012-01-27 Joseph Myers <joseph@codesourcery.com>
31950 * math/s_ldexp.c: Remove __STDC__ conditionals.
31951 * math/s_ldexpf.c: Likewise.
31952 * math/s_ldexpl.c: Likewise.
31953 * math/s_nextafter.c: Likewise.
31954 * math/s_nexttowardf.c: Likewise.
31955 * math/s_significand.c: Likewise.
31956 * math/s_significandf.c: Likewise.
31957 * math/s_significandl.c: Likewise.
31958 * math/w_jnl.c: Likewise.
31959 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31960 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31961 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31962 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31963 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31964 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31965 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31966 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31967 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31968 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31969 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31970 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31971 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31972 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31973 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31974 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31975 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31976 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31977 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31978 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31979 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31980 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31981 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31982 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31983 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31984 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31985 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31986 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31987 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31988 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31989 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31990 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31991 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31992 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31993 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31994 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31995 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31996 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31997 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31998 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31999 * sysdeps/ieee754/k_standard.c: Likewise.
32000 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32001 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32002 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32003 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32004 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32005 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32006 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32007 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32008 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32009 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32010 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32011 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32012 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32013 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32014 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32015 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32016 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32017 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32018 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32019 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32020 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32021 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32022 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32023 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32024 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32025 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32026 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32027 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32028 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32029 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32030 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32031 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
32032 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32033 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32034 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32035 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32036 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
32037 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32038 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32039 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
32040 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
32041 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32042 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32043 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
32044 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32045 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32046 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32047 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32048 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32049 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32050 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
32051 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32052 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32053 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32054 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32055 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32056 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32057 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32058 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32059 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32060 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32061 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32062 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32063 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32064 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32065 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32066 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32067 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32068 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32069 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32070 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32071 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32072 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32073 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32074 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32075 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32076 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32077 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32078 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32079 * sysdeps/ieee754/s_matherr.c: Likewise.
32080 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32081 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32082 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32083 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32085 2012-01-26 Joseph Myers <joseph@codesourcery.com>
32087 * crypt/md5.h: Remove __STDC__ conditionals.
32088 * libio/libioP.h: Likewise.
32089 * locale/programs/config.h: Likewise.
32090 * sysdeps/generic/sysdep.h: Likewise.
32091 * sysdeps/i386/asm-syntax.h: Likewise.
32092 * sysdeps/s390/asm-syntax.h: Likewise.
32093 * sysdeps/unix/sysdep.h: Likewise.
32094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32097 2012-01-26 Joseph Myers <joseph@codesourcery.com>
32099 * libio/libio.h: Remove __STDC__ conditionals.
32100 * malloc/obstack.h: Likewise.
32101 * math/complex.h: Likewise.
32102 * math/math.h: Likewise.
32103 * sysdeps/generic/_G_config.h: Likewise.
32104 * sysdeps/gnu/_G_config.h: Likewise.
32105 * sysdeps/mach/hurd/_G_config.h: Likewise.
32106 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32107 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32108 * sysdeps/sparc/bits/mathdef.h: Likewise.
32110 2012-01-26 Ulrich Drepper <drepper@gmail.com>
32113 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
32114 Clean up HAS_* macros.
32115 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
32116 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
32118 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
32120 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32121 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32122 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32123 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32124 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32126 2012-01-25 Joseph Myers <joseph@codesourcery.com>
32128 * elf/tst-unique3.cc (gets): Remove declaration.
32129 * elf/tst-unique3lib.cc (gets): Likewise.
32130 * elf/tst-unique3lib2.cc (gets): Likewise.
32131 * elf/tst-unique4.cc (gets): Likewise.
32133 2012-01-24 Ulrich Drepper <drepper@gmail.com>
32135 * include/stdio.h: Add C++ protection. Add gets declarations and
32137 * debug/tst-chk1.c: Don't declare gets here.
32138 * stdio-common/tst-gets.c: Likewise.
32140 2012-01-24 Joseph Myers <joseph@codesourcery.com>
32142 * posix/glob: Remove directory.
32144 2012-01-24 Joseph Myers <joseph@codesourcery.com>
32146 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
32148 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
32150 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
32151 of the non-standard EPFNOSUPPORT.
32153 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
32155 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
32156 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
32157 ANYWHERE set to 1 only on KERN_NO_SPACE error.
32159 2012-01-21 Ulrich Drepper <drepper@gmail.com>
32161 * wcsmbs/uchar.h: Test __STDC_VERSION__.
32163 2012-01-20 Ulrich Drepper <drepper@gmail.com>
32165 * nscd/aicache.c (addhstaiX): Do not cache negative results of
32167 * nscd/grpcache.c (cache_addgr): Likewise.
32168 * nscd/hstcache.c (cache_addhst): Likewise.
32169 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32170 * nscd/pwdcache.c (cache_addpw): Likewise.
32171 * nscd/servicescache.c (cache_addserv): Likewise.
32173 2012-01-16 Ulrich Drepper <drepper@gmail.com>
32175 * malloc/malloc.c: Various cleanups.
32176 * malloc/hooks.c: Likewise.
32178 * stdlib/Makefile (tests): Add bug-fmtmsg1.
32179 * stdlib/bug-fmtmsg1.c: New file.
32181 * stdlib/fmtmsg.c (init): Add missing unlock.
32182 Patch by Peng Haitao <penght@cn.fujitsu.com>.
32184 2012-01-12 Marek Polacek <polacek@redhat.com>
32186 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
32189 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32191 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
32192 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
32193 macro to ensure uniqueness of label name.
32194 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32195 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32197 2012-01-11 Ulrich Drepper <drepper@gmail.com>
32199 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
32201 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
32202 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32203 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32204 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
32206 2012-01-10 Ulrich Drepper <drepper@gmail.com>
32208 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
32210 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
32211 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32212 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32214 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
32216 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
32217 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32218 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32219 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
32221 * math/bits/math-finite.h: Add ldexp support.
32223 2012-01-10 Marek Polacek <polacek@redhat.com>
32225 * locale/programs/localedef.h (show_archive_content): Add noreturn
32228 2012-01-09 Ulrich Drepper <drepper@gmail.com>
32230 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
32232 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32234 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
32236 * io/Makefile (headers): Add bits/poll2.h.
32238 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
32240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
32241 typo #include statement.
32243 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32245 * include/sys/cdefs.h: Define __attribute_alloc_size.
32246 * catgets/gencat.c: Add alloc_size attribute and apply consistently
32247 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
32248 * elf/pldd.c: Likewise.
32249 * iconv/iconv_charmap.c: Likewise.
32250 * iconv/iconvconfig.c: Likewise.
32251 * iconv/strtab.c: Likewise.
32252 * locale/programs/locale.c: Likewise.
32253 * locale/programs/localedef.h: Likewise.
32254 * locale/programs/simple-hash.c: Likewise.
32255 * nscd/nscd.h: Likewise.
32256 * nss/makedb.c: Likewise.
32257 * sysdeps/generic/ldconfig.h: Likewise.
32258 * locale/programs/localedef.c: Remove xmalloc prototype.
32259 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
32261 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32263 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
32266 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32268 * math/Makefile (tests): Add tst-CMPLX.
32269 * math/tst-CMPLX.c: New file.
32271 * math/complex.h (CMPLXL): Fix typo.
32273 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
32274 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
32276 * debug/tst-chk1.c: Add poll and ppoll tests.
32277 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
32278 * include/sys/poll.h: Add hidden proto for ppoll.
32279 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
32280 * sysdeps/mach/hurd/ppoll.c: Likewise.
32281 * io/ppoll.c: Likewise.
32282 * debug/poll_chk.c: New file.
32283 * debug/ppoll_chk.c: New file.
32284 * include/bits/poll2.h: New file.
32285 * io/bits/poll2.h: New file.
32288 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
32290 * configure.in: static is always set to yes. Remove.
32291 * config.make.in: Don't set build-static.
32292 * Makeconfig: Remove use of build-static.
32293 * dlfcn/Makefile: Likewise.
32294 * elf/Makefile: Likewise.
32295 * math/Makefile: Likewise.
32296 * misc/Makefile: Likewise.
32297 * nptl/Makefile: Likewise.
32298 * sysdeps/mach/hurd/Makefile: Likewise.
32300 * configure.in: PWD_P is not used anymore.
32301 * config.make.in: Remove PWD_P entry.
32303 * configure.in: Remove last remnants of RANLIB.
32304 No need to check for signed size_t anymore.
32305 Don't set libc_commonpagesize and libc_relro_required here for Alpha
32307 Remove __builtin_expect test because we require at least gcc 3.4.
32308 * aclocal.m4: Likewise.
32310 * wcsmbs/mbrtoc16.c: Implement using towc function.
32311 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
32312 * wcsmbs/wcsmbsload.c: Likewise.
32313 * iconv/gconv_simple.c: Likewise.
32314 * iconv/gconv_int.h: Likewise.
32315 * iconv/gconv_builtin.h: Likewise.
32316 * iconv/iconv_prog.c: Remove CHAR16 handling.
32318 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
32320 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
32322 * configure.in: Remove --with-elf and --enable-bounded options.
32323 Dont set base_machine for ia64. More non-ELF conditions removed.
32324 Remove testing and setting of leading underscore information.
32325 * config.make.in (build-bounded): Set to no.
32326 * config.h.in: Remove NO_UNDERSCORES entry.
32327 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
32329 * csu/start.c: Remove !NO_UNDERSCORE code.
32330 * locale/localeinfo.h: Likewise.
32331 * sysdeps/generic/machine-gmon.h: Likewise.
32332 * sysdeps/generic/sysdep.h: Likewise.
32333 * sysdeps/i386/sysdep.h: Likewise.
32334 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32335 * sysdeps/mach/sysdep.h: Likewise.
32336 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32337 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32338 * sysdeps/sh/sysdep.h: Likewise.
32339 * sysdeps/sparc/sparc32/alloca.S: Likewise.
32340 * sysdeps/unix/i386/sysdep.S: Likewise.
32341 * sysdeps/unix/sparc/start.c: Likewise.
32342 * sysdeps/unix/sparc/sysdep.S: Likewise.
32343 * sysdeps/unix/sparc/sysdep.h: Likewise.
32344 * sysdeps/unix/start.c: Likewise.
32345 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32346 * sysdeps/x86_64/sysdep.h: Likewise.
32348 2012-01-07 Ulrich Drepper <drepper@gmail.com>
32351 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
32353 * argp/argp-fmtstream.h: Use const instead __const.
32354 * argp/argp.h: Likewise.
32355 * assert/assert.h: Likewise.
32356 * bits/fenv.h: Likewise.
32357 * bits/sched.h: Likewise.
32358 * bits/sigset.h: Likewise.
32359 * bits/sigthread.h: Likewise.
32360 * catgets/nl_types.h: Likewise.
32361 * conform/data/pthread.h-data: Likewise.
32362 * crypt/crypt-private.h: Likewise.
32363 * crypt/crypt.h: Likewise.
32364 * crypt/crypt_util.c: Likewise.
32365 * ctype/ctype.h: Likewise.
32366 * debug/execinfo.h: Likewise.
32367 * debug/mbsnrtowcs_chk.c: Likewise.
32368 * debug/mbsrtowcs_chk.c: Likewise.
32369 * debug/wcsnrtombs_chk.c: Likewise.
32370 * debug/wcsrtombs_chk.c: Likewise.
32371 * debug/wcstombs_chk.c: Likewise.
32372 * dirent/dirent.h: Likewise.
32373 * dlfcn/dlfcn.h: Likewise.
32374 * elf/neededtest4.c: Likewise.
32375 * grp/grp.h: Likewise.
32376 * gshadow/gshadow.h: Likewise.
32377 * iconv/gconv.h: Likewise.
32378 * iconv/gconv_int.h: Likewise.
32379 * iconv/gconv_simple.c: Likewise.
32380 * iconv/iconv.h: Likewise.
32381 * iconv/loop.c: Likewise.
32382 * iconv/skeleton.c: Likewise.
32383 * include/aio.h: Likewise.
32384 * include/aliases.h: Likewise.
32385 * include/argz.h: Likewise.
32386 * include/arpa/inet.h: Likewise.
32387 * include/assert.h: Likewise.
32388 * include/dirent.h: Likewise.
32389 * include/dlfcn.h: Likewise.
32390 * include/execinfo.h: Likewise.
32391 * include/fcntl.h: Likewise.
32392 * include/fenv.h: Likewise.
32393 * include/glob.h: Likewise.
32394 * include/grp.h: Likewise.
32395 * include/libintl.h: Likewise.
32396 * include/mntent.h: Likewise.
32397 * include/netdb.h: Likewise.
32398 * include/pwd.h: Likewise.
32399 * include/rpc/netdb.h: Likewise.
32400 * include/sched.h: Likewise.
32401 * include/search.h: Likewise.
32402 * include/shadow.h: Likewise.
32403 * include/signal.h: Likewise.
32404 * include/stdio.h: Likewise.
32405 * include/stdlib.h: Likewise.
32406 * include/string.h: Likewise.
32407 * include/sys/socket.h: Likewise.
32408 * include/sys/stat.h: Likewise.
32409 * include/sys/statfs.h: Likewise.
32410 * include/sys/statvfs.h: Likewise.
32411 * include/sys/syslog.h: Likewise.
32412 * include/sys/time.h: Likewise.
32413 * include/sys/uio.h: Likewise.
32414 * include/time.h: Likewise.
32415 * include/unistd.h: Likewise.
32416 * include/utmp.h: Likewise.
32417 * include/wchar.h: Likewise.
32418 * include/wctype.h: Likewise.
32419 * inet/aliases.h: Likewise.
32420 * inet/arpa/inet.h: Likewise.
32421 * inet/netinet/ether.h: Likewise.
32422 * inet/netinet/in.h: Likewise.
32423 * intl/libintl.h: Likewise.
32424 * io/bits/fcntl2.h: Likewise.
32425 * io/fcntl.h: Likewise.
32426 * io/ftw.h: Likewise.
32427 * io/sys/poll.h: Likewise.
32428 * io/sys/stat.h: Likewise.
32429 * io/sys/statfs.h: Likewise.
32430 * io/sys/statvfs.h: Likewise.
32431 * io/utime.h: Likewise.
32432 * libio/bits/stdio.h: Likewise.
32433 * libio/bits/stdio2.h: Likewise.
32434 * libio/libio.h: Likewise.
32435 * libio/libioP.h: Likewise.
32436 * libio/stdio.h: Likewise.
32437 * locale/lc-ctype.c: Likewise.
32438 * locale/locale.h: Likewise.
32439 * login/utmp.h: Likewise.
32440 * malloc/arena.c: Likewise.
32441 * malloc/malloc.c: Likewise.
32442 * malloc/malloc.h: Likewise.
32443 * malloc/mcheck.c: Likewise.
32444 * malloc/mtrace.c: Likewise.
32445 * math/bits/mathcalls.h: Likewise.
32446 * math/fenv.h: Likewise.
32447 * math/math_private.h: Likewise.
32448 * misc/bits/error.h: Likewise.
32449 * misc/bits/syslog.h: Likewise.
32450 * misc/err.h: Likewise.
32451 * misc/error.h: Likewise.
32452 * misc/fstab.h: Likewise.
32453 * misc/mntent.h: Likewise.
32454 * misc/regexp.h: Likewise.
32455 * misc/search.h: Likewise.
32456 * misc/sgtty.h: Likewise.
32457 * misc/sys/mman.h: Likewise.
32458 * misc/sys/syslog.h: Likewise.
32459 * misc/sys/uio.h: Likewise.
32460 * misc/sys/xattr.h: Likewise.
32461 * misc/ttyent.h: Likewise.
32462 * nis/rpcsvc/ypclnt.h: Likewise.
32463 * nss/nss.h: Likewise.
32464 * posix/bits/unistd.h: Likewise.
32465 * posix/fnmatch.h: Likewise.
32466 * posix/glob.h: Likewise.
32467 * posix/sched.h: Likewise.
32468 * posix/spawn.h: Likewise.
32469 * posix/sys/wait.h: Likewise.
32470 * posix/unistd.h: Likewise.
32471 * posix/wordexp.h: Likewise.
32472 * pwd/pwd.h: Likewise.
32473 * resolv/netdb.h: Likewise.
32474 * resource/sys/resource.h: Likewise.
32475 * rt/aio.h: Likewise.
32476 * rt/bits/mqueue2.h: Likewise.
32477 * rt/mqueue.h: Likewise.
32478 * shadow/shadow.h: Likewise.
32479 * signal/signal.h: Likewise.
32480 * socket/send.c: Likewise.
32481 * socket/sendto.c: Likewise.
32482 * socket/sys/socket.h: Likewise.
32483 * stdio-common/printf.h: Likewise.
32484 * stdlib/bits/stdlib.h: Likewise.
32485 * stdlib/fmtmsg.h: Likewise.
32486 * stdlib/monetary.h: Likewise.
32487 * stdlib/stdlib.h: Likewise.
32488 * stdlib/ucontext.h: Likewise.
32489 * streams/stropts.h: Likewise.
32490 * string/argz.h: Likewise.
32491 * string/bits/string2.h: Likewise.
32492 * string/string.h: Likewise.
32493 * string/strings.h: Likewise.
32494 * sunrpc/rpc/auth.h: Likewise.
32495 * sunrpc/rpc/auth_des.h: Likewise.
32496 * sunrpc/rpc/clnt.h: Likewise.
32497 * sunrpc/rpc/netdb.h: Likewise.
32498 * sunrpc/rpc/pmap_clnt.h: Likewise.
32499 * sunrpc/rpc/xdr.h: Likewise.
32500 * sysdeps/generic/inttypes.h: Likewise.
32501 * sysdeps/generic/net/if.h: Likewise.
32502 * sysdeps/generic/sys/swap.h: Likewise.
32503 * sysdeps/gnu/net/if.h: Likewise.
32504 * sysdeps/gnu/utmpx.h: Likewise.
32505 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
32506 * sysdeps/i386/i486/bits/string.h: Likewise.
32507 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
32508 * sysdeps/s390/bits/string.h: Likewise.
32509 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
32510 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
32511 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32512 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
32513 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
32514 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
32515 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
32516 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
32517 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
32518 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32519 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
32520 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32521 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
32522 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32523 * sysdeps/unix/sysv/linux/readv.c: Likewise.
32524 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
32525 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
32526 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32527 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32528 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32529 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32530 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
32531 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
32532 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
32533 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
32534 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
32535 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
32536 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32537 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
32538 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
32539 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
32540 * sysvipc/sys/ipc.h: Likewise.
32541 * sysvipc/sys/msg.h: Likewise.
32542 * sysvipc/sys/sem.h: Likewise.
32543 * sysvipc/sys/shm.h: Likewise.
32544 * termios/termios.h: Likewise.
32545 * time/sys/time.h: Likewise.
32546 * time/time.h: Likewise.
32547 * wcsmbs/bits/wchar2.h: Likewise.
32548 * wcsmbs/uchar.h: Likewise.
32549 * wcsmbs/wchar.h: Likewise.
32550 * wctype/wctype.h: Likewise.
32553 * Makeconfig: Remove all but ELF support including AIX support.
32554 * Makerules: Likewise.
32555 * config.h.in: Likewise.
32556 * config.make.in: Likewise.
32557 * configure: Likewise.
32558 * configure.in: Likewise.
32559 * csu/Makefile: Likewise.
32560 * csu/version.c: Likewise.
32561 * debug/Makefile: Likewise.
32562 * dlfcn/Makefile: Likewise.
32563 * elf/Makefile: Likewise.
32564 * extra-lib.mk: Likewise.
32565 * iconv/Makefile: Likewise.
32566 * include/libc-symbols.h: Likewise.
32567 * include/shlib-compat.h: Likewise.
32568 * resolv/Makefile: Likewise.
32569 * resolv/res_libc.c: Likewise.
32570 * rt/Makefile: Likewise.
32571 * sysdeps/i386/asm-syntax.h: Likewise.
32572 * sysdeps/i386/sysdep.h: Likewise.
32573 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32574 * sysdeps/mach/sysdep.h: Likewise.
32575 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
32576 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
32577 * sysdeps/s390/asm-syntax.h: Likewise.
32578 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32579 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32580 * sysdeps/sh/sysdep.h: Likewise.
32581 * sysdeps/unix/sparc/sysdep.h: Likewise.
32582 * sysdeps/wordsize-32/divdi3.c: Likewise.
32583 * sysdeps/x86_64/sysdep.h: Likewise.
32585 * argp/Versions: Remove _argp_unlock_xxx.
32588 * abilist/ld.abilist: Update. Adjust for removal of tls option.
32589 * abilist/libBrokenLocale.abilist: Likewise.
32590 * abilist/libanl.abilist: Likewise.
32591 * abilist/libc.abilist: Likewise.
32592 * abilist/libcrypt.abilist: Likewise.
32593 * abilist/libdl.abilist: Likewise.
32594 * abilist/libm.abilist: Likewise.
32595 * abilist/libnsl.abilist: Likewise.
32596 * abilist/libpthread.abilist: Likewise.
32597 * abilist/libresolv.abilist: Likewise.
32598 * abilist/librt.abilist: Likewise.
32599 * abilist/libthread_db.abilist: Likewise.
32600 * abilist/libutil.abilist: Likewise.
32601 * abilist/libnss_db.abilist: New file.
32603 * scripts/abilist.awk: Add support for indirect functions.
32605 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
32607 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
32609 * shlib-versions: Remove entries for ports architectures.
32611 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
32613 * elf/stackguard-macros.h: Remove support for IA-64.
32614 * elf/tst-auditmod1.c: Likewise.
32615 * sysdeps/generic/ldsodefs.h: Likewise.
32617 * sysdeps/unix/sysv/linux/configure.in: Ports should define
32618 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
32622 * configure.in: Remove --enable-omitfp support.
32624 * config.make.in: Likewise.
32625 * Makeconfig: Likewise.
32626 * manual/install.texi: Likewise.
32628 In case anyone cares, the IA-64 architecture could move to ports.
32629 * sysdeps/ia64/*: Removed.
32630 * sysdeps/unix/sysv/linux/ia64/*: Removed.
32631 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
32634 * configure.in: Remove entries for unsupported architectures.
32637 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
32638 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
32640 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
32641 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
32642 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
32643 fall back to using wcrtomb.
32644 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
32645 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
32647 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
32648 * wcsmbs/tst-c16c32-1.c: New file.
32650 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
32653 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
32655 * elf/tst-unique3.cc: Add explicit declaration of gets.
32656 * elf/tst-unique3lib.cc: Likewise.
32657 * elf/tst-unique3lib2.cc: Likewise.
32658 * elf/tst-unique4.cc: Likewise.
32660 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
32662 2012-01-06 Joseph Myers <joseph@codesourcery.com>
32665 * assert/assert.h (static_assert): Don't define for C++.
32666 * libio/stdio.h (gets): Do declare for C++ <= C++11.
32667 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
32669 2012-01-03 Ulrich Drepper <drepper@gmail.com>
32671 * iconv/loop.c (single loop): Fix assertion in storing of
32674 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
32676 2012-01-01 Ulrich Drepper <drepper@gmail.com>
32678 * posix/getconf.c: Update copyright year.
32679 * nss/getent.c: Likewise.
32680 * nss/makedb.c: Likewise.
32681 * iconv/iconvconfig.c: Likewise.
32682 * iconv/iconv_prog.c: Likewise.
32683 * elf/ldconfig.c: Likewise.
32684 * elf/pldd.c: Likewise.
32685 * elf/sotruss.ksh: Likewise.
32686 * catgets/gencat.c: Likewise.
32687 * csu/version.c: Likewise.
32688 * elf/ldd.bash.in: Likewise.
32689 * elf/sprof.c (print_version): Likewise.
32690 * locale/programs/locale.c: Likewise.
32691 * locale/programs/localedef.c: Likewise.
32692 * login/programs/pt_chown.c: Likewise.
32693 * nscd/nscd.c (print_version): Likewise.
32694 * debug/xtrace.sh: Likewise.
32695 * malloc/memusage.sh: Likewise.
32696 * malloc/mtrace.pl: Likewise.
32697 * debug/catchsegv.sh: Likewise.
32699 2011-12-30 Jakub Jelinek <jakub@redhat.com>
32701 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
32704 2011-12-24 Ulrich Drepper <drepper@gmail.com>
32707 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
32708 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
32710 * iconv/gconv_int.h: Likewise.
32711 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
32712 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
32713 from libc for GLIBC_2.16.
32714 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
32715 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
32716 * wcsmbs/uchar.h: Really define mbstate_t.
32717 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
32718 * wcsmbs/c16rtomb.c: New file.
32719 * wcsmbs/mbrtoc16.c: New file.
32720 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
32721 for C/POSIX locale.
32722 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
32723 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
32725 * wcsmbs/wchar.h: Add missing __restrict.
32727 2011-12-23 Ulrich Drepper <drepper@gmail.com>
32730 * time/Makefile (routines): Add timespec_get.
32731 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
32732 * time/time.h: Define TIME_UTC and declare timespec_get. Define
32733 timespec for ISO C11.
32734 * time/timespec_get.c: New file.
32735 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
32736 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
32739 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
32740 * stdlib/stdlib.h: Declare aligned_alloc.
32741 * Versions.def: Add GLIBC_2.16 for libc.
32742 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
32745 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
32748 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
32752 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32755 * assert/assert.h (static_assert): Define.
32757 * version.h: Update for 2.16 development version.
32760 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32763 * version.h (RELEASE): Bump for 2.15 release.
32764 * include/features.h (__GLIBC_MINOR__): Bump to 15.
32766 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32767 Patch by Marek Polacek <mpolacek@redhat.com>.
32769 * bits/byteswap.h: Protect long long constants with __extension__.
32770 * sysdeps/i386/bits/byteswap.h: Likewise.
32771 * sysdeps/ia64/bits/byteswap.h: Likewise.
32772 * sysdeps/s390/bits/byteswap.h: Likewise.
32773 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32775 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32778 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32779 destination buffer.
32780 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32782 2011-12-23 Marek Polacek <polacek@redhat.com>
32784 * elf/dl-addr.c (determine_info): Add inline keyword.
32785 * elf/tst-auditmod4b.c (check_avx): Likewise.
32786 * elf/tst-auditmod6b.c (check_avx): Likewise.
32787 * elf/tst-auditmod6c.c (check_avx): Likewise.
32788 * elf/tst-auditmod7b.c (check_avx): Likewise.
32790 2011-12-23 Ulrich Drepper <drepper@gmail.com>
32792 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32795 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32798 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32799 processing for last bytes.
32801 2011-08-06 Bruno Haible <bruno@clisp.org>
32804 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32805 U+0385, not to U+1FEE.
32808 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32809 entry for U+00A5 U+0301.
32811 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32814 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32815 buffer for the output is too small.
32817 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32821 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32822 SSE flags if possible.
32824 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32827 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32828 processing for last bytes.
32830 2011-12-22 Joseph Myers <joseph@codesourcery.com>
32832 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32833 (syscall-list-default-options, syscall-list-default-condition)
32834 (syscall-list-includes): Define.
32835 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32836 list of ABIs and options and #if conditions for each ABI. Do not
32837 handle common syscalls between ABIs specially.
32838 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32840 (syscall-list-variants, syscall-list-32bit-options)
32841 (syscall-list-32bit-condition, syscall-list-64bit-options)
32842 (syscall-list-64bit-condition): Define.
32843 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32844 (syscall-list-variants, syscall-list-32bit-options)
32845 (syscall-list-32bit-condition, syscall-list-64bit-options)
32846 (syscall-list-64bit-condition): Define.
32847 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32849 (syscall-list-variants, syscall-list-32bit-options)
32850 (syscall-list-32bit-condition, syscall-list-64bit-options)
32851 (syscall-list-64bit-condition): Define.
32852 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32854 (syscall-list-variants, syscall-list-32bit-options)
32855 (syscall-list-32bit-condition, syscall-list-64bit-options)
32856 (syscall-list-64bit-condition): Define.
32858 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32860 * locale/iso-639.def: Add brx entry.
32863 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32864 Proposed by Mariusz_Cukr <marcukr@op.pl>.
32866 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32867 __feraiseexcept_renamed.
32869 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32872 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32873 EPOLLET with unsigned values.
32874 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32875 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32877 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32878 to large cancellation.
32879 * math/s_cacoshf.c: Likewise.
32880 * math/s_cacoshl.c: Likewise.
32882 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
32886 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32887 * math/s_cacoshf.c: Likewise.
32888 * math/s_cacoshl.c: Likewise.
32890 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32893 * iconv/gconv.h: Define __GCONV_SWAP.
32894 * iconvdata/unicode.c: The swap bit must be stored in __flags.
32895 * iconvdata/utf-16.c: Likewise.
32896 * iconvdata/utf-32.c: Likewise.
32898 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
32901 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32902 numerator after shifting it by one limb.
32904 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
32906 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32907 under [__USE_EXTERN_INLINES].
32909 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32912 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32914 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32916 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32917 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32919 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32920 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32921 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32922 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32923 for strncasecmp/strncasecmp_l compilation.
32924 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32925 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32927 2011-12-08 Marek Polacek <mpolacek@redhat.com>
32930 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32933 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32936 * time/tzfile.c (__tzfile_read): Check values from file header.
32938 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32940 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32941 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32942 * powerpc/powerpc32/dl-start.S: Likewise.
32943 * powerpc/powerpc32/elf/start.S: Likewise.
32944 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32945 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32946 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32947 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32948 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32949 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32950 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32951 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32952 * powerpc/powerpc32/fpu/s_round.S: Likewise.
32953 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32954 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32955 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32956 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32957 * powerpc/powerpc32/memset.S: Likewise.
32958 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32959 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32960 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32961 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32962 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32963 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32964 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32965 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32966 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32967 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32968 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32969 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32970 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32972 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32974 * math/libm-test.inc: Added more nearbyint tests.
32975 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32976 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32977 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32978 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32980 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
32982 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32985 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32987 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32988 Add wcscpy-ssse3 wcscpy-c.
32989 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32990 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32991 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32992 * sysdeps/x86_64/wcschr.S: New file.
32993 * sysdeps/x86_64/wcsrchr.S: New file.
32994 * string/test-strcmp.c: Remove checking of wcscmp function for
32996 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32997 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32998 wcsrchr-sse2 wcsrchr-c.
32999 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
33000 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
33001 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
33002 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
33003 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
33004 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
33005 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
33006 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
33007 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
33008 * wcsmbc/wcschr.c (WCSCHR): New macro.
33010 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33012 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
33013 * wcsmbs/test-wcsrchr.c: New file.
33014 * string/test-strrchr.c: Add wcsrchr support.
33016 * wcsmbs/test-wcscpy.c: New file.
33017 * string/test-strcpy.c: Add wcscpy support.
33020 2011-12-10 Ulrich Drepper <drepper@gmail.com>
33022 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
33025 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
33028 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
33030 2011-12-04 Ulrich Drepper <drepper@gmail.com>
33032 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
33033 Minor optimizations.
33035 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
33036 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
33037 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33039 2011-12-03 Ulrich Drepper <drepper@gmail.com>
33041 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
33042 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
33043 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
33044 for gcc to avoid warnings.
33045 * inet/Makefile (tests): Add tst-checks.
33046 * inet/tst-checks.c: New file.
33048 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33051 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33054 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33055 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33057 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33059 2011-12-02 Ulrich Drepper <drepper@gmail.com>
33061 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33064 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33066 2011-11-29 Joseph Myers <joseph@codesourcery.com>
33068 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33069 conditional on GCC version.
33070 (__arch_compare_and_exchange_val_8_acq)
33071 (__arch_compare_and_exchange_val_16_acq)
33072 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33073 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33074 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33076 2011-12-02 Joseph Myers <joseph@codesourcery.com>
33078 * sysdeps/sh/backtrace.c: New file.
33080 2011-12-02 Andreas Schwab <schwab@redhat.com>
33082 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
33085 2011-12-01 Andreas Schwab <schwab@redhat.com>
33087 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33088 falling back to utime.
33090 2011-11-30 Andreas Schwab <schwab@redhat.com>
33092 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
33093 expectations for float.
33095 2011-11-29 Andreas Schwab <schwab@redhat.com>
33097 * locale/weight.h (findidx): Add parameter len.
33098 * locale/weightwc.h (findidx): Likewise.
33099 * posix/fnmatch_loop.c (FCT): Adjust caller.
33100 * posix/regcomp.c (build_equiv_class): Likewise.
33101 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
33102 * posix/regexec.c (check_node_accept_bytes): Likewise.
33103 * string/strcoll_l.c (STRCOLL): Likewise.
33104 * string/strxfrm_l.c (STRXFRM): Likewise.
33106 2011-11-17 Ulrich Drepper <drepper@gmail.com>
33108 * Makefile.in: Remove CVSOPT handling.
33109 * configure.in: Remove use of AC_REVISION.
33110 * iconvdata/Makefile (distribute): No need to filter out CVS.
33111 * scripts/list-sources.sh: Remove CVS, subversion and monotone
33114 2011-11-16 Andreas Schwab <schwab@redhat.com>
33116 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
33117 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
33118 [USE_AS_STRNCASECMP_L]: Likewise.
33119 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
33120 NO_TLS_DIRECT_SEG_REFS.
33121 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
33122 Fix argument offsets for non-PIC.
33123 [USE_AS_STRNCASECMP_L]: Likewise.
33124 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
33125 NO_TLS_DIRECT_SEG_REFS.
33127 2011-11-15 Ulrich Drepper <drepper@gmail.com>
33129 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
33131 * locale/loadlocale.c (_nl_load_locale): Likewise.
33133 2011-11-15 Andreas Schwab <schwab@redhat.com>
33135 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
33136 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
33137 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
33138 (SYSCALL_GETTIME): Set errno on error.
33140 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
33141 count references to noai6ai_cached.
33143 2011-11-15 Ulrich Drepper <drepper@gmail.com>
33145 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
33147 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
33148 FD_CLOEXEC for /proc/self/maps.
33150 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
33151 FD_CLOEXEC for /proc/meminfo.
33153 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
33156 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
33157 FD_CLOEXEC for given file.
33159 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
33161 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
33162 FD_CLOEXEC for /etc/hosts.
33163 (_gethtent): Likewise.
33165 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
33167 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
33168 cancellation and set FD_CLOEXEC for /etc/netgroup.
33170 * nss/nss_files/files-key.c (search): Don't allow cancellation when
33171 reading /etc/publickey.
33173 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
33174 allow cancellation when reading /etc/group.
33176 * nss/nss_files/files-alias.c (internal_setent): Don't allow
33178 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
33180 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
33181 when using data file.
33183 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
33185 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
33186 (write_nis_obj): Use "c" and "e" in fopen.
33188 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
33190 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
33192 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
33194 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
33196 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
33199 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
33201 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
33203 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
33205 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
33206 file parsing and set FD_CLOEXEC.
33208 2011-11-14 Ulrich Drepper <drepper@gmail.com>
33210 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
33212 2011-11-14 Andreas Schwab <schwab@redhat.com>
33214 * malloc/arena.c (arena_get2): Don't call reused_arena when
33215 _int_new_arena failed.
33217 2011-11-14 Ulrich Drepper <drepper@gmail.com>
33219 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
33220 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
33221 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
33222 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33223 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33224 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
33225 to compile strcasecmp and strncasecmp.
33226 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
33227 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
33229 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
33231 2011-11-13 Ulrich Drepper <drepper@gmail.com>
33233 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
33234 locale-defines.sym to gen-as-const-headers.
33235 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
33236 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
33237 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
33238 to compile strcasecmp and strncasecmp.
33239 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
33240 strcasecmp_l and strncasecmp_l.
33241 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
33242 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
33243 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
33244 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
33245 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
33246 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
33247 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
33248 * sysdeps/i386/i686/multiarch/strncase.S: New file.
33249 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
33250 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
33251 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
33253 2011-11-12 Ulrich Drepper <drepper@gmail.com>
33255 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
33256 result of SYSDEP_GETTIME_CPU to retval.
33257 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
33258 parameter list to macro. Remove trailing semicolon. Adjust users.
33260 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
33263 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
33265 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33267 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
33268 from unused variable.
33270 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
33272 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
33275 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
33278 * sunrpc/rpc_prot.c (rejected): Fix case value.
33280 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
33281 unsigned long long int to avoid warnings in shift.
33283 * posix/regex_internal.c (re_string_reconstruct): Actually use result
33285 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
33288 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
33289 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
33290 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
33292 * nis/nis_table.c (nis_list): Use variable of correct type for
33293 result of __follow_path call.
33295 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33297 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
33298 of math functions ceil, trunc, floor, round, and sqrt, when
33299 avaliable on the platform.
33300 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
33302 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33303 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33304 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33306 2011-10-30 Marek Polacek <mpolacek@redhat.com>
33308 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
33309 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33311 2011-11-11 Roland McGrath <roland@hack.frob.com>
33313 * include/unistd.h: Fix __readlink return type.
33314 Reported by Chris Metcalf <cmetcalf@tilera.com>.
33316 2011-11-11 Ulrich Drepper <drepper@gmail.com>
33318 * stdlib/ucontext.h: Undo last change for makecontext.
33320 2011-11-11 Andreas Schwab <schwab@redhat.com>
33322 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
33324 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
33325 * setjmp/setjmp.h: Mark functions as non-leaf.
33326 * setjmp/bits/setjmp2.h: Likewise.
33327 * stdlib/ucontext.h: Likewise.
33329 2011-11-10 Andreas Schwab <schwab@redhat.com>
33331 * malloc/arena.c (_int_new_arena): Don't increment narenas.
33332 (reused_arena): Don't check arena limit.
33333 (arena_get2): Atomically check arena limit.
33335 2011-11-08 Ulrich Drepper <drepper@gmail.com>
33337 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
33338 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
33340 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
33343 2011-11-07 Andreas Schwab <schwab@redhat.com>
33345 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
33346 handler when locking.
33348 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33349 Fix size of allocated buffer.
33351 2011-11-04 Andreas Schwab <schwab@redhat.com>
33354 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
33355 declarations for long double functions.
33356 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
33358 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
33360 2011-11-03 Andreas Schwab <schwab@redhat.com>
33362 * nscd/nscd.c (main): Don't start AVC thread until credentials are
33365 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
33368 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33370 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
33372 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
33374 * include/alloca.h (stackinfo_alloca_round): Define.
33375 (extend_alloca): Use it.
33376 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
33377 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
33380 * scripts/check-local-headers.sh: Ignore libaudit.h.
33382 * nscd/Makefile (extra-objs): Make recursively expanded.
33384 2011-11-01 Ulrich Drepper <drepper@gmail.com>
33386 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
33387 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33389 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
33390 * posix/tst-rfc3484-2.c: Likewise.
33391 * posix/tst-rfc3484-3.c: Likewise.
33393 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33395 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
33397 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
33398 process_vm_writev from libc using GLIBC_2.15 version.
33400 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
33402 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
33404 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
33407 2011-10-31 Ulrich Drepper <drepper@gmail.com>
33410 * nss/getent.c (initgroups_keys): Show error message in case no group
33413 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
33414 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
33415 __bump_nl_timestamp.
33416 * nscd/connections (nscd_init): When host database is served open
33417 netlink socket and request notification about configuration changes.
33418 (main_loop_poll): Track netlink file descriptor and bump timestamp
33419 in case data becomes available.
33420 (main_loop_epoll): Likewise.
33421 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
33422 (database_pers_head): Add extra_data fileds.
33423 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
33424 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
33425 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
33427 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
33428 in6ai data, call __free_in6ai.
33429 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
33430 Add -DHAVE_NETLINK.
33431 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
33432 interface information. Reuse previous data if netlink timestamp
33434 (__bump_nl_timestamp): New function.
33435 (__free_in6ai): New function.
33437 2011-10-30 Ulrich Drepper <drepper@gmail.com>
33439 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
33440 close_not_cancel_no_status here.
33441 (__check_pf): Reorganize code a bit to not call close twice if OOM.
33443 2011-10-29 Ulrich Drepper <drepper@gmail.com>
33446 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
33449 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
33450 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
33451 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
33453 2011-07-03 Andreas Jaeger <aj@suse.de>
33456 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
33457 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
33458 * math/libm-test.inc (sin_test): Add test case.
33460 2011-10-29 Ulrich Drepper <drepper@gmail.com>
33463 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
33464 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33466 * elf/chroot_canon.c (chroot_canon): Cleanups.
33468 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
33471 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
33472 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33474 * string/test-strchr.c: Make usable for strchrnul testing.
33475 * string/test-strchrnul.c: New file.
33476 * string/Makefile (strop-tests): Add strchrnul.
33478 * po/it.po: Update from translation team.
33479 * po/es.po: Likewise.
33481 2011-10-28 Ulrich Drepper <drepper@gmail.com>
33483 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
33484 the three constants needed as parameters. Drop the others.
33485 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
33486 __m128i_strloadu_tolower.
33487 Create and initialize variable zero and use it in all the places
33488 where _mm_setzero_si128 was used.
33490 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
33491 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
33492 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
33493 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
33495 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
33496 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
33497 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
33498 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
33499 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
33500 __mpranred, __mptan.
33501 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
33502 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
33503 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
33504 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
33505 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
33506 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
33507 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
33508 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
33509 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
33511 2011-10-28 Andreas Schwab <schwab@redhat.com>
33513 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
33514 redefine if SHARED.
33515 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
33517 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
33518 wide char related routines to wcsmbs subdir.
33520 2011-10-27 Andreas Schwab <schwab@redhat.com>
33523 * misc/sys/cdefs.h (__THROWNL): Define.
33524 * posix/unistd.h: Use __THREADNL instead of __THREAD
33525 for memory synchronization functions.
33527 2011-10-26 Roland McGrath <roland@hack.frob.com>
33530 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
33532 * manual/stdio.texi (Obstack Streams): Node removed.
33534 2011-10-26 Andreas Schwab <schwab@redhat.com>
33536 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
33537 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33538 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33540 * math/math_private.h (math_force_eval): Allow non-addressable
33542 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
33544 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33546 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
33547 file is not needed.
33549 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
33550 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33551 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33552 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33553 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33554 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33555 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33556 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
33558 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
33559 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
33560 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
33561 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
33562 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
33563 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
33564 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
33565 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
33566 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
33567 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
33568 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
33569 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
33570 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
33571 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
33572 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
33573 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
33574 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
33575 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
33576 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
33578 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
33579 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
33581 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
33582 place. Use VEX encoding when compiling for AVX.
33584 2011-10-25 Andreas Schwab <schwab@redhat.com>
33586 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
33587 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33589 * string/test-strchr.c (do_test): Don't generate NUL bytes.
33591 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33593 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
33594 useless if() expression.
33595 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33596 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33597 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33598 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33599 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33600 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33601 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33602 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33603 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33604 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33605 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33606 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33607 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33608 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33609 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33610 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33611 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33612 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33613 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33615 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
33617 2011-10-25 Andreas Schwab <schwab@redhat.com>
33619 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
33621 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33623 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33625 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
33626 .text section. Avoid duplicate constants.
33627 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33628 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33629 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33630 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33631 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33632 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33633 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33634 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33635 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33636 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
33637 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33638 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33639 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33640 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33641 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33642 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33643 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33644 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33645 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33646 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33647 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33648 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33649 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33650 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
33651 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
33652 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
33653 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
33654 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
33655 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
33656 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
33657 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
33658 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
33659 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33660 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
33661 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
33662 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
33663 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
33664 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
33665 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
33666 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
33667 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
33668 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
33669 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
33670 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
33671 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
33673 2011-10-24 Ulrich Drepper <drepper@gmail.com>
33675 * sysdeps/x86_64/dla.h: Move to ...
33676 * sysdeps/x86_64/fpu/dla.h: ...here.
33677 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
33678 situations. Use __builtin_fma only for gcc 4.6 and up.
33680 * config.make.in: Add have-mfma4 entry.
33681 * configure.in: Substitute libc_cv_cc_fma4.
33682 * math/Makefile (dbl-only-routines): Add sincostab.
33683 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
33684 Use __sincostab not sincos.
33685 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
33687 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33688 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33689 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33690 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
33692 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
33693 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
33694 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
33695 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
33697 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
33698 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
33700 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
33701 define aliases when function name is a macro.
33702 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
33703 sysdeps/ieee754/dbl-64/sincos.tbl.
33704 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
33705 fma4-enabled routines.
33706 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
33707 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
33708 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
33709 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
33710 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
33711 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
33712 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
33713 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
33714 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
33715 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
33716 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
33717 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
33718 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
33719 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
33720 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
33721 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
33722 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
33723 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
33724 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
33725 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
33726 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
33727 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
33728 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
33729 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
33730 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
33731 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
33732 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
33733 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
33734 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
33735 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
33737 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
33739 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33740 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33741 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33742 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33743 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33744 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33745 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33746 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33748 2011-10-24 Andreas Schwab <schwab@redhat.com>
33750 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33752 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33754 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33756 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33758 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33760 * string/strnlen.c: Don't define STRNLEN, reverse logic.
33761 Remove unused variable magic_bits.
33762 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33764 * string/strnlen.c: Define and use STRNLEN macro.
33765 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33766 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33767 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33768 * wcsmbs/wcslen.c: Define and use WCSLEN.
33769 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33770 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33771 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33772 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33773 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33774 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33775 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33777 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33779 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33780 strnlen-sse2-no-bsf.
33781 Rename strlen-no-bsf to strlen-sse2-no-bsf.
33782 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33783 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33784 Add strnlen support.
33785 (USE_AS_STRNLEN): New macro.
33786 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33787 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33788 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33789 * sysdeps/x86_64/wcslen.S: New file.
33791 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
33793 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33794 XMM-moves are used for copying on small sizes.
33796 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33798 * wcsmbs/Makefile (strop-tests): Add wcschr.
33799 * wcsmbs/test-wcschr.c: New file.
33800 * string/test-strchr.c: Update.
33801 Add wcschr support.
33804 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33806 * wcsmbs/Makefile (strop-tests): Add wcslen.
33807 * wcsmbs/test-wcslen.c: New file.
33808 * string/test-strlen.c: Update.
33809 Add wcslen support.
33812 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33814 * po/it.po: Update from translation team.
33816 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33818 * sysdeps/x86_64/wcscmp.S: Update.
33819 Fix wrong comparison semantics.
33820 wcscmp shall use signed comparison not unsigned.
33821 Don't use substraction to avoid overflow bug.
33822 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33823 * wcsmbc/wcscmp.c: Likewise.
33824 * string/test-strcmp.c: Likewise.
33825 Add new tests to check cases with negative values.
33827 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33829 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33830 * sysdeps/x86_64/dla.h: ...here. New file.
33831 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33832 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33833 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33834 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33835 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33836 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33837 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33838 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33839 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33841 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
33843 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33844 __ynl_finite aliases.
33846 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33848 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33850 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33852 [DLA_FMA] (EMULV): Use DLA_FMA.
33853 [DLA_FMA] (MUL12): Use EMULV.
33854 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33855 that are not needed.
33856 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33857 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33858 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33859 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33860 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33861 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33862 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33864 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
33866 * math/s_nan.c: Undef __nan.
33867 * math/s_nanf.c: Undef __nanf.
33868 * math/s_nanl.c: Undef __nanl.
33869 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33872 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33874 * math/s_catan.c: Add branch predictions.
33875 * math/s_catanf.c: Likewise.
33876 * math/s_catanh.c: Likewise.
33877 * math/s_catanhf.c: Likewise.
33878 * math/s_catanhl.c: Likewise.
33879 * math/s_catanl.c: Likewise.
33880 * math/s_cexp.c: Likewise.
33881 * math/s_cexpf.c: Likewise.
33882 * math/s_cexpl.c: Likewise.
33883 * math/s_clog.c: Likewise.
33884 * math/s_clog10.c: Likewise.
33885 * math/s_clog10f.c: Likewise.
33886 * math/s_clog10l.c: Likewise.
33887 * math/s_clogf.c: Likewise.
33888 * math/s_clogl.c: Likewise.
33889 * math/s_csqrt.c: Likewise.
33890 * math/s_csqrtf.c: Likewise.
33891 * math/s_csqrtl.c: Likewise.
33892 * math/s_ctanf.c: Likewise.
33893 * math/s_ctanh.c: Likewise.
33894 * math/s_ctanhf.c: Likewise.
33895 * math/s_ctanhl.c: Likewise.
33896 * math/s_ctanl.c: Likewise.
33898 * math/math_private.h: Define __nan, __nanf, __nanl.
33899 * math/s_cacosh.c: Include <math_private.h>.
33900 * math/s_cacoshl.c: Likewise.
33901 * math/s_casinh.c: Likewise.
33902 * math/s_casinhf.c: Likewise.
33903 * math/s_casinhl.c: Likewise.
33904 * math/s_ccos.c: Rely entire on ccosh.
33905 * math/s_ccosf.c: Rely entire on ccoshf.
33906 * math/s_ccosl.c: Rely entirely on ccoshl.
33907 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
33908 Remove tests for FE_INVALID.
33909 * math/s_ccoshf.c: Likewise.
33910 * math/s_ccoshl.c: Likewise.
33911 * math/s_csin.c: Likewise.
33912 * math/s_csinf.c: Likewise.
33913 * math/s_csinh.c Likewise.
33914 * math/s_csinhf.c: Likewise.
33915 * math/s_csinhl.c: Likewise.
33916 * math/s_csinl.c: Likewise.
33917 * math/s_ctan.c: Likewise.
33918 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33919 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33920 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33922 2011-10-21 Ulrich Drepper <drepper@gmail.com>
33924 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33925 compilation problems.
33927 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33930 2011-10-20 Ulrich Drepper <drepper@gmail.com>
33932 * sysdeps/i386/configure.in: Test for -mfma4 option.
33933 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33934 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33935 COMMON_CPUID_INDEX_80000001.
33936 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33937 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33938 use it if FMA3 is not supported.
33939 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33941 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33942 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33944 2011-10-20 Andreas Schwab <schwab@redhat.com>
33947 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33948 it would create a cycle with a link time dependency.
33950 2011-10-19 Ulrich Drepper <drepper@gmail.com>
33952 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33954 * string/Makefile (strop-tests): Add rawmemchr.
33955 * string/test-rawmemchr.c: New file.
33957 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33958 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
33959 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
33960 when compiling str{,n}casecmp and when AVX is available. Hook up
33961 new optimized code in initializers.
33963 2011-10-19 Andreas Schwab <schwab@redhat.com>
33965 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33966 __feraiseexcept instead of feraiseexcept.
33968 2011-10-18 Ulrich Drepper <drepper@gmail.com>
33970 * math/math_private.h: Define defaults for libc_fetestexcept and
33972 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33973 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33974 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33975 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33976 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33977 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33978 libc_fetestexcept and libc_feupdateenv.
33980 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33981 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33982 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33983 * sysdeps/x86_64/fpu/math_private.h: Define special version of
33984 libc_feholdexcept_setround.
33986 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33987 Add s_nearbyint-c and s_nearbyintf-c.
33988 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33989 nearbyintf inlines.
33990 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33991 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33992 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33993 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33995 * math/math_private.h: Define defaults for libc_fegetround,
33996 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33997 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33998 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33999 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
34000 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
34001 standard functions.
34002 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34003 Remove comments and hacks for old compiler versions.
34004 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34005 libc_fegetround, libc_fesetround, libc_feholdexcept, and
34006 libc_feholdexceptl.
34008 2011-10-18 Andreas Schwab <schwab@redhat.com>
34010 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
34011 (__feraiseexcept_renamed): Add __NTH.
34012 (feraiseexcept): Add __NTH. Rename local variables to fix
34013 namespace violations.
34015 2011-10-17 Ulrich Drepper <drepper@gmail.com>
34017 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
34019 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
34021 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
34022 recently added interfaces.
34023 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
34025 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
34026 about macro parameter expansion.
34028 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
34029 __NO_MATH_INLINES is defined. Cleanups.
34031 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
34032 and __floorf is target has SSE4.1.
34033 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
34034 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
34035 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
34036 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
34038 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
34040 (floorf): Likewise.
34042 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34044 2011-10-17 Andreas Schwab <schwab@redhat.com>
34046 * misc/sys/cdefs.h: Fix last change.
34048 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34051 2011-10-16 Ulrich Drepper <drepper@gmail.com>
34053 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34055 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34056 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34057 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34058 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34059 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34060 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34061 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34062 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34063 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34064 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34065 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34066 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34067 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34068 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34069 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34070 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34071 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34072 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34073 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34074 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34075 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34076 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34078 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34079 ceil, ceilf, floor, floorf.
34081 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34082 Perform IRELATIVE relocations last.
34084 * elf/do-rel.h: Add another parameter nrelative, replacing the
34085 local variable with the same name. Change name of the function
34086 to end in Rel or Rela (uppercase).
34087 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
34088 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
34089 elf_dynamic_do_##reloc function.
34091 2011-10-15 Ulrich Drepper <drepper@gmail.com>
34093 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
34094 is sufficient, at least on modern CPUs.
34096 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
34098 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
34099 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
34101 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
34103 * math/bits/math-finite.h: Add entries for exp.
34104 * math/e_expl.c: Add __*_finite alias.
34105 * sysdeps/i386/fpu/e_exp.S: Likewise.
34106 * sysdeps/i386/fpu/e_expf.S: Likewise.
34107 * sysdeps/i386/fpu/e_expl.c: Likewise.
34108 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34109 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34110 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34111 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34112 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
34113 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34114 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34116 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
34117 is sufficient, at least on modern CPUs.
34119 * ctype/ctype-info.c (__ctype_init): Define.
34120 * include/ctype.h (__ctype_init): Declare.
34121 (__ctype_b_loc): The variable is always initialized.
34122 (__ctype_toupper_loc): Likewise.
34123 (__ctype_tolower_loc): Likewise.
34124 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
34125 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
34127 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
34129 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
34131 * configure.in: Also look in $cxxmachine/include for C++ system
34134 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34136 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
34137 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
34138 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
34139 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
34140 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
34141 (USE_AS_WMEMCMP): New macro.
34143 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
34144 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
34145 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
34146 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
34147 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34148 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
34149 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
34150 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
34151 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
34152 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
34153 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
34154 (USE_AS_WMEMCMP): New macro.
34155 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
34156 * sysdeps/string/test-memcmp.c: Update.
34157 Fix simple_wmemcmp.
34159 * wcsmbs/wmemcmp.c: Update.
34160 (WMEMCMP): New macro.
34163 2011-10-12 Andreas Jaeger <aj@suse.de>
34166 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
34168 2011-10-15 Ulrich Drepper <drepper@gmail.com>
34170 * libio/iofwide.c (do_length): Avoid warning.
34172 * ctype/ctype.h (__isctype_f): Add missing __THROW.
34174 2011-10-14 Ulrich Drepper <drepper@gmail.com>
34176 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
34178 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
34179 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
34180 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
34181 * sysdeps/i386/i686/fpu/e_log.S: New file.
34182 * sysdeps/i386/i686/fpu/e_logf.S: New file.
34183 * sysdeps/i386/i686/fpu/e_logl.S: New file.
34185 * ctype/ctype.h: Add support for inlined isXXX functions when
34186 compiling C++ code.
34188 2011-10-14 Andreas Schwab <schwab@redhat.com>
34190 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34192 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
34194 2011-10-13 Roland McGrath <roland@hack.frob.com>
34197 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
34199 2011-10-13 Andreas Schwab <schwab@redhat.com>
34201 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
34202 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
34205 * sysdeps/x86_64/memrchr.S: Check for zero size.
34207 * string/stratcliff.c: Add memrchr tests.
34209 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34211 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34212 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
34213 rawmemchr-sse2 rawmemchr-sse2-bsf.
34214 * sysdeps/i386/i686/multiarch/memchr.S: New file.
34215 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
34216 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
34217 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
34218 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
34219 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
34220 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
34221 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
34222 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
34223 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
34224 * string/memrchr.c (MEMRCHR): New macro.
34226 2011-10-12 Ulrich Drepper <drepper@gmail.com>
34228 Add integration with gcc's -ffinite-math-only and optimize wrapper
34230 * Versions.def: Define GLIBC_2.15 version for libm.
34231 * math/Makefile (headers): Add bits/math-finite.h.
34232 * math/bits/math-finite.h: New file.
34233 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
34234 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
34235 * math/e_acoshl.c: Add __*_finite alias.
34236 * math/e_acosl.c: Likewise.
34237 * math/e_asinl.c: Likewise.
34238 * math/e_atan2l.c: Likewise.
34239 * math/e_atanhl.c: Likewise.
34240 * math/e_coshl.c: Likewise.
34241 * math/e_exp10.c: Likewise.
34242 * math/e_exp10f.c: Likewise.
34243 * math/e_exp10l.c: Likewise.
34244 * math/e_exp2l.c: Likewise.
34245 * math/e_fmodl.c: Likewise.
34246 * math/e_gammal_r.c: Likewise.
34247 * math/e_hypotl.c: Likewise.
34248 * math/e_j0l.c: Likewise.
34249 * math/e_j1l.c: Likewise.
34250 * math/e_jnl.c: Likewise.
34251 * math/e_lgammal_r.c: Likewise.
34252 * math/e_log10l.c: Likewise.
34253 * math/e_log2l.c: Likewise.
34254 * math/e_logl.c: Likewise.
34255 * math/e_powl.c: Likewise.
34256 * math/e_sinhl.c: Likewise.
34257 * math/e_sqrtl.c: Likewise.
34258 * math/e_scalb.c: Completely rewritten and optimized.
34259 * math/e_scalbf.c: Likewise.
34260 * math/e_scalbl.c: Likewise.
34261 * math/w_acos.c: Likewise.
34262 * math/w_acosf.c: Likewise.
34263 * math/w_acosl.c: Likewise.
34264 * math/w_acosh.c: Likewise.
34265 * math/w_acoshf.c: Likewise.
34266 * math/w_acoshl.c: Likewise.
34267 * math/w_asin.c: Likewise.
34268 * math/w_asinf.c: Likewise.
34269 * math/w_asinl.c: Likewise.
34270 * math/w_atan2.c: Likewise.
34271 * math/w_atan2f.c: Likewise.
34272 * math/w_atan2l.c: Likewise.
34273 * math/w_atanh.c: Likewise.
34274 * math/w_atanhf.c: Likewise.
34275 * math/w_atanhl.c: Likewise.
34276 * math/w_exp10.c: Likewise.
34277 * math/w_exp10f.c: Likewise.
34278 * math/w_exp10l.c: Likewise.
34279 * math/w_fmod.c: Likewise.
34280 * math/w_fmodf.c: Likewise.
34281 * math/w_fmodl.c: Likewise.
34282 * math/w_j0.c: Likewise.
34283 * math/w_j0f.c: Likewise.
34284 * math/w_j0l.c: Likewise.
34285 * math/w_j1.c: Likewise.
34286 * math/w_j1f.c: Likewise.
34287 * math/w_j1l.c: Likewise.
34288 * math/w_jn.c: Likewise.
34289 * math/w_jnf.c: Likewise.
34290 * math/w_log.c: Likewise.
34291 * math/w_logf.c: Likewise.
34292 * math/w_logl.c: Likewise.
34293 * math/w_log10.c: Likewise.
34294 * math/w_log10f.c: Likewise.
34295 * math/w_log10l.c: Likewise.
34296 * math/w_log2.c: Likewise.
34297 * math/w_log2f.c: Likewise.
34298 * math/w_log2l.c: Likewise.
34299 * math/w_pow.c: Likewise.
34300 * math/w_powf.c: Likewise.
34301 * math/w_powl.c: Likewise.
34302 * math/w_remainder.c: Likewise.
34303 * math/w_remainderf.c: Likewise.
34304 * math/w_remainderl.c: Likewise.
34305 * math/w_scalb.c: Likewise.
34306 * math/w_scalbf.c: Likewise.
34307 * math/w_scalbl.c: Likewise.
34308 * math/w_sqrt.c: Likewise.
34309 * math/w_sqrtf.c: Likewise.
34310 * math/w_sqrtl.c: Likewise.
34311 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
34312 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
34314 * math/math_private.h: Declare __kernel_standard_f.
34315 * math/w_cosh.c: Remove cruft and optimize a bit.
34316 * math/w_coshf.c: Likewise.
34317 * math/w_coshl.c: Likewise.
34318 * math/w_exp2.c: Likewise.
34319 * math/w_exp2f.c: Likewise.
34320 * math/w_exp2l.c: Likewise.
34321 * math/w_hypot.c: Likewise.
34322 * math/w_hypotf.c: Likewise.
34323 * math/w_hypotl.c: Likewise.
34324 * math/w_lgamma.c: Likewise.
34325 * math/w_lgamma_r.c: Likewise.
34326 * math/w_lgammaf.c: Likewise.
34327 * math/w_lgammaf_r.c: Likewise.
34328 * math/w_lgammal.c: Likewise.
34329 * math/w_lgammal_r.c: Likewise.
34330 * math/w_sinh.c: Likewise.
34331 * math/w_sinhf.c: Likewise.
34332 * math/w_sinhl.c: Likewise.
34333 * math/w_tgamma.c: Likewise.
34334 * math/w_tgammaf.c: Likewise.
34335 * math/w_tgammal.c: Likewise.
34336 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34337 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34338 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
34339 Minor optimizations. Pretty printing. Remove cruft.
34340 * sysdeps/i386/fpu/e_acosf.S: Likewise.
34341 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34342 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34343 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34344 * sysdeps/i386/fpu/e_acosl.c: Likewise.
34345 * sysdeps/i386/fpu/e_asin.S: Likewise.
34346 * sysdeps/i386/fpu/e_asinf.S: Likewise.
34347 * sysdeps/i386/fpu/e_atan2.S: Likewise.
34348 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
34349 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
34350 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34351 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34352 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34353 * sysdeps/i386/fpu/e_exp10.S: Likewise.
34354 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
34355 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
34356 * sysdeps/i386/fpu/e_exp2.S: Likewise.
34357 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
34358 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
34359 * sysdeps/i386/fpu/e_fmod.S: Likewise.
34360 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
34361 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
34362 * sysdeps/i386/fpu/e_hypot.S: Likewise.
34363 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
34364 * sysdeps/i386/fpu/e_log.S: Likewise.
34365 * sysdeps/i386/fpu/e_log10.S: Likewise.
34366 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34367 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34368 * sysdeps/i386/fpu/e_log2.S: Likewise.
34369 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34370 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34371 * sysdeps/i386/fpu/e_logf.S: Likewise.
34372 * sysdeps/i386/fpu/e_logl.S: Likewise.
34373 * sysdeps/i386/fpu/e_pow.S: Likewise.
34374 * sysdeps/i386/fpu/e_powf.S: Likewise.
34375 * sysdeps/i386/fpu/e_powl.S: Likewise.
34376 * sysdeps/i386/fpu/e_remainder.S: Likewise.
34377 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
34378 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
34379 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34380 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34381 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34382 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
34383 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
34384 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
34385 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34386 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34387 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34388 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34389 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34390 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34391 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34392 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34393 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34394 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34395 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34396 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34397 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34398 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34399 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34400 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34401 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34402 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34403 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34404 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34405 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34406 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34407 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34408 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34409 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34410 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34411 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34412 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34413 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
34414 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34415 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34416 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34417 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34418 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34419 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34420 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34421 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34422 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34423 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34424 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34425 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34426 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34427 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34428 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34429 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34430 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34431 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34432 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34433 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34434 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
34435 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34436 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34437 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34438 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34439 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34440 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34441 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34442 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34443 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34444 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34445 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34446 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34447 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34448 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34449 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34450 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34451 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34452 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34453 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
34454 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34455 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34456 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34457 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34458 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34459 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34460 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34461 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34462 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34463 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34464 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34465 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34466 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34467 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
34468 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34469 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34470 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34471 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34472 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34473 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34474 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34475 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34476 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34477 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34478 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34479 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34480 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34481 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34482 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
34483 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
34484 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
34485 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
34486 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
34487 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
34488 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
34489 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34490 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34491 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34492 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34493 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
34494 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34495 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
34496 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
34497 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
34498 (__isnanf): Likewise.
34499 (__isinf_ns): Likewise.
34500 (__isinf_nsf): Likewise.
34501 (__finite): Likewise.
34502 (__finitef): Likewise.
34503 (__ieee754_sqrt): Define as macro.
34504 (__ieee754_sqrtf): Define as macro.
34505 (__ieee754_sqrtl): Define as macro.
34506 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
34508 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
34509 __FINITE_MATH_ONLY__ consistent.
34510 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
34512 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
34514 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
34517 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
34519 2011-10-09 Ulrich Drepper <drepper@gmail.com>
34521 * po/ja.po: Update from translation team.
34523 2011-10-08 Roland McGrath <roland@hack.frob.com>
34525 * locale/programs/locarchive.c (prepare_address_space): New function.
34526 (create_archive, enlarge_archive, open_archive): Use it.
34528 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
34529 inside [SHARED], where it is used.
34531 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
34533 * nss/getent.c (netgroup_keys): Remove unused variable.
34534 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34536 2011-10-08 Ulrich Drepper <drepper@gmail.com>
34538 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
34539 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
34540 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
34541 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
34542 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
34543 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
34544 * math/Makefile (libm-calls): Add s_isinf_ns.
34545 * math/divtc3.c: Use __isinf_nsl instead of isinf.
34546 * math/multc3.c: Likewise.
34547 * math/s_casin.c: Likewise.
34548 * math/s_casinf.c: Likewise.
34549 * math/s_casinl.c: Likewise.
34550 * math/s_ccos.c: Likewise.
34551 * math/s_ccosf.c: Likewise.
34552 * math/s_ccosl.c: Likewise.
34553 * math/s_ctan.c: Likewise.
34554 * math/s_ctanf.c: Likewise.
34555 * math/s_ctanh.c: Likewise.
34556 * math/s_ctanhf.c: Likewise.
34557 * math/s_ctanhl.c: Likewise.
34558 * math/s_ctanl.c: Likewise.
34559 * math/w_fmod.c: Likewise.
34560 * math/w_fmodf.c: Likewise.
34561 * math/w_fmodl.c: Likewise.
34562 * math/w_remainder.c: Likewise.
34563 * math/w_remainderf.c: Likewise.
34564 * math/w_remainderl.c: Likewise.
34565 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
34566 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
34567 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
34568 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
34569 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
34570 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
34571 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
34572 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
34574 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
34576 * stdio-common/printf_fphex.c: Likewise.
34577 * stdio-common/printf_size.c: Likewise.
34579 * math/e_exp10.c: Include math_private.h using <...> not "...".
34580 * math/e_exp10f.c: Likewise.
34581 * math/e_exp10l.c: Likewise.
34582 * math/e_exp2l.c: Likewise.
34583 * math/e_j0l.c: Likewise.
34584 * math/e_j1l.c: Likewise.
34585 * math/e_jnl.c: Likewise.
34586 * math/e_lgammal_r.c: Likewise.
34587 * math/e_rem_pio2l.c: Likewise.
34588 * math/e_scalb.c: Likewise.
34589 * math/e_scalbf.c: Likewise.
34590 * math/e_scalbl.c: Likewise.
34591 * math/k_cosl.c: Likewise.
34592 * math/k_sinl.c: Likewise.
34593 * math/k_tanl.c: Likewise.
34594 * math/s_cacoshf.c: Likewise.
34595 * math/s_catan.c: Likewise.
34596 * math/s_catanf.c: Likewise.
34597 * math/s_catanh.c: Likewise.
34598 * math/s_catanhf.c: Likewise.
34599 * math/s_catanhl.c: Likewise.
34600 * math/s_catanl.c: Likewise.
34601 * math/s_ccosh.c: Likewise.
34602 * math/s_ccoshf.c: Likewise.
34603 * math/s_ccoshl.c: Likewise.
34604 * math/s_cexp.c: Likewise.
34605 * math/s_cexpf.c: Likewise.
34606 * math/s_cexpl.c: Likewise.
34607 * math/s_clog.c: Likewise.
34608 * math/s_clog10.c: Likewise.
34609 * math/s_clog10f.c: Likewise.
34610 * math/s_clog10l.c: Likewise.
34611 * math/s_clogf.c: Likewise.
34612 * math/s_clogl.c: Likewise.
34613 * math/s_csin.c: Likewise.
34614 * math/s_csinf.c: Likewise.
34615 * math/s_csinh.c: Likewise.
34616 * math/s_csinhf.c: Likewise.
34617 * math/s_csinhl.c: Likewise.
34618 * math/s_csinl.c: Likewise.
34619 * math/s_csqrt.c: Likewise.
34620 * math/s_csqrtf.c: Likewise.
34621 * math/s_csqrtl.c: Likewise.
34622 * math/s_ctan.c: Likewise.
34623 * math/s_ctanf.c: Likewise.
34624 * math/s_ctanh.c: Likewise.
34625 * math/s_ctanhf.c: Likewise.
34626 * math/s_ctanhl.c: Likewise.
34627 * math/s_ctanl.c: Likewise.
34628 * math/s_ldexp.c: Likewise.
34629 * math/s_ldexpf.c: Likewise.
34630 * math/s_ldexpl.c: Likewise.
34631 * math/s_significand.c: Likewise.
34632 * math/s_significandf.c: Likewise.
34633 * math/s_significandl.c: Likewise.
34634 * math/w_acos.c: Likewise.
34635 * math/w_acosf.c: Likewise.
34636 * math/w_acosh.c: Likewise.
34637 * math/w_acoshf.c: Likewise.
34638 * math/w_acoshl.c: Likewise.
34639 * math/w_acosl.c: Likewise.
34640 * math/w_asin.c: Likewise.
34641 * math/w_asinf.c: Likewise.
34642 * math/w_asinl.c: Likewise.
34643 * math/w_atan2.c: Likewise.
34644 * math/w_atan2f.c: Likewise.
34645 * math/w_atan2l.c: Likewise.
34646 * math/w_atanh.c: Likewise.
34647 * math/w_atanhf.c: Likewise.
34648 * math/w_atanhl.c: Likewise.
34649 * math/w_cosh.c: Likewise.
34650 * math/w_coshf.c: Likewise.
34651 * math/w_coshl.c: Likewise.
34652 * math/w_dremf.c: Likewise.
34653 * math/w_exp10.c: Likewise.
34654 * math/w_exp10f.c: Likewise.
34655 * math/w_exp10l.c: Likewise.
34656 * math/w_exp2.c: Likewise.
34657 * math/w_exp2f.c: Likewise.
34658 * math/w_fmod.c: Likewise.
34659 * math/w_fmodf.c: Likewise.
34660 * math/w_fmodl.c: Likewise.
34661 * math/w_hypot.c: Likewise.
34662 * math/w_hypotf.c: Likewise.
34663 * math/w_hypotl.c: Likewise.
34664 * math/w_j0.c: Likewise.
34665 * math/w_j0f.c: Likewise.
34666 * math/w_j0l.c: Likewise.
34667 * math/w_j1.c: Likewise.
34668 * math/w_j1f.c: Likewise.
34669 * math/w_j1l.c: Likewise.
34670 * math/w_jn.c: Likewise.
34671 * math/w_jnf.c: Likewise.
34672 * math/w_jnl.c: Likewise.
34673 * math/w_lgamma.c: Likewise.
34674 * math/w_lgamma_r.c: Likewise.
34675 * math/w_lgammaf.c: Likewise.
34676 * math/w_lgammaf_r.c: Likewise.
34677 * math/w_lgammal.c: Likewise.
34678 * math/w_lgammal_r.c: Likewise.
34679 * math/w_log.c: Likewise.
34680 * math/w_log10.c: Likewise.
34681 * math/w_log10f.c: Likewise.
34682 * math/w_log10l.c: Likewise.
34683 * math/w_log2.c: Likewise.
34684 * math/w_log2f.c: Likewise.
34685 * math/w_log2l.c: Likewise.
34686 * math/w_logf.c: Likewise.
34687 * math/w_logl.c: Likewise.
34688 * math/w_pow.c: Likewise.
34689 * math/w_powf.c: Likewise.
34690 * math/w_powl.c: Likewise.
34691 * math/w_remainder.c: Likewise.
34692 * math/w_remainderf.c: Likewise.
34693 * math/w_remainderl.c: Likewise.
34694 * math/w_scalb.c: Likewise.
34695 * math/w_scalbf.c: Likewise.
34696 * math/w_scalbl.c: Likewise.
34697 * math/w_sinh.c: Likewise.
34698 * math/w_sinhf.c: Likewise.
34699 * math/w_sinhl.c: Likewise.
34700 * math/w_sqrt.c: Likewise.
34701 * math/w_sqrtf.c: Likewise.
34702 * math/w_sqrtl.c: Likewise.
34703 * math/w_tgamma.c: Likewise.
34704 * math/w_tgammaf.c: Likewise.
34705 * math/w_tgammal.c: Likewise.
34707 * po/ja.po: Update from translation team.
34709 2011-09-29 Andreas Jaeger <aj@suse.de>
34712 * sunrpc/netname.c (netname2host): Fix logic.
34716 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
34718 * math/w_remainder.c (__remainder): Likewise.
34719 * math/w_remainderf.c (__remainderf): Likewise.
34720 * math/libm-test.inc (remainder_test): Add test cases.
34722 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34724 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
34727 2011-10-07 Ulrich Drepper <drepper@gmail.com>
34729 * string/test-memcmp.c: Avoid unncessary #defines.
34730 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34732 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34734 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
34735 Use new sse2 version for core i3 - i7 as it's faster
34736 than sse42 version.
34737 (bit_Prefer_PMINUB_for_stringop): New.
34738 * sysdeps/x86_64/rawmemchr.S: Update.
34739 Replace with faster SSE2 version.
34740 * sysdeps/x86_64/memrchr.S: New file.
34741 * sysdeps/x86_64/memchr.S: Update.
34742 Replace with faster SSE2 version.
34744 2011-09-12 Marek Polacek <mpolacek@redhat.com>
34746 * elf/dl-load.c (lose): Add cast to avoid warning.
34748 2011-10-07 Ulrich Drepper <drepper@gmail.com>
34750 * po/ca.po: Update from translation team.
34752 * inet/getnetgrent_r.c: Hook up nscd.
34753 * nscd/Makefile (routines): Add nscd_netgroup.
34754 (nscd-modules): Add netgroupcache.
34755 (CFLAGS-netgroupcache.c): Define.
34756 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34757 (cache_search): Add const to second parameter.
34758 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34760 (dbs): Add netgrdb entry.
34761 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34762 (verify_persistent_db): Handle netgrdb.
34763 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34764 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34766 (netgroup_response_header): Define.
34767 (innetgroup_response_header): Define.
34768 (datahead): Add netgroup_response_header and innetgroup_response_header
34770 * nscd/nscd.conf: Add entries for netgroup cache.
34771 * nscd/nscd.h (dbtype): Add netgrdb.
34772 (_PATH_NSCD_NETGROUP_DB): Define.
34773 (netgroup_iov_disabled): Declare.
34774 (xmalloc, xcalloc, xrealloc): Move declarations here.
34775 (cache_search): Adjust prototype.
34776 Add netgroup-related prototypes.
34777 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34778 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34779 (__nscd_innetgr): Declare.
34780 * nscd/selinux.c (perms): Use access_vector_t as element type and
34781 add netgroup-related initializers.
34782 * nscd/netgroupcache.c: New file.
34783 * nscd/nscd_netgroup.c: New file.
34784 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34785 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34786 For four parameters use innetgr.
34787 * nss/nss_files/files-init.c: Add definition and callback for netgr.
34788 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34789 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34790 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34792 * nscd/connections.c (register_traced_file): Don't register file
34793 for disabled databases.
34795 2011-10-06 Ulrich Drepper <drepper@gmail.com>
34797 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34799 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34800 from tree and freeing node.
34802 2011-09-25 Jiri Olsa <jolsa@redhat.com>
34804 * nss/nsswitch.c (__nss_database_lookup): Handle
34805 nss_parse_service_list out of memory case.
34807 2011-09-15 Jiri Olsa <jolsa@redhat.com>
34809 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34810 out of memory case.
34812 2011-10-04 Andreas Schwab <schwab@redhat.com>
34814 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34815 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34817 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34818 elf_machine_rela, elf_machine_lazy_rel.
34819 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34820 (ELF_DYNAMIC_DO_REL): Likewise.
34821 (ELF_DYNAMIC_DO_RELA): Likewise.
34822 (ELF_DYNAMIC_RELOCATE): Likewise.
34823 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34824 to ELF_DYNAMIC_DO_REL.
34825 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34826 (dl_main): In trace mode always set __RTLD_NOIFUNC.
34827 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34829 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34830 skip_ifunc, don't call ifunc function if non-zero.
34831 (elf_machine_rela): Likewise.
34832 (elf_machine_lazy_rel): Likewise.
34833 (elf_machine_lazy_rela): Likewise.
34834 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34835 (elf_machine_lazy_rel): Likewise.
34836 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34838 (elf_machine_lazy_rel): Likewise.
34839 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34841 (elf_machine_lazy_rel): Likewise.
34842 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34843 (elf_machine_lazy_rel): Likewise.
34844 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34845 (elf_machine_lazy_rel): Likewise.
34846 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34847 (elf_machine_lazy_rel): Likewise.
34848 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34849 (elf_machine_lazy_rel): Likewise.
34850 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34851 (elf_machine_lazy_rel): Likewise.
34852 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34853 (elf_machine_lazy_rel): Likewise.
34855 2011-09-28 Ulrich Drepper <drepper@gmail.com>
34857 * nss/nss_files/files-init.c (_nss_files_init): Use static
34858 initialization for all the *_traced_file variables.
34860 2011-09-28 Andreas Schwab <schwab@redhat.com>
34862 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34864 2011-09-27 Roland McGrath <roland@hack.frob.com>
34867 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34869 2011-09-27 Andreas Schwab <schwab@redhat.com>
34871 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34872 Reread the line before reparsing it.
34874 2011-09-26 Andreas Schwab <schwab@redhat.com>
34876 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34878 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
34879 Maxim Kuvyrkov <maxim@codesourcery.com>
34880 Joseph Myers <joseph@codesourcery.com>
34882 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34883 if needed for __stack_chk_guard.
34885 2011-09-19 Roland McGrath <roland@hack.frob.com>
34887 * sysdeps/posix/spawni.c (script_execute): Always define it.
34888 It will be optimized away if unused.
34889 (maybe_script_execute): New function.
34890 (__spawni): Call it.
34892 * Makerules: Don't include tls.make.
34893 (config-tls): Always set to thread.
34894 * tls.make.c: File removed.
34896 2011-09-19 Mike Frysinger <vapier@gentoo.org>
34898 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34899 * config.make.in (CPPFLAGS-config): New substituted variable.
34901 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34903 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34906 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34907 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34909 2011-09-15 Roland McGrath <roland@hack.frob.com>
34911 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34912 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34913 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34914 (CALL_FAIL): Likewise.
34915 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34916 (CALL_FAIL): Macro removed.
34917 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34919 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34921 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34922 for __FINITE_MATH_ONLY__ == 1.
34924 2011-09-15 Andreas Schwab <schwab@redhat.com>
34926 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34927 __ieee754_sqrt instead of sqrt.
34928 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34929 __ieee754_sqrtf instead of sqrtf.
34930 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34931 __floorf instead of floorf.
34932 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34933 __floorf, __truncf instead of floorf, truncf.
34935 2011-09-14 Ulrich Drepper <drepper@gmail.com>
34937 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34939 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34940 __extern_always_inline.
34941 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34944 2011-09-14 Andreas Schwab <schwab@redhat.com>
34946 * elf/rtld.c (dl_main): Also relocate in dependency order when
34947 doing symbol dependency testing.
34949 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
34951 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34952 Always define `refsym'.
34954 2011-09-13 Andreas Schwab <schwab@redhat.com>
34956 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34957 (__FD_ELT): Renamed from __FDELT.
34958 * misc/bits/select2.h (__FD_ELT): Likewise.
34959 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34960 __FD_MASK instead of __FDELT, __FDMASK.
34961 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34963 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34966 * elf/Makefile (gen-ldd): Fix pattern.
34968 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34969 (init_tls): Likewise.
34971 2011-09-12 Ulrich Drepper <drepper@gmail.com>
34973 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34975 2011-09-12 Andreas Schwab <schwab@redhat.com>
34977 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34978 `struct cmsghdr *' instead of `void *'.
34979 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34982 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
34984 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34986 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34987 ldd_rewrite_script.
34989 2011-09-11 Ulrich Drepper <drepper@gmail.com>
34991 * configure.in: Remove --with-tls option.
34992 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34993 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34994 out in case it is missing.
34995 * sysdeps/ia64/elf/configure.in: Likewise.
34996 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34997 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34998 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34999 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
35000 * sysdeps/sh/elf/configure.in: Likewise.
35001 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
35002 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35003 * sysdeps/x86_64/elf/configure.in: Likewise.
35004 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
35005 * sysdeps/mach/hurd/tls.h: Likewise.
35008 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
35011 * configure.in: Fix use of AC_INIT.
35013 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
35015 2011-09-10 Ulrich Drepper <drepper@gmail.com>
35017 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
35019 * malloc/hooks.c: Likewise.
35022 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
35023 variables statically.
35024 (narenas): Initialize.
35025 (list_lock): Initialize.
35026 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
35027 initializtion of main_arena and list_lock. Small cleanups.
35028 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
35029 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
35030 Add initializers to main_arena and mp_.
35031 (malloc_state): Remove pagesize member. Change all users to use
35034 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
35035 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
35036 is always initialized.
35038 * malloc/malloc.c: Removed unused configurations and dead code.
35039 * malloc/arena.c: Likewise.
35040 * malloc/hooks.c: Likewise.
35041 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
35043 * include/tls.h: Removed. USE___THREAD must always be defined.
35044 * bits/libc-tsd.h: Don't handle !USE___THREAD.
35045 * elf/dl-libc.c: Likewise.
35046 * elf/dl-tsd.c: Likewise.
35047 * include/errno.h: Likewise.
35048 * include/netdb.h: Likewise.
35049 * include/resolv.h: Likewise.
35050 * inet/herrno-loc.c: Likewise.
35051 * inet/herrno.c: Likewise.
35052 * malloc/arena.c: Likewise.
35053 * malloc/hooks.c: Likewise.
35054 * malloc/malloc.c: Likewise.
35055 * resolv/res-state.c: Likewise.
35056 * resolv/res_libc.c: Likewise.
35057 * sysdeps/i386/dl-machine.h: Likewise.
35058 * sysdeps/ia64/dl-machine.h: Likewise.
35059 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35060 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35061 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35062 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35063 * sysdeps/sh/dl-machine.h: Likewise.
35064 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35065 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35066 * sysdeps/unix/i386/sysdep.S: Likewise.
35067 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35068 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35069 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35070 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35071 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35072 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35073 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35074 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35075 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35076 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35077 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35078 * sysdeps/x86_64/dl-machine.h: Likewise.
35079 * tls.make.c: Likewise.
35081 * configure.in: Remove --with-__thread option. Make tests for
35082 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
35083 tls_model attribute fail if no support is available. Remove
35085 * Makeconfig: Adjust for dropped configure option. All features are
35087 * Makerules: Likewise.
35088 * Versions.def: Likewise.
35089 * argp/argp-fmtstream.c: Likewise.
35090 * argp/argp-fmtstream.h: Likewise.
35091 * argp/argp-help.c: Likewise.
35092 * assert/assert.c: Likewise.
35093 * config.h.in: Likewise.
35094 * config.make.in: Likewise.
35095 * configure: Likewise.
35096 * configure.in: Likewise.
35097 * csu/Versions: Likewise.
35098 * csu/init.c: Likewise.
35099 * elf/tst-audit2.c: Likewise.
35100 * elf/tst-tls10.c: Likewise.
35101 * elf/tst-tls10.h: Likewise.
35102 * elf/tst-tls11.c: Likewise.
35103 * elf/tst-tls12.c: Likewise.
35104 * elf/tst-tls14.c: Likewise.
35105 * elf/tst-tlsmod11.c: Likewise.
35106 * elf/tst-tlsmod12.c: Likewise.
35107 * elf/tst-tlsmod13.c: Likewise.
35108 * elf/tst-tlsmod13a.c: Likewise.
35109 * elf/tst-tlsmod14a.c: Likewise.
35110 * elf/tst-tlsmod15b.c: Likewise.
35111 * elf/tst-tlsmod16a.c: Likewise.
35112 * elf/tst-tlsmod16b.c: Likewise.
35113 * elf/tst-tlsmod7.c: Likewise.
35114 * elf/tst-tlsmod8.c: Likewise.
35115 * elf/tst-tlsmod9.c: Likewise.
35116 * gmon/gmon.c: Likewise.
35117 * grp/fgetgrent_r.c: Likewise.
35118 * grp/putgrent.c: Likewise.
35119 * hurd/fopenport.c: Likewise.
35120 * include/libc-symbols.h: Likewise.
35121 * include/tls.h: Likewise.
35122 * intl/gettextP.h: Likewise.
35123 * intl/loadinfo.h: Likewise.
35124 * locale/global-locale.c: Likewise.
35125 * locale/localeinfo.h: Likewise.
35126 * mach/devstream.c: Likewise.
35127 * malloc/arena.c: Likewise.
35128 * malloc/set-freeres.c: Likewise.
35129 * misc/err.c: Likewise.
35130 * misc/getttyent.c: Likewise.
35131 * misc/mntent_r.c: Likewise.
35132 * posix/getopt.c: Likewise.
35133 * posix/wordexp.c: Likewise.
35134 * pwd/fgetpwent_r.c: Likewise.
35135 * resolv/Versions: Likewise.
35136 * resolv/res_hconf.c: Likewise.
35137 * shadow/fgetspent_r.c: Likewise.
35138 * shadow/putspent.c: Likewise.
35139 * stdio-common/printf_fphex.c: Likewise.
35140 * stdio-common/tmpfile.c: Likewise.
35141 * stdlib/abort.c: Likewise.
35142 * stdlib/fmtmsg.c: Likewise.
35143 * sunrpc/auth_unix.c: Likewise.
35144 * sunrpc/clnt_perr.c: Likewise.
35145 * sunrpc/clnt_tcp.c: Likewise.
35146 * sunrpc/clnt_udp.c: Likewise.
35147 * sunrpc/clnt_unix.c: Likewise.
35148 * sunrpc/openchild.c: Likewise.
35149 * sunrpc/svc_simple.c: Likewise.
35150 * sunrpc/svc_tcp.c: Likewise.
35151 * sunrpc/svc_udp.c: Likewise.
35152 * sunrpc/svc_unix.c: Likewise.
35153 * sunrpc/xdr.c: Likewise.
35154 * sunrpc/xdr_array.c: Likewise.
35155 * sunrpc/xdr_rec.c: Likewise.
35156 * sunrpc/xdr_ref.c: Likewise.
35157 * sunrpc/xdr_stdio.c: Likewise.
35159 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35161 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35163 2011-07-03 Andreas Jaeger <aj@suse.de>
35165 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
35166 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
35167 regenerate with gen-libm-tests.pl.
35169 2010-05-12 Petr Baudis <pasky@suse.cz>
35172 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
35173 around j0() zero points by switching to j1().
35174 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35175 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35176 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35177 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35179 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35181 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
35183 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
35185 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35186 Patch in part by Pavel Roskin <proski@gnu.org>.
35189 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
35191 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
35192 Free memory block if necessary.
35195 * libio/genops.c (INTDEF): For string streams the _lock pointer can
35196 be NULL. Don't lock in this case.
35198 2011-09-09 Roland McGrath <roland@hack.frob.com>
35200 * elf/elf.h (ELFOSABI_GNU): New macro.
35201 (ELFOSABI_LINUX): Define to that.
35203 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
35205 * string/strncat.c (strncat): Undef the symbol in case it has been
35206 defined in bits/string.h.
35208 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35210 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
35212 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
35215 2011-08-17 Andreas Jaeger <aj@suse.de>
35217 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
35219 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
35220 Ian Lance Taylor <iant@google.com>
35222 * math/libm-test.inc (lround_test): New testcase.
35223 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
35225 2011-09-08 Ulrich Drepper <drepper@gmail.com>
35227 * Makefile: Remove support for automatic cvs check-ins.
35228 * Makerules: Likewise.
35229 * config.make.in: Likewise.
35230 * configure.in: Likewise.
35231 * intl/Makefile: Likewise.
35232 * locale/Makefile: Likewise.
35233 * po/Makefile: Likewise.
35234 * posix/Makefile: Likewise.
35235 * sysdeps/gnu/Makefile: Likewise.
35236 * sysdeps/mach/hurd/Makefile: Likewise.
35237 * sysdeps/sparc/sparc32/Makefile: Likewise.
35240 * posix/Makefile (bug-regex32-ENV): Define.
35241 Patch by John Stanley <jpsinthemix@verizon.net>.
35243 * misc/Makefile (headers): Add bits/select2.h.
35244 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
35245 * misc/bits/select2.h: New file.
35246 * include/bits/select2.h: New file.
35247 * debug/Makefile (routines): Add fdelt_chk.
35248 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
35249 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
35251 * debug/fdelt_chk.c: New file.
35253 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
35254 * wcsmbs/test-wmemcmp.c: Likewise.
35255 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
35256 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
35258 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35260 * string/Makefile (strop-tests): Add memcmp.
35261 * string/test-wmemcmp.c: New file.
35262 * string/test-memcmp.c: Add wmemcmp support.
35264 2011-09-08 Roland McGrath <roland@hack.frob.com>
35267 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
35270 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
35271 garbage value in a __mach_port_mod_refs call in the cases of the
35272 task-self and thread-self ports.
35274 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35276 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
35278 2011-09-08 Andreas Schwab <schwab@redhat.com>
35280 * elf/dl-load.c (lose): Check for non-null L.
35282 2011-09-07 Ulrich Drepper <drepper@gmail.com>
35284 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
35286 * elf/dl-libc.c (dlerror_run): Pass back error code from
35290 * elf/dl-load.c (lose): Free l_origin if it is valid.
35292 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
35294 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35295 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35296 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35297 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35298 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35299 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
35301 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35303 * sysdeps/powerpc/fpu/e_hypot.c: New file.
35304 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
35305 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
35306 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
35307 * sysdeps/powerpc/fpu/k_cosf.c: New file.
35308 * sysdeps/powerpc/fpu/k_sinf.c: New file.
35309 * sysdeps/powerpc/fpu/s_cosf.c: New file.
35310 * sysdeps/powerpc/fpu/s_sinf.c: New file.
35311 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
35312 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
35314 2011-08-15 Alan Modra <amodra@gmail.com>
35317 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
35318 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
35319 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
35320 ppc_mcount to static-only-routines.
35321 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
35323 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
35324 __mcount_internal with usual JUMPTARGET. Remove useless nop.
35326 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
35328 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
35329 for finite and infinity parameters.
35331 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35333 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
35334 and add nop instructions for throughput optimization.
35335 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35337 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
35339 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
35340 aligned copy for power7 with vector-scalar instructions.
35341 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
35343 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
35345 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
35348 2011-09-07 Andreas Schwab <schwab@redhat.com>
35351 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
35354 2011-09-07 Ulrich Drepper <drepper@gmail.com>
35356 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35357 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
35358 syscall wrapper around clock_gettime in __vdso_clock_gettime.
35359 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
35362 2011-09-06 Ulrich Drepper <drepper@gmail.com>
35364 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
35365 Forgot to demangle the pointer.
35367 * sysdeps/i386/sysdep.h: Define atom_text_section.
35368 * sysdeps/x86_64/sysdep.h: Likewise.
35369 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
35370 section with atom_text_section.
35371 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35372 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35373 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
35374 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35375 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
35377 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
35378 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
35379 already be defined. Change to take two parameters and don't assign
35380 result to variable. Adjust all users.
35381 Define INTERNAL_GETTIME if not already defined.
35382 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
35384 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
35385 HAVE_CLOCK_GETTIME_VSYSCALL.
35386 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
35388 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
35389 gettimeofday vsyscall, just use time.
35391 2011-09-06 Andreas Schwab <schwab@redhat.com>
35393 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
35396 2011-09-06 Ulrich Drepper <drepper@gmail.com>
35398 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
35400 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
35402 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35403 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
35404 syscall if possible.
35406 2011-09-05 Ulrich Drepper <drepper@gmail.com>
35408 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
35409 e_ident. Don't pass to find_mapsXX.
35410 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
35412 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35414 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35415 strchr-sse2-no-bsf strrchr-sse2-no-bsf
35416 * sysdeps/x86_64/multiarch/strchr.S: Update.
35417 Check bit_slow_BSF bit.
35418 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35419 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
35420 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
35422 2011-09-05 Ulrich Drepper <drepper@gmail.com>
35425 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
35427 (tryshell): Define.
35428 (__spawni): Change last parameter to be flag. Test
35429 SPAWN_XFLAGS_USE_PATH flag to use path or not.
35430 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
35431 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
35432 * posix/spawni.c: Likewise.
35433 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
35434 * posix/spawnp.c: Likewise. Change normal version to use
35435 SPAWN_XFLAGS_USE_PATH.
35436 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
35437 SPAWN_XFLAGS_TRY_SHELL.
35440 * posix/glob.h: Remove gcc 1.x support.
35443 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
35445 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35447 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35448 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
35450 * sysdeps/i386/i686/multiarch/strchr.S: New file.
35451 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
35452 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
35453 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
35454 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
35455 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
35457 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35459 * sysdeps/x86_64/wcscmp.S: New file.
35461 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
35462 wcscmp-c wcscmp-sse2
35463 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
35464 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
35465 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
35466 * wcsmbs/wcscmp.c: Allow renaming.
35468 2011-09-05 David S. Miller <davem@davemloft.net>
35470 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
35471 stack slot, rather than the struct return pointer slot.
35472 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
35473 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
35474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
35475 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
35477 2011-09-05 Ulrich Drepper <drepper@gmail.com>
35479 * po/ja.po: Update from translation team.
35482 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
35483 kernel in 64-bit binaries.
35485 2011-09-01 David S. Miller <davem@davemloft.net>
35487 * elf/elf.h (HWCAP_SPARC_*): Move to..
35488 * sysdeps/sparc/sysdep.h: this new file and add new values.
35489 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
35490 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
35491 _DL_HWCAP_COUNT to 24.
35492 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35494 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
35495 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
35496 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
35497 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
35498 instead of magic constants.
35499 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35501 2011-08-31 David S. Miller <davem@davemloft.net>
35503 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
35504 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
35505 Reimplement to do errno handling inline.
35506 (SYSCALL_ERROR_HANDLER): New macro.
35507 (__SYSCALL_STRING): Do not do errno handling in asm.
35508 (__CLONE_SYSCALL_STRING): Delete.
35509 (__INTERNAL_SYSCALL_STRING): Delete.
35510 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
35511 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
35512 (PSEUDO): Reimplement to do errno handling inline.
35513 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
35514 (SYSCALL_ERROR_HANDLER): New macro.
35515 (__SYSCALL_STRING): Do not do errno handling in asm.
35516 (__CLONE_SYSCALL_STRING): Delete.
35517 (__INTERNAL_SYSCALL_STRING): Delete.
35518 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
35519 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
35521 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
35522 (inline_syscall*): Add 'err' argument.
35523 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
35524 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
35525 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
35526 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
35528 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
35529 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35531 2011-08-30 Andreas Schwab <schwab@redhat.com>
35533 * elf/rtld.c (dl_main): Relocate objects in dependency order.
35535 2011-08-29 Jiri Olsa <jolsa@redhat.com>
35537 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
35540 2011-08-24 David S. Miller <davem@davemloft.net>
35542 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
35544 2011-08-24 Andreas Schwab <schwab@redhat.com>
35546 * elf/Makefile: Add rules to build and run unload8 test.
35547 * elf/unload8.c: New file.
35548 * elf/unload8mod1.c: New file.
35549 * elf/unload8mod1x.c: New file.
35550 * elf/unload8mod2.c: New file.
35551 * elf/unload8mod3.c: New file.
35553 * elf/dl-close.c (_dl_close_worker): Reset private search list if
35556 2011-08-23 David S. Miller <davem@davemloft.net>
35558 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
35559 subtract stack bias.
35560 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
35561 %sp not %fp in calculations.
35562 (_JMPBUF_UNWINDS_ADJ): Likewise.
35564 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
35565 (aio_suspend): Call it to force an exception region around the
35566 AIO_MISC_WAIT() invocation.
35568 2011-08-23 Andreas Schwab <schwab@redhat.com>
35570 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
35573 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
35575 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
35577 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
35578 and <dl-machine.h>.
35579 (Elf64_FuncDesc): Remove.
35581 2011-08-22 David S. Miller <davem@davemloft.net>
35583 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
35584 sigaltstack check, add missing cfi directives.
35585 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
35586 missing cfi directives, and sigaltstack handling.
35588 2011-08-16 Andreas Schwab <schwab@redhat.com>
35591 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
35592 object is seen twice.
35593 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35595 * elf/Makefile (distribute): Add tst-initorder2.c.
35596 (tests): Add tst-initorder2.
35597 (modules-names): Add tst-initorder2a tst-initorder2b
35598 tst-initorder2c tst-initorder2d. Add rules to build them.
35599 ($(objpfx)tst-initorder2.out): New rule.
35600 * elf/tst-initorder2.c: New file.
35601 * elf/tst-initorder2.exp: New file.
35603 2011-08-22 Andreas Schwab <schwab@redhat.com>
35605 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
35607 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
35608 dependencies back to end of function.
35610 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35611 $(elfobjdir)/ld.so.
35613 2011-08-21 Ulrich Drepper <drepper@gmail.com>
35615 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
35616 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
35617 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
35618 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
35619 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
35620 of __vdso_gettimeofday.
35621 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
35622 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
35624 (_libc_vdso_platform_setup): Remove initialization of
35625 __vdso_gettimeofday and __vdso_time.
35627 2011-08-20 Ulrich Drepper <drepper@gmail.com>
35629 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
35630 and fgetc_unlocked.
35631 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
35634 * elf/dl-open.c (add_to_global): Report additions to the global scope
35635 for LD_DEBUG=scopes.
35636 (dl_open_worker): Also print scope of newly loaded dependencies.
35637 (_dl_show_scope): Indicate if there is no scope.
35640 * stdio-common/Makefile (tests): Add bug24.
35641 * stdio-common/bug24.c: New file.
35643 2011-08-19 Andreas Jaeger <aj@suse.de>
35646 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
35647 non-existant file when using close-on-exec mode.
35649 2011-08-20 Ulrich Drepper <drepper@gmail.com>
35651 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
35652 the very first instruction.
35654 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
35655 the CFI state in the end.
35656 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
35657 inclusion of dl-trampoline.h.
35658 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
35660 2011-08-19 Andreas Schwab <schwab@redhat.com>
35662 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
35663 expectations for long double.
35665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
35666 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
35668 2011-08-14 David S. Miller <davem@davemloft.net>
35670 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
35671 artificual limit depends upon the system page size.
35673 2011-08-17 Ulrich Drepper <drepper@gmail.com>
35675 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
35676 * resolv/Makefile: Define CFLAGS-libresolv.
35678 2011-08-17 Andreas Schwab <schwab@redhat.com>
35680 * nss/makedb.c (compute_tables): Make variables used in nested
35683 2011-08-17 Ulrich Drepper <drepper@gmail.com>
35685 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
35686 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
35687 if buffer was too small.
35689 * elf/pldd.c (main): Attach to all threads in the process.
35690 Rewrite /proc handling to use *at functions.
35692 2011-08-16 Ulrich Drepper <drepper@gmail.com>
35694 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
35695 specifies first scope to show.
35696 (dl_open_worker): Update callers. Move printing scope of new
35697 object to before the relocation.
35698 * elf/rtld.c (dl_main): Update _dl_show_scope call.
35699 * sysdeps/generic/ldsodefs.h: Update declaration.
35701 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
35702 string for the scope number.
35704 2011-08-14 Ulrich Drepper <drepper@gmail.com>
35706 * nscd/servicescache.c (cache_addserv): Make sure written is always
35709 2011-08-14 Roland McGrath <roland@hack.frob.com>
35711 * sysdeps/i386/i486/bits/atomic.h
35712 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
35713 statement expression, so as to suppress "set but not used" warning.
35714 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
35716 * string/strncat.c (STRNCAT): Use prototype definition.
35718 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
35719 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
35721 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
35722 (localedef-modules): Add localedef.
35723 (locale-modules): Add locale.
35725 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
35726 * elf/rtld.c (dl_main): Invert order of assignment in last change,
35727 to avoid a warning.
35729 2011-08-14 David S. Miller <davem@davemloft.net>
35731 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
35732 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35734 2011-08-13 Ulrich Drepper <drepper@gmail.com>
35736 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
35737 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
35738 * elf/rtld.c (dl_main): Set l_name of vDSO.
35739 Call _dl_show_scope when DL_DEBUG_SCOPES.
35740 (process_dl_debug): Recognize scopes flag and also set it for all.
35741 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
35742 Declare _dl_show_scope.
35744 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
35745 (do_dlopen): Pass caller_dlopen to dl_open.
35746 (__libc_dlopen_mode): Initialize caller_dlopen.
35748 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
35749 of libc. Make tolower call locale-independent. Optimize a bit by
35750 using isdigit instead of isalnum.
35751 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
35753 2011-08-12 Ulrich Drepper <drepper@gmail.com>
35755 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35756 was a dependency or dynamically loaded.
35758 2011-08-11 Ulrich Drepper <drepper@gmail.com>
35760 * intl/l10nflist.c: Allow architecture-specific pop function.
35761 * sysdeps/x86_64/l10nflist.c: New file.
35763 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35766 2011-08-10 Andreas Schwab <schwab@redhat.com>
35768 * include/dirent.h: Add libc_hidden_proto for scandirat and
35769 scandirat64. Don't declare __scandirat64.
35770 * dirent/scandirat.c: Add libc_hidden_def.
35771 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35772 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35774 2011-08-10 David S. Miller <davem@davemloft.net>
35776 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35778 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35779 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35780 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35782 2011-08-09 Ulrich Drepper <drepper@gmail.com>
35784 * Versions.def [libc]: Add GLIBC_2.15.
35785 * dirent/Makefile (routines): Add scandirat and scandirat64.
35786 * dirent/Versions [libc]: Export scandirat and scandirat64 for
35788 * dirent/dirent.h: Declare scandirat and scandirat64.
35789 * dirent/scandirat.c: New file.
35790 * dirent/scandirat64.c: New file.
35791 * sysdeps/wordsize-64/scandirat.c: New file.
35792 * sysdeps/wordsize-64/scandirat64.c: New file.
35793 * dirent/opendir.c: Define opendirat.
35794 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
35796 * dirent/scandir64.c: Adjust for scandir.c change.
35797 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
35798 __scandirat64, and __scandir_cancel_handler.
35799 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
35800 additional parameter and use openat instead of open (outside of ld.so).
35801 Add new __opendir as wrapper around __opendirat.
35802 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35803 here without requiring old scandirat implementation.
35805 2011-08-08 Ulrich Drepper <drepper@gmail.com>
35807 * dirent/scandir.c (cancel_handler): Renamed to
35808 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
35809 defined. Adjust users.
35810 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35811 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35813 2011-08-04 Ulrich Drepper <drepper@gmail.com>
35815 * string/test-string.h (IMPL): Use __STRING to expand name and then
35818 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
35821 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35823 * string/Makefile: Update.
35824 (strop-tests): Append strncat.
35825 * string/test-wcscmp.c: New file.
35826 New comprehensive test for wcscmp.
35827 * string/test-strcmp.c: Update.
35828 (WIDE): New define.
35830 2011-07-22 Andreas Schwab <schwab@redhat.com>
35832 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35835 2011-07-26 Andreas Schwab <schwab@redhat.com>
35837 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35838 encoding to ACE if AI_IDN.
35840 2011-08-01 Jakub Jelinek <jakub@redhat.com>
35842 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35843 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35845 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35847 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35848 Fix overflow bug in strncat.
35849 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35851 * string/test-strncat.c: Update.
35852 Add new tests for checking overflow bugs.
35854 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35856 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35857 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35858 * sysdeps/i386/i686/multiarch/strcat.S: New file.
35859 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35860 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35861 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35862 * sysdeps/i386/i686/multiarch/strncat.S: New file.
35863 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35864 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35866 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35867 (USE_AS_STRCAT): Define.
35868 Add strcat and strncat support.
35869 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35871 2011-07-25 Andreas Schwab <schwab@redhat.com>
35873 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35874 __n bigger than INT_MAX+1.
35875 (__strncmp_g): Likewise.
35877 2011-07-23 Ulrich Drepper <drepper@gmail.com>
35879 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35880 * libio/stido.h: Likewise.
35882 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35884 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35887 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35888 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35889 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35890 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35891 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35894 * scripts/test-installation.pl: Don't expect libnss_test1 to be
35897 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35899 (_dl_x86_64_save_sse): Likewise.
35901 2011-07-22 Ulrich Drepper <drepper@gmail.com>
35903 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35905 (_dl_x86_64_save_sse): Likewise.
35907 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35909 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35911 2011-07-21 Andreas Schwab <schwab@redhat.com>
35913 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35915 (_dl_x86_64_save_sse): Use correct AVX check.
35917 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35919 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35920 bug in strncpy/strncat.
35921 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35923 2011-07-21 Ulrich Drepper <drepper@gmail.com>
35925 * string/tester.c (test_strcat): Add tests for different alignments
35926 of source and destination.
35927 (test_strncat): Likewise.
35929 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35932 * posix/glob.c (glob): Check passed in values before using them in
35933 expressions to avoid some overflows.
35934 (glob_in_dir): Likewise.
35937 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35938 check for AVX enablement so that we don't crash with old kernels and
35940 * elf/tst-audit4.c: Add same checks here.
35941 * elf/tst-audit6.c: Likewise.
35943 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35945 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
35947 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35949 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35951 * po/cs.po: Update from translation team.
35952 * po/bg.po: Likewise.
35954 2011-07-12 Marek Polacek <mpolacek@redhat.com>
35956 * misc/sys/cdefs.h: Add support for const attribute.
35957 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35958 to gnu_dev_{major,minor,makedev} functions.
35960 2011-07-20 Marek Polacek <mpolacek@redhat.com>
35962 * intl/dcigettext.c (get_output_charset): Add missing bracket.
35964 2011-07-20 Andreas Schwab <schwab@redhat.com>
35966 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35969 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35971 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35972 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35973 register in order to avoid conflicts with the soft frame pointer
35974 being held in r11 when necessary.
35975 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35976 (INTERNAL_VSYSCALL_NCS): Likewise.
35978 2011-07-14 Marek Polacek <mpolacek@redhat.com>
35980 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35981 * elf/dl-fini.c (_dl_fini): Adjust caller.
35982 * elf/dl-close.c (_dl_close_worker): Likewise.
35983 * sysdeps/generic/ldsodefs.h: Adjust declaration.
35985 2011-07-15 Marek Polacek <mpolacek@redhat.com>
35987 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35988 "aux_cache->nlibs < 0".
35990 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35991 in the reload-count case.
35993 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35995 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35996 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35997 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35998 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35999 * sysdeps/x86_64/multiarch/strcat.S: New file.
36000 * sysdeps/x86_64/multiarch/strncat.S: New file.
36001 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
36002 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
36003 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
36004 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
36005 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
36006 (USE_AS_STRCAT): Define.
36007 Add strcat and strncat support.
36008 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36009 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36010 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
36011 * string/strncat.c: Update.
36012 (USE_AS_STRNCAT): Define.
36013 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36014 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
36016 * sysdeps/x86_64/multiarch/init-arch.h
36017 (bit_Prefer_PMINUB_for_stringop): New.
36018 (index_Prefer_PMINUB_for_stringop): Likewise.
36019 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
36020 bit_Prefer_PMINUB_for_stringop.
36022 2011-07-19 Ulrich Drepper <drepper@gmail.com>
36024 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
36026 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
36027 of casting of buffer.
36028 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
36029 buffer32 and buffer64.
36030 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
36031 writes instead of casting of buffer.
36032 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
36034 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
36037 2011-07-19 Andreas Schwab <schwab@redhat.com>
36039 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36041 2011-07-19 Ulrich Drepper <drepper@gmail.com>
36043 * nscd/nscd.c (termination_handler): Don't do anything for a database
36044 if it has not yet been initialized.
36046 2011-07-18 Ulrich Drepper <drepper@gmail.com>
36048 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36050 2011-07-15 Marek Polacek <mpolacek@redhat.com>
36052 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36054 2011-07-18 Ulrich Drepper <drepper@gmail.com>
36056 * po/nl.po: Update from translation team.
36057 * po/sv.po: Likewise.
36059 2011-07-16 Roland McGrath <roland@hack.frob.com>
36061 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36062 now disallowed by GCC.
36064 * configure.in (use-default-link): Default to yes if a test -shared
36065 link meets our qualifications.
36066 * configure: Regenerated.
36068 * config.make.in (output-format): New variable.
36069 * configure.in: Check for ld --print-output-format support.
36070 * configure: Regenerated.
36071 * Makerules ($(common-objpfx)format.lds)
36072 [$(output-format) != unknown]: Just use $(output-format),
36073 instead of the linker-script munging.
36075 2011-07-14 Roland McGrath <roland@hack.frob.com>
36077 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36078 of $(common-objpfx)shlib.lds.
36079 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
36081 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36082 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36084 * configure.in (-z relro check): Adjust test code to add a large
36085 writable data section after it.
36086 * configure: Regenerated.
36088 2011-07-11 Roland McGrath <roland@hack.frob.com>
36090 * configure.in (-z relro check): Fix test code to make the variable
36092 * configure: Regenerated.
36094 2011-07-11 Ulrich Drepper <drepper@gmail.com>
36096 * nscd/nscd.h (struct traced_file): Define.
36097 (struct database_dyn): Remove inotify_descr, reset_res, and filename
36098 elements. Add traced_files.
36099 (inotify_fd): Declare.
36100 (register_traced_file): Declare.
36101 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
36102 (inotify_fd): Export.
36103 (resolv_conf_descr): Remove.
36104 (nscd_init): Move inotify descriptor creation to main.
36105 Don't register files for notification here.
36106 (register_traced_file): New function.
36107 (invalidate_cache): Don't use reset_res to determine whether to call
36108 res_init, go through the list of registered files.
36109 (main_loop_poll): The inotify descriptors are now stored in the
36110 structures for the traced files.
36111 (main_loop_epoll): Likewise
36112 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
36113 to __nss_disable_nscd.
36114 * nscd/cache.c (prune_cache): There is no single inotify descriptor
36115 for a database anymore. Check the records for all the registered
36117 * nss/Makefile (libnss_files-routines): Add files-init.
36118 (libnss_db-routines): Add db-init.
36119 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
36120 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
36121 * nss/nss_db/db-init.c: New file.
36122 * nss/nss_files/files-init.c: New file.
36123 * nss/nsswitch.c (nss_load_library): New function. Broken out of
36124 __nss_lookup_function.
36125 (__nss_lookup_function): Call nss_load_library.
36126 (nss_load_all_libraries): New function.
36127 (__nss_disable_nscd): Take parameter with callback function for files
36128 to register. Set is_nscd. Load all the DSOs for the NSS modules
36129 used for the cached services.
36130 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
36131 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
36132 options for features to all the files in nscd.
36134 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
36136 2011-07-10 Roland McGrath <roland@hack.frob.com>
36138 * csu/elf-init.c (__libc_csu_init): Comment typo.
36140 2011-07-09 Ulrich Drepper <drepper@gmail.com>
36142 * po/pl.po: Update from translation team.
36143 * po/ja.po: Likewise.
36144 * po/ru.po: Likewise.
36145 * po/ko.po: Likewise.
36146 * po/fr.po: Likewise.
36148 2011-07-09 Roland McGrath <roland@hack.frob.com>
36150 * configure.in (.ctors/.dtors header and trailer check):
36151 Use an empirical test on a built program.
36152 * configure: Regenerated.
36154 * configure.in (-z relro check): Use an empirical test on a built DSO.
36155 Detect, but do not require, on ia64.
36156 * configure: Regenerated.
36158 * configure.in (READELF): Find it with AC_CHECK_TOOL.
36159 Update tests that use readelf to use $READELF instead.
36160 * configure: Regenerated.
36162 2011-07-08 Ulrich Drepper <drepper@gmail.com>
36164 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
36165 if the result is not used.
36167 2011-07-05 Andreas Jaeger <aj@suse.de>
36170 * stdlib/tst-strtod.c: Add testcase.
36172 2011-07-07 Ulrich Drepper <drepper@gmail.com>
36174 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
36175 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
36176 The latter has a higher limit. Take additional parameter to pass to
36178 (__pathconf): Pass file to __statfs_link_max.
36179 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
36181 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
36185 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
36186 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36188 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
36189 (__statfs_filesize_max): Likewise.
36190 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
36192 2011-07-05 Andreas Jaeger <aj@suse.de>
36194 * resolv/res_comp.c (dn_skipname): Remove unused variable.
36196 2011-07-06 Marek Polacek <mpolacek@redhat.com>
36198 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
36200 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
36203 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
36205 * Makefile (strop-tests): Add strncat.
36206 * string/test-strncat.c: New file.
36208 2011-06-30 Marek Polacek <mpolacek@redhat.com>
36210 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
36212 2011-06-21 Andreas Jaeger <aj@suse.de>
36214 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
36215 Copy rule from iconvdata/Makefile.
36217 2011-07-06 Ulrich Drepper <drepper@gmail.com>
36220 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
36221 but no long options are defined, just return 'W'.
36223 2011-06-22 Marek Polacek <mpolacek@redhat.com>
36226 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
36228 2011-07-06 Ulrich Drepper <drepper@gmail.com>
36230 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
36232 (innetgr): Likewise.
36234 2011-07-05 Roland McGrath <roland@hack.frob.com>
36236 * config.make.in (install_root): Default to $(DESTDIR).
36238 2011-07-05 Ulrich Drepper <drepper@gmail.com>
36240 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
36242 2011-07-02 Roland McGrath <roland@hack.frob.com>
36244 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
36246 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
36247 containing directory rather than embedding absolute directory names.
36249 * scripts/check-local-headers.sh: Rewritten using awk.
36250 Match by word, not by line. Print error messages for matches.
36251 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
36253 * Makerules [shlib-lds-flags empty]:
36254 ($(common-objpfx)libc_pic.opts): New target.
36255 ($(common-objpfx)libc_pic.os.clean): New target.
36256 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
36258 * config.make.in (OBJCOPY): New variable.
36259 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
36260 * configure: Regenerated.
36262 * config.make.in (use-default-link): New variable.
36263 * configure.in (use_default_link): Grok --with-default-link to set it.
36264 * configure: Regenerated.
36265 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
36266 (shlib-lds, shlib-lds-flags): Define to empty.
36268 * Makerules (shlib-lds): New variable.
36269 (shlib-lds-flags): New variable.
36270 (build-shlib, build-moduile, build-module-asneeded): Use it.
36271 ($(common-objpfx)libc.so): Use $(shlib-lds).
36272 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
36273 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
36275 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
36276 DT_FLAGS/DT_FLAGS_1 with zero flags.
36278 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
36279 linker script munging.
36281 2011-07-02 Ulrich Drepper <drepper@gmail.com>
36283 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
36285 * crypt/sha512.c (sha512_process_block): Perform total addition using
36286 128-bit if possible.
36287 (__sha512_finish_ctx): Likewise.
36288 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
36290 * crypt/sha256.c (SWAP64): Define.
36291 (sha256_process_block): Perform total addition using 64-bit if
36293 (__sha256_finish_ctx): Likewise.
36295 2011-07-01 Ulrich Drepper <drepper@gmail.com>
36297 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
36298 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36299 * nscd/hstcache.c (cache_addhst): Likewise.
36300 * nscd/grpcache.c (cache_addgr): Likewise.
36301 * nscd/aicache.c (addhstaiX): Likewise
36302 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
36304 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
36306 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
36307 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36308 * nscd/hstcache.c (cache_addhst): Likewise.
36309 * nscd/grpcache.c (cache_addgr): Likewise.
36310 * nscd/aicache.c (addhstaiX): Likewise
36312 2011-07-01 Andreas Schwab <schwab@redhat.com>
36314 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
36315 domain only when needed.
36317 2011-06-30 Andreas Schwab <schwab@redhat.com>
36319 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
36320 is always restored.
36322 2011-06-29 Ulrich Drepper <drepper@gmail.com>
36324 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
36325 are re-adding the entry.
36326 * nscd/servicescache.c (cache_addserv): Likewise.
36328 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
36330 * sysdeps/generic/dl-irel.h: fix protection against multiple
36332 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
36334 2011-06-28 Ulrich Drepper <drepper@gmail.com>
36337 * malloc/memusage.sh: Fix quoting in message.
36338 * debug/xtrace.sh: Likewise.
36340 * configure.in: Remove support for --experimental-malloc option, make
36342 * config.make.in: Likewise.
36343 * malloc/Makefile: Likewise.
36345 2011-06-27 Andreas Schwab <schwab@redhat.com>
36347 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
36348 two-byte characters.
36350 2011-06-27 Roland McGrath <roland@hack.frob.com>
36352 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
36353 AC_CACHE_CHECK invocation.
36354 * configure: Regenerated.
36356 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
36358 2011-06-27 Ulrich Drepper <drepper@gmail.com>
36361 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
36362 bit from old_res_options.
36364 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
36366 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
36367 value type for setfct.
36369 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
36371 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36372 __gettimeofday instead of gettimeofday.
36374 2011-06-26 Ulrich Drepper <drepper@gmail.com>
36376 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
36378 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
36380 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
36382 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
36385 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36387 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36388 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36389 strcpy-sse2-unaligned strncpy-sse2-unaligned
36390 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
36391 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
36392 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
36393 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
36394 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
36395 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
36396 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
36397 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
36398 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
36399 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
36400 (STRCPY): Support SSE2 and SSSE3 versions.
36402 2011-06-24 Ulrich Drepper <drepper@gmail.com>
36405 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
36406 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
36407 kernels which artificially limit size of requests.
36409 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36411 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36412 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36413 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
36414 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
36415 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
36416 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
36417 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
36418 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
36419 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
36420 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
36421 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
36422 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
36423 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
36424 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
36425 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
36426 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36427 Enable unaligned load optimization for Intel Core i3, i5 and i7
36429 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
36431 (index_Fast_Unaligned_Load): Define.
36432 (HAS_FAST_UNALIGNED_LOAD): Define.
36434 2011-06-23 Marek Polacek <mpolacek@redhat.com>
36436 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
36438 2011-06-22 Ulrich Drepper <drepper@gmail.com>
36441 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
36442 until it is clear that the information is realy needed.
36443 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
36445 2011-06-22 Andreas Schwab <schwab@redhat.com>
36447 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
36449 2011-06-22 Ulrich Drepper <drepper@gmail.com>
36451 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36452 /sys/devices/system/cpu/online if it is usable.
36454 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
36455 reading the information from the /proc filesystem to once a second.
36457 2011-06-21 Andreas Jaeger <aj@suse.de>
36459 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
36460 NULL after inclusion of kernel headers.
36462 2011-06-21 Ulrich Drepper <drepper@gmail.com>
36464 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
36465 calls to internal_setent.
36468 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
36469 addresses using gethostbyname4_r ignore IPv4 addresses.
36471 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
36472 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
36474 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
36476 2011-06-20 David S. Miller <davem@davemloft.net>
36478 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
36480 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
36482 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
36483 (elf_irel): Use it.
36484 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
36485 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
36486 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
36487 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
36488 * sysdeps/x86_64/dl-irel.h: Likewise.
36490 * elf/dl-runtime.c: Use elf_ifunc_invoke.
36491 * elf/dl-sym.c: Likewise.
36493 2011-06-15 Ulrich Drepper <drepper@gmail.com>
36495 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
36496 need to dereference resplen2.
36498 2011-06-14 Andreas Schwab <schwab@redhat.com>
36500 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
36502 2011-06-15 Ulrich Drepper <drepper@gmail.com>
36504 * Makeconfig: Define vardbdir and inst_vardbdir.
36505 * nss/Makefile: Add rules to install db-Makefile.
36507 * nss/nss_db/db-XXX.c: Cleanup.
36509 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
36510 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
36512 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
36513 * nss/makedb.c: Implement -g option to specify that value strings
36514 are generated and should not be added to table iterated over for
36516 * nss/nss_db/db-initgroups.c: New file.
36518 * nss/getent.c: Add support for initgroups lookups through getgrouplist
36521 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
36522 (internal_getgrouplist): Adjust to name change.
36523 Update use_initgroups_entry if this is not the first call.
36524 * nss/databases.def: Add initgroups entry.
36526 * nss/makedb.c (compute_tables): Check result of multiple hash table
36527 sizes to minimize maximum chain length.
36529 2011-06-14 Ulrich Drepper <drepper@gmail.com>
36531 * Versions.def: Add entry for libnss_db.
36532 * shlib-versions: Likewise.
36533 * nss/Makefile: Add rules to build libnss_db.
36534 * nss/Versions: Add libnss_db information. Organize libnss_files
36536 * nss/db-Makefile: Add gshadow support. Change rules for the new
36537 makedb progra. Some minor improvements to generate smaller files.
36538 * nss/nss_db/nss_db.h: Move NSS database header data structures to
36540 * nss/makedb.c: ...here.
36541 Improve database format to be smaller and require less memory at
36543 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
36545 * nss/nss_db/db-netgrp.c: Likewise.
36546 * nss/nss_db/db-open.c: Likewise.
36547 * nss/nss_files/flies-XXX.x: Adjust comments.
36548 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
36549 * nss/nss_files/files-grp.c: Likewise.
36550 * nss/nss_files/files-hosts.c: Likewise.
36551 * nss/nss_files/files-network.c: Likewise.
36552 * nss/nss_files/files-proto.c: Likewise.
36553 * nss/nss_files/files-pwd.c: Likewise.
36554 * nss/nss_files/files-rpc.c: Likewise.
36555 * nss/nss_files/files-service.c: Likewise.
36556 * nss/nss_files/files-sgrp.c: Likewise.
36557 * nss/nss_files/files-spwd.c: Likewise.
36558 * nss/nss_db/db-alias.c: Removed.
36559 * nss/nss_db/dummy-db.h: Removed.
36561 2011-06-02 Ulrich Drepper <drepper@gmail.com>
36563 * nss/makedb.c: Rewritten to not use database library.
36564 * nss/Makefile: Update to build new makedb program.
36566 2011-06-14 Andreas Jaeger <aj@suse.de>
36568 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
36569 memset declaration.
36571 2011-06-10 Andreas Schwab <schwab@redhat.com>
36573 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
36576 2011-06-10 Roland McGrath <roland@hack.frob.com>
36578 * Makerules (shlib.lds): Fail if the linker script comes out empty.
36579 * elf/Makefile ($(objpfx)ld.so): Likewise.
36581 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
36582 Don't list ld.so twice in dependencies.
36584 * posix/bug-regex31.c: Include <stdlib.h>.
36586 * nscd/hstcache.c (cache_addhst): Remove unused variable.
36588 * nis/nss_compat/compat-spwd.c
36589 (getspent_next_nss_netgr): Remove unused variable.
36590 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
36592 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
36593 nonmembers" output to use the right array.
36595 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
36597 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
36599 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
36600 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
36601 * catgets/gencat.c (read_input_file): Likewise.
36602 * locale/programs/locarchive.c (enlarge_archive): Likewise.
36604 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
36605 variable definition inside #if's controlling its use.
36607 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
36609 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
36611 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
36613 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
36616 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
36618 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
36619 * configure: Regenerated.
36621 * Makerules: Revert last change.
36622 * elf/Makefile: Likewise.
36624 2011-06-09 Roland McGrath <roland@hack.frob.com>
36626 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
36627 * elf/Makefile ($(objpfx)librtld.os): Likewise.
36628 (reloc-link): Likewise.
36630 2011-06-09 Ulrich Drepper <drepper@gmail.com>
36632 * elf/Makefile: Add rules to build pldd.
36633 * elf/pldd.c: New file.
36634 * elf/pldd-xx.c: New file.
36636 2011-06-07 Ulrich Drepper <drepper@gmail.com>
36638 * version.h: Update for 2.15 development version.
36640 2011-06-07 David S. Miller <davem@davemloft.net>
36642 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
36644 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
36645 elf_machine_lazy_rel): Likewise.
36646 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36647 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
36648 elf_machine_lazy_rel): Likewise.
36649 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
36650 dl_hwcap via passed in argument.
36651 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
36654 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36656 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
36658 2011-06-06 Roland McGrath <roland@hack.frob.com>
36661 * manual/fdl-1.1.texi: New file, verbatim from:
36662 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
36663 * manual/lgpl-2.1.texi: New file, verbatim from:
36664 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
36665 * manual/Makefile (licenses): New variable, list those new file names.
36667 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
36669 * manual/fdl.texi: File removed.
36670 * manual/lesser.texi: File removed.
36671 * manual/libc.texinfo (Copying, Documentation License):
36672 Use new @include file names, put @appendix directive before @include.
36674 2011-06-04 Jakub Jelinek <jakub@redhat.com>
36677 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
36678 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
36679 (mq_open): Add __NTH.
36681 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
36683 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36684 Assume Intel Core i3/i5/i7 processor if AVX is available.
36686 2011-05-31 Ulrich Drepper <drepper@gmail.com>
36688 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36691 2011-05-31 Andreas Schwab <schwab@redhat.com>
36693 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
36694 memory. Use alloca_account. Fix memory leak when retrying.
36696 2011-05-31 Ulrich Drepper <drepper@gmail.com>
36698 * version.h (RELEASE): Bump for 2.14 release.
36699 * include/features.h (__GLIBC_MINOR__): Bump to 14.
36701 * config.make.in (RANLIB): Remove entry.
36703 2011-05-30 Ulrich Drepper <drepper@gmail.com>
36705 * po/Makefile (po-sed-cmd): Add ksh to extensions.
36706 (libc.pot): Work around missing support for .ksh extension in xgettext.
36709 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
36710 if both request failed.
36711 (send_dg): In case of server errors clear resplen or *resplen2.
36714 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
36715 when there are multiple maps.
36716 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
36717 (_dl_fini): Remove test here.
36719 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
36721 2011-05-29 Ulrich Drepper <drepper@gmail.com>
36724 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36725 bit from old_res_options.
36726 (gaih_inet): Likewise.
36729 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
36732 * resolv/res_init.c (res_setoptions): Make the code more compact.
36735 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
36739 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
36741 * malloc/malloc.h: Mark malloc hook variables as deprecated.
36744 * malloc/malloc.h: Declare malloc hook variables as volatile.
36746 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36750 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
36751 raise in the comment.
36752 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36753 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36754 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
36756 2011-05-28 Ulrich Drepper <drepper@gmail.com>
36759 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36760 grow the buffers more if it already has to be sufficient.
36761 (build_wcs_upper_buffer): Likewise.
36762 * posix/regexec.c (check_matching): Likewise.
36763 (clean_state_log_if_needed): Likewise.
36764 (extend_buffers): Don't enlarge buffers beyond size of the input
36766 Patches mostly by Emil Wojak <emil@wojak.eu>.
36767 * posix/bug-regex32.c: New file.
36768 * posix/Makefile (tests): Add bug-regex32.
36770 * locale/findlocale.c (_nl_find_locale): Return right away if
36771 _nl_explode_name failed.
36772 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36774 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36776 * debug/xtrace.sh: Unify messages.
36777 * malloc/memusage.sh: Likewise.
36780 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36781 time symbol from vDSO. Substitute with vsyscall if not available.
36782 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36785 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36786 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36787 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36788 Add sendmmsg and internal_sendmmsg.
36789 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36790 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36791 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36793 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36794 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36795 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36797 2011-05-27 Ulrich Drepper <drepper@gmail.com>
36800 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36801 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
36803 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36807 * iconvdata/Makefile (tests): Add bug-iconv9.
36808 * iconvdata/bug-iconv9.c: New file.
36810 2011-05-27 Andreas Schwab <schwab@redhat.com>
36813 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36815 2011-05-25 Jakub Jelinek <jakub@redhat.com>
36817 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36818 (struct user_regs_struct): Change intcs field back to cs.
36820 2011-05-25 Ulrich Drepper <drepper@gmail.com>
36822 * po/ja.po: Update from translation team.
36824 2011-05-23 Ulrich Drepper <drepper@gmail.com>
36827 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36828 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36830 2011-05-20 Andreas Schwab <schwab@redhat.com>
36832 * stdlib/longlong.h: Update from GCC.
36834 2011-05-23 Andreas Schwab <schwab@redhat.com>
36836 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36838 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36839 Add parameter name.
36840 (__sysconf): Pass it down.
36842 2011-05-22 Ulrich Drepper <drepper@gmail.com>
36845 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36847 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36848 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36849 add in in __libc_use_alloca calls. Adjust callers.
36850 (glob): Use malloc in some situations.
36852 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36853 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36856 2011-05-21 Ulrich Drepper <drepper@gmail.com>
36858 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36859 and CLOCK_BOOTTIME_ALARM.
36862 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36865 * string/_strerror.c (__strerror_r): Print negative errors as signed
36869 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36870 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36871 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36873 * configure.in: Fix typo in redirection and correct removal of test
36874 files in two cases.
36877 * locale/setlocale.c (new_composite_name): Fix test to check for
36878 identical name of all categories.
36881 * libio/filedoalloc.c (local_isatty): New function.
36882 (_IO_file_doallocate): Use local_isatty.
36883 * stdio-common/perror.c (perror): In case a new stream is used
36884 forward the stream error.
36885 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36888 2011-05-20 Ulrich Drepper <drepper@gmail.com>
36891 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36893 * include/alloca.h (extend_alloca_account): Define.
36896 * posix/regex.h: Fix comments with documentation of user-accessible
36897 fields after compilation and describe correct free'ing of pattern
36898 after re_compile_pattern.
36899 Patch by Reuben Thomas <rrt@sc3d.org>.
36901 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
36903 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36904 and -mno-altivec to prevent the compiler from using Altivec and/or
36905 VSX instructions when the corresponding registers are not available.
36907 2011-05-19 Andreas Schwab <schwab@redhat.com>
36909 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36911 2011-05-19 Ulrich Drepper <drepper@gmail.com>
36913 * libio/freopen.c (freopen): Use __dup2, not dup2.
36914 * libio/freopen64.c (freopen64): Likewise.
36916 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
36919 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36920 * math/Makefile (tests): Add test-powl.
36921 (CFLAGS-test-powl.c): Define.
36922 * math/test-powl.c: New file.
36924 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
36926 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36928 2011-05-17 Ulrich Drepper <drepper@gmail.com>
36931 * iconvdata/gb18030.c: Update to GB18020-2005.
36933 2011-05-16 Ulrich Drepper <drepper@gmail.com>
36935 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36936 RE_SYNTAX_POSIX_AWK): Update to match recent development.
36937 Patch by Aharon Robbins <arnold@skeeve.com>.
36940 * stdlib/putenv.c (putenv): Don't always create copy of the variable
36944 * misc/pselect.c (__pselect): Handle timeout value errors hidden
36945 through underflows.
36948 * misc/error.c (error_at_line): Ensure file_name and old_file_name
36949 point to strings before performing equality test for error_one_per_line
36953 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36956 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36957 (struct user_fpregs_struct): Avoid __uint*_t types.
36960 * malloc/mtrace.c (tr_where): Add additional parameter to point to
36961 symbol info. Use it instead of calling _dl_addr locally.
36962 (lock_and_info): New function.
36963 (tr_freehook): Call lock_and_info and pass symbol info as additional
36964 parameter to tr_where.
36965 (tr_mallochook): Likewise.
36966 (tr_reallochook): Likewise.
36967 (tr_memalignhook): Likewise.
36969 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
36970 used and couldn't be at all thread-safe.
36972 2011-05-15 Ulrich Drepper <drepper@gmail.com>
36974 * libio/freopen.c (freopen): Don't close old file descriptor
36975 before the new one is opened. Instead dup the new file descriptor
36976 to the old one after the new stream is created.
36977 * libio/freopen64.c (freopen64): Likewise.
36978 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36979 * libio/fileops.c (_IO_new_file_close_it): Handle new
36980 _IO_FLAGS2_NOCLOSE flag.
36981 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36982 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36983 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36984 _IO_FLAGS2_NOCLOSE flag.
36985 * include/unistd.h: Add hidden_proto for dup3.
36986 Define __have_dup3.
36987 * io/dup3.c: Define hidden symbol.
36988 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36991 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36992 when an incomplete long option is used.
36993 * posix/tst-getopt_long1.c: New file.
36994 * posix/Makefile (tests): Add tst-getopt_long1.
36997 * scripts/config.guess: Update from autoconf-2.68.
36998 * scripts/config.sub: Likewise.
37001 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
37003 (has_cpuclock): ...this. New function.
37004 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
37005 macro here based on has_cpuclock code.
37008 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37009 First byte (not low byte) is now always NUL.
37010 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
37012 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37013 Use non-cancelable interfaces.
37016 * locale/iso-639.def: Add entry for Sorani.
37019 * include/stdlib.h: Move include protection to the right place.
37020 Define abort_msg_s. Declare __abort_msg with it.
37021 * stdlib/abort.c (__abort_msg): Adjust type.
37022 * assert/assert.c (__assert_fail_base): New function. Majority
37023 of code from __assert_fail. Allocate memory for __abort_msg with
37025 (__assert_fail): Now call __assert_fail_base.
37026 * assert/assert-perr.c: Remove bulk of implementation. Use
37027 __assert_fail_base.
37028 * include/assert.hL Declare __assert_fail_base.
37029 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
37031 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
37033 2011-05-14 Ulrich Drepper <drepper@gmail.com>
37037 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
37038 until all modules are registered in the DTV.
37039 * elf/Makefile: Add rules to build and run tst-tls19.
37040 * elf/tst-tls19.c: New file.
37041 * elf/tst-tls19mod1.c: New file.
37042 * elf/tst-tls19mod2.c: New file.
37043 * elf/tst-tls19mod3.c: New file.
37044 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
37047 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37051 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37052 two-byte sequence errors.
37053 * iconvdata/Makefile (tests): Add bug-iconv8.
37054 * iconvdata/bug-iconv8.c: New file.
37057 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37060 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37063 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37064 (dummy_getcfa): New function.
37065 (init): Get _Unwind_GetCFA address, use dummy if not found.
37066 (backtrace_helper): In recursion check, also check whether CFA changes.
37067 (__backtrace): Completely initialize arg.
37069 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
37070 storing incomplete byte sequence in state object. Avoid testing for
37071 guaranteed too small input if we know there is enough data available.
37073 2011-05-11 Andreas Schwab <schwab@redhat.com>
37075 * Makeconfig (+link-pie): Indent.
37076 * Rules (binaries-pie): Define if $(have-fpie) and
37078 (binaries-shared): Also filter out $(binaries-pie).
37079 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
37080 * nscd/Makefile (others-pie): Add nscd.
37081 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
37082 ($(objpfx)nscd): Remove command override.
37083 * login/Makefile (others-pie): Add pt_chown.
37084 ($(objpfx)pt_chown): Remove command override.
37085 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
37086 remove command overrides.
37088 2011-05-13 Ulrich Drepper <drepper@gmail.com>
37090 * libio/tst_putwc.c: Fix error messages.
37093 * libio/fileops.c (_IO_new_file_close_it): Always flush when
37094 currently writing and seek to current position when not.
37095 * libio/Makefile (tests): Add bug-fclose1.
37096 * libio/bug-fclose1.c: New file.
37098 2011-05-12 Ulrich Drepper <drepper@gmail.com>
37101 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
37102 don't set DF_1_NODELETE here.
37103 (do_lookup_x): When entering new entry test for copy relocation
37104 and if necessary set DF_1_NODELETE flag.
37105 * elf/tst-unique4.cc: New file.
37106 * elf/tst-unique4.h: New file.
37107 * elf/tst-unique4lib.cc: New file.
37108 * elf/Makefile: Add rules to build and run tst-unique4.
37109 Patch by Piotr Bury <pbury@goahead.com>.
37111 2011-05-11 Ulrich Drepper <drepper@gmail.com>
37114 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
37117 * misc/mntent_r.c (addmntent): Flush the stream after the output
37120 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
37121 (is_trusted_path_normalize): Skip initial colon. Append slash
37122 to empty buffer. Duplicate is_trusted_path code but allow
37123 constructed patch to be prefix.
37124 (is_dst): Allow $ORIGIN followed by /.
37125 (_dl_dst_substitute): Correct clearing of check_for_trusted.
37126 Correct testing of result of is_trusted_path_normalize
37127 (decompose_rpath): Fix warning.
37129 2011-05-10 Ulrich Drepper <drepper@gmail.com>
37132 * grp/initgroups.c (internal_getgrouplist): When we found the service
37133 list through the initgroups entry in nsswitch.conf do not always
37134 continue on a successful lookup. Don't always use the
37135 __nss_group_database value if it is set.
37136 * nss/nsswitch.conf (initgroups): Change action for successful db
37137 lookup to continue for compatibility.
37139 2011-05-09 Ulrich Drepper <drepper@gmail.com>
37142 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
37144 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
37146 * iconvdata/tst-tables.sh: Likewise.
37147 * iconvdata/cp770.c: New file.
37148 * iconvdata/cp771.c: New file.
37149 * iconvdata/cp772.c: New file.
37150 * iconvdata/cp773.c: New file.
37151 * iconvdata/cp774.c: New file.
37152 * iconvdata/testdata/CP770: New file.
37153 * iconvdata/testdata/CP770..UTF8: New file.
37154 * iconvdata/testdata/CP771: New file.
37155 * iconvdata/testdata/CP771..UTF8: New file.
37156 * iconvdata/testdata/CP772: New file.
37157 * iconvdata/testdata/CP772..UTF8: New file.
37158 * iconvdata/testdata/CP773: New file.
37159 * iconvdata/testdata/CP773..UTF8: New file.
37160 * iconvdata/testdata/CP774: New file.
37161 * iconvdata/testdata/CP774..UTF8: New file.
37163 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
37165 * iconvdata/gen-8bit-gap.sh: Likewise.
37166 * iconvdata/gen-8bit.sh: Likewise.
37168 * locale/iso-639.def: Add ary entry.
37171 * locale/C-translit.h.in: Add U20A1 transliteration.
37174 * locale/iso-639.def: Add wae entry.
37175 Patch by Kevin Bortis <bortis@translate-wae.ch>.
37178 * locale/programs/localedef.c (construct_output_path): Use ssize_t
37182 * locale/C-translit.h.in: Add entry for U20B9.
37183 Patch by pravin.d.s@gmail.com.
37185 2011-05-08 Ulrich Drepper <drepper@gmail.com>
37188 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
37189 ENAMETOOLONG use generic getcwd.
37190 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
37191 in rtld. Use *stat64.
37192 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
37193 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
37194 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
37195 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
37196 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
37197 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
37198 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
37199 __fstatat64 macros.
37200 * include/dirent.h: Add libc_hidden_proto for rewinddir.
37201 * dirent/rewinddir.c: Add libc_hidden_def.
37202 * sysdeps/mach/hurd/rewinddir.c: Likewise.
37203 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
37205 * include/dirent.h (__alloc_dir): Add flags parameter.
37206 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
37207 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
37209 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
37210 from fdopendir if O_CLOEXEC is already set.
37212 2011-03-15 Alan Modra <amodra@gmail.com>
37214 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
37215 l_tls_firstbyte_offset non-zero. Save padding offset in
37216 l_tls_firstbyte_offset for later use.
37217 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
37218 freeing static tls block.
37220 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
37222 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
37223 where #ifdef was intended. The intent is to prevent ARG_MAX from
37224 being defined by the kernel headers.
37226 2011-05-07 Ulrich Drepper <drepper@gmail.com>
37229 * resolv/resolv.h: Define RES_NOTLDQUERY.
37230 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
37231 no-tld-query and set RES_NOTLDQUERY.
37232 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
37233 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
37234 modern BIND to search name as TLD unless forbidden.
37236 2011-05-07 Petr Baudis <pasky@suse.cz>
37237 Ulrich Drepper <drepper@gmail.com>
37240 * elf/dl-load.c (fillin_rpath): Move trusted path check...
37241 (is_trusted_path): ...to here.
37242 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
37243 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
37244 using is_trusted_path_normalize() in setuid scripts.
37246 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37248 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
37249 __BEGIN/__END_DECLS.
37251 2011-05-06 Ulrich Drepper <drepper@gmail.com>
37253 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
37254 NSS_STATUS_NOTFOUND if no record was found.
37256 2011-05-05 Andreas Schwab <schwab@redhat.com>
37258 * sunrpc/Makefile (headers): Add rpc/netdb.h.
37259 (headers-not-in-tirpc): Remove rpc/netdb.h
37260 * resolv/netdb.h: Revert last change.
37262 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37264 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
37265 circular dependency between libgcc.a and libc.a.
37267 2011-05-05 Andreas Schwab <schwab@redhat.com>
37269 * resolv/netdb.h: Don't include <rpc/netdb.h>.
37270 * nis/Makefile: Don't install rpcsvc/*.
37271 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
37272 instead of <rpc/types.h>.
37273 (MAXHOSTNAMELEN): Define.
37275 2011-05-03 Andreas Schwab <schwab@redhat.com>
37277 * elf/ldconfig.c (add_dir): Don't crash on empty path.
37279 2011-04-28 Maciej Babinski <mbabinski@google.com>
37282 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
37283 gethostbyname4_r when IPv6 results are possible.
37285 2011-05-02 Ulrich Drepper <drepper@gmail.com>
37288 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
37289 _PC_PIPE_BUF handling.
37291 2011-04-30 Bruno Haible <bruno@clisp.org>
37294 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
37295 * resolv/netdb.h (getnameinfo): Change type of flags parameter
37297 * inet/getnameinfo.c (getnameinfo): Likewise.
37299 2011-04-29 Ulrich Drepper <drepper@gmail.com>
37301 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
37302 to groups setting in database lookup.
37303 * nss/nsswitch.conf: Add initgroups entry.
37305 2011-04-22 Ulrich Drepper <drepper@gmail.com>
37308 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
37310 Patch by Eric Blake <eblake@redhat.com>.
37312 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
37314 * sunrpc/Makefile (need-export-routines): Add svc_run.
37315 (routines): Remove svc_run.
37316 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
37317 * sunrpc/clnt_perr.c (clnt_perrno): Export.
37318 * sunrpc/svc_run.c (svc_run): Likewise.
37319 * sunrpc/svc_udp.c (svcudp_create): Likewise.
37321 2011-04-21 Ulrich Drepper <drepper@gmail.com>
37323 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
37324 problem in reallocation in last patch.
37326 2011-04-20 Ulrich Drepper <drepper@gmail.com>
37328 * sunrpc/Makefile: Move inclusion of Rules.
37330 2011-04-19 Ulrich Drepper <drepper@gmail.com>
37332 * nss/nss_files/files-initgroups.c: New file.
37333 * nss/Makefile (libnss_files-routines): Add files-initgroups.
37334 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
37335 _nss_files_initgroups_dyn.
37337 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
37339 * elf/elf.h (R_ARM_IRELATIVE): Define.
37341 2011-04-19 Ulrich Drepper <drepper@gmail.com>
37343 * po/ru.po: Update from translation team.
37345 2011-04-17 Ulrich Drepper <drepper@gmail.com>
37347 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
37350 2011-02-06 Mike Frysinger <vapier@gentoo.org>
37353 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
37354 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
37355 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37356 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37357 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37359 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
37361 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
37363 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37364 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37365 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37367 2011-04-17 Ulrich Drepper <drepper@gmail.com>
37370 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
37372 * stdlib/bug-getcontext.c: New file.
37373 * stdlib/Makefile: Add rules to build and run bug-getcontext.
37375 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37377 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
37378 instructions into .machine "z9-109".
37379 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
37380 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
37382 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37384 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
37385 between environment variables and auxiliary vector.
37387 2011-04-16 Ulrich Drepper <drepper@gmail.com>
37389 * Makefile: Add rules to build linkobj/libc.so.
37390 * include/libc-symbols.h: Define libc_hidden_nolink.
37391 * include/rpc/auth.h: Mark functions which are to be hidden.
37392 * include/rpc/auth_des.h: Likewise.
37393 * include/rpc/auth_unix.h: Likewise.
37394 * include/rpc/clnt.h: Likewise.
37395 * include/rpc/des_crypt.h: Likewise.
37396 * include/rpc/key_prot.h: Likewise.
37397 * include/rpc/pmap_clnt.h: Likewise.
37398 * include/rpc/pmap_prot.h: Likewise.
37399 * include/rpc/pmap_rmt.h: Likewise.
37400 * include/rpc/rpc_msg.h: Likewise.
37401 * include/rpc/svc.h: Likewise.
37402 * include/rpc/svc_auth.h: Likewise.
37403 * include/rpc/xdr.h: Likewise.
37404 * nis/Makefile: Link all DSOs against linkobj/libc.so.
37405 * nss/Makefile: Likewise.
37406 * sunrpc/Makefile: Don't install headers. Build library with normal
37407 entry points. Don't build rpcinfo. Link RPC tests appropriately.
37408 * sunrpc/auth_des.c: Hide exported symbols by default, export some
37409 for the compat linking library. Remove use of INTDEF/INTUSE.
37410 * sunrpc/auth_none.c: Likewise.
37411 * sunrpc/auth_unix.c: Likewise.
37412 * sunrpc/authdes_prot.c: Likewise.
37413 * sunrpc/authuxprot.c: Likewise.
37414 * sunrpc/clnt_gen.c: Likewise.
37415 * sunrpc/clnt_perr.c: Likewise.
37416 * sunrpc/clnt_raw.c: Likewise.
37417 * sunrpc/clnt_simp.c: Likewise.
37418 * sunrpc/clnt_tcp.c: Likewise.
37419 * sunrpc/clnt_udp.c: Likewise.
37420 * sunrpc/clnt_unix.c: Likewise.
37421 * sunrpc/des_crypt.c: Likewise.
37422 * sunrpc/des_soft.c: Likewise.
37423 * sunrpc/get_myaddr.c: Likewise.
37424 * sunrpc/key_call.c: Likewise.
37425 * sunrpc/key_prot.c: Likewise.
37426 * sunrpc/netname.c: Likewise.
37427 * sunrpc/pm_getmaps.c: Likewise.
37428 * sunrpc/pm_getport.c: Likewise.
37429 * sunrpc/pmap_clnt.c: Likewise.
37430 * sunrpc/pmap_prot.c: Likewise.
37431 * sunrpc/pmap_prot2.c: Likewise.
37432 * sunrpc/pmap_rmt.c: Likewise.
37433 * sunrpc/publickey.c: Likewise.
37434 * sunrpc/rpc_cmsg.c: Likewise.
37435 * sunrpc/rpc_common.c: Likewise.
37436 * sunrpc/rpc_dtable.c: Likewise.
37437 * sunrpc/rpc_prot.c: Likewise.
37438 * sunrpc/rpc_thread.c: Likewise.
37439 * sunrpc/rtime.c: Likewise.
37440 * sunrpc/svc.c: Likewise.
37441 * sunrpc/svc_auth.c: Likewise.
37442 * sunrpc/svc_authux.c: Likewise.
37443 * sunrpc/svc_raw.c: Likewise.
37444 * sunrpc/svc_run.c: Likewise.
37445 * sunrpc/svc_simple.c: Likewise.
37446 * sunrpc/svc_tcp.c: Likewise.
37447 * sunrpc/svc_udp.c: Likewise.
37448 * sunrpc/svc_unix.c: Likewise.
37449 * sunrpc/svcauth_des.c: Likewise.
37450 * sunrpc/xcrypt.c: Likewise.
37451 * sunrpc/xdr.c: Likewise.
37452 * sunrpc/xdr_array.c: Likewise.
37453 * sunrpc/xdr_float.c: Likewise.
37454 * sunrpc/xdr_intXX_t.c: Likewise.
37455 * sunrpc/xdr_mem.c: Likewise.
37456 * sunrpc/xdr_rec.c: Likewise.
37457 * sunrpc/xdr_ref.c: Likewise.
37458 * sunrpc/xdr_sizeof.c: Likewise.
37459 * sunrpc/xdr_stdio.c: Likewise.
37461 2011-04-10 Ulrich Drepper <drepper@gmail.com>
37464 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
37465 * sysdeps/ia64/dl-tls.h: Likewise.
37466 * sysdeps/powerpc/dl-tls.h: Likewise.
37467 * sysdeps/s390/dl-tls.h: Likewise.
37468 * sysdeps/sh/dl-tls.h: Likewise.
37469 * sysdeps/sparc/dl-tls.h: Likewise.
37470 * sysdeps/x86_64/dl-tls.h: Likewise.
37471 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
37473 2011-03-14 Andreas Schwab <schwab@redhat.com>
37475 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
37476 rpath element also skip the following colon.
37477 (expand_dynamic_string_token): Add is_path parameter and pass
37478 down to DL_DST_REQUIRED and _dl_dst_substitute.
37479 (decompose_rpath): Call expand_dynamic_string_token with
37480 non-zero is_path. Ignore empty rpaths.
37481 (_dl_map_object_from_fd): Call expand_dynamic_string_token
37484 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
37486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37489 2011-04-09 Ulrich Drepper <drepper@gmail.com>
37492 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
37493 Patch by Filipe David Manana <fdmanana@apache.org>.
37495 2011-04-07 Andreas Schwab <schwab@redhat.com>
37497 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
37498 Maintain aligned stack.
37499 (CHECK_RSP): Remove unused macro.
37501 2011-04-03 Ulrich Drepper <drepper@gmail.com>
37503 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
37504 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
37506 2011-04-02 Ulrich Drepper <drepper@gmail.com>
37508 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
37510 * include/features.h: Mention __USE_XOPEN2K8 in comment.
37512 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
37515 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
37516 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
37517 * sysdeps/x86_64/memmove.c: New file.
37518 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
37519 (memcpy): Renamed to ...
37520 (__new_memcpy): This.
37521 (memcpy): Provide GLIBC_2_14 memcpy.
37522 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
37523 (memcpy): Provide GLIBC_2_2_5 memcpy.
37525 2011-04-01 Ulrich Drepper <drepper@gmail.com>
37528 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
37530 2011-03-30 Andreas Schwab <schwab@redhat.com>
37532 * misc/syncfs.c: New file.
37533 * misc/Makefile (routines): Add syncfs.
37534 * posix/unistd.h: Declare syncfs.
37535 * sysdeps/unix/syscalls.list: Add syncfs.
37537 2011-04-01 Andreas Schwab <schwab@redhat.com>
37539 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
37541 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37542 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37543 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37544 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37545 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37546 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
37547 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37549 2011-04-01 Ulrich Drepper <drepper@gmail.com>
37551 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
37552 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37553 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
37554 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37555 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37556 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37557 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37559 * io/Makefile: Compile fallocate.c, fallocate64.c, and
37560 sync_file_range.c with -fexceptions.
37561 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
37562 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
37563 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37564 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37565 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
37566 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37567 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
37568 sync_file_range as cancellation point
37569 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
37570 now a wrapper around __call_sync_file_range with cancellation handling.
37571 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
37572 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
37573 function name to __call_sync_file_range.
37574 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
37575 Add call_sync_file_range.
37577 2011-04-01 Andreas Schwab <schwab@redhat.com>
37579 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37582 2011-04-01 Ulrich Drepper <drepper@gmail.com>
37584 * iconv/iconv.h: Fix typo in comment.
37585 * io/fcntl.h: Likewise.
37586 * libio/stdio.h: Likewise.
37587 * posix/spawn.h: Likewise.
37588 * posix/unistd.h: Likewise.
37589 * stdlib/stdlib.h: Likewise.
37590 * time/time.h: Likewise.
37591 * wcsmbs/wchar.h: Likewise.
37593 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
37594 open_by_handle): Add.
37595 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
37596 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
37597 Augment a few comments.
37598 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37599 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37600 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37601 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37602 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37603 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
37606 * io/fcntl.h (AT_EMPTY_PATH): Define.
37608 2011-03-30 Ulrich Drepper <drepper@gmail.com>
37610 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
37611 * sysdeps/unix/sysv/linux/bits/time.h: New file.
37612 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
37614 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
37615 * Versions.def: Add GLIBC_2.14.
37616 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
37619 2011-03-22 Ulrich Drepper <drepper@gmail.com>
37621 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
37623 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37625 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
37628 * string/test-strncmp.c (do_page_test): New function.
37629 (check2): Likewise.
37630 (test_main): Call check2.
37631 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
37633 2011-03-20 Ulrich Drepper <drepper@gmail.com>
37636 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
37637 Handle cache information in CPU leaf 4.
37638 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37640 2011-03-18 Ulrich Drepper <drepper@gmail.com>
37643 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
37644 character representation.
37645 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
37647 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
37649 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
37650 END(__isnan) to END(__isnanf) to match function entry point/label
37651 EALIGN(__isnanf,...).
37653 2011-03-10 Jakub Jelinek <jakub@redhat.com>
37655 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
37657 2011-03-10 Ulrich Drepper <drepper@gmail.com>
37660 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
37661 copy from the symbol referenced in the relocation to initialize the
37663 Patch by Piotr Bury <pbury@goahead.com>.
37664 * elf/Makefile: Add rules to build and tst-unique3.
37665 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
37666 * elf/tst-unique3.cc: New file.
37667 * elf/tst-unique3.h: New file.
37668 * elf/tst-unique3lib.cc: New file.
37669 * elf/tst-unique3lib2.cc: New file.
37671 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
37673 2011-03-10 Mike Frysinger <vapier@gentoo.org>
37675 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
37676 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
37679 2011-03-06 Ulrich Drepper <drepper@gmail.com>
37681 * elf/dl-load.c (_dl_map_object): If we are looking for the first
37682 to-be-loaded object along a path to loader is ld.so.
37684 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37685 Ulrich Drepper <drepper@gmail.com>
37687 * sysdeps/x86_64/memset.S: After aligning destination, code
37688 branches to different locations depending on the value of
37689 misalignment, when multiarch is enabled. Fix this.
37691 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37693 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
37694 Set _x86_64_preferred_memory_instruction for AMD processsors.
37695 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37696 Set bit_Prefer_SSE_for_memop for AMD processors.
37698 2011-03-04 Ulrich Drepper <drepper@gmail.com>
37700 * libio/fmemopen.c (fmemopen): Optimize a bit.
37702 2011-03-03 Andreas Schwab <schwab@redhat.com>
37704 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
37706 2011-03-03 Roland McGrath <roland@redhat.com>
37708 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
37710 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
37712 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
37713 __bzero_ultra1 instead of __memset_ultra1.
37715 2011-02-23 Andreas Schwab <schwab@redhat.com>
37716 Ulrich Drepper <drepper@gmail.com>
37719 * include/link.h (struct link_map): Add l_orig_initfini.
37720 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
37721 returning unsuccessfully.
37722 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
37723 close of a file loaded at startup, restore the original l_initfini
37725 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
37726 list, store the pointer.
37727 * elf/Makefile ($(objpfx)noload-mem): New rule.
37728 (noload-ENV): Define.
37729 (tests): Add $(objpfx)noload-mem.
37730 * elf/noload.c: Include <memcheck.h>.
37731 (main): Call mtrace. Close all opened handles.
37733 2011-02-17 Andreas Schwab <schwab@redhat.com>
37736 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
37737 dependencies are missing.
37739 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
37741 Fix __if_freereq crash: Unlike the generic version which uses free,
37743 * sysdeps/mach/hurd/ifreq.h: New file.
37745 2011-01-27 Petr Baudis <pasky@suse.cz>
37746 Ulrich Drepper <drepper@gmail.com>
37749 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
37750 to extend_alloca().
37751 * stdio-common/bug23.c: New file.
37752 * stdio-common/Makefile (tests): Add bug23.
37754 2010-09-28 Andreas Schwab <schwab@redhat.com>
37755 Ulrich Drepper <drepper@gmail.com>
37758 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37759 before performing relro protection. At old place add assertion
37760 to make sure nothing changed.
37762 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
37763 Glauber de Oliveira Costa <glommer@gmail.com>
37765 * elf/elf.h: Add new ARM TLS relocs.
37767 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
37769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37770 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37772 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
37774 * sysdeps/wordsize-64/tst-writev.c: New file.
37776 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
37778 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37779 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37780 insns in _dl_start to prevent a TOC reference before relocs are
37783 2011-02-15 Ulrich Drepper <drepper@gmail.com>
37786 * Makeconfig: Remove RANLIB definition.
37787 * Makerules: Don't use RANLIB.
37788 * aclocal.m4: Remove ranlib test.
37789 * configure.in: No need to check for ranlib.
37790 * elf/rtld-Rules: Don't use RANLIB.
37792 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
37794 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37796 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37797 inclusion protection macro.
37799 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37800 SIGRTMIN and SIGRTMAX and print information in that case only when
37801 SIGRTMIN is defined.
37803 2011-02-11 Jakub Jelinek <jakub@redhat.com>
37805 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37806 arginfo fn returning -1.
37808 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37809 and thousands string is zero terminated.
37811 2011-02-03 Andreas Schwab <schwab@redhat.com>
37813 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37814 sysdeps/unix/sysv/linux/bits/socket.h.
37816 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
37818 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37819 (__CPU_COUNT): Remove old macros.
37820 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37821 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37822 (__CPU_ALLOC, __CPU_FREE): Add macros.
37823 (__sched_cpualloc, __sched_cpufree): Add declarations.
37825 2011-02-05 Ulrich Drepper <drepper@gmail.com>
37827 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37828 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37829 * nscd/aicache.c (addhstaiX): Return timeout of added value.
37830 (readdhstai): Return value of addhstaiX call.
37831 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37832 (addgrbyX): Return value returned by cache_addgr.
37833 (readdgrbyname): Return value returned by addgrbyX.
37834 (readdgrbygid): Likewise.
37835 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37836 (addpwbyX): Return value returned by cache_addpw.
37837 (readdpwbyname): Return value returned by addhstbyX.
37838 (readdpwbyuid): Likewise.
37839 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37840 (addservbyX): Return value returned by cache_addserv.
37841 (readdservbyname): Return value returned by addservbyX:
37842 (readdservbyport): Likewise.
37843 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37844 (addhstbyX): Return value returned by cache_addhst.
37845 (readdhstbyname): Return value returned by addhstbyX.
37846 (readdhstbyaddr): Likewise.
37847 (readdhstbynamev6): Likewise.
37848 (readdhstbyaddrv6): Likewise.
37849 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37850 (readdinitgroups): Return value returned by addinitgroupsX.
37851 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37852 (prune_cache): Keep track of timeout value of re-added entries.
37853 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37854 * nscd/nscd.h: Adjust prototypes of readd* functions.
37856 2011-02-04 Roland McGrath <roland@redhat.com>
37858 * nis/nis_server.c (nis_servstate): Use the right name for 0.
37859 (nis_stats): Likewise.
37860 * nis/nis_modify.c (nis_modify): Likewise.
37861 * nis/nis_remove.c (nis_remove): Likewise.
37862 * nis/nis_add.c (nis_add): Likewise.
37864 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37866 * posix/fnmatch_loop.c: Add some consts.
37868 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37870 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
37873 * config.make.in (config-cflags-novzeroupper): Define.
37874 * configure.in: Substitute libc_cv_cc_novzeroupper.
37875 * elf/Makefile (AVX-CFLAGS): Define.
37876 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37877 (CFLAGS-tst-auditmod4a.c): Likewise.
37878 (CFLAGS-tst-auditmod4b.c): Likewise.
37879 (CFLAGS-tst-auditmod6b.c): Likewise.
37880 (CFLAGS-tst-auditmod6c.c): Likewise.
37881 (CFLAGS-tst-auditmod7b.c): Likewise.
37882 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37884 2011-02-02 Ulrich Drepper <drepper@gmail.com>
37886 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37887 function to the callback.
37888 Patch partly by Jiri Olsa <jolsa@redhat.com>.
37890 2011-02-02 Andreas Schwab <schwab@redhat.com>
37892 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37895 2011-01-19 Ulrich Drepper <drepper@gmail.com>
37898 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37900 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37902 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37905 * elf/Makefile: Add rules to build and run new test.
37906 * elf/tst-initorder.c: New file.
37907 * elf/tst-initorder.exp: New file.
37908 * elf/tst-initordera1.c: New file.
37909 * elf/tst-initordera2.c: New file.
37910 * elf/tst-initordera3.c: New file.
37911 * elf/tst-initordera4.c: New file.
37912 * elf/tst-initorderb1.c: New file.
37913 * elf/tst-initorderb2.c: New file.
37914 * elf/tst-order-a1.c: New file.
37915 * elf/tst-order-a2.c: New file.
37916 * elf/tst-order-a3.c: New file.
37917 * elf/tst-order-a4.c: New file.
37918 * elf/tst-order-b1.c: New file.
37919 * elf/tst-order-b2.c: New file.
37920 * elf/tst-order-main.c: New file.
37921 New test case by George Gensure <werkt0@gmail.com>.
37923 2010-10-01 Andreas Schwab <schwab@redhat.com>
37925 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37926 decoding ACE if AI_CANONIDN.
37928 2011-01-18 Ulrich Drepper <drepper@gmail.com>
37930 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37932 2011-01-17 Ulrich Drepper <drepper@gmail.com>
37934 * version.h (RELEASE): Bump for 2.13 release.
37935 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37937 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37939 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37941 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37942 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37943 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37944 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37945 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37946 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37948 * posix/getconf.c: Update copyright year.
37949 * catgets/gencat.c: Likewise.
37950 * csu/version.c: Likewise.
37951 * debug/catchsegv.sh: Likewise.
37952 * debug/xtrace.sh: Likewise.
37953 * elf/ldconfig.c: Likewise.
37954 * elf/ldd.bash.in: Likewise.
37955 * elf/sprof.c (print_version): Likewise.
37956 * iconv/iconv_prog.c: Likewise.
37957 * iconv/iconvconfig.c: Likewise.
37958 * locale/programs/locale.c: Likewise.
37959 * locale/programs/localedef.c: Likewise.
37960 * malloc/memusage.sh: Likewise.
37961 * malloc/mtrace.pl: Likewise.
37962 * nscd/nscd.c (print_version): Likewise.
37963 * nss/getent.c: Likewise.
37965 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37966 PF_CAIF, and PF_ALG.
37967 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37969 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
37971 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37972 (modules-names): Use them.
37973 (ifunc-test-modules, ifunc-pie-tests): Define.
37974 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37975 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37976 (test-extras): Likewise.
37977 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37978 $(compile-command.c).
37979 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37980 (all-built-dso): Define.
37981 (check-textrel.out, check-execstack.out): Depend on it.
37983 * configure.in: Don't override --enable-multi-arch.
37985 2011-01-15 Ulrich Drepper <drepper@gmail.com>
37988 * nscd/hstcache.c (tryagain): Define.
37989 (cache_addhst): Return tryagain not notfound for temporary errors.
37990 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37993 2011-01-14 Ulrich Drepper <drepper@gmail.com>
37996 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37997 to make the syscall.
37998 * sysdeps/unix/sysv/linux/setgroups.c: New file.
38001 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
38002 and fall back to matching as normal character if the string ends before
38003 the matching ']' is found. This is what POSIX requires.
38004 * posix/testfnm.c: Adjust test result.
38005 * posix/globtest.sh: Adjust test result. Add new test.
38006 * posix/tst-fnmatch.input: Likewise.
38007 * posix/tst-fnmatch2.c: Add new test.
38009 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
38011 * elf/Makefile (check-execstack): Revert last change. Depend on
38013 (check-execstack.h): New target.
38014 (generated): Add check-execstack.h.
38015 * elf/check-execstack.c: Include "check-execstack.h".
38016 (main): Revert last change.
38017 (handle_file): Return zero if GNU_STACK is absent and
38018 DEFAULT_STACK_PERMS doesn't include PF_X.
38020 2011-01-13 Ulrich Drepper <drepper@gmail.com>
38022 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
38023 in child fails because the descriptor is already closed.
38024 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
38025 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
38026 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
38029 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
38033 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
38034 temporary buffer used to handle multi lookups locally.
38035 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
38037 2011-01-12 Ulrich Drepper <drepper@gmail.com>
38039 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38042 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
38044 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38045 alignment for SSE2.
38047 2011-01-12 Ulrich Drepper <drepper@gmail.com>
38050 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38051 characters. When rounding increased number of integer digits recompute
38053 * stdio-common/tst-grouping.c: New file.
38054 * stdio-common/Makefile: Add rules to build and run tst-grouping.
38056 2011-01-09 Ulrich Drepper <drepper@gmail.com>
38058 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38059 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
38061 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38063 * bits/select.h: Likewise.
38065 2011-01-08 Ulrich Drepper <drepper@gmail.com>
38067 * po/ja.po: Update from translation team.
38069 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
38072 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38073 implementation just like for lxstat, fxstatat, et al.
38075 2010-12-27 Jim Meyering <meyering@redhat.com>
38078 * posix/regexec.c (build_trtable): Return failure indication upon
38079 calloc failure. Otherwise, re_search_internal could infloop on OOM.
38081 2010-12-25 Ulrich Drepper <drepper@gmail.com>
38084 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
38085 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
38086 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
38087 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
38090 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
38093 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
38094 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
38096 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
38098 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
38099 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
38100 script has SORT_BY_INIT_PRIORITY.
38101 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
38102 NO_CTORS_DTORS_SECTIONS is defined.
38103 * elf/soinit.c: Likewise.
38104 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
38105 NO_CTORS_DTORS_SECTIONS is defined.
38106 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
38107 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
38108 * sysdeps/sh/init-first.c: Likewise.
38109 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
38111 2010-12-24 Ulrich Drepper <drepper@gmail.com>
38113 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
38114 always use the slow path.
38116 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
38118 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
38119 similar rule which adds the sysdep directories to the header search in
38120 order to pick up the correct platform stackinfo.h.
38121 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
38122 perform test if it is, otherwise return successfully without testing.
38123 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
38124 DEFAULT_STACK_PERMS define in stackinfo.h.
38125 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
38126 defined in stackinfo.h.
38127 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
38128 DEFAULT_STACK_PERMS defined in stackinfo.h.
38129 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
38130 * sysdeps/ia64/stackinfo.h: Likewise.
38131 * sysdeps/s390/stackinfo.h: Likewise.
38132 * sysdeps/sh/stackinfo.h: Likewise.
38133 * sysdeps/sparc/stackinfo.h: Likewise.
38134 * sysdeps/x86_64/stackinfo.h: Likewise.
38135 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
38136 PF_X for powerpc64. Retain PF_X for powerpc32.
38138 2010-12-19 Ulrich Drepper <drepper@gmail.com>
38140 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
38142 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
38143 GETDENTS_64BIT_ALIGNED.
38145 2010-12-14 Ulrich Drepper <dreper@gmail.com>
38147 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
38149 2010-12-10 Andreas Schwab <schwab@redhat.com>
38151 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
38154 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
38155 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
38157 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
38158 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
38160 2010-12-09 Ulrich Drepper <drepper@gmail.com>
38163 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
38166 2010-12-09 Jakub Jelinek <jakub@redhat.com>
38168 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
38170 2010-12-03 Ulrich Drepper <drepper@gmail.com>
38172 * po/it.po: Update from translation team.
38174 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
38176 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
38179 2010-11-30 Ulrich Drepper <drepper@gmail.com>
38181 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
38183 2010-11-24 Andreas Schwab <schwab@redhat.com>
38185 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
38187 (gaih_getanswer_slice): Likewise.
38189 2010-10-20 Jakub Jelinek <jakub@redhat.com>
38191 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
38193 2010-05-31 Petr Baudis <pasky@suse.cz>
38196 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
38197 silently even in the chroot mode.
38199 2010-11-22 Ulrich Drepper <drepper@gmail.com>
38201 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
38202 last patch a bit. Pretty printing
38204 2010-05-31 Petr Baudis <pasky@suse.cz>
38207 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
38208 initialization of skip_initgroups_dyn.
38210 2010-11-19 Ulrich Drepper <drepper@gmail.com>
38212 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
38213 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38215 2010-11-16 Ulrich Drepper <drepper@gmail.com>
38217 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
38219 2010-11-11 Andreas Schwab <schwab@redhat.com>
38221 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
38222 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
38223 (tst-fnmatch-ENV): Set MALLOC_TRACE.
38224 ($(objpfx)tst-fnmatch-mem): New rule.
38225 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
38226 * posix/tst-fnmatch.c (main): Call mtrace.
38228 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
38230 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38231 Support Intel processor model 6 and model 0x2c.
38233 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
38235 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
38238 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
38241 * string/test-strncasecmp.c (check_result): New function.
38242 (do_one_test): Use it.
38243 (check1): New function.
38244 (test_main): Use it.
38245 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
38246 Support strcasecmp and strncasecmp.
38248 2010-11-08 Ulrich Drepper <drepper@gmail.com>
38251 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
38252 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38254 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
38256 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
38258 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38260 * sysdeps/x86_64/multiarch/bzero.S: New file.
38261 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
38262 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
38263 * sysdeps/x86_64/multiarch/memset.S: New file.
38264 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
38265 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38266 Set bit_Prefer_SSE_for_memop for Intel processors.
38267 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
38269 (index_Prefer_SSE_for_memop): Define.
38270 (HAS_PREFER_SSE_FOR_MEMOP): Define.
38272 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
38274 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
38275 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
38277 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
38280 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38281 (__x86_64_raw_data_cache_size_half): Likewise.
38282 (__x86_64_raw_shared_cache_size): Likewise.
38283 (__x86_64_raw_shared_cache_size_half): Likewise.
38285 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38286 (__x86_64_raw_data_cache_size_half): Likewise.
38287 (__x86_64_raw_shared_cache_size): Likewise.
38288 (__x86_64_raw_shared_cache_size_half): Likewise.
38289 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
38290 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
38291 and __x86_64_raw_shared_cache_size_half. Round
38292 __x86_64_data_cache_size_half, __x86_64_data_cache_size
38293 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
38294 to multiple of 256 bytes.
38296 2010-11-03 Ulrich Drepper <drepper@gmail.com>
38299 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
38300 of inacessible symlinks. Verify result of symlink before returning it.
38301 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38302 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
38304 2010-10-28 Erich Ritz <erichritz@gmail.com>
38306 * math/math.h (isinf): Fix typo in comment.
38308 2010-11-01 Ulrich Drepper <drepper@gmail.com>
38310 * po/da.po: Update from translation team.
38312 2010-10-26 Ulrich Drepper <drepper@gmail.com>
38314 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
38315 is added to the list.
38317 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38318 Ulrich Drepper <drepper@gmail.com>
38320 * elf/dl-object.c (_dl_new_object): Don't append the new object to
38321 the global list here. Move code to...
38322 (_dl_add_to_namespace_list): ...here. New function.
38323 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
38324 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
38325 * elf/dl-load.c (lose): Don't remove the element from the list.
38326 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
38327 (_dl_map_object): Likewise.
38329 2010-10-25 Ulrich Drepper <drepper@gmail.com>
38332 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
38333 into all bytes of SSE register.
38334 Patch by Richard Li <richardpku@gmail.com>.
38336 2010-10-24 Ulrich Drepper <drepper@gmail.com>
38339 * malloc/malloc.c (_int_free): Fill correct number of bytes when
38342 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
38344 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
38345 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
38346 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
38347 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
38350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
38352 2010-10-22 Andreas Schwab <schwab@redhat.com>
38354 * include/dlfcn.h (__RTLD_SECURE): Define.
38355 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
38356 mode & __RTLD_SECURE instead.
38357 (open_path): Rename preloaded parameter to secure.
38358 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
38359 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
38360 * elf/dl-deps.c (openaux): Likewise.
38361 * elf/rtld.c (struct map_args): Remove is_preloaded.
38362 (map_doit): Don't use it.
38363 (dl_main): Likewise.
38364 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
38365 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
38367 2010-09-09 Andreas Schwab <schwab@redhat.com>
38369 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
38370 (sysd-rules-targets): Remove duplicates.
38371 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
38372 rtld-%.$o dependency.
38374 2010-10-18 Andreas Schwab <schwab@redhat.com>
38376 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
38377 _dl_map_object do it.
38379 2010-10-19 Ulrich Drepper <drepper@gmail.com>
38381 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
38382 fast fma builtins, define the macros in the C99 standard.
38383 (FP_FAST_FMAF): Likewise.
38384 (FP_FAST_FMAL): Likewise.
38385 * sysdeps/x86_64/bits/mathdef.h: Likewise.
38387 * bits/mathdef.h: Update copyright year.
38388 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38390 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
38392 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
38393 builtins, define the macros in the C99 standard.
38394 (FP_FAST_FMAF): Likewise.
38395 (FP_FAST_FMAL): Likewise.
38396 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
38398 (FP_FAST_FMAF): Likewise.
38400 2010-10-15 Jakub Jelinek <jakub@redhat.com>
38403 * math/libm-test.inc (fma_test): Some new testcases.
38404 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
38405 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
38406 y and infinite z. Do multiplication by C already in long double.
38407 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
38408 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
38409 y and infinite z. Do bitwise or of inexact bit into u.d.
38410 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
38411 * sysdeps/i386/fpu/s_fmaf.S: Removed.
38412 * sysdeps/i386/fpu/s_fma.S: Removed.
38413 * sysdeps/i386/fpu/s_fmal.S: Removed.
38415 2010-10-16 Jakub Jelinek <jakub@redhat.com>
38418 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
38419 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
38420 computation is not scheduled after fetestexcept. Fix value
38421 of minimum denormal long double.
38423 2010-10-14 Jakub Jelinek <jakub@redhat.com>
38426 * math/libm-test.inc (fma_test): Add some more tests.
38427 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
38430 2010-10-15 Andreas Schwab <schwab@redhat.com>
38432 * scripts/data/localplt-s390-linux-gnu.data: New file.
38433 * scripts/data/localplt-s390x-linux-gnu.data: New file.
38435 2010-10-13 Jakub Jelinek <jakub@redhat.com>
38438 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
38439 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
38441 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
38443 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
38444 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
38445 if one of x and y is very large and the other is subnormal.
38446 * sysdeps/s390/fpu/s_fmaf.c: New file.
38447 * sysdeps/s390/fpu/s_fma.c: New file.
38448 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
38449 * sysdeps/powerpc/fpu/s_fma.S: New file.
38450 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
38451 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
38452 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
38454 2010-10-12 Jakub Jelinek <jakub@redhat.com>
38457 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
38459 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
38460 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
38461 * sysdeps/i386/i686/multiarch/s_fma.c: Include
38462 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
38463 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
38464 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
38465 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
38467 2010-10-12 Ulrich Drepper <drepper@redhat.com>
38470 * posix/regcomp.c (parse_branch): One more memory leak plugged.
38471 * posix/bug-regex31.input: Add test case.
38473 2010-10-11 Ulrich Drepper <drepper@gmail.com>
38475 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
38476 * posix/bug-regex31.input: New file.
38479 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
38480 (parse_sub_exp): Fix last change, use postorder.
38482 * posix/bug-regex31.c: New file.
38483 * posix/Makefile: Add rules to build and run bug-regex31.
38485 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
38488 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
38491 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
38492 to have entries in sys_siglist.
38495 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
38498 2010-10-07 Jakub Jelinek <jakub@redhat.com>
38501 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
38502 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
38503 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
38504 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
38505 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38506 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
38507 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
38508 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
38509 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
38510 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
38511 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
38512 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
38513 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38514 * math/ftestexcept.c (fetestexcept): Likewise.
38515 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
38516 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
38517 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
38518 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
38519 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
38520 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
38521 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38523 2010-10-11 Ulrich Drepper <drepper@gmail.com>
38526 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
38529 2010-10-06 Ulrich Drepper <drepper@gmail.com>
38531 * string/bug-strstr1.c: New file.
38532 * string/Makefile: Add rules to build and run bug-strstr1.
38534 2010-10-05 Eric Blake <eblake@redhat.com>
38537 * string/str-two-way.h (two_way_long_needle): Always clear memory
38538 when skipping input due to the shift table.
38540 2010-10-03 Ulrich Drepper <drepper@gmail.com>
38543 * malloc/mcheck.c: Handle large requests.
38546 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
38547 for strncmp and strncasecmp.
38548 * string/stratcliff.c: Add tests for strcmp and strncmp.
38549 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
38551 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38553 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
38556 2010-09-30 Andreas Jaeger <aj@suse.de>
38558 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
38559 (CGROUP_SUPER_MAGIC): Define.
38560 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38561 Handle btrfs and cgroup file systems.
38562 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38565 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
38567 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
38568 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
38570 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38573 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
38574 trying to locate the ELF header.
38576 2010-09-27 Andreas Schwab <schwab@redhat.com>
38579 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
38580 Mask out sign-bit copies when constructing f_fsid.
38582 2010-09-24 Petr Baudis <pasky@suse.cz>
38584 * debug/stack_chk_fail_local.c: Add missing licence exception.
38585 * debug/warning-nop.c: Likewise.
38587 2010-09-15 Joseph Myers <joseph@codesourcery.com>
38589 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
38590 implementing getdents64 using getdents syscall, set d_type if
38591 __ASSUME_GETDENTS32_D_TYPE.
38593 2010-09-16 Andreas Schwab <schwab@redhat.com>
38595 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
38596 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
38598 2010-09-21 Ulrich Drepper <drepper@redhat.com>
38601 * posix/unistd.h: Undo change of feature selection for ftruncate from
38604 2010-09-20 Ulrich Drepper <drepper@redhat.com>
38606 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
38609 2010-09-20 Andreas Schwab <schwab@redhat.com>
38611 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
38613 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38615 2010-09-14 Andreas Schwab <schwab@redhat.com>
38617 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
38618 variables after CHECK_SP call.
38619 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
38621 2010-09-13 Andreas Schwab <schwab@redhat.com>
38622 Ulrich Drepper <drepper@redhat.com>
38624 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
38625 re-relocationg ld.so.
38626 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
38627 _dl_init_paths call.
38628 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
38631 2010-09-14 Ulrich Drepper <drepper@redhat.com>
38633 * resolv/res_init.c (__res_vinit): Count the default server we added.
38635 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
38636 Ulrich Drepper <drepper@redhat.com>
38639 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38640 (____longjmp_chk): Use %ebx for saving value across system call.
38643 2010-09-06 Andreas Schwab <schwab@redhat.com>
38645 * manual/Makefile: Don't mix pattern rules with normal rules.
38647 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
38649 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
38651 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
38652 * libio/iofopncook.c (_IO_cookie_init): Likewise.
38653 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
38654 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
38655 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38658 2010-09-04 Ulrich Drepper <drepper@redhat.com>
38661 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
38662 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
38664 2010-09-02 Ulrich Drepper <drepper@redhat.com>
38666 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
38667 * sysdeps/x86_64/addmul_1.S: Likewise.
38668 * sysdeps/x86_64/lshift.S: Likewise.
38669 * sysdeps/x86_64/mul_1.S: Likewise.
38670 * sysdeps/x86_64/rshift.S: Likewise.
38671 * sysdeps/x86_64/sub_n.S: Likewise.
38672 * sysdeps/x86_64/submul_1.S: Likewise.
38674 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
38676 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
38677 Define __sched_param instead of SCHED_* and sched_param when
38678 <bits/sched.h> is included with __need_schedparam defined.
38679 * bits/sched.h [__need_schedparam]
38680 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
38681 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
38682 (__defined_schedparam): Define to 1.
38683 (__sched_param): New structure, identical to sched_param.
38684 (__need_schedparam): Undefine.
38686 2010-08-31 Mike Frysinger <vapier@gentoo.org>
38688 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
38689 (epoll_create1): Declare.
38691 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
38693 2010-08-31 Andreas Schwab <schwab@redhat.com>
38696 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
38697 shifting retval into place.
38699 2010-09-01 Ulrich Drepper <drepper@redhat.com>
38701 * nis/rpcsvc/nis.h: Update copyright notice.
38702 * nis/rpcsvc/nis.x: Likewise.
38703 * nis/rpcsvc/nis_callback.h: Likewise.
38704 * nis/rpcsvc/nis_callback.x: Likewise.
38705 * nis/rpcsvc/nis_object.x: Likewise.
38706 * nis/rpcsvc/nis_tags.h: Likewise.
38707 * nis/rpcsvc/yp.h: Likewise.
38708 * nis/rpcsvc/yp.x: Likewise.
38709 * nis/rpcsvc/ypupd.h: Likewise.
38710 * nis/yp_xdr.c: Likewise.
38711 * nis/ypupdate_xdr.c: Likewise.
38713 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
38714 mainly the body of pmap_getport. Add parameters to specify timeouts.
38715 (pmap_getport): Use __libc_rpc_getport.
38716 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
38717 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
38718 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
38720 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
38722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
38725 2010-08-27 Roland McGrath <roland@redhat.com>
38727 * sysdeps/i386/i686/multiarch/Makefile
38728 (CFLAGS-varshift.c): New variable.
38730 2010-08-27 Ulrich Drepper <drepper@redhat.com>
38732 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
38733 * sysdeps/i386/i686/multiarch/varshift.c: New file.
38735 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
38737 * sysdeps/x86_64/strlen.S: Minimal code improvement.
38739 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
38741 * sysdeps/x86_64/strlen.S: Unroll the loop.
38742 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38743 strlen-sse2 strlen-sse2-bsf.
38744 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
38745 __strlen_no_bsf if bit_Slow_BSF is set.
38746 (__strlen_sse42): Removed.
38747 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
38748 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
38750 2010-08-25 Roland McGrath <roland@redhat.com>
38752 * sysdeps/x86_64/multiarch/varshift.S: File removed.
38753 * sysdeps/x86_64/multiarch/varshift.c: New file.
38754 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38755 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38756 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38757 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38759 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
38761 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38762 strlen-sse2 strlen-sse2-bsf.
38763 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38764 __strlen_sse2_bsf if bit_Slow_BSF is unset.
38765 (__strlen_sse2): Removed.
38766 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38767 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38768 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38769 bit_Slow_BSF for Atom.
38770 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38771 (index_Slow_BSF): Define.
38772 (HAS_SLOW_BSF): Define.
38774 2010-08-25 Ulrich Drepper <drepper@redhat.com>
38777 * resolv/res_init.c (__res_vinit): When no server address at all
38778 is given default to loopback.
38780 2010-08-24 Roland McGrath <roland@redhat.com>
38782 * configure.in: Remove config-name.h generation.
38783 * configure: Regenerated.
38784 * config-name.in: File removed.
38785 * scripts/config-uname.sh: New file.
38786 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38787 ($(objdir)config-name.h): New target.
38789 * sunrpc/rpc_parse.h: Avoid nested comment.
38791 2010-08-24 Richard Henderson <rth@redhat.com>
38792 Ulrich Drepper <drepper@redhat.com>
38793 H.J. Lu <hongjiu.lu@intel.com>
38795 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38796 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38797 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38798 Replace _mm_srli_si128 with __m128i_shift_right. Replace
38799 _mm_alignr_epi8 with _mm_loadu_si128.
38800 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38801 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38802 (__m128i_shift_right): Removed.
38803 * sysdeps/i386/i686/multiarch/varshift.h: New file.
38804 * sysdeps/i386/i686/multiarch/varshift.S: New file.
38805 * sysdeps/x86_64/multiarch/varshift.h: New file.
38806 * sysdeps/x86_64/multiarch/varshift.S: New file.
38808 2010-08-21 Mike Frysinger <vapier@gentoo.org>
38810 * configure.in: Move assembler checks to before sysdep dir checking.
38812 2010-08-20 Petr Baudis <pasky@suse.cz>
38814 * LICENSES: Sync the sunrpc license.
38816 2010-08-19 Ulrich Drepper <drepper@redhat.com>
38818 * sunrpc/auth_des.c: Update copyright notice once again.
38819 * sunrpc/auth_none.c: Likewise.
38820 * sunrpc/auth_unix.c: Likewise.
38821 * sunrpc/authdes_prot.c: Likewise.
38822 * sunrpc/authuxprot.c: Likewise.
38823 * sunrpc/bindrsvprt.c: Likewise.
38824 * sunrpc/clnt_gen.c: Likewise.
38825 * sunrpc/clnt_perr.c: Likewise.
38826 * sunrpc/clnt_raw.c: Likewise.
38827 * sunrpc/clnt_simp.c: Likewise.
38828 * sunrpc/clnt_tcp.c: Likewise.
38829 * sunrpc/clnt_udp.c: Likewise.
38830 * sunrpc/clnt_unix.c: Likewise.
38831 * sunrpc/des_crypt.c: Likewise.
38832 * sunrpc/des_soft.c: Likewise.
38833 * sunrpc/get_myaddr.c: Likewise.
38834 * sunrpc/getrpcport.c: Likewise.
38835 * sunrpc/key_call.c: Likewise.
38836 * sunrpc/key_prot.c: Likewise.
38837 * sunrpc/openchild.c: Likewise.
38838 * sunrpc/pm_getmaps.c: Likewise.
38839 * sunrpc/pm_getport.c: Likewise.
38840 * sunrpc/pmap_clnt.c: Likewise.
38841 * sunrpc/pmap_prot.c: Likewise.
38842 * sunrpc/pmap_prot2.c: Likewise.
38843 * sunrpc/pmap_rmt.c: Likewise.
38844 * sunrpc/rpc/auth.h: Likewise.
38845 * sunrpc/rpc/auth_unix.h: Likewise.
38846 * sunrpc/rpc/clnt.h: Likewise.
38847 * sunrpc/rpc/des_crypt.h: Likewise.
38848 * sunrpc/rpc/key_prot.h: Likewise.
38849 * sunrpc/rpc/netdb.h: Likewise.
38850 * sunrpc/rpc/pmap_clnt.h: Likewise.
38851 * sunrpc/rpc/pmap_prot.h: Likewise.
38852 * sunrpc/rpc/pmap_rmt.h: Likewise.
38853 * sunrpc/rpc/rpc.h: Likewise.
38854 * sunrpc/rpc/rpc_des.h: Likewise.
38855 * sunrpc/rpc/rpc_msg.h: Likewise.
38856 * sunrpc/rpc/svc.h: Likewise.
38857 * sunrpc/rpc/svc_auth.h: Likewise.
38858 * sunrpc/rpc/types.h: Likewise.
38859 * sunrpc/rpc/xdr.h: Likewise.
38860 * sunrpc/rpc_clntout.c: Likewise.
38861 * sunrpc/rpc_cmsg.c: Likewise.
38862 * sunrpc/rpc_common.c: Likewise.
38863 * sunrpc/rpc_cout.c: Likewise.
38864 * sunrpc/rpc_dtable.c: Likewise.
38865 * sunrpc/rpc_hout.c: Likewise.
38866 * sunrpc/rpc_main.c: Likewise.
38867 * sunrpc/rpc_parse.c: Likewise.
38868 * sunrpc/rpc_parse.h: Likewise.
38869 * sunrpc/rpc_prot.c: Likewise.
38870 * sunrpc/rpc_sample.c: Likewise.
38871 * sunrpc/rpc_scan.c: Likewise.
38872 * sunrpc/rpc_scan.h: Likewise.
38873 * sunrpc/rpc_svcout.c: Likewise.
38874 * sunrpc/rpc_tblout.c: Likewise.
38875 * sunrpc/rpc_util.c: Likewise.
38876 * sunrpc/rpc_util.h: Likewise.
38877 * sunrpc/rpcinfo.c: Likewise.
38878 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38879 * sunrpc/rpcsvc/key_prot.x: Likewise.
38880 * sunrpc/rpcsvc/klm_prot.x: Likewise.
38881 * sunrpc/rpcsvc/mount.x: Likewise.
38882 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38883 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38884 * sunrpc/rpcsvc/rex.x: Likewise.
38885 * sunrpc/rpcsvc/rstat.x: Likewise.
38886 * sunrpc/rpcsvc/rusers.x: Likewise.
38887 * sunrpc/rpcsvc/sm_inter.x: Likewise.
38888 * sunrpc/rpcsvc/spray.x: Likewise.
38889 * sunrpc/rpcsvc/yppasswd.x: Likewise.
38890 * sunrpc/rtime.c: Likewise.
38891 * sunrpc/svc.c: Likewise.
38892 * sunrpc/svc_auth.c: Likewise.
38893 * sunrpc/svc_authux.c: Likewise.
38894 * sunrpc/svc_raw.c: Likewise.
38895 * sunrpc/svc_run.c: Likewise.
38896 * sunrpc/svc_simple.c: Likewise.
38897 * sunrpc/svc_tcp.c: Likewise.
38898 * sunrpc/svc_udp.c: Likewise.
38899 * sunrpc/svc_unix.c: Likewise.
38900 * sunrpc/svcauth_des.c: Likewise.
38901 * sunrpc/xcrypt.c: Likewise.
38902 * sunrpc/xdr.c: Likewise.
38903 * sunrpc/xdr_array.c: Likewise.
38904 * sunrpc/xdr_float.c: Likewise.
38905 * sunrpc/xdr_mem.c: Likewise.
38906 * sunrpc/xdr_rec.c: Likewise.
38907 * sunrpc/xdr_ref.c: Likewise.
38908 * sunrpc/xdr_sizeof.c: Likewise.
38909 * sunrpc/xdr_stdio.c: Likewise.
38911 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38914 2010-08-19 Andreas Schwab <schwab@redhat.com>
38916 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38918 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
38920 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38921 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38922 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38923 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38924 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38925 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38926 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38927 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38928 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38929 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38930 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38931 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38932 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38933 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38935 2010-07-26 Anton Blanchard <anton@samba.org>
38937 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38938 * malloc/arena.c (heap_trim): Likewise.
38940 2010-08-16 Ulrich Drepper <drepper@redhat.com>
38942 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38944 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38945 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38947 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
38949 * sysdeps/i386/elf/Makefile: New file.
38951 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38953 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38954 from fanotify_init.
38955 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38956 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38958 2010-08-15 Ulrich Drepper <drepper@redhat.com>
38960 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38962 * sysdeps/multiarch/strcmp.S: Likewise.
38964 2010-08-14 Ulrich Drepper <drepper@redhat.com>
38966 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38967 strncase_l-nonascii.
38968 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38969 Add strncase_l-ssse3.
38970 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38971 * sysdeps/x86_64/strcmp.S: Likewise.
38972 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38973 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38974 * sysdeps/x86_64/strncase.S: New file.
38975 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38976 * sysdeps/x86_64/strncase_l.S: New file.
38977 * string/Makefile (strop-tests): Add strncasecmp.
38978 * string/test-strncasecmp.c: New file.
38980 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38983 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38984 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38986 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38988 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38990 2010-08-12 Ulrich Drepper <drepper@redhat.com>
38992 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38993 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38994 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38996 2010-05-01 Alan Modra <amodra@gmail.com>
38998 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38999 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
39000 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
39001 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
39002 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
39003 tidying. Don't tail-call __sigjmp_save for static lib.
39004 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
39006 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
39007 (CALL_MCOUNT): Add eh info, and nop after bl.
39008 (TAIL_CALL_SYSCALL_ERROR): New macro.
39009 (PSEUDO_RET): Use it.
39010 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39011 Correct save location of integer regs and cr.
39012 (_dl_profile_resolve): Correct cr save location. Delete nops
39013 after bl when SHARED. Reduce cfi size a little by better
39014 placement of cfi directives.
39015 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
39016 make a stack frame. Instead use parm save area as a temp.
39017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
39018 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
39019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39020 Don't make a stack frame for parent, use parm save area.
39021 Increase child stack frame to 112 bytes. Don't save unused reg,
39022 and adjust reg usage. Set up cfi on error recovery and
39023 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
39024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39025 (__makecontext): Add dummy nop after jump to exit.
39026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
39027 Use correct parm save area and cr save, reduce stack frame.
39028 Correct cfi for possible PSEUDO_RET frame setup.
39029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
39030 Branch to local label emitted by PSEUDO_RET rather than
39033 2010-08-12 Andreas Schwab <schwab@redhat.com>
39036 * locale/programs/locale.c (print_assignment): New function.
39037 (show_locale_vars): Use it.
39039 2010-08-11 Ulrich Drepper <drepper@redhat.com>
39041 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39043 (struct statfs64): Likewise.
39044 (_STATFS_F_FLAGS): Define.
39045 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
39046 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39047 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
39048 (ST_VALID): Define locally.
39049 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
39050 __statvfs_getflags, use the provided value.
39051 * sysdeps/unix/sysv/linux/kernel-features.h: Define
39052 __ASSUME_STATFS_F_FLAGS.
39054 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39056 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39057 Add sys/fanotify.h.
39058 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39059 fanotify_mask for GLIBC_2.13.
39060 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39061 fanotify_init and fanotify_mark.
39062 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39063 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39065 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39067 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39068 prlimit64 for GLIBC_2.13.
39069 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39071 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39074 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39075 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39076 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39077 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
39079 * sysdeps/unix/sysv/linux/prlimit.c: New file.
39082 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39083 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39085 * nss/Makefile: Add rules to build and run tst-nss-test1.
39086 * shlib-versions: Add entry for libnss_test1.
39087 * nss/nss_test1.c: New file.
39088 * nss/tst-nss-test1.c: New file.
39090 * nss/nsswitch.c (__nss_database_custom): Define new variable.
39091 (__nss_configure_lookup): Set appropriate entry in
39092 __nss_configure_lookup to true.
39093 * nss/nsswitch.h: Define enum with indeces of databases in
39094 databases and __nss_database_custom arrays. Declare
39095 __nss_database_custom.
39096 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
39097 to avoid using nscd when custom rules are installed.
39098 * nss/getXXbyYY_r.c: Likewise.
39099 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39101 * nss/nss_files/files-parse.c: Whitespace fixes.
39103 2010-08-09 Ulrich Drepper <drepper@redhat.com>
39106 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
39107 * posix/fnmatch_loop.c: Likewise.
39109 2010-07-17 Andi Kleen <ak@linux.intel.com>
39111 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
39112 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
39113 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
39114 * Versions.def [GLIBC_2.13]: Add.
39116 2010-08-06 Ulrich Drepper <drepper@redhat.com>
39118 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39119 Also fail if tpwd after pwuid call is NULL.
39121 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
39123 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
39124 when converting to ms.
39126 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39128 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
39129 EOPNOTSUPP errors with ENOTTY.
39130 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
39131 EOPNOTSUPP errors with ENOTTY.
39133 2010-07-31 Ulrich Drepper <drepper@redhat.com>
39135 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39136 Add strcasecmp_l-ssse3.
39137 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
39139 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
39140 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
39141 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
39143 2010-07-30 Ulrich Drepper <drepper@redhat.com>
39145 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
39147 * string/Makefile (strop-tests): Add strcasecmp.
39148 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39149 strcasecmp_l-nonascii.
39150 (gen-as-const-headers): Add locale-defines.sym.
39151 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
39152 * sysdeps/x86_64/strcasecmp.S: New file.
39153 * sysdeps/x86_64/strcasecmp_l.S: New file.
39154 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
39155 * sysdeps/x86_64/locale-defines.sym: New file.
39156 * string/test-strcasecmp.c: New file.
39158 * string/test-strcasestr.c: Test both ends of the range of characters.
39159 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
39161 2010-07-29 Roland McGrath <roland@redhat.com>
39164 * manual/locale.texi (Yes-or-No Questions): Fix example code.
39166 2010-07-27 Ulrich Drepper <drepper@redhat.com>
39168 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
39171 2010-07-27 Andreas Schwab <schwab@redhat.com>
39173 * manual/memory.texi (Malloc Tunable Parameters): Document
39176 2010-07-26 Roland McGrath <roland@redhat.com>
39179 * configure.in (-fgnu89-inline check): Set and substitute
39180 gnu89_inline, not libc_cv_gnu89_inline.
39181 * configure: Regenerated.
39182 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
39184 2010-07-26 Ulrich Drepper <drepper@redhat.com>
39186 * string/test-strnlen.c: New file.
39187 * string/Makefile (strop-tests): Add strnlen.
39188 * string/tester.c (test_strnlen): Add a few more test cases.
39189 * string/tst-strlen.c: Better error reporting.
39191 * sysdeps/x86_64/strnlen.S: New file.
39193 2010-07-24 Ulrich Drepper <drepper@redhat.com>
39195 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
39196 lower-latency instructions.
39198 2010-07-23 Ulrich Drepper <drepper@redhat.com>
39200 * string/test-strcasestr.c: New file.
39201 * string/test-strstr.c: New file.
39202 * string/Makefile (strop-tests): Add strstr and strcasestr.
39203 * string/str-two-way.h: Don't undefine MAX.
39204 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
39206 2010-07-21 Andreas Schwab <schwab@redhat.com>
39208 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39209 strcasestr-nonascii.
39210 (CFLAGS-strcasestr-nonascii.c): Define.
39211 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
39212 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
39213 Remove unused attribute.
39215 2010-07-20 Roland McGrath <roland@redhat.com>
39217 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
39218 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
39219 ld.so.cache was broken. With it, there is no way to disable dsocaps
39220 like LD_HWCAP_MASK can disable hwcaps.
39222 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39224 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
39226 2010-07-16 Ulrich Drepper <drepper@redhat.com>
39228 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
39229 call in strcasestr.
39230 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
39231 __strcasestr_sse42_nonascii.
39232 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
39233 strcasestr-nonascii.c.
39234 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
39236 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
39238 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
39239 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
39240 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
39241 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
39243 2010-07-09 Ulrich Drepper <drepper@redhat.com>
39245 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
39248 2010-07-06 Andreas Schwab <schwab@redhat.com>
39251 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
39254 2010-07-06 Ulrich Drepper <drepper@redhat.com>
39256 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
39257 _PC_PIPE_BUF using F_GETPIPE_SZ.
39259 2010-07-05 Roland McGrath <roland@redhat.com>
39261 * manual/arith.texi (Rounding Functions): Fix rint description
39262 implicit in round description.
39264 2010-07-02 Ulrich Drepper <drepper@redhat.com>
39266 * elf/Makefile: Fix linking for a few tests to make recent linker
39269 2010-06-30 Andreas Schwab <schwab@redhat.com>
39271 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39272 $(common-objpfx)libc_nonshared.a.
39274 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
39276 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
39277 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
39278 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39279 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39280 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
39281 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
39282 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39283 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
39285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
39286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
39287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
39289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
39291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
39292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
39293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
39294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
39296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
39298 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
39299 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
39300 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
39301 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
39302 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
39303 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
39304 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
39305 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
39306 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
39307 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
39308 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
39309 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
39310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
39311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
39312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
39313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
39314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
39315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
39316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
39317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
39318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
39319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
39320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
39321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
39322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
39323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
39325 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
39327 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
39328 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
39329 * string/memmove.c (memmove): Renamed to ...
39330 (MEMMOVE): ...this. Default to memmove.
39331 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
39332 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
39334 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39335 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
39336 mempcpy-ssse3-back memmove-ssse3-back.
39337 * sysdeps/x86_64/multiarch/bcopy.S: New file .
39338 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
39339 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
39340 * sysdeps/x86_64/multiarch/memcpy.S: New file.
39341 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
39342 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
39343 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
39344 * sysdeps/x86_64/multiarch/memmove.c: New file.
39345 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
39346 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
39347 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
39348 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
39349 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
39350 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
39352 (index_Fast_Copy_Backward): Define.
39353 (HAS_ARCH_FEATURE): Define.
39354 (HAS_FAST_REP_STRING): Define.
39355 (HAS_FAST_COPY_BACKWARD): Define.
39357 2010-06-21 Andreas Schwab <schwab@redhat.com>
39359 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39360 Restore proper fallback handling.
39362 2010-06-19 Ulrich Drepper <drepper@redhat.com>
39365 * posix/group_member.c (__group_member): Correct checking loop.
39367 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
39368 OOM in getpwuid_r correctly. Return error number when the caller
39369 should return, otherwise -1.
39370 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
39371 call returning > 0 value.
39372 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
39374 2010-06-07 Andreas Schwab <schwab@redhat.com>
39376 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
39377 libc_nonshared.a from targets in modules-names.
39379 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
39381 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
39384 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
39386 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
39387 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
39388 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
39389 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
39391 2010-06-02 Andreas Schwab <schwab@redhat.com>
39393 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
39395 2010-06-14 Ulrich Drepper <drepper@redhat.com>
39397 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
39399 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39400 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39401 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39402 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39403 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39404 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
39406 2010-06-14 Roland McGrath <roland@redhat.com>
39408 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
39410 2010-06-07 Jakub Jelinek <jakub@redhat.com>
39412 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
39413 __REDIRECT followed by __THROW.
39414 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
39415 * posix/getopt.h (getopt): Likewise.
39417 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39419 * hurd/lookup-at.c (__file_name_lookup_at): Accept
39420 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
39421 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
39423 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
39424 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
39426 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
39428 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
39430 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
39433 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39434 Properly check family and model.
39436 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
39438 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
39440 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
39442 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
39444 2010-05-21 Ulrich Drepper <drepper@redhat.com>
39446 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
39449 2010-05-19 Andreas Schwab <schwab@redhat.com>
39451 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
39454 2010-05-21 Andreas Schwab <schwab@redhat.com>
39456 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
39457 and internal_recvmmsg.
39458 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
39459 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
39460 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
39461 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
39463 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
39464 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39465 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39467 2010-05-20 Andreas Schwab <schwab@redhat.com>
39469 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
39471 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
39473 POWER7 optimizations.
39474 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
39475 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
39477 2010-05-19 Ulrich Drepper <drepper@redhat.com>
39479 * version.h: Update for 2.13 development version.
39481 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
39483 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
39484 exceptions. Return 0.
39486 2010-05-07 Roland McGrath <roland@redhat.com>
39488 * elf/ldconfig.c (main): Add a const.
39490 2010-05-06 Ulrich Drepper <drepper@redhat.com>
39492 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
39493 (args_options): Add no-idn option.
39494 (ahosts_keys_int): Add idn_flags to ai_flags.
39495 (parse_option): Handle 'i' option to clear idn_flags.
39497 * malloc/malloc.c (_int_free): Possible race in the most recently
39498 added check. Only act on the data if no current modification
39501 See ChangeLog.17 for earlier changes.