1 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5 ports/sysdeps/unix/sysv/linux/aarch64.
6 * README: Update listing for aarch64*-*-linux-gnu.
8 2014-02-11 Will Newton <will.newton@linaro.org>
10 * manual/probes.texi (Mathematical Function Probes): Use
11 "triggered" instead of "hit".
13 2014-02-11 Will Newton <will.newton@linaro.org>
15 * manual/probes.texi (Internal Probes): Add documentation
16 of setjmp, longjmp and longjmp_target probes.
18 2014-02-11 Will Newton <will.newton@linaro.org>
20 * include/stap-probe.h: Add comment about probe argument
23 2014-02-11 Will Newton <will.newton@linaro.org>
25 * malloc/mtrace.c (attribute_hidden): Remove unused macro
26 definition. (tr_where, tr_freehook, tr_mallochook,
27 tr_reallochook, tr_memalignhook): Use ANSI protoype.
29 2014-02-11 David S. Miller <davem@davemloft.net>
31 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
34 2014-02-10 Joseph Myers <joseph@codesourcery.com>
36 * sysdeps/mips: Move directory from ports/sysdeps/mips.
37 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
38 * sysdeps/unix/sysv/linux/mips: Move directory from
39 ports/sysdeps/unix/sysv/linux/mips.
40 * README: Update listing for mips-*-linux-gnu and
43 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
45 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
46 * sysdeps/unix/sysv/linux/m68k: Move directory from
47 ports/sysdeps/unix/sysv/linux/m68k.
48 * README: Update listing for m68k-*-linux-gnu.
50 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
52 * sysdeps/tile: Move directory from ports/sysdeps/tile.
53 * sysdeps/unix/sysv/linux/generic: Move directory from
54 ports/sysdeps/unix/sysv/linux/generic.
55 * sysdeps/unix/sysv/linux/tile: Move directory from
56 ports/sysdeps/unix/sysv/linux/tile.
57 * README: Update listing for tile*-*-linux-gnu.
59 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
61 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
62 * benchtests/bench-memmem.c (simple_memmem): Likewise.
63 * catgets/open_catalog.c (__open_catalog): Likewise.
64 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
65 * debug/confstr_chk.c: Likewise.
66 * debug/fread_chk.c (__fread_chk): Likewise.
67 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
68 * debug/getgroups_chk.c: Likewise.
69 * debug/mbsnrtowcs_chk.c: Likewise.
70 * debug/mbsrtowcs_chk.c: Likewise.
71 * debug/mbstowcs_chk.c: Likewise.
72 * debug/memcpy_chk.c: Likewise.
73 * debug/memmove_chk.c: Likewise.
74 * debug/mempcpy_chk.c: Likewise.
75 * debug/memset_chk.c: Likewise.
76 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
77 * debug/strcat_chk.c (__strcat_chk): Likewise.
78 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
79 * debug/strncat_chk.c (__strncat_chk): Likewise.
80 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
81 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
82 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
83 * debug/wcpncpy_chk.c: Likewise.
84 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
85 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
86 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
87 * debug/wcsncpy_chk.c: Likewise.
88 * debug/wcsnrtombs_chk.c: Likewise.
89 * debug/wcsrtombs_chk.c: Likewise.
90 * debug/wcstombs_chk.c: Likewise.
91 * debug/wmemcpy_chk.c: Likewise.
92 * debug/wmemmove_chk.c: Likewise.
93 * debug/wmempcpy_chk.c: Likewise.
94 * debug/wmemset_chk.c: Likewise.
95 * dirent/scandirat.c (SCANDIRAT): Likewise.
96 * dlfcn/dladdr1.c (dladdr1): Likewise.
97 * dlfcn/dladdr.c (dladdr): Likewise.
98 * dlfcn/dlclose.c (dlclose_doit): Likewise.
99 * dlfcn/dlerror.c (__dlerror): Likewise.
100 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
101 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
102 * dlfcn/dlopen.c (dlopen_doit): Likewise.
103 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
104 * dlfcn/dlsym.c (dlsym_doit): Likewise.
105 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
106 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
107 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
109 * elf/dl-conflict.c: Likewise.
110 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
111 * elf/dl-dst.h: Likewise.
112 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
113 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
114 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
115 * elf/dl-init.c (call_init, _dl_init): Likewise.
116 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
117 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
118 _dl_map_object_from_fd, open_verify, open_path,
119 _dl_map_object): Likewise.
120 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
122 * elf/dl-minimal.c (__libc_memalign): Likewise.
123 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
124 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
125 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
126 * elf/dl-sym.c (do_sym): Likewise.
127 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
128 _dl_tls_get_addr_soft): Likewise.
129 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
130 * elf/dl-writev.h (_dl_writev): Likewise.
131 * elf/ldconfig.c (search_dir): Likewise.
132 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
134 * elf/setup-vdso.h (setup_vdso): Likewise.
135 * grp/compat-initgroups.c (compat_call): Likewise.
136 * grp/fgetgrent.c (fgetgrent): Likewise.
137 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
138 * grp/putgrent.c (putgrent): Likewise.
139 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
141 * hurd/hurdinit.c: Likewise.
142 * iconvdata/8bit-gap.c (struct): Likewise.
143 * iconvdata/ansi_x3.110.c : Likewise.
144 * iconvdata/big5.c : Likewise.
145 * iconvdata/big5hkscs.c : Likewise.
146 * iconvdata/cp1255.c: Likewise.
147 * iconvdata/cp1258.c : Likewise.
148 * iconvdata/cp932.c : Likewise.
149 * iconvdata/euc-cn.c: Likewise.
150 * iconvdata/euc-jisx0213.c : Likewise.
151 * iconvdata/euc-jp.c: Likewise.
152 * iconvdata/euc-jp-ms.c : Likewise.
153 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
154 * iconvdata/gb18030.c : Likewise.
155 * iconvdata/gbbig5.c (const): Likewise.
156 * iconvdata/gbgbk.c: Likewise.
157 * iconvdata/gbk.c : Likewise.
158 * iconvdata/ibm1364.c : Likewise.
159 * iconvdata/ibm930.c : Likewise.
160 * iconvdata/ibm932.c: Likewise.
161 * iconvdata/ibm933.c : Likewise.
162 * iconvdata/ibm935.c : Likewise.
163 * iconvdata/ibm937.c : Likewise.
164 * iconvdata/ibm939.c : Likewise.
165 * iconvdata/ibm943.c: Likewise.
166 * iconvdata/iso_11548-1.c: Likewise.
167 * iconvdata/iso-2022-cn.c : Likewise.
168 * iconvdata/iso-2022-cn-ext.c : Likewise.
169 * iconvdata/iso-2022-jp-3.c: Likewise.
170 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
171 * iconvdata/iso-2022-kr.c : Likewise.
172 * iconvdata/iso646.c (gconv_end): Likewise.
173 * iconvdata/iso_6937-2.c : Likewise.
174 * iconvdata/iso_6937.c : Likewise.
175 * iconvdata/iso8859-1.c: Likewise.
176 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
177 * iconvdata/shift_jisx0213.c : Likewise.
178 * iconvdata/sjis.c : Likewise.
179 * iconvdata/t.61.c : Likewise.
180 * iconvdata/tcvn5712-1.c : Likewise.
181 * iconvdata/tscii.c: Likewise.
182 * iconvdata/uhc.c : Likewise.
183 * iconvdata/unicode.c (gconv_end): Likewise.
184 * iconvdata/utf-16.c (gconv_end): Likewise.
185 * iconvdata/utf-32.c (gconv_end): Likewise.
186 * iconvdata/utf-7.c (base64): Likewise.
187 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
188 * iconv/gconv_close.c (__gconv_close): Likewise.
189 * iconv/gconv_open.c (__gconv_open): Likewise.
190 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
191 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
192 internal_ucs4le_loop_single, ucs4le_internal_loop,
193 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
194 * iconv/iconv.c (iconv): Likewise.
195 * iconv/iconv_close.c: Likewise.
196 * iconv/loop.c (SINGLE): Likewise.
197 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
198 * include/atomic.h: Likewise.
199 * inet/inet6_option.c (option_alloc): Likewise.
200 * intl/bindtextdom.c (set_binding_values): Likewise.
201 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
202 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
203 * intl/localealias.c (read_alias_file): Likewise.
204 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
205 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
206 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
207 * libio/fmemopen.c (fmemopen): Likewise.
208 * libio/iofgets.c (_IO_fgets): Likewise.
209 * libio/iofgets_u.c (fgets_unlocked): Likewise.
210 * libio/iofgetws.c (fgetws): Likewise.
211 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
212 * libio/iogetdelim.c (_IO_getdelim): Likewise.
213 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
214 adjust_wide_data, _IO_wfile_seekoff): Likewise.
215 * locale/findlocale.c (_nl_find_locale): Likewise.
216 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
217 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
219 * locale/setlocale.c (setlocale): Likewise.
220 * login/programs/pt_chown.c (main): Likewise.
221 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
222 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
223 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
224 mmap, mmap64, mremap, munmap): Likewise.
225 * math/e_exp2l.c: Likewise.
226 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
227 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
228 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
229 * math/s_catan.c (__catan): Likewise.
230 * math/s_catanf.c (__catanf): Likewise.
231 * math/s_catanh.c (__catanh): Likewise.
232 * math/s_catanhf.c (__catanhf): Likewise.
233 * math/s_catanhl.c (__catanhl): Likewise.
234 * math/s_catanl.c (__catanl): Likewise.
235 * math/s_ccosh.c (__ccosh): Likewise.
236 * math/s_ccoshf.c (__ccoshf): Likewise.
237 * math/s_ccoshl.c (__ccoshl): Likewise.
238 * math/s_cexp.c (__cexp): Likewise.
239 * math/s_cexpf.c (__cexpf): Likewise.
240 * math/s_cexpl.c (__cexpl): Likewise.
241 * math/s_clog10.c (__clog10): Likewise.
242 * math/s_clog10f.c (__clog10f): Likewise.
243 * math/s_clog10l.c (__clog10l): Likewise.
244 * math/s_clog.c (__clog): Likewise.
245 * math/s_clogf.c (__clogf): Likewise.
246 * math/s_clogl.c (__clogl): Likewise.
247 * math/s_csin.c (__csin): Likewise.
248 * math/s_csinf.c (__csinf): Likewise.
249 * math/s_csinh.c (__csinh): Likewise.
250 * math/s_csinhf.c (__csinhf): Likewise.
251 * math/s_csinhl.c (__csinhl): Likewise.
252 * math/s_csinl.c (__csinl): Likewise.
253 * math/s_csqrt.c (__csqrt): Likewise.
254 * math/s_csqrtf.c (__csqrtf): Likewise.
255 * math/s_csqrtl.c (__csqrtl): Likewise.
256 * math/s_ctan.c (__ctan): Likewise.
257 * math/s_ctanf.c (__ctanf): Likewise.
258 * math/s_ctanh.c (__ctanh): Likewise.
259 * math/s_ctanhf.c (__ctanhf): Likewise.
260 * math/s_ctanhl.c (__ctanhl): Likewise.
261 * math/s_ctanl.c (__ctanl): Likewise.
262 * math/w_pow.c: Likewise.
263 * math/w_powf.c: Likewise.
264 * math/w_powl.c: Likewise.
265 * math/w_scalb.c (sysv_scalb): Likewise.
266 * math/w_scalbf.c (sysv_scalbf): Likewise.
267 * math/w_scalbl.c (sysv_scalbl): Likewise.
268 * misc/error.c (error_tail): Likewise.
269 * misc/pselect.c (__pselect): Likewise.
270 * nis/nis_callback.c (__nis_create_callback): Likewise.
271 * nis/nis_call.c (__nisfind_server): Likewise.
272 * nis/nis_creategroup.c (nis_creategroup): Likewise.
273 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
274 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
275 * nis/nis_getservlist.c (nis_getservlist): Likewise.
276 * nis/nis_lookup.c (nis_lookup): Likewise.
277 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
278 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
279 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
280 * nis/nis_xdr.c (xdr_endpoint): Likewise.
281 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
282 internal_getgrgid_r): Likewise.
283 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
285 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
286 internal_getpwuid_r): Likewise.
287 * nis/nss_compat/compat-spwd.c (getspent_next_file,
288 internal_getspnam_r): Likewise.
289 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
290 _nss_nis_getaliasbyname_r): Likewise.
291 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
292 _nss_nis_getntohost_r): Likewise.
293 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
294 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
296 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
297 internal_nis_gethostent_r, internal_gethostbyname2_r,
298 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
299 _nss_nis_gethostbyname4_r): Likewise.
300 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
301 initgroups_netid): Likewise.
302 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
303 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
304 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
305 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
306 _nss_nis_getprotobynumber_r): Likewise.
307 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
308 _nss_nis_getsecretkey): Likewise.
309 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
310 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
312 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
313 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
314 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
315 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
316 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
317 _nss_nis_getspnam_r): Likewise.
318 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
320 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
321 _nss_nisplus_getntohost_r): Likewise.
322 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
323 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
324 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
325 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
326 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
328 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
329 _nss_nisplus_getnetbyaddr_r): Likewise.
330 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
331 _nss_nisplus_getprotobynumber_r): Likewise.
332 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
333 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
334 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
336 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
337 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
338 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
339 _nss_nisplus_getspnam_r): Likewise.
340 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
341 * nscd/aicache.c (addhstaiX): Likewise.
342 * nscd/cache.c (cache_search, prune_cache): Likewise.
343 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
344 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
345 * nscd/grpcache.c (addgrbyX): Likewise.
346 * nscd/hstcache.c (addhstbyX): Likewise.
347 * nscd/initgrcache.c (addinitgroupsX): Likewise.
348 * nscd/mem.c (gc, mempool_alloc): Likewise.
349 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
351 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
353 * nscd/nscd_getai.c (__nscd_getai): Likewise.
354 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
355 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
357 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
358 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
359 * nscd/nscd_helper.c (__readvall, open_socket,
360 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
361 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
362 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
363 * nscd/pwdcache.c (addpwbyX): Likewise.
364 * nscd/selinux.c (preserve_capabilities): Likewise.
365 * nscd/servicescache.c (addservbyX): Likewise.
366 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
367 * posix/fnmatch.c (fnmatch): Likewise.
368 * posix/getopt.c (_getopt_internal_r): Likewise.
369 * posix/glob.c (glob, glob_in_dir): Likewise.
370 * posix/wordexp.c (exec_comm_child): Likewise.
371 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
372 gaih_getanswer_slice): Likewise.
373 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
374 * resolv/res_init.c: Likewise.
375 * resolv/res_mkquery.c (res_nmkquery): Likewise.
376 * resolv/res_query.c (__libc_res_nquery): Likewise.
377 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
379 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
380 * stdio-common/perror.c (perror): Likewise.
381 * stdio-common/printf_fp.c (___printf_fp): Likewise.
382 * stdio-common/tmpnam.c (tmpnam): Likewise.
383 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
384 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
385 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
386 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
387 * stdlib/putenv.c (putenv): Likewise.
388 * stdlib/setenv.c (__add_to_environ): Likewise.
389 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
390 * stdlib/strtol_l.c (INTERNAL): Likewise.
391 * string/memmem.c (memmem): Likewise.
392 * string/strerror.c (strerror): Likewise.
393 * string/strnlen.c (__strnlen): Likewise.
394 * string/test-memmem.c (simple_memmem): Likewise.
395 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
396 * sunrpc/pm_getport.c (__get_socket): Likewise.
397 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
398 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
399 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
400 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
402 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
403 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
404 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
405 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
406 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
407 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
408 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
409 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
410 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
411 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
412 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
413 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
414 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
415 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
416 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
417 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
418 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
419 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
420 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
422 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
424 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
426 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
427 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
428 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
429 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
430 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
431 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
432 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
433 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
434 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
435 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
436 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
437 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
438 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
439 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
440 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
441 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
442 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
444 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
446 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
448 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
449 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
450 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
452 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
453 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
454 * sysdeps/posix/opendir.c (__opendirat): Likewise.
455 * sysdeps/posix/sleep.c: Likewise.
456 * sysdeps/posix/tempname.c: Likewise.
457 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
458 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
460 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
461 elf_machine_rela): Likewise.
462 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
463 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
464 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
465 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
467 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
468 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
469 elf_machine_rela, elf_machine_lazy_rel): Likewise.
470 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
471 elf_machine_rela, elf_machine_lazy_rel): Likewise.
472 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
473 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
474 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
475 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
476 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
477 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
478 elf_machine_lazy_rel): Likewise.
479 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
480 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
481 elf_machine_lazy_rel): Likewise.
482 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
483 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
484 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
485 * sysdeps/unix/grantpt.c (grantpt): Likewise.
486 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
487 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
488 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
489 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
491 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
492 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
493 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
494 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
495 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
496 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
497 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
498 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
499 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
500 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
501 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
503 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
504 (__posix_fallocate64_l64): Likewise.
505 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
506 (posix_fallocate): Likewise.
507 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
508 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
509 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
510 getifaddrs_internal): Likewise.
511 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
512 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
513 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
514 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
515 * sysdeps/unix/sysv/linux/posix_fallocate64.c
516 (__posix_fallocate64_l64): Likewise.
517 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
519 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
520 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
522 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
523 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
524 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
525 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
526 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
527 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
528 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
529 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
531 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
532 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
533 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
534 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
535 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
536 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
537 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
539 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
540 (posix_fallocate): Likewise.
541 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
542 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
543 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
544 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
545 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
547 * time/asctime.c (asctime_internal): Likewise.
548 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
549 * time/tzset.c (__tzset_parse_tz): Likewise.
550 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
551 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
552 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
553 * wcsmbs/wcsmbsload.h: Likewise.
555 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
558 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
560 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
562 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
563 arena_get2): Remove THREAD_STATS conditionals.
564 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
565 __malloc_stats, int): Likewise.
567 2014-02-08 Mike Frysinger <vapier@gentoo.org>
569 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
570 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
572 2014-02-08 Mike Frysinger <vapier@gentoo.org>
574 * manual/setjmp.texi: Fix typos/grammar errors.
576 2014-02-08 Mike Frysinger <vapier@gentoo.org>
578 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
579 Only return early when n is <= 0. Delete unused return statement.
581 2014-02-08 Mike Frysinger <vapier@gentoo.org>
583 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
584 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
585 * debug/tst-longjmp_chk3.c: New file.
587 2014-02-08 Mike Frysinger <vapier@gentoo.org>
589 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
590 (test_main): Replace code with set_fortify_handler call.
591 * debug/test-strcpy_chk.c: Likewise.
592 * debug/tst-chk1.c: Likewise.
593 * debug/tst-longjmp_chk.c: Likewise.
594 * test-skeleton.c: Include fcntl.h & paths.h
595 (set_fortify_handler): Define.
597 2014-02-08 Mike Frysinger <vapier@gentoo.org>
599 * debug/tst-longjmp_chk.c: Add header comment and include
601 (do_test): Mark static.
602 (TEST_FUNCTION): Define.
604 2014-02-08 Mike Frysinger <vapier@gentoo.org>
606 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
607 (IP_PMTUDISC_INTERFACE): Likewise.
608 (IP_MULTICAST_IF): Likewise.
609 (IP_MULTICAST_TTL): Likewise.
610 (IP_MULTICAST_LOOP): Likewise.
611 (IP_ADD_MEMBERSHIP): Likewise.
612 (IP_DROP_MEMBERSHIP): Likewise.
613 (IP_UNBLOCK_SOURCE): Likewise.
614 (IP_BLOCK_SOURCE): Likewise.
615 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
616 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
617 (IP_MSFILTER): Likewise.
618 (MCAST_JOIN_GROUP): Likewise.
619 (MCAST_BLOCK_SOURCE): Likewise.
620 (MCAST_UNBLOCK_SOURCE): Likewise.
621 (MCAST_LEAVE_GROUP): Likewise.
622 (MCAST_JOIN_SOURCE_GROUP): Likewise.
623 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
624 (MCAST_MSFILTER): Likewise.
625 (IP_MULTICAST_ALL): Likewise.
626 (IP_UNICAST_IF): Likewise.
628 2014-02-08 Mike Frysinger <vapier@gentoo.org>
630 * timezone/Makefile: Delete $(have-ksh) check.
631 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
632 * timezone/tzselect.ksh: Add +x mode bits.
634 2014-02-08 Mike Frysinger <vapier@gentoo.org>
636 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
637 (ANON_INODE_FS_MAGIC): Likewise.
638 (BDEVFS_MAGIC): Likewise.
639 (BINFMTFS_MAGIC): Likewise.
640 (BTRFS_TEST_MAGIC): Likewise.
641 (CRAMFS_MAGIC_WEND): Likewise.
642 (DEBUGFS_MAGIC): Likewise.
643 (ECRYPTFS_SUPER_MAGIC): Likewise.
644 (EXT3_SUPER_MAGIC): Likewise.
645 (EXT4_SUPER_MAGIC): Likewise.
646 (FUTEXFS_SUPER_MAGIC): Likewise.
647 (HOSTFS_SUPER_MAGIC): Likewise.
648 (HUGETLBFS_MAGIC): Likewise.
649 (MINIX3_SUPER_MAGIC): Likewise.
650 (MTD_INODE_FS_MAGIC): Likewise.
651 (NILFS_SUPER_MAGIC): Likewise.
652 (OPENPROM_SUPER_MAGIC): Likewise.
653 (PIPEFS_MAGIC): Likewise.
654 (PSTOREFS_MAGIC): Likewise.
655 (QNX6_SUPER_MAGIC): Likewise.
656 (RAMFS_MAGIC): Likewise.
657 (REISERFS_SUPER_MAGIC_STRING): Likewise.
658 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
659 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
660 (SECURITYFS_MAGIC): Likewise.
661 (SELINUX_MAGIC): Likewise.
662 (SMACK_MAGIC): Likewise.
663 (SOCKFS_MAGIC): Likewise.
664 (SQUASHFS_MAGIC): Likewise.
665 (STACK_END_MAGIC): Likewise.
666 (TMPFS_MAGIC): Likewise.
667 (USBDEVICE_SUPER_MAGIC): Likewise.
668 (V9FS_MAGIC): Likewise.
669 (XENFS_SUPER_MAGIC): Likewise.
670 (CRAMFS_MAGIC): Fix typo in comment.
671 (EXT2_SUPER_MAGIC): Update comment.
672 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
674 2014-02-08 Joseph Myers <joseph@codesourcery.com>
676 * sysdeps/arm: Move directory from ports/sysdeps/arm.
677 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
678 * sysdeps/unix/sysv/linux/arm: Move directory from
679 ports/sysdeps/unix/sysv/linux/arm.
680 * README: Update listing for arm-*-linux-gnueabi.
682 * README: Remove mention of am33.
684 2014-02-07 Roland McGrath <roland@hack.frob.com>
686 * bits/sigset.h (__sigemptyset): Use a statement expression rather
687 than the comma operator, to avoid "rhs of comma has no effect"
689 (__sigfillset, __sigandset, __sigorset): Likewise.
690 * include/signal.h (__sigemptyset): Likewise.
691 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
693 2014-02-07 Allan McRae <allan@archlinux.org>
695 * version.h (RELEASE): Set to "development".
696 (VERSION): Set to "2.19.90"
697 * NEWS: Add 2.20 section.
699 2014-02-06 Carlos O'Donell <carlos@redhat.com>
702 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
704 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
706 * manual/contrib.texi: Update entry for Carlos O'Donell,
707 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
709 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
711 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
713 * sysdeps/unix/sysv/linux/kernel-features.h
714 [__LINUX_KERNEL_VERSION >= 0x020621]
715 (__ASSUME_PROC_PID_TASK_COMM): Define.
717 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
719 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
720 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
721 Leonard and Allan McRae.
723 2014-02-04 David S. Miller <davem@davemloft.net>
725 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
728 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
757 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
759 * nptl/shlib-versions: Change powerpc*le start to 2.17.
760 * shlib-versions: Likewise.
762 2014-02-04 Roland McGrath <roland@hack.frob.com>
763 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
765 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
766 (abilist-pattern): New variable, set to %-le.abilist.
768 * Makerules (abilist-pattern): New variable.
769 (vpath): Use $(abilist-pattern) in place of %.abilist.
770 (check-abi-% pattern rule): Likewise.
771 (check-abi, update-abi): Likewise.
773 2014-02-04 Eric Wong <normalperson@yhbt.net>
775 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
777 2014-02-04 Eric Wong <normalperson@yhbt.net>
779 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
781 2014-02-03 Carlos O'Donell <carlos@redhat.com>
783 * manual/startup.texi: Add next, previous, and top entries for
784 the `Program Arguments' and `Environment Variables' nodes.
786 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
788 * manual/macros.texi: Add comments before MTASC-safety macros.
790 * manual/users.texi: Document MTASC-safety properties.
792 * manual/threads.texi (pthread_key_create, pthread_key_delete,
793 pthread_getspecific, pthread_setspecific): Format with
794 @deftypefun, and add @safety note.
795 * manual/signal.texi: Move comments that analyze the above
796 functions to their home place.
798 2014-02-03 Allan McRae <allan@archlinux.org>
800 * po/sl.po: Update Slovenian translation from translation project.
802 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
804 * manual/time.texi (timegm): Add missing blank after @c.
805 Reported by Joseph Myers <joseph@codesourcery.com>.
807 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
809 * manual/check-safety.sh: New.
810 * manual/Makefile ($(objpfx)stamp-summary): Run it.
812 * manual/terminal.texi: Document MTASC-safety properties.
814 * manual/filesys.texi: Document MTASC-safety properties.
816 * manual/errno.texi: Document MTASC-safety properties.
818 * manual/intro.texi: Document safety identifiers and
821 * manual/string.texi (wcstok): Fix prototype.
822 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
824 * manual/time.texi: Document MTASC-safety properties.
826 * manual/string.texi: Document MTASC-safety properties.
828 * manual/threads.texi: Document MTASC-safety properties.
830 * manual/stdio.texi: Document MTASC-safety properties.
832 * manual/syslog.texi: Document MTASC-safety properties.
834 * manual/sysinfo.texi: Document MTASC-safety properties.
836 * manual/startup.texi: Document MTASC-safety properties.
838 * manual/socket.texi: Document MTASC-safety properties.
840 * manual/signal.texi: Document MTASC-safety properties.
842 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
844 * manual/setjmp.texi: Document MTASC-safety properties.
846 * manual/search.texi: Document MTASC-safety properties.
848 * manual/resource.texi: Document MTASC-safety properties.
850 * manual/process.texi: Document MTASC-safety properties.
852 * manual/platform.texi: Document MTASC-safety properties.
854 * manual/pipe.texi: Document MTASC-safety properties.
856 * manual/pattern.texi: Document MTASC-safety properties.
858 * manual/message.texi: Document MTASC-safety properties.
861 * manual/memory.texi: Document MTASC-safety properties.
863 * manual/math.texi: Document MTASC-safety properties.
865 * manual/locale.texi: Document MTASC-safety properties.
867 * manual/llio.texi: Document MTASC-safety properties.
869 * manual/libdl.texi: New.
871 * manual/lang.texi: Document MTASC-safety properties.
873 * manual/job.texi: Document MTASC-safety properties.
875 * manual/getopt.texi: Document MTASC-safety properties.
877 * manual/ctype.texi: Document MTASC-safety properties.
879 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
882 * csu/libc-tls.c (static_map): Remove variable.
883 (__libc_setup_tls): Use main executable's link map for TLS data.
884 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
885 casing for LM_ID_BASE and GL(dl_nns).
886 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
887 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
888 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
889 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
890 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
892 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
895 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
897 * manual/debug.texi: Document MTASC-safety properties.
899 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
902 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
903 of __x86_64__ when disabling x87 inline functions.
905 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
907 * manual/charset.texi: Document MTASC-safety properties.
909 * manual/crypt.texi: Document MTASC-safety properties.
911 * manual/conf.texi: Document MTASC-safety properties.
913 * manual/arith.texi: Document MTASC-safety properties.
915 * manual/argp.texi: Document MTASC-safety properties.
917 * manual/macros.texi: Introduce macros to document multi
918 thread, asynchronous signal and asynchronous cancellation
920 * manual/intro.texi: Introduce the properties themselves.
922 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
924 * sysdeps/sh/sh4/Makefile: New file.
926 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
928 * math/gen-libm-test.pl ($srcdir): New variable.
929 ($auto_input): Use it.
931 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
934 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
935 access beyond array bounds when parsing netgroups file.
937 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
938 the old buffer before realloc.
940 2014-01-27 Allan McRae <allan@archlinux.org>
942 * po/fr.po: Update French translation from translation project.
944 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
946 * sysdeps/sh/libm-test-ulps: Regenerate.
948 2014-01-24 David S. Miller <davem@davemloft.net>
950 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
952 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
954 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
955 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
957 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
960 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
961 string pointers after reallocation.
963 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
965 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
966 __SH4A__ instead of __SH_FPU_ANY__.
968 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
970 * sysdeps/sh/fpu_control.h: New file.
971 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
972 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
973 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
974 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
975 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
976 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
977 * sysdeps/sh/sys/ucontext.h: Remove.
978 * sysdeps/sh/sys: Remove directory.
980 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
982 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
984 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
985 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
987 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
990 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
992 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
995 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
996 Adjust the vDSO correctly for internal calls.
997 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
999 2014-01-20 Allan McRae <allan@archlinux.org>
1001 * po/ca.po: Update Catalan translation from translation project.
1003 2014-01-16 Mike Frysinger <vapier@gentoo.org>
1005 * sysdeps/s390/sotruss-lib.c: New file.
1007 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1010 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
1011 (__GI___gettimeofday): Alias for a different internal symbol to avoid
1012 local calls issues by not having a PLT stub required for IFUNC calls.
1013 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
1015 2014-01-16 Joseph Myers <joseph@codesourcery.com>
1017 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
1018 * math/test-fpucw-static.c: Likewise.
1020 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1023 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1025 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1027 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1028 implementation for powerpc.
1030 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
1033 * sysdeps/posix/system.c (__libc_system): Do not enable
1034 asynchronous cancellation.
1036 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1039 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1040 handling only for numbers special also in the IEEE case.
1042 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1044 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1046 2014-01-11 Allan McRae <allan@archlinux.org>
1048 * po/bg.po: Update Bulgarian translation from translation project.
1050 * po/de.po: Update German translation from translation project.
1052 2014-01-10 Roland McGrath <roland@hack.frob.com>
1054 * sysdeps/generic/gcc-compat.h: New file.
1056 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1058 * benchtests/asin-inputs: Correct slow inputs.
1059 * benchtests/acos-inputs: Likewise.
1061 2014-01-10 Allan McRae <allan@archlinux.org>
1063 * po:sv.po: Update Swedish translation from translation project.
1065 * po/vi.po: Update Vietnamese translation from translation project.
1067 * po/eo.po: Update Esperanto translation from translation project.
1069 * po/cs.po: Update Czech translation from translation project.
1071 * po/nl.po: Update Dutch translation from translation project.
1073 * po/pl.po: Update Polish translation from translation project.
1075 * po/ru.po: Update Russian translation from translation project.
1077 * po/uk.po: Update Ukrainian translation from translation project.
1079 2014-01-08 Brooks Moses <bmoses@google.com>
1081 * elf/dl-load.c: Fix comment typo.
1083 2014-01-08 Carlos O'Donell <carlos@redhat.com>
1085 * po/header.pot: Rename to...
1086 * po/pot.header: ... this.
1087 * po/Makefile: Use pot.header.
1089 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
1090 Maxim Kuvyrkov <maxim@kugelworks.com>
1093 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
1094 SRC and DEST against LEN.
1096 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1099 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
1101 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
1103 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1107 2014-01-08 Joseph Myers <joseph@codesourcery.com>
1110 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
1111 for large positive arguments.
1113 2014-01-07 Joseph Myers <joseph@codesourcery.com>
1115 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1117 * math/auto-libm-test-in: Mark various tests with
1118 xfail-rounding:ldbl-128ibm.
1119 * math/auto-libm-test-out: Regenerated.
1122 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1123 Increase overflow threshold.
1125 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
1128 * stdio-common/vfprintf.c: Check for integer overflow.
1130 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1132 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
1133 the first argument and return value of __tls_get_addr_internal.
1135 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1137 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
1138 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
1140 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1142 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
1143 * sysdeps/s390/rtld-global-offsets.sym: New file.
1144 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
1146 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
1147 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
1148 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1150 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
1151 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1157 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
1158 halfs of GPRs for high_gprs contexts.
1159 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
1160 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
1162 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
1164 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
1166 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
1167 for high GPRs (uc_high_gprs) and for future extensions
1169 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
1170 for future extensions (__reserved).
1171 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
1173 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
1174 SC_HIGHGPRS offset definition.
1175 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
1176 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
1178 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1180 * Versions.def: Add GLIBC_2.19 for libpthread.
1181 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
1182 siglongjmp for libpthread with GLIBC_2.19 symver.
1183 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
1184 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
1185 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
1186 * sysdeps/s390/__longjmp.c: New file.
1187 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
1188 * sysdeps/s390/longjmp.c: New file.
1189 * sysdeps/s390/setjmp.S: New file.
1190 * sysdeps/s390/sigjmp.S: New file.
1191 * sysdeps/s390/v1-longjmp.c: New file.
1192 * sysdeps/s390/v1-setjmp.h: New file.
1193 * sysdeps/s390/v1-sigjmp.c: New file.
1194 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
1195 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
1197 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
1198 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
1199 versioned symbols for ____longjmp_chk.
1200 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1210 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
1211 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
1212 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
1213 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
1214 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
1215 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
1216 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
1217 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
1218 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
1219 * sysdeps/s390/rtld-__longjmp.c: New file.
1220 * sysdeps/s390/rtld-setjmp.S: New file.
1222 2014-01-06 Joseph Myers <joseph@codesourcery.com>
1225 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1226 Return -__logl (x) for small positive arguments without evaluating
1229 2014-01-06 Mike Frysinger <vapier@gentoo.org>
1231 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
1233 (__ptrace_peeksiginfo_args): ... this.
1234 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1235 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1236 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1238 2014-01-06 Allan McRae <allan@archlinux.org>
1240 * inet/netinet/in.h: Fix typo in comment.
1242 2014-01-05 Andreas Jaeger <aj@suse.de>
1244 * sysdeps/i386/fpu/libm-test-ulps: Update.
1246 2014-01-05 Allan McRae <allan@archlinux.org>
1248 * po/libc.pot: Regenerated.
1250 * malloc/memusagestat.c: Fix gettext call formatting.
1252 2014-01-04 Sami Kerola <kerolasa@iki.fi>
1254 * nscd/nscd.c: Improve usage() output.
1256 2014-01-04 Mike Frysinger <vapier@gentoo.org>
1258 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
1259 * sysdeps/unix/sysv/linux/configure: Regenerated.
1260 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
1261 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
1263 2014-01-03 Joseph Myers <joseph@codesourcery.com>
1266 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1267 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
1269 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1271 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
1272 extra tokens at end of #undef directive.
1273 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
1274 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
1275 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1277 2014-01-03 Joseph Myers <joseph@codesourcery.com>
1279 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1281 * math/auto-libm-test-in: Mark various tests with
1282 xfail-rounding:ldbl-128ibm.
1283 * math/auto-libm-test-out: Regenerated.
1285 2014-01-02 Joseph Myers <joseph@codesourcery.com>
1288 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
1289 numbers with subnormal high part when calculating exponent.
1292 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
1296 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
1298 (__ieee754_acoshl): Use __log1pl not __log1p.
1300 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
1302 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
1303 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
1304 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
1305 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
1306 Convert to GNU style.
1307 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
1308 mem2mem_check, mem2chunk_check, top_check, realloc_check,
1309 memalign_check, __malloc_set_state): Likewise.
1310 * malloc/mallocbug.c (main): Likewise.
1311 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
1312 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
1313 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
1314 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
1315 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
1316 * malloc/malloc.h: Likewise.
1317 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
1318 memalignhook, reallochook, mabort): Likewise.
1319 * malloc/mcheck.h: Likewise.
1320 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
1321 mmap64, mremap, munmap, dest): Likewise.
1322 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
1323 * malloc/morecore.c (__default_morecore): Likewise.
1324 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
1325 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
1326 _obstack_allocated_p, obstack_free, _obstack_memory_used,
1327 print_and_abort): Likewise.
1328 * malloc/obstack.h: Likewise.
1329 * malloc/set-freeres.c (__libc_freeres): Likewise.
1330 * malloc/tst-mallocstate.c (main): Likewise.
1331 * malloc/tst-mtrace.c (main): Likewise.
1332 * malloc/tst-realloc.c (do_test): Likewise.
1334 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1337 * nscd/netgroupcache.c (do_notfound): New function.
1338 (addgetnetgrentX): Use it.
1341 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
1342 NSS_STATUS_NOTFOUND.
1344 2014-01-01 Joseph Myers <joseph@codesourcery.com>
1346 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1349 2014-01-01 Allan McRae <allan@archlinux.org>
1351 * scripts/update-copyrights: Update configure input file suffix.
1353 * NEWS: Update copyright year.
1354 * catgets/gencat.c: Likewise.
1355 * csu/version.c: Likewise.
1356 * debug/catchsegv.sh: Likewise.
1357 * debug/pcprofiledump.c: Likewise.
1358 * debug/xtrace.sh: Likewise.
1359 * elf/ldconfig.c: Likewise.
1360 * elf/ldd.bash.in: Likewise.
1361 * elf/pldd.c: Likewise.
1362 * elf/sotruss.ksh: Likewise.
1363 * elf/sprof.c: Likewise.
1364 * iconv/iconv_prog.c: Likewise.
1365 * iconv/iconvconfig.c: Likewise.
1366 * locale/programs/locale.c: Likewise.
1367 * locale/programs/localedef.c: Likewise.
1368 * login/programs/pt_chown.c: Likewise.
1369 * malloc/memusage.sh: Likewise.
1370 * malloc/memusagestat.c: Likewise.
1371 * malloc/mtrace.pl: Likewise.
1372 * manual/libc.texinfo: Likewise.
1373 * nscd/nscd.c: Likewise.
1374 * nss/getent.c: Likewise.
1375 * nss/makedb.c: Likewise.
1376 * posix/getconf.c: Likewise.
1377 * scripts/test-installation.pl: Likewise.
1379 * All files with FSF copyright notices: Update copyright dates
1380 using scripts/update-copyrights.
1381 * intl/plural.c: Regenerated.
1382 * locale/programs/charmap-kw.h: Likewise.
1383 * locale/programs/locfile-kw.h: Likewise.
1385 2013-12-31 Mike Frysinger <vapier@gentoo.org>
1387 * sysdeps/unix/sysv/linux/configure: Regenerated.
1388 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
1389 the linux/fanotify.h header.
1390 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
1391 HAVE_LINUX_FANOTIFY_H is defined.
1393 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1395 * benchtests/cos-inputs: New inputs.
1396 * benchtests/sin-inputs: Likewise.
1398 * benchtests/atan-inputs: New inputs. Fix name of multiple
1399 precision fallback inputs.
1401 * benchtests/atanh-inputs: New inputs.
1402 * benchtests/tanh-inputs: Likewise.
1404 * benchtests/acosh-inputs: New inputs.
1405 * benchtests/asinh-inputs: Likewise.
1407 * benchtests/cosh-inputs: New inputs.
1408 * benchtests/sinh-inputs: Likewise.
1410 * benchtests/acos-inputs: Add more inputs.
1411 * benchtests/asin-inputs: Likewise.
1413 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
1416 * manual/arith.texi: Fix spelling.
1417 * manual/charset.texi: Likewise.
1418 * manual/errno.texi: Likewise.
1419 * manual/filesys.texi: Likewise.
1420 * manual/lang.texi: Likewise.
1421 * manual/llio.texi: Likewise.
1422 * manual/locale.texi: Likewise.
1423 * manual/message.texi: Likewise.
1424 * manual/resource.texi: Likewise.
1425 * manual/search.texi: Likewise.
1426 * manual/setjmp.texi: Likewise.
1427 * manual/stdio.texi: Likewise.
1428 * manual/string.texi: Likewise.
1429 * manual/sysinfo.texi: Likewise.
1430 * manual/time.texi: Likewise.
1432 2013-12-27 Carlos O'Donell <carlos@redhat.com>
1434 * po/sl.po: New file.
1436 2013-12-27 Mike Frysinger <vapier@gentoo.org>
1438 * .gitignore: Add core/.gdbinit/.gdb_history.
1440 2013-12-27 Allan McRae <allan@archlinux.org>
1443 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
1444 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
1446 2013-12-24 Brooks Moses <bmoses@google.com>
1448 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
1449 all compilers that claim C++98 compliance, not just GCC.
1450 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1453 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
1455 * NEWS: Restore accidentally deleted bug-fix entries.
1457 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
1458 Ondřej Bílka <neleai@seznam.cz>
1461 * malloc/malloc.c (_int_free): Perform sanity check only if we
1464 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
1467 * manual/stdio.texi (String Input Conversions): Clarify that character
1468 classes are not supported.
1470 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1474 2013-12-22 Joseph Myers <joseph@codesourcery.com>
1477 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1478 Calculate results for small negative arguments directly rather
1479 than using reflection formula with special underflow handling.
1481 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
1482 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
1483 sysdeps/unix/bsd/bsd4.4/syscalls.list.
1484 (fchflags): Likewise.
1486 (setlogin): Likewise.
1487 (sigaltstack): Likewise.
1490 (sigsetmask): Likewise.
1492 (waitpid): Likewise.
1493 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
1494 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
1496 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
1497 * sysdeps/unix/bsd/Makefile: ... here.
1498 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
1499 * sysdeps/unix/bsd/Versions: ... here.
1500 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
1501 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
1502 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
1503 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
1504 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
1505 * sysdeps/unix/bsd/sigblock.c: ... here.
1506 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
1507 * sysdeps/unix/bsd/sigsetmask.c: ... here.
1508 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
1509 * sysdeps/unix/bsd/sigvec.c: ... here.
1510 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
1511 * sysdeps/unix/bsd/tcdrain.c: ... here.
1512 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
1513 * sysdeps/unix/bsd/tcgetattr.c: ... here.
1514 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
1515 * sysdeps/unix/bsd/tcsetattr.c: ... here.
1516 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
1517 * sysdeps/unix/bsd/wait.c: ... here.
1518 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
1519 * sysdeps/unix/bsd/wait3.c: ... here.
1520 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
1521 * sysdeps/unix/bsd/waitpid.c: ... here.
1523 2013-12-21 Joseph Myers <joseph@codesourcery.com>
1526 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
1527 round-to-nearest for [!USE_AS_EXPM1L].
1528 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1529 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
1530 more tests of exp and exp10. Expect some exp10 tests to miss
1531 exceptions or fail in directed rounding modes.
1532 * math/auto-libm-test-out: Regenerated.
1533 * math/libm-test.inc (exp10_tonearest_test_data): New array.
1534 (exp10_test_tonearest): New function.
1535 (exp10_towardzero_test_data): New array.
1536 (exp10_test_towardzero): New function.
1537 (exp10_downward_test_data): New array.
1538 (exp10_test_downward): New function.
1539 (exp10_upward_test_data): New array.
1540 (exp10_test_upward): New function.
1541 (main): Call the new functions.
1542 * sysdeps/i386/fpu/libm-test-ulps: Update.
1543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1545 2013-12-20 Joseph Myers <joseph@codesourcery.com>
1547 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1548 asinh, atan, atan2, atanh, cbrt, cos and cosh.
1549 * math/auto-libm-test-out: Regenerated.
1550 * math/libm-test.inc (acosh_test_data): Add more tests.
1551 (atanh_test_data): Likewise.
1552 (ceil_test_data): Likewise.
1553 (copysign_test_data): Likewise.
1554 * sysdeps/i386/fpu/libm-test-ulps: Update.
1555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1557 * timezone/checktab.awk: Update from tzcode 2013i.
1558 * timezone/private.h: Likewise.
1559 * timezone/scheck.c: Likewise.
1560 * timezone/tzfile.h: Likewise.
1561 * timezone/tzselect.ksh: Likewise.
1562 * timezone/zdump.c: Likewise.
1563 * timezone/zic.c: Likewise.
1565 * math/auto-libm-test-in: Add tests of cpow.
1566 * math/auto-libm-test-out: Regenerated.
1567 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
1568 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
1570 (func_calc_desc): Add mpc_cc_c union field.
1571 (test_functions): Add cpow.
1572 (special_fill_2pi): New function.
1573 (special_real_inputs): Add 2pi.
1574 (calc_generic_results): Handle mpc_cc_c.
1575 * sysdeps/i386/fpu/libm-test-ulps: Update.
1576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1578 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
1579 csqrt, ctan and ctanh.
1580 * math/auto-libm-test-out: Regenerated.
1581 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1582 (TEST_COND_x86): Likewise.
1583 (ccos_test_data): Use AUTO_TESTS_c_c.
1584 (ccosh_test_data): Likewise.
1585 (cexp_test_data): Likewise.
1586 (clog_test_data): Likewise.
1587 (csqrt_test_data): Likewise.
1588 (ctan_test_data): Likewise.
1589 (ctan_tonearest_test_data): Likewise.
1590 (ctan_towardzero_test_data): Likewise.
1591 (ctan_downward_test_data): Likewise.
1592 (ctan_upward_test_data): Likewise.
1593 (ctanh_test_data): Likewise.
1594 (ctanh_tonearest_test_data): Likewise.
1595 (ctanh_towardzero_test_data): Likewise.
1596 (ctanh_downward_test_data): Likewise.
1597 (ctanh_upward_test_data): Likewise.
1598 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1600 (func_calc_desc): Add mpc_c_c union field.
1601 (FUNC_mpc_c_c): New macro.
1602 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
1603 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
1605 (special_fill_min_subnorm_p120): New function.
1606 (special_real_inputs): Add min_subnorm_p120.
1607 (calc_generic_results): Handle mpc_c_c.
1608 * sysdeps/i386/fpu/libm-test-ulps: Update.
1609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1611 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1613 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
1614 do_sin_slow): New functions.
1615 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
1616 cslow2, csloww1, csloww2): Use the new functions.
1618 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
1619 Use M to change sign of result instead of X. Assume X is
1621 (csloww1): Likewise.
1625 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
1630 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
1632 (sloww1): Don't adjust sign of DX.
1633 (csloww1): Likewise.
1634 (sloww2): Use X directly and don't adjust sign of DX.
1635 (csloww2): Likewise.
1637 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1639 * math/auto-libm-test-in: Add tests of cabs and carg.
1640 * math/auto-libm-test-out: Regenerated.
1641 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
1642 (carg_test_data): Likewise.
1643 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1645 (func_calc_desc): Add mpc_c_f union field.
1646 (test_functions): Add cabs and carg.
1647 (calc_generic_results): Handle mpc_c_f.
1649 * sysdeps/powerpc/powerpc32/libgcc-compat.S
1650 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
1651 as a macro and a compat symbol.
1652 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1653 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1654 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1655 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1656 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
1657 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
1659 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
1661 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
1663 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
1665 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
1667 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
1669 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
1670 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
1673 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1677 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1679 * manual/texinfo.tex: Update to version 2013-11-26.10 with
1680 trailing whitespace removed.
1681 * scripts/config.guess: Update to version 2013-11-29.
1682 * scripts/config.sub: Update to version 2013-10-01.
1684 * math/auto-libm-test-in: Add tests of sincos.
1685 * math/auto-libm-test-out: Regenerated.
1686 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
1687 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1689 (func_calc_desc): Add mpfr_f_11 union field.
1690 (test_functions): Add sincos.
1691 (calc_generic_results): Handle mpfr_f_11.
1692 * sysdeps/i386/fpu/libm-test-ulps: Update.
1693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1695 2013-12-19 Andreas Schwab <schwab@suse.de>
1697 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
1699 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1700 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1701 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
1703 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1705 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
1706 * sysdeps/i386/fpu/libm-test-ulps: Update.
1707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1710 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
1711 round-to-nearest mode when using frndint.
1712 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
1713 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1714 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1716 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
1718 * math/auto-libm-test-out: Regenerated.
1719 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
1720 (TEST_COND_x86): Likewise.
1721 (expm1_tonearest_test_data): New array.
1722 (expm1_test_tonearest): New function.
1723 (expm1_towardzero_test_data): New array.
1724 (expm1_test_towardzero): New function.
1725 (expm1_downward_test_data): New array.
1726 (expm1_test_downward): New function.
1727 (expm1_upward_test_data): New array.
1728 (expm1_test_upward): New function.
1729 (main): Run the new test functions.
1730 * sysdeps/i386/fpu/libm-test-ulps: Update.
1731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1733 * include/features.h: Update comment documenting feature test
1734 macros. Mention _DEFAULT_SOURCE in comment.
1735 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
1736 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
1737 _BSD_SOURCE and _SVID_SOURCE.
1738 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
1739 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
1740 !_SVID_SOURCE]: Likewise.
1741 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1742 (__USE_POSIX_IMPLICITLY): Define.
1743 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1744 (_POSIX_SOURCE): Undefine and redefine.
1745 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1746 (_POSIX_C_SOURCE): Likewise.
1747 * manual/creature.texi (_DEFAULT_SOURCE): Document.
1748 (Feature Test Macros): Update documentation of default features.
1750 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1752 * benchtests/Makefile: Add bench-strtok.
1753 * benchtests/bench-strtok.c: New file: strtok benchtest.
1755 2013-12-19 Allan McRae <allan@archlinux.org>
1757 * manual/install.texi: Suppress menu for plain text output.
1758 * INSTALL: Regenerated.
1760 2013-12-18 Brooks Moses <bmoses@google.com>
1763 * misc/getauxval.c: Include errno.h.
1764 (__getauxval): Set errno to ENOENT if the requested type is not
1766 * misc/sys/auxv.h (getauxval): Document that it may set errno;
1767 don't declare with __attribute_const__.
1768 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1769 * manual/startup.texi: Document that getauxval sets errno.
1771 2013-12-18 Joseph Myers <joseph@codesourcery.com>
1773 * math/auto-libm-test-in: Add tests of jn and yn.
1774 * math/auto-libm-test-out: Regenerated.
1775 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1776 (yn_test_data): Likewise.
1777 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1779 (func_calc_desc): Add mpfr_if_f union field.
1780 (FUNC_mpfr_if_f): New macro.
1781 (test_functions): Add jn and yn.
1782 (calc_generic_results): Assert type of second input for
1783 mpfr_ff_f. Handle mpfr_if_f.
1784 (output_for_one_input_case): Disable all checking for arguments
1785 fitting floating-point types in case of an integer argument.
1786 * sysdeps/i386/fpu/libm-test-ulps: Update.
1787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1790 Don't expect fegetround reference in libm.so.
1792 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1794 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1795 $(config-cflags-nofma).
1797 2013-12-18 Joseph Myers <joseph@codesourcery.com>
1799 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1800 * math/auto-libm-test-out: Regenerated.
1803 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1804 to determine exponent and adjust argument to have exponent of -1.
1805 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1807 * math/auto-libm-test-out: Regenerated.
1808 * sysdeps/i386/fpu/libm-test-ulps: Update.
1809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1811 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
1813 * manual/probes.texi: Remove cases when per-thread arenas are
1816 2013-12-18 Andreas Schwab <schwab@suse.de>
1818 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1819 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1820 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1821 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1822 * sysdeps/i386/i686/multiarch/Makefile: Update.
1823 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1825 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1827 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1828 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1830 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
1833 Support TZ transition times < 00:00:00.
1834 This is needed for version-3 tz-format files; it supports time
1835 stamps past 2037 for America/Godthab (the only entry in the tz
1836 database for which this change is relevant).
1837 * manual/time.texi (TZ Variable): Document transition times
1838 from -167:59:59 through -00:00:01.
1839 * time/tzset.c (tz_rule): Time of day is now signed.
1840 (__tzset_parse_tz): Parse negative time of day.
1842 Document TZ transition times >= 25:00:00.
1843 * manual/time.texi (TZ Variable): Document transition times from
1844 25:00:00 through 167:59:59. These are already supported, and this
1845 support will help with version-3 tz-format files.
1847 * manual/time.texi (TZ Variable): Modernize North America example
1848 to reflect current (i.e., 2007-and-later) daylight saving rules.
1850 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1852 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1854 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1855 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1856 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1857 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1858 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1859 * sysdeps/unix/bsd/bsdstat.h: Likewise.
1860 * sysdeps/unix/bsd/clock.c: Likewise.
1861 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1862 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1863 * sysdeps/unix/bsd/init-posix.c: Likewise.
1864 * sysdeps/unix/bsd/poll.c: Likewise.
1865 * sysdeps/unix/bsd/ptsname.c: Likewise.
1866 * sysdeps/unix/bsd/seekdir.c: Likewise.
1867 * sysdeps/unix/bsd/setegid.c: Likewise.
1868 * sysdeps/unix/bsd/seteuid.c: Likewise.
1869 * sysdeps/unix/bsd/setgid.c: Likewise.
1870 * sysdeps/unix/bsd/setrgid.c: Likewise.
1871 * sysdeps/unix/bsd/setruid.c: Likewise.
1872 * sysdeps/unix/bsd/setsid.c: Likewise.
1873 * sysdeps/unix/bsd/setuid.c: Likewise.
1874 * sysdeps/unix/bsd/sigaction.c: Likewise.
1875 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1876 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1877 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1878 * sysdeps/unix/bsd/telldir.c: Likewise.
1879 * sysdeps/unix/bsd/times.c: Likewise.
1880 * sysdeps/unix/bsd/usleep.c: Likewise.
1882 * misc/Makefile (install-lib): Remove libbsd-compat.a.
1883 ($(objpfx)libbsd-compat.a): Remove rule.
1885 * include/features.h (__FAVOR_BSD): Do not define.
1886 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1887 features conflicting with POSIX.
1888 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1889 (_BSD_SOURCE): Remove description of not being a subset of other
1890 feature test macros.
1891 * manual/job.texi (getpgrp): Do not document BSD version.
1892 (getpgid): Do not document by reference to BSD getpgrp.
1893 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1894 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1895 * signal/signal.h [__FAVOR_BSD]: Likewise.
1896 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1897 instead of making contents conditional on [__FAVOR_BSD].
1898 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1900 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1904 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1907 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1908 values below 2**-450, not 2**-500.
1909 * math/auto-libm-test-in: Don't allow spurious underflow from
1911 * math/auto-libm-test-out: Regenerated.
1915 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1916 values of ha and hb and sort them after adjusting subnormal
1918 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1920 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1921 values of ea and eb and sort them after adjusting subnormal
1923 * math/auto-libm-test-in: Do not expect some hypot tests of
1924 subnormals to fail. Add more hypot tests.
1925 * math/auto-libm-test-out: Regenerated.
1927 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1930 * sysdeps/sh/s_fma.c: New file.
1931 * sysdeps/sh/s_fmaf.c: New file.
1932 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
1934 * sysdeps/sh/Implies: Add sh/soft-fp.
1936 2013-12-16 Roland McGrath <roland@hack.frob.com>
1938 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
1939 level of indirection to members `objname', `errstring', `malloced'.
1940 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1941 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
1942 it as the __longjmp argument (just pass 1 instead).
1943 (_dl_catch_error): Initialize C with argument pointers and address of
1944 volatile local ERRCODE rather than copying values out of C at return.
1946 2013-12-16 Joseph Myers <joseph@codesourcery.com>
1948 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1949 * math/auto-libm-test-out: Regenerated.
1950 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1951 (hypot_test_data): Likewise.
1952 (pow_test_data): Likewise.
1953 (pow_tonearest_test_data): Likewise.
1954 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1956 (func_calc_desc): Add mpfr_ff_f union field.
1957 (FUNC_mpfr_ff_f): New macro.
1958 (test_functions): Add atan2, hypot and pow.
1959 (special_fill_min): New function.
1960 (special_fill_minus_min): Likewise.
1961 (special_fill_min_subnorm): Likewise.
1962 (special_fill_minus_min_subnorm): Likewise.
1963 (special_real_inputs): Add min, -min, min_subnorm and
1965 (calc_generic_results): Handle mpfr_ff_f.
1966 * sysdeps/i386/fpu/libm-test-ulps: Update.
1967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1969 2013-12-16 Will Newton <will.newton@linaro.org>
1971 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1972 (Aligned Memory Blocks): Add documentation for aligned_alloc
1973 and suggest it as an alternative to posix_memalign.
1974 (Hooks for Malloc): Document __memalign_hook is also called
1975 for aligned_alloc. (Summary of Malloc): Add summary for
1976 aligned alloc. Document __memalign_hook is also called
1979 2013-12-16 Will Newton <will.newton@linaro.org>
1981 * manual/memory.texi (Malloc Examples): Clarify default
1982 alignment documentation. Suggest posix_memalign rather
1983 than memalign or valloc.
1984 (Aligned Memory Blocks): Remove suggestion to use memalign
1985 or valloc. Remove obsolete comment about BSD.
1986 Document memalign errno values and mark the function obsolete.
1987 Document posix_memalign returned error codes. Mark valloc
1988 as obsolete. (Hooks for Malloc): __memalign_hook is also
1989 called for posix_memalign and valloc.
1990 (Summary of Malloc): Add posix_memalign to function summary.
1991 __memalign_hook is also called for posix_memalign and valloc.
1993 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1995 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1999 (sloww): Use mynumber union. Expand ternary operator into
2001 (cslow): use mynumber union.
2003 2013-12-16 Allan McRae <allan@archlinux.org>
2005 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
2006 * configure: Regenerated.
2008 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
2011 * configure.ac: Added --enable-maintainer-mode. Check for
2012 autoconf when enabled.
2013 * configure: Regenerated.
2015 * nscd/nscd.service: New file.
2016 * nscd/nscd.tmpfiles: New file.
2018 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
2021 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
2022 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
2023 * sysdeps/x86_64/multiarch/strstr.c: ... here.
2024 (strstr): Add __strstr_sse2_unaligned ifunc.
2025 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
2026 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
2027 (strcasestr): Remove __strcasestr_sse42 ifunc.
2028 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
2029 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2030 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2032 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2034 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2035 * sysdeps/sh/bits/fenv.h: ... here.
2036 * sysdeps/sh/sh4/fpu/bits: Remove directory.
2038 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2040 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2042 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2044 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2045 hypotf multiarch implementations.
2046 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2047 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2048 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2049 multiarch hypot for PPC64.
2050 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2051 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2052 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2053 multiarch hypotf for PPC64.
2055 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2057 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2058 modff multiarch implementations.
2059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
2060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
2061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
2062 multiarch modf for PPC64.
2063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
2064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
2065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
2066 multiarch modff for PPC64.
2068 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2070 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
2071 and logl multiarch implementations.
2072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
2073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
2074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
2075 multiarch logb for PPC64.
2076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
2077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
2078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
2079 multiarch logb for PPC64.
2080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
2081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
2082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
2083 multiarch logb for PPC64.
2085 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2087 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
2088 isinff multiarch implementation.
2089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
2091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
2092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
2093 multiarch isinf for PPC64.
2094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
2096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
2097 multiarch isinff for PPC64.
2099 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2101 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
2102 finitef multiarch implementation.
2103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
2105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
2106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
2107 multiarch finite for PPC64.
2108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
2110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
2111 multiarch finitef for PPC64.
2113 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2115 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
2116 lrint multiarch implementation.
2117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
2119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
2120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
2121 multiarch llrint for PPC64.
2122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
2123 multiarch lrint for PPC64.
2125 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2127 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
2128 copysignf multiarch implementation.
2129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
2131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
2133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
2134 multiarch copysign for PPC64.
2135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
2136 multiarch copysignf for PPC64.
2138 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2140 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
2141 multiarch implementation.
2142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
2144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
2146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
2148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
2150 multiarch llround for PPC64.
2151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
2152 multiarch trunc for PPC64.
2153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
2154 multiarch truncf for PPC64.
2156 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2158 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
2159 multiarch implementation.
2160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
2162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
2164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
2166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
2168 multiarch llround for PPC64.
2169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
2170 multiarch round for PPC64.
2171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
2172 multiarch roundf for PPC64.
2174 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2176 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
2177 multiarch implementation.
2178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
2180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
2182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
2184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
2186 multiarch llround for PPC64.
2187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
2188 multiarch floor for PPC64.
2189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
2190 multiarch floorf for PPC64.
2192 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2194 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
2195 multiarch implementation.
2196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
2198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
2200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
2202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
2204 multiarch llround for PPC64.
2205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
2206 multiarch ceil for PPC64.
2207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
2208 multiarch ceilf for PPC64.
2210 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2212 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2213 multiarch implementation.
2214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
2216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
2218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
2220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
2221 multiarch llround for PPC64.
2222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
2223 multiarch lround for PPC64.
2225 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2227 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
2228 multiarch implementation.
2229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
2230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
2231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
2233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
2234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
2235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
2236 multiarch isnan for PPC64.
2237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
2238 multiarch isnanf for PPC64.
2240 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2242 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
2243 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
2244 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
2245 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
2246 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
2247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
2249 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2251 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
2252 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2253 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2254 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2256 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2258 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
2259 multiarch implementations.
2260 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2261 (__libc_ifunc_impl_list): Likewise.
2262 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2263 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
2264 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
2265 multiarch stpcpy for PPC64.
2267 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2269 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
2270 multiarch implementations.
2271 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2272 (__libc_ifunc_impl_list): Likewise.
2273 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
2274 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
2275 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
2276 multiarch strcpy for PPC64.
2278 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2280 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
2281 redefine function name.
2282 (_wordcopy_fwd_dest_aligned): Likewise.
2283 (_wordcopy_bwd_aligned): Likewise.
2284 (_wordcopy_bwd_dest_aligned): Likewise.
2285 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
2286 multiarch implementations.
2287 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2288 (__libc_ifunc_impl_list): Likewise.
2289 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
2290 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
2291 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
2292 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
2293 multiarch wcscpy for PPC64.
2295 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2297 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
2298 multiarch implementations.
2299 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2300 (__libc_ifunc_impl_list): Likewise.
2301 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
2302 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
2303 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
2304 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
2305 multiarch wcscpy for PPC64.
2307 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2309 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
2310 multiarch implementations.
2311 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2312 (__libc_ifunc_impl_list): Likewise.
2313 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
2314 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
2315 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
2316 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
2317 multiarch wcsrchr for PPC64.
2319 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2321 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
2322 multiarch implementations.
2323 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2324 (__libc_ifunc_impl_list): Likewise.
2325 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
2326 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
2327 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
2328 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
2329 multiarch wcschr for PPC64.
2331 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2333 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
2334 multiarch implementations.
2335 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2336 (__libc_ifunc_impl_list): Likewise.
2337 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
2338 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
2339 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
2340 multiarch strchrnul for PPC64.
2342 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2344 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
2346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2347 (__libc_ifunc_impl_list): Likewise.
2348 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
2349 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
2350 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
2351 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
2354 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2356 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
2358 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2359 (__libc_ifunc_impl_list): Likewise.
2360 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
2361 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
2362 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
2363 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
2366 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2368 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
2369 multiarch implementations.
2370 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2371 (__libc_ifunc_impl_list): Likewise.
2372 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
2373 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
2374 strncasecmp for PPC64.
2375 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
2376 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
2377 multiarch strncasecmp_l for PPC64.
2379 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2381 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
2382 multiarch implementations.
2383 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2384 (__libc_ifunc_impl_list): Likewise.
2385 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
2386 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
2387 multiarch strcasecmp for PPC64.
2388 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
2390 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
2391 multiarch strcasecmp_l for PPC64.
2393 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2395 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
2397 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2398 (__libc_ifunc_impl_list): Likewise.
2399 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
2400 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
2401 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
2404 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2406 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
2408 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2409 (__libc_ifunc_impl_list): Likewise.
2410 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
2411 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
2412 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
2415 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2417 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
2419 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2420 (__libc_ifunc_impl_list): Likewise.
2421 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
2422 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
2423 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
2424 rawmemrchr for PPC64.
2426 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2428 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
2430 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2431 (__libc_ifunc_impl_list): Likewise.
2432 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
2433 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
2434 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
2437 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2439 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
2441 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2442 (__libc_ifunc_impl_list): Likewise.
2443 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
2444 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
2445 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
2448 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2450 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
2452 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2453 (__libc_ifunc_impl_list): Likewise.
2454 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
2455 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
2456 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
2459 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2461 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
2462 avoid cretion of __bzero symbol.
2463 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
2465 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
2467 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
2469 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
2470 multiarch implementations.
2471 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2472 (__libc_ifunc_impl_list): Likewise.
2473 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
2474 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
2475 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
2476 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
2478 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
2479 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
2480 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
2481 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
2482 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
2484 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
2486 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2488 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
2489 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
2491 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2492 (__libc_ifunc_impl_list): Likewise.
2493 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
2494 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
2495 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
2496 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
2499 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2501 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
2502 multiarch for POWER/PPC64.
2503 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2504 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
2505 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
2506 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
2507 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
2508 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
2509 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
2510 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
2511 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
2514 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2516 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
2517 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
2518 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
2519 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
2520 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
2521 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
2522 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
2523 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
2524 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
2525 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
2526 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
2527 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
2528 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
2529 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
2530 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
2531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
2532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
2533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
2534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
2535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
2536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
2537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
2539 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2541 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
2543 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2545 * benchtests/Makefile (bench): Add exp2 and log2.
2546 (LDLIBS-bench-exp2): Add -lm.
2547 (LDLIBS-bench-log2): Likewise.
2548 * benchtests/exp2-inputs: New inputs file.
2549 * benchtests/log2-inputs: New inputs file.
2550 * benchtests/log-inputs: Add new inputs.
2551 * benchtests/tan-inputs: Likewise.
2553 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2555 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
2557 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
2558 csloww1, csloww2): ... from here.
2560 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
2561 instead of structures.
2562 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
2563 (POLYNOMIAL): Likewise.
2564 (TAYLOR_SLOW): Likewise.
2572 (bsloww1): Likewise.
2573 (bsloww2): Likewise.
2576 (csloww1): Likewise.
2577 (csloww2): Likewise.
2579 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
2581 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
2582 (__malloc_assert, __libc_realloc, __libc_calloc,
2583 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
2585 * malloc/hooks.c (realloc_check): Likewise.
2587 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
2589 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
2590 * malloc/arena.c: Remove PER_THREAD conditional.
2591 [!PER_THREAD]: Remove code.
2592 (ptmalloc_unlock_all2): Likewise.
2593 (ptmalloc_init): Likewise.
2594 (_int_new_arena): Likewise.
2595 (arena_get2): Likewise.
2596 * malloc/hooks.c (__malloc_get_state): Likewise.
2597 (__malloc_set_state): Likewise.
2598 * malloc/malloc.c: Likewise.
2599 (struct malloc_state): Likewise.
2600 (struct malloc_par): Likewise.
2601 (__libc_realloc): Likewise.
2602 (__libc_mallopt): Likewise.
2604 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2606 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
2608 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
2610 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
2611 macro to a function. Check for zero perturb_byte.
2612 (_int_malloc, _int_free): Remove zero perturb_byte checks.
2614 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
2616 * malloc/malloc.c: (force_reg): Remove.
2617 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
2618 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
2619 force_reg by atomic_forced_read.
2620 * malloc/arena.c (ptmalloc_init): Likewise.
2621 * malloc/hooks.c (top_check): Likewise.
2623 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2627 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
2629 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2631 2013-12-08 Joseph Myers <joseph@codesourcery.com>
2633 * math/auto-libm-test-in: Add tests of lgamma.
2634 * math/auto-libm-test-out: Regenerated.
2635 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
2636 (M_LOG_2_SQRT_PIl): Likewise.
2637 (lgamma_test_data): Use AUTO_TESTS_f_f1.
2638 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2640 (func_calc_desc): Add mpfr_f_f1 union field.
2649 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
2650 (test_functions): Add lgamma.
2651 (calc_generic_results): Handle mpfr_f_f1.
2652 * sysdeps/i386/fpu/libm-test-ulps: Update.
2653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2655 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2657 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
2658 __mpn_add_n for PowerPC64/POWER7.
2659 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
2660 __mpn_sub_n for PowerPC64/POWER7.
2662 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2664 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
2665 __mpn_addmul_1 for PowerPC64.
2666 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
2667 __mpn_submul_1 for PowerPC64.
2668 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
2670 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
2673 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
2676 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
2678 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2680 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
2682 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2684 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
2685 add multiarch folders.
2686 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
2687 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
2688 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
2689 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
2690 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
2691 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
2692 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
2693 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
2694 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
2695 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
2696 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
2697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
2698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
2699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
2700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
2701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
2702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
2704 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2707 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
2708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
2710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
2712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
2713 multiarch __ieee754_hypot for PowerPC32.
2714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
2716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
2718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
2719 multiarch __ieee754_hypotf for PowerPC32.
2721 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2723 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
2724 long_double_symbol only if __logbl is defined.
2725 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
2726 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
2727 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
2728 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
2729 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
2730 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
2731 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
2732 path for implementation.
2733 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2734 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2736 logb, and logbl multiarch implementations for PowerPC32.
2737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2742 multiarch logb for PowerPC32.
2743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2748 multiarch logbf for PowerPC32.
2749 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2753 multiarch logbl implementation for PowerPC32.
2755 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2758 and modff multiarch implementations.
2759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2764 multiarch modf for PowerPC32.
2765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2770 multiarch modff for PowerPC32.
2772 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2775 and lrintf multiarch implementations.
2776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2781 multiarch lrint for PowerPC32.
2782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2783 file: multiarch lrintf for PowerPC32.
2785 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2788 and lroundf multiarch implementations.
2789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2796 multiarch lround for PowerPC32.
2797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2798 file: multiarch lroundf for PowerPC32.
2800 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2803 copysign and copysignf multiarch implementations.
2804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2809 file: multiarch copysign for PowerPC32.
2810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2811 file: multiarch copysignf for PowerPC32.
2813 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2816 and truncf multiarch implementations.
2817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2822 multiarch trunc for PowerPC32.
2823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2828 multiarch truncf for PowerPC32.
2830 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2833 and roundf multiarch implementations.
2834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2839 multiarch round for PowerPC32.
2840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2845 multiarch roundf for PowerPC32.
2847 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2850 and floorf multiarch implementations.
2851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2856 multiarch floor for PowerPC32.
2857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2862 multiarch floorf for PowerPC32.
2864 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2867 and ceilf multiarch implementations.
2868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2873 multiarch ceil for PowerPC32.
2874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2879 multiarch ceilf for PowerPC32.
2881 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2883 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2885 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2888 and finitef multiarch implementations.
2889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2894 multiarch finite for PowerPC32.
2895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2898 file: multiarch finitef for PowerPC32.
2900 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2903 and isinff multiarch implementations.
2904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2909 multiarch isinf for PowerPC32.
2910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2913 multiarch isinff for PowerPC32.
2915 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2917 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2918 alias when __isnan is defined.
2919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2920 and isnanf multiarch implementations.
2921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2930 multiarch isnan for PowerPC32.
2931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2936 multiarch isnanf for PowerPC32.
2938 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2941 and sqrtf multiarch implementations.
2942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2947 multiarch sqrt for PowerPC32.
2948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2953 multiarch sqrtf for PowerPC32.
2955 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2958 and llroundf multiarch implementations.
2959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2966 file: multiarch llround for PowerPC32.
2967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2968 file: multiarch llroundf for PowerPC32.
2970 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2973 multiarch PowerPC32 fpu implementations.
2974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2979 multiarch llrint for PowerPC32.
2980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2987 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2991 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2993 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2995 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2997 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2999 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
3000 multiarch wordcopy for PPC32.
3001 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3003 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3004 (__libc_ifunc_impl_list): Likewise.
3005 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
3006 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
3007 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
3008 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
3009 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
3010 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
3012 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3014 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
3015 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
3017 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
3019 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
3021 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3022 multiarch wcscpy for PPC32.
3023 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3025 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3026 (__libc_ifunc_impl_list): Likewise.
3027 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3028 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3029 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
3030 sysdeps/powerpc/power6/wcscpy.c.
3032 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3034 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3035 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3037 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3039 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3041 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3042 multiarch wcsrchr for PPC32.
3043 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3045 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3046 (__libc_ifunc_impl_list): Likewise.
3047 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3048 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3049 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3050 sysdeps/powerpc/power6/wcsrchr.c.
3052 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3054 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3056 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3058 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3059 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
3060 multiarch wcschr for PPc32.
3061 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3063 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3064 (__libc_ifunc_impl_list): Likewise.
3065 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
3066 * sysdeps/powerpc/power6/wcschr.c: ... to here.
3067 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
3068 sysdeps/powerpc/power6/wcschr.c.
3070 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3072 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
3073 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
3075 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
3076 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
3077 file: multiarch strchr for PPC32.
3078 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
3080 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3081 (__libc_ifunc_impl_list): Likewise.
3083 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3085 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
3087 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
3089 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
3091 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
3092 multiarch strchrnul for PPC32.
3093 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
3095 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3096 (__libc_ifunc_impl_list): Likewise.
3098 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3100 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
3102 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
3103 multiarch strncasecmp for PPC32.
3104 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
3106 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
3107 multiarch strncasecmp_l for PPC32.
3108 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
3109 strncasecmp multiarch objects.
3110 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3111 (__libc_ifunc_impl_list): Likewise.
3113 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3115 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
3117 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
3118 multiarch strncasecmp for PPC32.
3119 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3121 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
3122 multiarch strcasecmp_l for PPC32.
3123 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
3125 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3126 (__libc_ifunc_impl_list): Likewise.
3128 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3130 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
3132 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
3134 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
3135 multiarch strncmp for PPC32.
3136 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
3138 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3139 (__libc_ifunc_impl_list): Likewise.
3141 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3143 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
3144 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
3146 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
3147 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
3148 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
3150 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3151 (__libc_ifunc_impl_list): Likewise.
3153 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3155 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
3157 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
3159 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
3160 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
3162 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3163 (__libc_ifunc_impl_list): Likewise.
3165 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3167 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
3169 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
3171 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
3172 multiarch rawmemchr for PPC32.
3173 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
3175 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3176 (__libc_ifunc_impl_list): Likewise.
3178 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3180 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
3182 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
3184 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
3185 file: memrchr multiarch for PPC32.
3186 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
3188 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3189 (__libc_ifunc_impl_list): Likewise.
3191 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3193 * string/memchr.c (__memchr): Using macro to redefine symbol name.
3194 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
3196 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
3197 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
3198 multiarch memchr for PPC32.
3199 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
3201 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3202 (__libc_ifunc_impl_list): Likewise.
3204 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3206 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
3207 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
3209 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
3211 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
3212 file: multiarch mempcpy for PPC32.
3213 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
3215 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3216 (__libc_ifunc_impl_list): Likewise.
3218 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3220 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
3221 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
3222 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
3223 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
3224 multiarch bzero for PPC32.
3225 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
3227 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
3229 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
3230 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
3231 file: multiarch memset for PPC32.
3232 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
3233 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
3234 memset multiarch objects.
3235 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3236 (__libc_ifunc_impl_list): Likewise.
3238 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3240 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
3242 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
3243 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
3245 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
3246 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
3248 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3249 (__libc_ifunc_impl_list): Likewise.
3251 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3253 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
3254 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
3255 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
3257 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
3259 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
3261 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
3262 multiarch memcpy for PPC32.
3263 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
3265 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3266 (__libc_ifunc_impl_list): Likewise.
3268 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3270 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
3271 support multiarch for POWER/PPC32.
3272 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3274 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
3276 Implies file to make multiarch folder appers before the fpu and
3277 default folder for power4 configuration.
3279 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3281 * scripts/bench.pl: Append volatile keyword to type.
3283 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3285 * sysdeps/sh/sotruss-lib.c: New file.
3286 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
3288 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3292 2013-12-05 Joseph Myers <joseph@codesourcery.com>
3295 * math/w_tgamma.c: Include <errno.h>.
3296 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
3297 * math/w_tgammaf.c: Include <errno.h>.
3298 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
3299 * math/w_tgammal.c: Include <errno.h>.
3300 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
3301 * math/auto-libm-test-in: Do not allow missing errno on tgamma
3302 underflow. Add more tgamma tests.
3303 * math/auto-libm-test-out: Regenerated.
3304 * sysdeps/i386/fpu/libm-test-ulps: Update.
3305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3307 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
3308 sin, sinh, tan, tanh, tgamma, y0 and y1.
3309 * math/auto-libm-test-out: Regenerated.
3310 * math/libm-test.inc (TEST_COND_x86_64): New macro.
3311 (TEST_COND_x86): Likewise.
3312 (M_E2l): Remove macro.
3314 (M_2_SQRT_PIl): Likewise.
3315 (M_SQRT_PIl): Likewise.
3316 (M_1_DIV_El): Likewise.
3317 (log_test_data): Use AUTO_TESTS_f_f.
3318 (log10_test_data): Likewise.
3319 (log1p_test_data): Likewise.
3320 (log2_test_data): Likewise.
3321 (sin_test_data): Likewise.
3322 (sin_tonearest_test_data): Likewise.
3323 (sin_towardzero_test_data): Likewise.
3324 (sin_downward_test_data): Likewise.
3325 (sin_upward_test_data): Likewise.
3326 (sinh_test_data): Likewise.
3327 (sinh_tonearest_test_data): Likewise.
3328 (sinh_towardzero_test_data): Likewise.
3329 (sinh_downward_test_data): Likewise.
3330 (sinh_upward_test_data): Likewise.
3331 (tan_test_data): Likewise.
3332 (tan_tonearest_test_data): Likewise.
3333 (tan_towardzero_test_data): Likewise.
3334 (tan_downward_test_data): Likewise.
3335 (tan_upward_test_data): Likewise.
3336 (tanh_test_data): Likewise.
3337 (tgamma_test_data): Likewise.
3338 (y0_test_data): Likewise.
3339 (y1_test_data): Likewise.
3340 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
3341 (special_real_inputs): Add pi/4.
3342 * sysdeps/i386/fpu/libm-test-ulps: Update.
3343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3345 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3347 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
3348 "longjmp_target" static probes.
3349 (__longjmp): Rename to __longjmp_symbol.
3350 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3351 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
3352 on which longjmp to generate.
3353 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3354 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
3356 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3357 (__sigjmp_save): Rename to __sigjmp_save_symbol.
3358 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3359 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
3360 and __sigjmp_save_symbol based on which sigsetjmp to generated.
3361 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
3362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
3363 __longjmp_symbol based on which __longjmp to generate.
3364 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
3366 (setjmp): Rename to setjmp_symbol.
3367 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3368 (_setjmp): Rename to _setjmp_symbol.
3369 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3370 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
3371 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
3372 which setjmp to generate.
3373 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
3374 "longjmp_target" static probes.
3376 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3378 * benchtests/README: Add note about output arguments.
3379 * benchtests/bench-sincos.c: Remove file.
3380 * benchtests/sincos-inputs: New file.
3381 * scripts/bench.pl: Identify output arguments and define
3382 static variables for them.
3384 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
3387 * Makefile (INSTALL): Add install-plain.texi as the primary
3389 * manual/install-plain.texi: New file.
3390 * manual/install.texi: Include node directive only for
3391 non-plaintext output.
3393 2013-12-04 Joseph Myers <joseph@codesourcery.com>
3395 * stdlib/longlong.h: Update from GCC.
3399 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
3400 * math/w_j0f.c (y0f): Likewise.
3401 * math/w_j0l.c (__y0l): Likewise.
3402 * math/w_j1.c (y1): Likewise.
3403 * math/w_j1f.c (y1f): Likewise.
3404 * math/w_j1l.c (__y1l): Likewise
3405 * math/w_jn.c (yn): Likewise.
3406 * math/w_jnf.c (ynf): Likewise.
3407 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
3408 Bessel function pole errors in _POSIX_ mode. Use NAN as return
3409 value for Bessel function domain errors outside _SVID_ mode.
3410 Adjust sign of return value for yn (negative integer, 0).
3411 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
3412 by zero in return for negative x and set sign appropriately for
3414 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
3415 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3416 * math/libm-test.inc (y0_test_data): Add more tests and adjust
3417 expectations in error cases.
3418 (y1_test_data): Likewise.
3419 (yn_test_data): Likewise.
3420 * sysdeps/i386/fpu/libm-test-ulps: Update.
3421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3423 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3425 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
3426 "64" to "64-v1". Add "64-v2".
3427 (abi-64-options): Rename to ...
3428 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
3429 (abi-64-condition): Rename to ...
3430 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
3431 (abi-64-ld-soname): Rename to ...
3432 (abi-64-v1-ld-soname): ... this.
3433 (abi-64-v2-options): Define.
3434 (abi-64-v2-condition): Likewise.
3435 (abi-64-v2-ld-soname): Likewise.
3436 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
3437 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
3438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
3439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
3440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
3442 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3443 Alan Modra <amodra@gmail.com>
3445 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
3446 New versions for use with the ELFv2 ABI.
3447 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
3448 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
3450 (struct La_ppc64v2_retval): Likewise.
3451 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
3452 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
3453 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
3454 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
3455 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
3456 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
3457 Do not save or restore CR.
3458 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
3459 (_dl_profile_resolve): Do no save or restore CR. Support extended
3460 return values for ELFv2 ABI. Fix location of FPR return registers.
3461 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
3462 updated values for _CALL_ELF == 2.
3463 (La_regs, La_retval, int_retval): Likewise.
3465 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3467 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
3468 (FRAME_MIN_SIZE_PARM): Likewise.
3469 (FRAME_BACKCHAIN): Likewise.
3470 (FRAME_CR_SAVE): Likewise.
3471 (FRAME_LR_SAVE): Likewise.
3472 (FRAME_TOC_SAVE): Likewise.
3473 (FRAME_PARM_SAVE): Likewise.
3474 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3475 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3476 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3477 (call_mcount_parm_offset): New macro.
3478 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
3479 (PROF): Use symbolic stack frame offsets.
3480 (TAIL_CALL_SYSCALL_ERROR): Likewise.
3481 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
3482 Redefine in terms of FRAME_MIN_SIZE.
3483 (_dl_runtime_resolve): Use symbolic stack frame offsets.
3484 (_dl_profile_resolve): Likewise. Update comment.
3485 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
3486 symbols stack frame offsets.
3487 (__sigsetjmp): Likewise.
3488 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
3489 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
3490 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
3491 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
3493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
3494 (FRAME_BACKCHAIN): Remove.
3495 (FRAME_CR_SAVE): Likewise.
3496 (FRAME_LR_SAVE): Likewise.
3497 (FRAME_COMPILER_DW): Likewise.
3498 (FRAME_LINKER_DW): Likewise.
3499 (FRAME_TOC_SAVE): Likewise.
3500 (FRAME_PARM_SAVE): Likewise.
3501 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3502 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3503 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
3505 (CHECK_SP): Use symbolic stack frame offsets.
3506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
3507 zone" instead of caller's parameter save area for temp storage.
3508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3509 Likewise. Also, use symbolic stack frame offsets.
3510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
3511 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
3512 our own stack frame instead of the caller's.
3513 (__socket): Use symbolic stack frame offsets.
3515 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3516 Alan Modra <amodra@gmail.com>
3518 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
3520 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
3521 PPC64_LOCAL_ENTRY_OFFSET): Define.
3522 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
3524 (elf_machine_fixup_plt): Call it.
3525 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
3527 (elf_machine_rela): Update call to elf_machine_plt_conflict.
3528 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3529 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
3530 r2 before calling target.
3532 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3533 Alan Modra <amodra@gmail.com>
3535 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
3536 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
3537 versions of macros to support ELFv2 ABI.
3538 (LOCALENTRY): New macro.
3539 (ENTRY, EALIGN): Use it.
3540 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
3541 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
3542 fall through into ENTRY entry point.
3543 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
3544 Only define if _CALL_ELF != 2.
3546 (elf_machine_matches_host): Verify ABI version matches.
3547 (RTLD_START): Use LOCALENTRY.
3548 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
3549 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
3550 (PLT_ENTRY_WORDS): New macro.
3551 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
3552 (elf_machine_runtime_setup): Support ELFv2 ABI.
3553 (elf_machine_fixup_plt): Likewise.
3554 (elf_machine_plt_conflict): Likewise.
3555 (resolve_ifunc): Likewise.
3556 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3557 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
3560 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
3561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3562 (makecontext): Support ELFv2 ABI.
3563 * elf/elf.h (EF_PPC64_ABI): Define.
3565 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3567 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
3568 New assembler macro.
3569 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
3570 [ASSEMBLER] (ENTRY): ... but instead here ...
3571 [ASSEMBLER] (EALIGN): ... and here.
3572 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
3573 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
3574 [!ASSEMBLER] (ENTRY_2): Use it.
3575 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
3576 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
3577 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3578 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
3579 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
3580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
3581 Use PPC64_LOAD_FUNCPTR.
3583 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3585 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
3587 2013-12-04 Alan Modra <amodra@gmail.com>
3589 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
3590 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
3591 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
3592 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
3594 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
3595 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
3596 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
3597 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
3598 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
3599 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
3601 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3604 (__makecontext): Fix incorrect CFI when backtracing out of
3605 context created via makecontext.
3606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
3607 (__setcontext): Fix incorrect CFI during switch to new context.
3608 (__novec_setcontext): Likewise.
3610 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
3613 * time/strptime_l.c (__strptime_internal): Allow modifiers
3615 * time/tst-strptime.c (day_tests): Add testcase.
3618 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3620 * scripts/bench.pl: Skip over blank lines.
3622 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
3625 * manual/time.texi (Calendar Time): Clarify what timezone functions
3628 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3632 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
3634 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
3636 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3637 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3638 * debug/memset_chk.c (__memset_chk): Likewise.
3639 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
3640 * debug/strncpy_chk.c: Likewise.
3642 2013-12-03 Joseph Myers <joseph@codesourcery.com>
3646 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
3647 (__ieee754_exp): For possibly underflowing results, check size of
3648 result and force underflow exception if required.
3649 * math/auto-libm-test-in: Add more tests of exp.
3650 * math/auto-libm-test-out: Regenerated.
3651 * sysdeps/i386/fpu/libm-test-ulps: Update.
3652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3655 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
3656 * math/w_exp2f.c (__exp2f): Likewise.
3657 * math/w_exp2l.c (__exp2l): Likewise.
3658 * math/auto-libm-test-in: Do not allow missing errno on exp2
3660 * math/auto-libm-test-out: Regenerated.
3662 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
3665 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
3666 handle filename validation.
3667 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
3670 2013-12-03 Joseph Myers <joseph@codesourcery.com>
3673 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
3674 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
3675 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
3677 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
3678 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
3679 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3680 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
3681 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3682 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
3683 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3684 * math/auto-libm-test-in: Don't allow missing errno from erfc.
3685 Add more erfc tests.
3686 * math/auto-libm-test-out: Regenerated.
3687 * sysdeps/i386/fpu/libm-test-ulps: Update.
3688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3690 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
3691 exp2, expm1, j0 and j1.
3692 * math/auto-libm-test-out: Regenerated.
3693 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
3694 (erfc_test_data): Likewise.
3695 (exp_test_data): Likewise.
3696 (exp_tonearest_test_data): Likewise.
3697 (exp_towardzero_test_data): Likewise.
3698 (exp_downward_test_data): Likewise.
3699 (exp_upward_test_data): Likewise.
3700 (exp10_test_data): Likewise.
3701 (exp2_test_data): Likewise.
3702 (expm1_test_data): Likewise.
3703 (j0_test_data): Likewise.
3704 (j1_test_data): Likewise.
3705 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
3706 (input_flag_type): Add flag_xfail_rounding.
3707 (input_flags): Add xfail-rounding.
3708 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
3709 (output_for_one_input_case): Handle flag_xfail_rounding.
3710 * sysdeps/i386/fpu/libm-test-ulps: Update.
3711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3713 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
3716 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
3719 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3722 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3723 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
3724 (STAP_PROBE0): New macro.
3725 (STAP_PROBE1): Likewise.
3726 (STAP_PROBE2): Likewise.
3727 (STAP_PROBE3): Likewise.
3728 (STAP_PROBE4): Likewise.
3730 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
3732 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3734 2013-12-02 Steve Ellcey <sellcey@mips.com>
3736 * benchtests/Makefile (bench): Add sqrt.
3737 (LDLIBS-bench-sqrt): New.
3738 * benchtests/sqrt-input: New.
3740 2013-12-02 Pavel Simerda <psimerda@redhat.com>
3742 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3743 (GAIH_EAI): Likewise.
3744 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3745 (gaih_inet): Likewise.
3746 (getaddrinfo): Don't use GAIH_EAI.
3748 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3749 (struct gaih): Remove definition.
3751 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3753 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3754 Use HERRNOP directly.
3756 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3760 2013-11-30 Joseph Myers <joseph@codesourcery.com>
3762 * math/gen-auto-libm-tests.c (test_functions): Add more
3763 single-argument functions.
3764 (special_fill_pi_2): New function.
3765 (special_fill_minus_pi_2): Likewise.
3766 (special_fill_pi_6): Likewise.
3767 (special_fill_minus_pi_6): Likewise.
3768 (special_fill_pi_3): Likewise.
3769 (special_fill_2pi_3): Likewise.
3770 (special_fill_e): Likewise.
3771 (special_fill_1_e): Likewise.
3772 (special_fill_e_minus_1): Likewise.
3773 (special_real_inputs): Add more special inputs.
3774 (output_for_one_input_case): Do not require ERANGE on underflow to
3775 zero if round-to-nearest result does not underflow to zero, unless
3776 exact results required.
3777 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3778 atan, atanh, cbrt, cos and cosh.
3779 * math/auto-libm-test-out: Regenerated.
3780 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3781 (acos_tonearest_test_data): Likewise.
3782 (acos_towardzero_test_data): Likewise.
3783 (acos_downward_test_data): Likewise.
3784 (acos_upward_test_data): Likewise.
3785 (acosh_test_data): Likewise.
3786 (asin_test_data): Likewise.
3787 (asin_tonearest_test_data): Likewise.
3788 (asin_towardzero_test_data): Likewise.
3789 (asin_upward_test_data): Likewise.
3790 (asinh_test_data): Likewise.
3791 (atan_test_data): Likewise.
3792 (atanh_test_data): Likewise.
3793 (cbrt_test_data): Likewise.
3794 (cos_test_data): Likewise.
3795 (cos_tonearest_test_data): Likewise.
3796 (cos_towardzero_test_data): Likewise.
3797 (cos_downward_test_data): Likewise.
3798 (cos_upward_test_data): Likewise.
3799 (cosh_test_data): Likewise.
3800 (cosh_tonearest_test_data): Likewise.
3801 (cosh_towardzero_test_data): Likewise.
3802 (cosh_downward_test_data): Likewise.
3803 (cosh_upward_test_data): Likewise.
3804 * sysdeps/i386/fpu/libm-test-ulps: Update.
3805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3807 2013-11-29 Joseph Myers <joseph@codesourcery.com>
3810 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3811 * math/w_exp10f.c (__exp10f): Likewise.
3812 * math/w_exp10l.c (__exp10l): Likewise.
3813 * math/libm-test.inc (exp10_test_data): Add more tests and expect
3814 errno settings in existing tests.
3817 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3818 precision control set to double precision.
3819 * sysdeps/i386/fpu/w_sqrt.c: New file.
3820 * math/auto-libm-test-in: Add more tests.
3821 * math/auto-libm-test-out: Update.
3823 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3824 (sqrt_test_tonearest): New function.
3825 (sqrt_towardzero_test_data): New variable.
3826 (sqrt_test_towardzero): New function.
3827 (sqrt_downward_test_data): New variable.
3828 (sqrt_test_downward): New function.
3829 (sqrt_upward_test_data): New variable.
3830 (sqrt_test_upward): New function.
3831 (main): Call the new functions.
3833 * math/gen-auto-libm-tests.c: New file.
3834 * math/auto-libm-test-in: Likewise.
3835 * math/auto-libm-test-out: New generated file.
3836 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3838 (%beautify): Add generated representations of zero.
3839 (top level): Set $auto_input and call parse_auto_input.
3840 (beautify): Remove trailing "f" from hex float constants.
3841 (parse_args): Handle XFAIL_TEST.
3842 (convert_condition): New function.
3843 (or_value): Likewise.
3844 (or_cond_value): Likewise.
3845 (generate_testfile): Handle AUTO_TESTS_* lines.
3846 (parse_auto_input): New function.
3847 * math/libm-test.inc (XFAIL_TEST): New macro.
3848 (ERRNO_UNCHANGED): Update value.
3849 (ERRNO_EDOM): Likewise.
3850 (ERRNO_ERANGE): Likewise.
3851 (IGNORE_RESULT): Likewise.
3852 (TEST_COND_flt_32): New macro.
3853 (TEST_COND_dbl_64): Likewise.
3854 (TEST_COND_ldbl_96_intel): Likewise.
3855 (TEST_COND_ldbl_96_m68k): Likewise.
3856 (TEST_COND_ldbl_128): Likewise.
3857 (TEST_COND_ldbl_128ibm): Likewise.
3858 (TEST_COND_long32): Likewise.
3859 (TEST_COND_long64): Likewise.
3860 (TEST_COND_before_rounding): Likewise.
3861 (TEST_COND_after_rounding): Likewise.
3862 (enable_test): Handle XFAIL_TEST flag.
3863 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3864 with finite results.
3865 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3868 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3869 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3872 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3873 __tls_get_addr_internal instead of __tls_get_offset in order to
3874 avoid GOT pointer dependency. Make rtld export
3875 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3876 __tls_get_addr since we are a __tls_get_offset platform.
3877 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3878 GOT pointer being set up before.
3879 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3881 2013-11-28 Joseph Myers <joseph@codesourcery.com>
3883 * manual/math.texi (Errors in Math Functions): Document accuracy
3887 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3888 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3889 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3890 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3891 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3892 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3893 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3894 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3895 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3896 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3897 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3898 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3899 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3900 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3901 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3902 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3904 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3905 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3906 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3907 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3908 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3910 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3912 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3914 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3915 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3916 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3917 atomic-feupdateenv and flt-rounds.
3918 * sysdeps/powerpc/nofpu/Versions (libc): Add
3919 __atomic_feholdexcept, __atomic_feclearexcept,
3920 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3921 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3922 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3923 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3924 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3929 * manual/arith.texi (FP Exceptions): Document that exceptions may
3930 not be raised when matherr is used.
3931 (Math Error Reporting): Document overflow in directed rounding
3932 modes. Document that errno may not be set when finite values are
3933 returned on overflow. Document intent to set errno on underflow
3934 only for underflow to zero.
3937 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3938 round-to-nearest then adjust result for other rounding modes.
3939 * include/fenv.h (fegetround): Use libm_hidden_proto.
3940 * math/fegetround.c (fegetround): Use libm_hidden_def.
3941 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3942 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3943 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3944 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3946 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3947 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3948 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3949 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3951 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3954 * nss/Versions (libnss_files): Add
3955 _nss_files_gethostbyname3_r.
3956 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3958 (HOST_DB_LOOKUP): Remove macro.
3959 (_nss_files_gethostbyname_r): Implement function without the
3960 HOST_DB_LOOKUP macro.
3961 (_nss_files_gethostbyname2_r): Likewise.
3963 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
3965 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3967 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
3969 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3970 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3973 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3975 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3976 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3977 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3978 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3979 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3980 __fe_nomask_env_priv and attribute_hidden.
3981 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3982 (libc_feupdateenv_test_ppc): Likewise.
3983 (libc_feresetround_ppc): Likewise.
3984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3985 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3986 compat_symbol macro.
3987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3988 (__fe_nomask_env): Likewise.
3989 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3991 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3993 * string/Makefile: Remove ifunc tests.
3994 * string/test-string.h: Define TEST_IFUNC.
3995 * string/test-bcopy-ifunc.c: Remove.
3996 * string/test-bzero-ifunc.c: Likewise.
3997 * string/test-memccpy-ifunc.c: Likewise.
3998 * string/test-memchr-ifunc.c: Likewise.
3999 * string/test-memcmp-ifunc.c: Likewise.
4000 * string/test-memcpy-ifunc.c: Likewise.
4001 * string/test-memmem-ifunc.c: Likewise.
4002 * string/test-memmove-ifunc.c: Likewise.
4003 * string/test-mempcpy-ifunc.c: Likewise.
4004 * string/test-memrchr-ifunc.c: Likewise.
4005 * string/test-memset-ifunc.c: Likewise.
4006 * string/test-rawmemchr-ifunc.c: Likewise.
4007 * string/test-stpcpy-ifunc.c: Likewise.
4008 * string/test-stpncpy-ifunc.c: Likewise.
4009 * string/test-strcasecmp-ifunc.c: Likewise.
4010 * string/test-strcasestr-ifunc.c: Likewise.
4011 * string/test-strcat-ifunc.c: Likewise.
4012 * string/test-strchr-ifunc.c: Likewise.
4013 * string/test-strchrnul-ifunc.c: Likewise.
4014 * string/test-strcmp-ifunc.c: Likewise.
4015 * string/test-strcpy-ifunc.c: Likewise.
4016 * string/test-strcspn-ifunc.c: Likewise.
4017 * string/test-strlen-ifunc.c: Likewise.
4018 * string/test-strncasecmp-ifunc.c: Likewise.
4019 * string/test-strncat-ifunc.c: Likewise.
4020 * string/test-strncmp-ifunc.c: Likewise.
4021 * string/test-strncpy-ifunc.c: Likewise.
4022 * string/test-strnlen-ifunc.c: Likewise.
4023 * string/test-strpbrk-ifunc.c: Likewise.
4024 * string/test-strrchr-ifunc.c: Likewise.
4025 * string/test-strspn-ifunc.c: Likewise.
4026 * string/test-strstr-ifunc.c: Likewise.
4028 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4030 * benchtests/Makefile: Remove ifunc tests.
4031 * benchtests/bench-string.h: Define TEST_IFUNC.
4032 * benchtests/bench-bcopy-ifunc.c: Remove.
4033 * benchtests/bench-bzero-ifunc.c: Likewise.
4034 * benchtests/bench-memccpy-ifunc.c: Likewise.
4035 * benchtests/bench-memchr-ifunc.c: Likewise.
4036 * benchtests/bench-memcmp-ifunc.c: Likewise.
4037 * benchtests/bench-memcpy-ifunc.c: Likewise.
4038 * benchtests/bench-memmem-ifunc.c: Likewise.
4039 * benchtests/bench-memmove-ifunc.c: Likewise.
4040 * benchtests/bench-mempcpy-ifunc.c: Likewise.
4041 * benchtests/bench-memrchr-ifunc.c: Likewise.
4042 * benchtests/bench-memset-ifunc.c: Likewise.
4043 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4044 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4045 * benchtests/bench-stpcpy-ifunc.c: Likewise.
4046 * benchtests/bench-stpncpy-ifunc.c: Likewise.
4047 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4048 * benchtests/bench-strcasestr-ifunc.c: Likewise.
4049 * benchtests/bench-strcat-ifunc.c: Likewise.
4050 * benchtests/bench-strchr-ifunc.c: Likewise.
4051 * benchtests/bench-strchrnul-ifunc.c: Likewise.
4052 * benchtests/bench-strcmp-ifunc.c: Likewise.
4053 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4054 * benchtests/bench-strcpy-ifunc.c: Likewise.
4055 * benchtests/bench-strcspn-ifunc.c: Likewise.
4056 * benchtests/bench-strlen-ifunc.c: Likewise.
4057 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4058 * benchtests/bench-strncat-ifunc.c: Likewise.
4059 * benchtests/bench-strncmp-ifunc.c: Likewise.
4060 * benchtests/bench-strncpy-ifunc.c: Likewise.
4061 * benchtests/bench-strnlen-ifunc.c: Likewise.
4062 * benchtests/bench-strpbrk-ifunc.c: Likewise.
4063 * benchtests/bench-strrchr-ifunc.c: Likewise.
4064 * benchtests/bench-strsep-ifunc.c: Likewise.
4065 * benchtests/bench-strspn-ifunc.c: Likewise.
4066 * benchtests/bench-strstr-ifunc.c: Likewise.
4068 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4070 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4072 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4074 * resolv/netdb.h: Use __glibc_reserved instead __unused.
4075 * rt/aio.h: Likewise.
4076 * sysdeps/gnu/bits/utmp.h: Likewise.
4077 * sysdeps/gnu/bits/utmpx.h: Likewise.
4078 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4079 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4080 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4081 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4082 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4083 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4084 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
4085 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
4086 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4087 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4088 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4089 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4090 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
4092 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4093 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
4094 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4095 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4096 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4097 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4098 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
4099 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
4100 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
4101 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4102 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4103 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4104 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
4105 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4106 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4107 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4108 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4109 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
4110 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
4111 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4112 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4113 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4114 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4115 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4116 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4117 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
4118 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4119 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4121 2013-11-25 Carlos O'Donell <carlos@redhat.com>
4124 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
4125 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
4127 2013-11-25 Joseph Myers <joseph@codesourcery.com>
4129 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4130 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4133 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4135 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
4136 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
4137 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
4138 (__fesetround): Remove define.
4139 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
4140 rounding and exceptions handling.
4141 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
4142 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
4143 (__fe_nomask_env): Likewise.
4144 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
4145 __fegetround instead of fegetround.
4146 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4147 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4149 2013-11-21 Roland McGrath <roland@hack.frob.com>
4151 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
4154 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4156 2013-11-21 Meador Inge <meadori@codesourcery.com>
4159 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
4160 (encrypt_r): Likewise.
4161 * malloc/obstack.h (obstack_free): Likewise.
4162 * posix/unistd.h (encrypt): Likewise.
4164 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
4166 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
4167 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
4168 DL_CALL_DT_FINI() that call the functions directly.
4169 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
4170 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
4171 * elf/dl-fini.c: Likewise.
4173 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
4175 * malloc/hooks.c (memalign_check): Add alignment rounding.
4176 * malloc/malloc.c (_mid_memalign): New function.
4177 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
4178 Implement by calling _mid_memalign.
4179 * manual/probes.texi (Memory Allocation Probes): Remove
4180 memory_valloc_retry and memory_pvalloc_retry.
4182 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4184 * locale/programs/locarchive.c (open_archive): Add const
4185 qualifier to ARCHIVEFNAME and copy default fname to
4189 * libio/tst-widetext.input: Rename Oriya to Odia.
4190 * locale/iso-639.def: Likewise.
4192 * manual/probes.texi (Mathematical Function Probes): Add
4193 documentation for sin, cos, asin and acos probes.
4194 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
4195 (__sin32): Add slowasin probe.
4196 (__cos32): Add slowacos probe.
4197 (__mpsin): Add slowsin probe.
4198 (__mpcos): Add slowcos probe.
4200 2013-11-19 Joseph Myers <joseph@codesourcery.com>
4203 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
4204 thread-local __sim_exceptions_thread and global
4205 __sim_exceptions_global.
4206 (__sim_disabled_exceptions): Change to thread-local
4207 __sim_disabled_exceptions_thread and global
4208 __sim_disabled_exceptions_global.
4209 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4210 and global __sim_round_mode_global.
4211 (__simulate_exceptions): Use thread-local floating-point state and
4212 set global state from it as needed.
4213 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
4214 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
4215 __sim_round_mode_thread.
4216 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
4217 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
4218 and global __sim_exceptions_global.
4219 (__sim_disabled_exceptions): Change to thread-local
4220 __sim_disabled_exceptions_thread and global
4221 __sim_disabled_exceptions_global.
4222 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4223 and global __sim_round_mode_global.
4224 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
4225 (SIM_SET_GLOBAL): Likewise.
4226 * sysdeps/powerpc/soft-fp/sfp-machine.h
4227 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
4228 __sim_round_mode_thread.
4229 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
4230 __sim_disabled_exceptions_thread.
4231 (__sim_exceptions): Change to __sim_exceptions_thread.
4232 (__sim_disabled_exceptions): Change to
4233 __sim_disabled_exceptions_thread.
4234 (__sim_round_mode): Change to __sim_round_mode_thread.
4235 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
4236 thread-local floating-point state and set global state from it as
4238 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
4239 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
4240 (__sim_disabled_exceptions): Remove extern declaration.
4241 (feenableexcept): Use thread-local floating-point state and set
4242 global state from it as needed.
4243 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
4245 (__sim_disabled_exceptions): Likewise.
4246 (__sim_round_mode): Likewise.
4247 (__fegetenv): Use thread-local floating-point state.
4248 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
4249 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4250 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
4251 floating-point state and set global state from it as needed.
4252 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
4253 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4254 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
4256 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4257 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
4259 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
4260 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
4261 Use __sim_round_mode_thread.
4262 * math/test-fenv-tls.c: New file.
4263 * math/Makefile (tests): Add test-fenv-tls.
4264 ($(objpfx)test-fenv-tls): Depend on
4265 $(common-objpfx)nptl/libpthread.so.
4267 2013-11-19 Andreas Schwab <schwab@suse.de>
4269 * locale/programs/locale.c (show_info): Decode wordarray elements.
4270 * locale/categories.def (LC_MONETARY): Add element for
4271 _NL_MONETARY_CRNCYSTR.
4272 * locale/C-monetary.c (conversion_rate): New variable.
4273 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
4276 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
4278 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
4279 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
4281 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4283 * elf/Makefile (tst-auxv): New test.
4284 * elf/tst-auxv.c: New
4285 * elf/rtld.c (dl_main): Adjust AT_EXECFN
4287 2013-11-18 Joseph Myers <joseph@codesourcery.com>
4289 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
4290 (hidden_proto): Caller changed.
4291 (hidden_tls_proto): New macro.
4292 (libc_hidden_tls_proto): Likewise.
4293 (rtld_hidden_tls_proto): Likewise.
4294 (libm_hidden_tls_proto): Likewise.
4295 (libresolv_hidden_tls_proto): Likewise.
4296 (librt_hidden_tls_proto): Likewise.
4297 (libdl_hidden_tls_proto): Likewise.
4298 (libnss_files_hidden_tls_proto): Likewise.
4299 (libnsl_hidden_tls_proto): Likewise.
4300 (libnss_nisplus_hidden_tls_proto): Likewise.
4301 (libutil_hidden_tls_proto): Likewise.
4303 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
4306 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
4307 (decompose_rpath): Defer expansion to fillin_rpath.
4308 (_dl_init_paths): Pass linkmap to fillin_rpath.
4310 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4312 * benchtests/Makefile: Add strsep.
4313 * benchtests/bench-strsep.c: New file: strsep benchtest.
4314 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
4316 2013-11-18 Andreas Schwab <schwab@suse.de>
4318 * locale/programs/locale.c (show_info) [case byte]: Check for
4319 '\377' instead of '\177'.
4320 * locale/C-monetary.c (not_available): Always use "\377".
4321 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
4322 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
4323 detect unavailable sign_posn locale elements.
4324 * locale/localeconv.c (__localeconv): For grouping and
4325 mon_grouping handle "\177" and "\377" like no grouping.
4326 (INT_ELEM): New macro. Use it to set all numeric members.
4327 * locale/programs/ld-monetary.c (monetary_read)
4328 <tok_mon_grouping>: Normalize single -1 to the empty string.
4329 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
4332 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
4335 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
4336 when we match (nil).
4337 * stdio-common/tst-sscanf.c (struct test): Add testcase.
4339 2013-11-16 Joseph Myers <joseph@codesourcery.com>
4341 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
4342 (NO_TEST_INLINE): Update value.
4343 (ERRNO_UNCHANGED): Likewise.
4344 (ERRNO_EDOM): Likewise.
4345 (ERRNO_ERANGE): Likewise.
4346 (IGNORE_RESULT): Likewise.
4347 (check_float_internal): Check signs of NaN results if
4349 (check_complex): Pass TEST_NAN_SIGN flag through to second
4350 check_float_internal call.
4351 (copysign_test_data): Add tests with quiet NaNs as second
4352 argument. Use TEST_NAN_SIGN.
4353 (fabs_test_data): Add test of negative quiet NaN argument. Use
4355 (signbit_test_data): Add tests of quiet NaN argument.
4356 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
4358 * math/gen-libm-test.pl (show_exceptions): Take extra argument
4360 (parse_args): Handle function results specified as IGNORE.
4361 * math/libm-test.inc (IGNORE_RESULT): New macro.
4362 (check_float_internal): Do not check numerical result if flag
4364 (check_complex): Pass through IGNORE_RESULT to second
4365 check_float_internal call.
4366 (check_int): Do not check numerical result if flag IGNORE_RESULT
4368 (check_long): Likewise.
4369 (check_bool): Likewise.
4370 (check_longlong): Likewise.
4371 (lrint_test_data): Add tests of infinite and NaN arguments.
4372 (lrint_tonearest_test_data): Likewise.
4373 (lrint_towardzero_test_data): Likewise.
4374 (lrint_downward_test_data): Likewise.
4375 (lrint_upward_test_data): Likewise.
4376 (llrint_test_data): Likewise.
4377 (llrint_tonearest_test_data): Likewise.
4378 (llrint_towardzero_test_data): Likewise.
4379 (llrint_downward_test_data): Likewise.
4380 (llrint_upward_test_data): Likewise.
4381 (lround_test_data): Likewise.
4382 (llround_test_data): Likewise.
4384 * math/libm-test.inc (NO_TEST_INLINE): New macro.
4385 (ERRNO_UNCHANGED): Update value.
4386 (ERRNO_EDOM): Likewise.
4387 (ERRNO_ERANGE): Likewise.
4388 (NO_TEST_INLINE_FLOAT): New macro.
4389 (NO_TEST_INLINE_DOUBLE): Likewise.
4390 (enable_test): New function.
4391 (RUN_TEST_f_f): Check enable_test before running test.
4392 (RUN_TEST_2_f): Likewise.
4393 (RUN_TEST_fff_f): Likewise.
4394 (RUN_TEST_c_f): Likewise.
4395 (RUN_TEST_f_f1): Likewise.
4396 (RUN_TEST_fF_f1): Likewise.
4397 (RUN_TEST_fI_f1): Likewise.
4398 (RUN_TEST_ffI_f1): Likewise.
4399 (RUN_TEST_c_c): Likewise.
4400 (RUN_TEST_cc_c): Likewise.
4401 (RUN_TEST_f_i): Likewise.
4402 (RUN_TEST_f_i_tg): Likewise.
4403 (RUN_TEST_ff_i_tg): Likewise.
4404 (RUN_TEST_f_b): Likewise.
4405 (RUN_TEST_f_b_tg): Likewise.
4406 (RUN_TEST_f_l): Likewise.
4407 (RUN_TEST_f_L): Likewise.
4408 (RUN_TEST_fFF_11): Likewise.
4409 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
4411 (cosh_test_data): Likewise.
4412 (exp_test_data): Likewise.
4413 (expm1_test_data): Likewise.
4414 (hypot_test_data): Likewise.
4415 (pow_test_data): Likewise.
4416 (sinh_test_data): Likewise.
4417 (tanh_test_data): Likewise.
4418 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
4421 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
4422 tests with quiet NaN input and output.
4423 (acosh_test_data): Likewise.
4424 (asin_test_data): Likewise.
4425 (asinh_test_data): Likewise.
4426 (atan_test_data): Likewise.
4427 (atanh_test_data): Likewise.
4428 (atan2_test_data): Likewise.
4429 (cbrt_test_data): Likewise.
4430 (cos_test_data): Likewise.
4431 (cosh_test_data): Likewise.
4432 (erf_test_data): Likewise.
4433 (erfc_test_data): Likewise.
4434 (exp_test_data): Likewise.
4435 (exp10_test_data): Likewise.
4436 (exp2_test_data): Likewise.
4437 (expm1_test_data): Likewise.
4438 (hypot_test_data): Likewise.
4439 (j0_test_data): Likewise.
4440 (j1_test_data): Likewise.
4441 (jn_test_data): Likewise.
4442 (lgamma_test_data): Likewise.
4443 (log_test_data): Likewise.
4444 (log10_test_data): Likewise.
4445 (log1p_test_data): Likewise.
4446 (log2_test_data): Likewise.
4447 (pow_test_data): Likewise.
4448 (scalb_test_data): Likewise.
4449 (sin_test_data): Likewise.
4450 (sincos_test_data): Likewise.
4451 (sinh_test_data): Likewise.
4452 (tan_test_data): Likewise.
4453 (tanh_test_data): Likewise.
4454 (tgamma_test_data): Likewise.
4455 (y0_test_data): Likewise.
4456 (y1_test_data): Likewise.
4457 (yn_test_data): Likewise.
4460 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
4461 argument being NaN and avoid computations with second argument in
4463 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4464 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4465 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4467 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
4469 * locale/iso-639.def: Add Chitwani Tharu (the).
4471 2013-11-14 Andreas Schwab <schwab@suse.de>
4473 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
4474 word instead of empty string.
4476 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4479 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
4480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4481 (__fe_nomask_env): Likewise.
4483 2013-11-13 Steve Ellcey <sellcey@mips.com>
4485 * benchtests/bench-timing.h: Include time.h.
4487 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
4490 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
4492 * sysdeps/unix/sysv/linux/configure: Regenerated.
4494 2013-11-13 Joseph Myers <joseph@codesourcery.com>
4497 * stdlib/strtod_l.c (round_and_return): Do not consider
4498 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
4499 exponent one less than half the least subnormal exponent.
4500 * stdlib/test-strtod-round-data: Add more tests.
4501 * stdlib/tst-strtod-round.c (tests): Regenerated.
4503 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4506 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
4507 (__fe_mask_env): Likewise.
4508 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
4509 libm_hidden_proto and add function prototype.
4510 (__fe_mask_env): Add function prototype.
4511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4512 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
4513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4514 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
4515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4516 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
4518 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4520 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
4521 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
4523 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4525 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
4526 of htab_find_slot().
4528 2013-11-11 David S. Miller <davem@davemloft.net>
4531 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
4532 symbol in the non-vis3 case in static builds.
4533 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
4534 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
4535 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
4536 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
4538 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4541 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
4544 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4546 * benchtests/Makefile: Add bench-strtod.
4547 * benchtests/bench-strtod.c: New file: strtod benchtest
4549 2013-11-11 Andreas Schwab <schwab@suse.de>
4552 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
4553 terminating NUL in key length.
4555 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4557 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4558 Add artificial ODP entry for vDSO symbol for PPC64.
4559 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
4560 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4562 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
4565 * nss/getent.c (services_keys): Recognize services starting with digit.
4567 2013-11-06 David S. Miller <davem@davemloft.net>
4570 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
4571 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
4573 2013-11-06 Will Newton <will.newton@linaro.org>
4575 * manual/memory.texi (Malloc Examples): Remove register
4576 keyword from examples.
4578 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
4580 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
4582 2013-11-04 Joseph Myers <joseph@codesourcery.com>
4585 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
4586 depending on [__GCC_IEC_559 > 0].
4587 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
4588 depending on [__GCC_IEC_559_COMPLEX > 0].
4590 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
4592 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
4595 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
4597 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
4599 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
4602 * malloc/malloc (malloc_info): Do not handle first bin as
4605 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
4607 * locale/iso-639.def: Add Central Nahuatl (nhn).
4609 2013-11-01 Bruno Haible <bruno@clisp.org>
4612 * manual/math.texi (BSD Random): Specify range upper bound as
4615 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
4617 * locale/iso-639.def: Add Meadow Mari (mhr).
4619 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
4621 [BZ #14752], [BZ #15763]
4622 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
4624 * rt/tst_shm.c: Add test for escaping directory.
4626 2013-10-31 Andreas Schwab <schwab@suse.de>
4629 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
4630 followed by 'x' as part of digit sequence.
4631 * stdio-common/tst-sscanf.c (double_tests2): New tests.
4633 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4636 * configure.ac: allow GNU Make 4.0 and greater.
4637 * configure: Regenerated.
4639 2013-10-30 Will Newton <will.newton@linaro.org>
4642 * malloc/hooks.c (memalign_check): Limit alignment to the
4643 maximum representable power of two.
4644 * malloc/malloc.c (__libc_memalign): Likewise.
4645 * malloc/tst-memalign.c (do_test): Add test for very
4646 large alignment values.
4647 * malloc/tst-posix_memalign.c (do_test): Likewise.
4649 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
4652 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
4653 (munmap_chunk): Likewise.
4654 (mremap_chunk): Likewise.
4656 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
4659 * stdlib/div.c (div): Remove obsolete code.
4660 * stdlib/ldiv.c (ldiv): Likewise.
4661 * stdlib/lldiv.c (lldiv): Likewise.
4663 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4666 * nss/nss_files/files-XXX.c (get_contents_ret): New
4668 (get_contents): New function.
4669 (internal_getent): Use it. Expand size of LINEBUFLEN.
4671 2013-10-30 Mike Frysinger <vapier@gentoo.org>
4673 * configure.in: Moved to ...
4674 * configure.ac: ... here. Change reference to configure.in
4676 * sysdeps/arm/preconfigure.ac: ... here.
4677 configure.in to configure.ac.
4678 * sysdeps/gnu/configure.in: Moved to ...
4679 * sysdeps/gnu/configure.ac: ... here.
4680 * sysdeps/i386/configure.in: Moved to ...
4681 * sysdeps/i386/configure.ac: ... here.
4682 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
4683 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
4684 * sysdeps/mach/configure.in: Moved to ...
4685 * sysdeps/mach/configure.ac: ... here.
4686 * sysdeps/mach/hurd/configure.in: Moved to ...
4687 * sysdeps/mach/hurd/configure.ac: ... here.
4688 * sysdeps/powerpc/configure.in: Moved to ...
4689 * sysdeps/powerpc/configure.ac: ... here.
4690 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
4691 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
4692 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
4693 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
4694 * sysdeps/s390/s390-32/configure.in: Moved to ...
4695 * sysdeps/s390/s390-32/configure.ac: ... here.
4696 * sysdeps/s390/s390-64/configure.in: Moved to ...
4697 * sysdeps/s390/s390-64/configure.ac: ... here.
4698 * sysdeps/sh/configure.in: Moved to ...
4699 * sysdeps/sh/configure.ac: ... here.
4700 * sysdeps/sparc/configure.in: Moved to ...
4701 * sysdeps/sparc/configure.ac: ... here.
4702 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
4703 * sysdeps/unix/sysv/linux/configure.ac: ... here.
4704 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
4705 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
4706 * sysdeps/x86_64/configure.in: Moved to ...
4707 * sysdeps/x86_64/configure.ac: ... here.
4708 * sysdeps/x86_64/preconfigure.in: Moved to ...
4709 * sysdeps/x86_64/preconfigure.ac: ... here.
4710 * aclocal.m4: Change reference to configure.in to configure.ac.
4711 * config.h.in: Likewise.
4712 * manual/install.texi: Likewise.
4713 * manual/maint.texi: Likewise.
4714 * Makefile: Likewise.
4715 * malloc/Makefile: Likewise.
4716 * nscd/Makefile: Likewise.
4717 * Makeconfig: Change reference to configure.in and
4718 preconfigure.in to configure.ac and preconfigure.ac
4720 * INSTALL: Regenerated.
4721 * configure: Likewise.
4722 * sysdeps/gnu/configure: Likewise.
4723 * sysdeps/i386/configure: Likewise.
4724 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
4725 * sysdeps/mach/configure: Likewise.
4726 * sysdeps/mach/hurd/configure: Likewise.
4727 * sysdeps/powerpc/configure: Likewise.
4728 * sysdeps/powerpc/powerpc32/configure: Likewise.
4729 * sysdeps/powerpc/powerpc64/configure: Likewise.
4730 * sysdeps/s390/s390-32/configure: Likewise.
4731 * sysdeps/s390/s390-64/configure: Likewise.
4732 * sysdeps/sh/configure: Likewise.
4733 * sysdeps/sparc/configure: Likewise.
4734 * sysdeps/unix/sysv/linux/configure: Likewise.
4735 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4736 * sysdeps/x86_64/configure: Likewise.
4737 * sysdeps/x86_64/preconfigure: Likewise.
4739 2013-10-29 Andreas Schwab <schwab@suse.de>
4741 * stdio-common/Makefile (tst-swscanf-ENV): Define.
4743 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4745 * benchtests/pow-inputs: Add new inputs.
4747 * benchtests/exp-inputs: Add new inputs.
4749 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4750 conditional check for return value.
4751 (__cos32): Likewise.
4753 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4755 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4756 to provide a boost for large inputs with word alignment.
4757 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4758 implementation based on optimized PPC64 strcpy.
4759 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4760 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4761 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4762 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4764 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4767 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4769 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4772 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4773 * time/tst-strptime.c (day_tests): Add testcase.
4775 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4778 * manual/pattern.texi: Acknowledge that fnmatch can fail.
4780 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
4783 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4784 MAP_FAILED on error.
4786 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4789 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4790 heap for large requests.
4792 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
4795 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4796 result if the result has no associated interface.
4797 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4798 interface for all 127.X.Y.Z addresses.
4800 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
4802 * locale/iso-639.def: Add Ligurian (lij)
4804 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
4807 * sunrpc/rpc_main.c: Document rpcgen -5.
4809 2013-10-19 Michael Stahl <mstahl@redhat.com>
4811 * elf/rtld.c (do_preload): Print the reason why preloading failed.
4813 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4816 * posix/glob.c: Match only directories when trailing slash is present.
4817 * posix/tst-gnuglob.c (my_opendir): Do not open files.
4818 (main): Add testcase.
4820 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4823 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4825 2013-10-18 Carlos O'Donell <carlos@redhat.com>
4827 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4828 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4829 AUTH_DES and cindex for FIPS 140-2.
4830 (DES Encryption): Add cindex FIPS 46-3.
4832 * locale/locarchive.h (struct locarhandle): Add fname.
4833 * locale/programs/localedef.c (main): Pass ARGV[remaining]
4834 if an optional argument was specified to --list-archive,
4836 * locale/programs/locarchive.c (show_archive_content): Take new
4837 argument fname and pass it via ah.fname to open_archive.
4838 * locale/programs/localedef.h: Update decl.
4839 (open_archive): If AH->fname is non-null, open that file
4840 rather than the default file name, and don't ignore ENOENT.
4841 (create_archive): Set AH.fname to NULL.
4842 (delete_locales_from_archive): Likewise.
4843 (add_locales_to_archive): Likewise.
4844 * locale/programs/locfile.c (write_all_categories): Likewise.
4846 2013-10-18 Joseph Myers <joseph@codesourcery.com>
4847 Aldy Hernandez <aldyh@redhat.com>
4849 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4850 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4851 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4852 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4853 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4854 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4855 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4856 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4857 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4858 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4859 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4860 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4861 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4862 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4863 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4865 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4867 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4869 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4871 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4872 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4874 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4875 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4876 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4877 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4879 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4880 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4881 * sysdeps/powerpc/preconfigure: Likewise.
4882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4884 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4885 Replace contents of file by #include of <fenv_libc.h>.
4886 * sysdeps/powerpc/soft-fp/sfp-machine.h
4887 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4889 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4890 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4891 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4892 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4893 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4894 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4895 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4896 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4897 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4898 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4899 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4900 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4902 Allow copysignl PLT reference to be missing.
4904 2013-10-18 Richard Sandiford <richard@codesourcery.com>
4905 Joseph Myers <joseph@codesourcery.com
4908 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4910 (add_to_tablewc): Assert sequence of wide characters is nonempty.
4912 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4914 * elf/tst-tls-dlinfo.c: Don't include tls.h.
4915 * elf/tst-tls1.c: Likewise.
4916 * elf/tst-tls10.h: Likewise.
4917 * elf/tst-tls14.c: Likewise.
4918 * elf/tst-tls2.c: Likewise.
4919 * elf/tst-tls3.c: Likewise.
4920 * elf/tst-tls4.c: Likewise.
4921 * elf/tst-tls5.c: Likewise.
4922 * elf/tst-tls6.c: Likewise.
4923 * elf/tst-tls7.c: Likewise.
4924 * elf/tst-tls8.c: Likewise.
4925 * elf/tst-tls9.c: Likewise.
4926 * elf/tst-tlsmod1.c: Likewise.
4927 * elf/tst-tlsmod13.c: Likewise.
4928 * elf/tst-tlsmod13a.c: Likewise.
4929 * elf/tst-tlsmod14a.c: Likewise.
4930 * elf/tst-tlsmod16a.c: Likewise.
4931 * elf/tst-tlsmod16b.c: Likewise.
4932 * elf/tst-tlsmod2.c: Likewise.
4933 * elf/tst-tlsmod3.c: Likewise.
4934 * elf/tst-tlsmod4.c: Likewise.
4935 * elf/tst-tlsmod5.c: Likewise.
4936 * elf/tst-tlsmod6.c: Likewise.
4938 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
4941 * malloc/malloc.c: remove checks for statistics.
4943 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4946 * inet/inet_net.c (inet_network): Detect additional invalid strings.
4947 * inet/tst-network.c: Add testcase.
4949 2013-10-17 Andreas Schwab <schwab@suse.de>
4952 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4953 to determine canonical name.
4955 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4957 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4958 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4959 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4960 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4961 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4962 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4963 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4964 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4965 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4966 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4967 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4968 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4969 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4970 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4971 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4972 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4973 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4974 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4975 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4976 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4977 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4978 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4979 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4980 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4981 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4982 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4983 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4984 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4985 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4986 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4987 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4988 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4989 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4990 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4991 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4992 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4993 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4994 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4995 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4996 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4997 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4998 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4999 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5000 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5001 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5002 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5003 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5004 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5005 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5006 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5007 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5008 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5009 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5010 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5011 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5012 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5013 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5014 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5016 2013-10-17 Joseph Myers <joseph@codesourcery.com>
5019 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5020 make result into a quiet NaN.
5022 2013-10-16 Joseph Myers <joseph@codesourcery.com>
5024 * soft-fp/adddf3.c: Fix horizontal whitespace.
5025 * soft-fp/addsf3.c: Likewise.
5026 * soft-fp/addtf3.c: Likewise.
5027 * soft-fp/divdf3.c: Likewise.
5028 * soft-fp/divsf3.c: Likewise.
5029 * soft-fp/divtf3.c: Likewise.
5030 * soft-fp/double.h: Likewise.
5031 * soft-fp/eqdf2.c: Likewise.
5032 * soft-fp/eqsf2.c: Likewise.
5033 * soft-fp/eqtf2.c: Likewise.
5034 * soft-fp/extenddftf2.c: Likewise.
5035 * soft-fp/extended.h: Likewise.
5036 * soft-fp/extendsfdf2.c: Likewise.
5037 * soft-fp/extendsftf2.c: Likewise.
5038 * soft-fp/extendxftf2.c: Likewise.
5039 * soft-fp/fixdfdi.c: Likewise.
5040 * soft-fp/fixdfsi.c: Likewise.
5041 * soft-fp/fixdfti.c: Likewise.
5042 * soft-fp/fixsfdi.c: Likewise.
5043 * soft-fp/fixsfsi.c: Likewise.
5044 * soft-fp/fixsfti.c: Likewise.
5045 * soft-fp/fixtfdi.c: Likewise.
5046 * soft-fp/fixtfsi.c: Likewise.
5047 * soft-fp/fixtfti.c: Likewise.
5048 * soft-fp/fixunsdfdi.c: Likewise.
5049 * soft-fp/fixunsdfsi.c: Likewise.
5050 * soft-fp/fixunsdfti.c: Likewise.
5051 * soft-fp/fixunssfdi.c: Likewise.
5052 * soft-fp/fixunssfsi.c: Likewise.
5053 * soft-fp/fixunssfti.c: Likewise.
5054 * soft-fp/fixunstfdi.c: Likewise.
5055 * soft-fp/fixunstfsi.c: Likewise.
5056 * soft-fp/fixunstfti.c: Likewise.
5057 * soft-fp/floatdidf.c: Likewise.
5058 * soft-fp/floatdisf.c: Likewise.
5059 * soft-fp/floatditf.c: Likewise.
5060 * soft-fp/floatsidf.c: Likewise.
5061 * soft-fp/floatsisf.c: Likewise.
5062 * soft-fp/floatsitf.c: Likewise.
5063 * soft-fp/floattidf.c: Likewise.
5064 * soft-fp/floattisf.c: Likewise.
5065 * soft-fp/floattitf.c: Likewise.
5066 * soft-fp/floatundidf.c: Likewise.
5067 * soft-fp/floatundisf.c: Likewise.
5068 * soft-fp/floatunditf.c: Likewise.
5069 * soft-fp/floatunsidf.c: Likewise.
5070 * soft-fp/floatunsisf.c: Likewise.
5071 * soft-fp/floatunsitf.c: Likewise.
5072 * soft-fp/floatuntidf.c: Likewise.
5073 * soft-fp/floatuntisf.c: Likewise.
5074 * soft-fp/floatuntitf.c: Likewise.
5075 * soft-fp/fmadf4.c: Likewise.
5076 * soft-fp/fmasf4.c: Likewise.
5077 * soft-fp/fmatf4.c: Likewise.
5078 * soft-fp/gedf2.c: Likewise.
5079 * soft-fp/gesf2.c: Likewise.
5080 * soft-fp/getf2.c: Likewise.
5081 * soft-fp/ledf2.c: Likewise.
5082 * soft-fp/lesf2.c: Likewise.
5083 * soft-fp/letf2.c: Likewise.
5084 * soft-fp/muldf3.c: Likewise.
5085 * soft-fp/mulsf3.c: Likewise.
5086 * soft-fp/multf3.c: Likewise.
5087 * soft-fp/negdf2.c: Likewise.
5088 * soft-fp/negsf2.c: Likewise.
5089 * soft-fp/negtf2.c: Likewise.
5090 * soft-fp/op-1.h: Likewise.
5091 * soft-fp/op-2.h: Likewise.
5092 * soft-fp/op-4.h: Likewise.
5093 * soft-fp/op-8.h: Likewise.
5094 * soft-fp/op-common.h: Likewise.
5095 * soft-fp/quad.h: Likewise.
5096 * soft-fp/single.h: Likewise.
5097 * soft-fp/soft-fp.h: Likewise.
5098 * soft-fp/sqrtdf2.c: Likewise.
5099 * soft-fp/sqrtsf2.c: Likewise.
5100 * soft-fp/sqrttf2.c: Likewise.
5101 * soft-fp/subdf3.c: Likewise.
5102 * soft-fp/subsf3.c: Likewise.
5103 * soft-fp/subtf3.c: Likewise.
5104 * soft-fp/truncdfsf2.c: Likewise.
5105 * soft-fp/trunctfdf2.c: Likewise.
5106 * soft-fp/trunctfsf2.c: Likewise.
5107 * soft-fp/trunctfxf2.c: Likewise.
5108 * soft-fp/unorddf2.c: Likewise.
5109 * soft-fp/unordsf2.c: Likewise.
5110 * soft-fp/unordtf2.c: Likewise.
5112 2013-10-15 Joseph Myers <joseph@codesourcery.com>
5114 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
5115 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
5117 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
5119 * elf/dl-libc.c: Clear initfini list after freeing.
5121 2013-10-14 Joseph Myers <joseph@codesourcery.com>
5123 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
5124 * soft-fp/addsf3.c: Likewise.
5125 * soft-fp/addtf3.c: Likewise.
5126 * soft-fp/divdf3.c: Likewise.
5127 * soft-fp/divsf3.c: Likewise.
5128 * soft-fp/divtf3.c: Likewise.
5129 * soft-fp/double.h: Likewise.
5130 * soft-fp/eqdf2.c: Likewise.
5131 * soft-fp/eqsf2.c: Likewise.
5132 * soft-fp/eqtf2.c: Likewise.
5133 * soft-fp/extenddftf2.c: Likewise.
5134 * soft-fp/extended.h: Likewise.
5135 * soft-fp/extendsfdf2.c: Likewise.
5136 * soft-fp/extendsftf2.c: Likewise.
5137 * soft-fp/extendxftf2.c: Likewise.
5138 * soft-fp/fixdfdi.c: Likewise.
5139 * soft-fp/fixdfsi.c: Likewise.
5140 * soft-fp/fixdfti.c: Likewise.
5141 * soft-fp/fixsfdi.c: Likewise.
5142 * soft-fp/fixsfsi.c: Likewise.
5143 * soft-fp/fixsfti.c: Likewise.
5144 * soft-fp/fixtfdi.c: Likewise.
5145 * soft-fp/fixtfsi.c: Likewise.
5146 * soft-fp/fixtfti.c: Likewise.
5147 * soft-fp/fixunsdfdi.c: Likewise.
5148 * soft-fp/fixunsdfsi.c: Likewise.
5149 * soft-fp/fixunsdfti.c: Likewise.
5150 * soft-fp/fixunssfdi.c: Likewise.
5151 * soft-fp/fixunssfsi.c: Likewise.
5152 * soft-fp/fixunssfti.c: Likewise.
5153 * soft-fp/fixunstfdi.c: Likewise.
5154 * soft-fp/fixunstfsi.c: Likewise.
5155 * soft-fp/fixunstfti.c: Likewise.
5156 * soft-fp/floatdidf.c: Likewise.
5157 * soft-fp/floatdisf.c: Likewise.
5158 * soft-fp/floatditf.c: Likewise.
5159 * soft-fp/floatsidf.c: Likewise.
5160 * soft-fp/floatsisf.c: Likewise.
5161 * soft-fp/floatsitf.c: Likewise.
5162 * soft-fp/floattidf.c: Likewise.
5163 * soft-fp/floattisf.c: Likewise.
5164 * soft-fp/floattitf.c: Likewise.
5165 * soft-fp/floatundidf.c: Likewise.
5166 * soft-fp/floatundisf.c: Likewise.
5167 * soft-fp/floatunsidf.c: Likewise.
5168 * soft-fp/floatunsisf.c: Likewise.
5169 * soft-fp/floatuntidf.c: Likewise.
5170 * soft-fp/floatuntisf.c: Likewise.
5171 * soft-fp/floatuntitf.c: Likewise.
5172 * soft-fp/fmadf4.c: Likewise.
5173 * soft-fp/fmasf4.c: Likewise.
5174 * soft-fp/fmatf4.c: Likewise.
5175 * soft-fp/gedf2.c: Likewise.
5176 * soft-fp/gesf2.c: Likewise.
5177 * soft-fp/getf2.c: Likewise.
5178 * soft-fp/ledf2.c: Likewise.
5179 * soft-fp/lesf2.c: Likewise.
5180 * soft-fp/letf2.c: Likewise.
5181 * soft-fp/muldf3.c: Likewise.
5182 * soft-fp/mulsf3.c: Likewise.
5183 * soft-fp/multf3.c: Likewise.
5184 * soft-fp/negdf2.c: Likewise.
5185 * soft-fp/negsf2.c: Likewise.
5186 * soft-fp/negtf2.c: Likewise.
5187 * soft-fp/op-1.h: Likewise.
5188 * soft-fp/op-2.h: Likewise.
5189 * soft-fp/op-4.h: Likewise.
5190 * soft-fp/op-8.h: Likewise.
5191 * soft-fp/op-common.h: Likewise.
5192 * soft-fp/quad.h: Likewise.
5193 * soft-fp/single.h: Likewise.
5194 * soft-fp/soft-fp.h: Likewise.
5195 * soft-fp/sqrtdf2.c: Likewise.
5196 * soft-fp/sqrtsf2.c: Likewise.
5197 * soft-fp/sqrttf2.c: Likewise.
5198 * soft-fp/subdf3.c: Likewise.
5199 * soft-fp/subsf3.c: Likewise.
5200 * soft-fp/subtf3.c: Likewise.
5201 * soft-fp/truncdfsf2.c: Likewise.
5202 * soft-fp/trunctfdf2.c: Likewise.
5203 * soft-fp/trunctfsf2.c: Likewise.
5204 * soft-fp/trunctfxf2.c: Likewise.
5205 * soft-fp/unorddf2.c: Likewise.
5206 * soft-fp/unordsf2.c: Likewise.
5207 * soft-fp/unordtf2.c: Likewise.
5209 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
5212 * misc/error.c (error_tail): Fix possible buffer overflow.
5214 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
5217 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
5220 2013-10-14 P. J. McDermott <pj@pehjota.net>
5223 * elf/ldd.bash.in (try_trace): New function. Delete previous code
5224 testing pipefail option.
5226 2013-10-12 Joseph Myers <joseph@codesourcery.com>
5228 * soft-fp/double.h: Indent preprocessor directives inside #if.
5229 * soft-fp/extended.h: Likewise.
5230 * soft-fp/op-2.h: Likewise.
5231 * soft-fp/op-4.h: Likewise.
5232 * soft-fp/op-common.h: Likewise.
5233 * soft-fp/quad.h: Likewise.
5234 * soft-fp/single.h: Likewise.
5235 * soft-fp/soft-fp.h: Likewise.
5237 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
5239 * iconv/iconv_prog.c: Fix typos.
5240 * stdio-common/psiginfo-data.h: Likewise.
5242 2013-10-12 Reuben Thomas <rrt@sc3d.org>
5245 * locale/setlocale.c: Fix typo.
5247 2013-10-12 Joseph Myers <joseph@codesourcery.com>
5250 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
5251 signaling NaN arguments.
5252 * soft-fp/unordsf2.c (__unordsf2): Likewise.
5253 * soft-fp/unordtf2.c (__unordtf2): Likewise.
5256 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
5258 * soft-fp/gesf2.c (__gesf2): Likewise.
5259 * soft-fp/getf2.c (__getf2): Likewise.
5260 * soft-fp/ledf2.c (__ledf2): Likewise.
5261 * soft-fp/lesf2.c (__lesf2): Likewise.
5262 * soft-fp/letf2.c (__letf2): Likewise.
5264 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
5265 * soft-fp/eqsf2.c (__eqsf2): Likewise.
5266 * soft-fp/eqtf2.c (__eqtf2): Likewise.
5267 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
5268 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
5269 * soft-fp/fixdfti.c (__fixdfti): Likewise.
5270 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
5271 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
5272 * soft-fp/fixsfti.c (__fixsfti): Likewise.
5273 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
5274 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
5275 * soft-fp/fixtfti.c (__fixtfti): Likewise.
5276 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
5277 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
5278 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
5279 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
5280 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
5281 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
5282 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
5283 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
5284 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
5285 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
5286 * soft-fp/floatdisf.c (__floatdisf): Likewise.
5287 * soft-fp/floatsisf.c (__floatsisf): Likewise.
5288 * soft-fp/floattidf.c (__floattidf): Likewise.
5289 * soft-fp/floattisf.c (__floattisf): Likewise.
5290 * soft-fp/floattitf.c (__floattitf): Likewise.
5291 * soft-fp/floatundidf.c (__floatundidf): Likewise.
5292 * soft-fp/floatundisf.c (__floatundisf): Likewise.
5293 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
5294 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
5295 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
5296 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
5297 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
5298 * soft-fp/gesf2.c (__gesf2): Likewise.
5299 * soft-fp/getf2.c (__getf2): Likewise.
5300 * soft-fp/ledf2.c (__ledf2): Likewise.
5301 * soft-fp/lesf2.c (__lesf2): Likewise.
5302 * soft-fp/letf2.c (__letf2): Likewise.
5304 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
5305 Undefine and redefine.
5306 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
5307 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
5308 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
5309 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
5310 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5311 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
5312 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5313 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
5314 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5315 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
5316 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5317 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
5318 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5319 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
5320 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5323 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
5324 without decrementing exponent if mantissa >= that for the
5326 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
5327 denominator, not >. Decrement exponent in < case instead of
5328 incrementing in >= case.
5329 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
5330 without decrementing exponent if mantissa >= that for the
5333 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
5334 computing saturated result for unsigned overflow.
5336 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5337 Jeff Law <law@redhat.com>
5339 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
5340 (atan2Mp): Add systemtap probe marker.
5341 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
5342 (__ieee754_log): Add systemtap probe marker.
5343 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
5344 (atanMp): Add systemtap probe marker.
5345 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
5346 (tanMp): Add systemtap probe marker.
5347 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
5348 (__slowexp): Add systemtap probe marker.
5349 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
5350 (__slowpow): Add systemtap probe marker.
5351 * manual/probes.texi: Document probes.
5353 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
5356 * libio/fileops.c (_IO_new_file_write): Return count of bytes
5358 (_IO_new_file_xsputn): Don't return EOF if nothing has been
5360 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
5361 written to buffer but not flushed.
5362 * libio/iofwrite_u.c: Likewise.
5363 * libio/iopadn.c: Return bytes returned even if EOF was
5365 * libio/iowpadn.c: Likewise.
5366 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
5367 if _IO_padn does not write the whole buffer.
5368 [!COMPILE_WPRINTF] (PAD): Likewise.
5370 2013-10-10 David S. Miller <davem@davemloft.net>
5372 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
5375 2013-10-10 Joseph Myers <joseph@codesourcery.com>
5377 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
5378 instead of FSF address.
5379 * soft-fp/fixdfti.c: Likewise.
5380 * soft-fp/fixsfti.c: Likewise.
5381 * soft-fp/fixtfti.c: Likewise.
5382 * soft-fp/fixunsdfti.c: Likewise.
5383 * soft-fp/fixunssfti.c: Likewise.
5384 * soft-fp/fixunstfti.c: Likewise.
5385 * soft-fp/floattidf.c: Likewise.
5386 * soft-fp/floattisf.c: Likewise.
5387 * soft-fp/floattitf.c: Likewise.
5388 * soft-fp/floatuntidf.c: Likewise.
5389 * soft-fp/floatuntisf.c: Likewise.
5390 * soft-fp/floatuntitf.c: Likewise.
5391 * soft-fp/trunctfxf2.c: Likewise.
5393 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
5394 * soft-fp/fixdfti.c: Likewise.
5395 * soft-fp/fixsfti.c: Likewise.
5396 * soft-fp/fixtfti.c: Likewise.
5397 * soft-fp/fixunsdfti.c: Likewise.
5398 * soft-fp/fixunssfti.c: Likewise.
5399 * soft-fp/fixunstfti.c: Likewise.
5400 * soft-fp/floattidf.c: Likewise.
5401 * soft-fp/floattisf.c: Likewise.
5402 * soft-fp/floattitf.c: Likewise.
5403 * soft-fp/floatuntidf.c: Likewise.
5404 * soft-fp/floatuntisf.c: Likewise.
5405 * soft-fp/floatuntitf.c: Likewise.
5406 * soft-fp/trunctfxf2.c: Likewise.
5408 2013-10-10 David S. Miller <davem@davemloft.net>
5410 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5412 2013-10-10 Joseph Myers <joseph@codsourcery.com>
5414 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5415 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
5416 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
5417 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
5418 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
5419 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
5420 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
5422 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
5423 for NaNs before doing comparisons on argument.
5424 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5427 2013-10-10 Will Newton <will.newton@linaro.org>
5429 * malloc/hooks.c (memalign_check): Ensure the value of bytes
5430 passed to _int_memalign does not overflow.
5432 2013-10-10 Torvald Riegel <triegel@redhat.com>
5434 * scripts/bench.pl: Add include-sources directive.
5435 * benchtests/README: Update documentation.
5437 2013-10-10 Joseph Myers <joseph@codesourcery.com>
5439 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
5440 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
5441 instead of FP_INIT_ROUNDMODE.
5442 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
5443 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
5446 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
5447 copy class of input value.
5448 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
5449 not handle exceptions.
5450 * soft-fp/negsf2.c (__negsf2): Likewise.
5451 * soft-fp/negtf2.c (__negtf2): Likewise.
5452 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
5454 2013-10-09 Joseph Myers <joseph@codesourcery.com>
5456 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
5457 semicolon. From Linux kernel.
5459 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
5461 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
5463 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
5466 * manual/socket.texi: Added statement about buffer
5467 for gethostbyname2_r.
5469 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
5471 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
5472 Use .p2align directive instead, throughout.
5473 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5474 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5475 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5476 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5477 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5478 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
5479 * sysdeps/x86_64/strchr.S: Likewise.
5480 * sysdeps/x86_64/strrchr.S: Likewise.
5482 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5484 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
5486 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
5488 * sysdeps/generic/math_private.h (__mpsin1): Remove
5490 (__mpcos1): Likewise.
5491 (__mpsin): New argument __range_reduce.
5492 (__mpcos): Likewise.
5493 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5494 (slow): Use __mpsin and __mpcos.
5501 (bsloww1): Likewise.
5502 (bsloww2): Likewise.
5505 (csloww1): Likewise.
5506 (csloww2): Likewise.
5507 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
5508 range_reduce. Merge in __mpsin1.
5509 (__mpcos): Likewise.
5511 (__mpcos1): Likewise.
5513 2013-10-07 Joseph Myers <joseph@codesourcery.com>
5515 * locale/loadlocale.c (_nl_intern_locale_data): Use
5517 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
5518 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
5519 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
5520 obstack data is appropriately aligned.
5521 (obstack_int32_grow_fast): Likewise.
5522 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
5523 * locale/programs/locfile.c (add_locale_uint32): Likewise.
5524 (add_locale_uint32_array): Likewise.
5526 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5528 * benchtests/Makefile: Remove ARGLIST and RET variables.
5529 ($(objpfx)bench-%.c): Pass only function name to the script.
5530 * benchtests/README: Update documentation.
5531 * benchtests/acos-inputs: Add new directives.
5532 * benchtests/acosh-inputs: Likewise.
5533 * benchtests/asin-inputs: Likewise.
5534 * benchtests/asinh-inputs: Likewise.
5535 * benchtests/atan-inputs: Likewise.
5536 * benchtests/atanh-inputs: Likewise.
5537 * benchtests/cos-inputs: Likewise.
5538 * benchtests/cosh-inputs: Likewise.
5539 * benchtests/exp-inputs: Likewise.
5540 * benchtests/log-inputs: Likewise.
5541 * benchtests/pow-inputs: Likewise.
5542 * benchtests/rint-inputs: Likewise.
5543 * benchtests/sin-inputs: Likewise.
5544 * benchtests/sinh-inputs: Likewise.
5545 * benchtests/tan-inputs: Likewise.
5546 * benchtests/tanh-inputs: Likewise.
5547 * scripts/bench.pl: Add support for new directives.
5549 2013-10-07 Alan Modra <amodra@gmail.com>
5551 * README: Fix careless merge.
5553 2013-10-05 Alan Modra <amodra@gmail.com>
5555 * NEWS: Mention powerpc64le support and bugs fixed.
5556 * README: Both big-endian and little-endian powerpc64 supported.
5558 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5560 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
5561 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
5562 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
5563 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
5565 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
5567 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
5570 2013-10-04 Joseph Myers <joseph@codesourcery.com>
5572 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
5573 Move -mhard-float appending from
5574 ports/sysdeps/powerpc/powerpc32/Makefile.
5575 [$(with-fp) = yes] (ASFLAGS): Likewise.
5576 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
5577 * sysdeps/powerpc/nofpu: Move directory from
5578 ports/sysdeps/powerpc/nofpu.
5579 * sysdeps/powerpc/soft-fp: Move directory from
5580 ports/sysdeps/powerpc/soft-fp.
5581 * sysdeps/powerpc/powerpc32/405: Move directory from
5582 ports/sysdeps/powerpc/powerpc32/405.
5583 * sysdeps/powerpc/powerpc32/440: Move directory from
5584 ports/sysdeps/powerpc/powerpc32/440.
5585 * sysdeps/powerpc/powerpc32/464: Move directory from
5586 ports/sysdeps/powerpc/powerpc32/464.
5587 * sysdeps/powerpc/powerpc32/476: Move directory from
5588 ports/sysdeps/powerpc/powerpc32/476.
5589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
5590 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
5591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
5592 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
5593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
5594 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
5595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
5596 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
5597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
5598 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
5599 * README: Update for powerpc-*-linux-gnu software floating point
5602 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
5603 case to powerpc/powerpc32*.
5604 * sysdeps/unix/sysv/linux/configure: Regenerated.
5606 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
5607 (_FPU_MASK_OM): Define as 0x04.
5608 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
5609 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
5611 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
5613 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
5615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
5616 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
5619 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
5622 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
5623 and setcontext_e500.
5625 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
5627 * locale/iso-3166.def: Update iso-1366.def and related occurrences
5629 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5631 * manual/threads.texi (Default Thread Attributes): Fix typo.
5633 2013-10-04 Will Newton <will.newton@linaro.org>
5635 * malloc/Makefile: Add tst-memalign.
5636 * malloc/tst-memalign.c: New file.
5638 * malloc/tst-posix_memalign.c: Add comments.
5639 (do_test): Add comments and call free on all potentially
5640 allocated pointers. Add space after cast.
5642 * malloc/tst-pvalloc.c: Add comments.
5643 (do_test): Add comments and call free on all potentially
5644 allocated pointers. Remove duplicate check for NULL pointer.
5645 Add space after cast.
5647 * malloc/tst-valloc.c: Add comments.
5648 (do_test): Add comments and call free on all potentially
5649 allocated pointers. Remove duplicate check for NULL pointer.
5650 Add space after cast.
5652 2013-10-04 Alan Modra <amodra@gmail.com>
5654 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5655 Use stdint types in rather than __attribute__((mode())).
5656 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5658 2013-10-04 Alan Modra <amodra@gmail.com>
5660 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5661 Correct handling of unaligned relocs for little-endian.
5662 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5664 2013-10-04 Alan Modra <amodra@gmail.com>
5666 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
5667 * configure: Regenerate.
5668 * nptl/shlib-versions: Powerpc*le starts at 2.18.
5669 * shlib-versions: Likewise.
5671 2013-10-04 Alan Modra <amodra@gmail.com>
5673 * string/tester.c (test_memrchr): Increment reported test cycle.
5675 2013-10-04 Alan Modra <amodra@gmail.com>
5677 * string/test-memcpy.c (do_one_test): When reporting errors, print
5678 string address and don't overrun end of string.
5680 2013-10-04 Alan Modra <amodra@gmail.com>
5682 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
5683 insrdi. Make better use of reg selection to speed exit slightly.
5684 Schedule entry path a little better. Remove useless "are we done"
5685 checks on entry to main loop. Handle wrapping around zero address.
5686 Correct main loop count. Handle single left-over word from main
5687 loop inline rather than by using loop_small. Remove extra word
5688 case in loop_small caused by wrong loop count. Add little-endian
5690 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5691 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
5693 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5694 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
5695 support. Avoid rlwimi.
5696 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
5698 2013-10-04 Alan Modra <amodra@gmail.com>
5700 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
5702 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5703 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5704 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5705 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5706 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5707 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
5709 2013-10-04 Alan Modra <amodra@gmail.com>
5711 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
5712 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5713 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5714 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
5715 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5716 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5717 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5718 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5719 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
5720 use of regs. Use power7 mtocrf. Tidy function tails.
5722 2013-10-04 Alan Modra <amodra@gmail.com>
5724 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
5725 Formatting. Consistently use rXXX register defines or rN defines.
5726 Use early exit labels that avoid restoring unused non-volatile regs.
5727 Make cr field use more consistent with rWORDn compares. Rename
5728 regs used as shift registers for unaligned loop, using rN defines
5729 for short lifetime/multiple use regs.
5730 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5731 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
5732 addi 1,1,64 to pop stack frame. Simplify return value code.
5733 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5735 2013-10-04 Alan Modra <amodra@gmail.com>
5737 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5738 support. Correct typos, formatting. Optimize tail. Use insrdi
5740 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5741 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5742 little-endian support. Correct typos.
5743 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
5745 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
5746 in loop and entry code to keep "and." results.
5747 (strchr): Add little-endian support. Comment. Move cntlzd
5749 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5751 2013-10-04 Alan Modra <amodra@gmail.com>
5753 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5754 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5755 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5756 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5758 2013-10-04 Alan Modra <amodra@gmail.com>
5760 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5761 (rTMP): Define as r11.
5762 (strcmp): Add little-endian support. Optimise tail.
5763 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5764 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5765 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5766 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5767 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5768 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5769 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5771 2013-10-04 Alan Modra <amodra@gmail.com>
5773 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5774 little-endian support. Remove unnecessary "are we done" tests.
5775 Handle "s" wrapping around zero and extremely large "size".
5776 Correct main loop count. Handle single left-over word from main
5777 loop inline rather than by using small_loop. Correct comments.
5778 Delete "zero" tail, use "end_max" instead.
5779 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5781 2013-10-04 Alan Modra <amodra@gmail.com>
5783 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5784 support. Don't branch over align.
5785 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5786 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5787 support. Rearrange tmp reg use to suit. Comment.
5788 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5790 2013-10-04 Alan Modra <amodra@gmail.com>
5792 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5794 2013-10-04 Alan Modra <amodra@gmail.com>
5796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5797 conditional form of branch and link when obtaining pc.
5798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5800 2013-10-04 Alan Modra <amodra@gmail.com>
5802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5807 2013-10-04 Alan Modra <amodra@gmail.com>
5809 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5810 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5811 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5812 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5813 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5814 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5815 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5816 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5817 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5818 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5820 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5821 Alistair Popple <alistair@ozlabs.au.ibm.com>
5822 Alan Modra <amodra@gmail.com>
5825 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5826 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5827 _dl_hwcap access for little-endian.
5828 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
5829 destroy vmx regs when saving unaligned.
5830 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5831 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
5832 destroy vmx regs when saving unaligned.
5834 2013-10-04 Alan Modra <amodra@gmail.com>
5836 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5837 Don't use a union to pack hi/low value.
5839 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5841 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5843 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5844 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5845 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5846 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5847 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5849 2013-10-04 Alan Modra <amodra@gmail.com>
5851 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5852 constants to usual value for .cst8 section, and remove redundant
5854 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5855 constant for 0x1p52. Load little-endian words of double from
5856 correct stack offsets.
5858 2013-10-04 Alan Modra <amodra@gmail.com>
5860 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5861 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5862 words of double from correct stack offsets.
5863 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5864 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5865 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5866 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5867 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5868 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5869 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5870 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5871 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5872 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5873 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5874 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5875 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5876 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5877 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5878 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5879 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5881 2013-10-04 Alan Modra <amodra@gmail.com>
5883 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5884 64-bit int/double union.
5885 (_FPU_SETCW): Likewise.
5886 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5887 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5889 2013-10-04 Alan Modra <amodra@gmail.com>
5891 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5892 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5894 2013-10-04 Alan Modra <amodra@gmail.com>
5896 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5897 use vector int constants.
5898 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5900 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5902 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5903 array with long long.
5904 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5905 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5906 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5907 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5908 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5909 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5910 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5911 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5912 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5913 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5914 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5915 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5916 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5918 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5920 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5921 (__signbit): Likewise. Correct for little-endian.
5922 (__signbitl): Call __signbit.
5923 (lrint): Correct for little-endian.
5924 (lrintf): Call lrint.
5926 2013-10-04 Alan Modra <amodra@gmail.com>
5928 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5929 union 32-bit int array member with 64-bit int array.
5930 (t515, tm256): Double rather than long double.
5931 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5933 2013-10-04 Alan Modra <amodra@gmail.com>
5935 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5937 (IEEE854_LONG_DOUBLE_BIAS): Delete.
5938 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5939 version of math_ldbl.h.
5941 2013-10-04 Alan Modra <amodra@gmail.com>
5943 [BZ #15734], [BZ #15735]
5944 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5945 all uses of ieee875 long double macros and unions. Simplify test
5946 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
5947 ldbl_extract_mantissa value for ix,iy exponents. Properly
5948 normalize after ldbl_extract_mantissa, and don't add hidden bit
5949 already handled. Don't treat low word of ieee854 mantissa like
5950 low word of IBM long double and mask off bit when testing for
5952 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5953 all uses of ieee875 long double macros and unions. Simplify tests
5954 for 0.0L and inf. Correct double adjustment of k. Delete dead code
5955 adjusting ha,hb. Simplify code setting kld. Delete two600 and
5956 two1022, instead use their values. Recognise that tests for large
5957 "a" and small "b" are mutually exclusive. Rename vars. Comment.
5958 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5959 Rewrite all uses of ieee875 long double macros and unions. Simplify
5960 test for 0.0L and nan. Correct negation.
5961 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5962 ieee875 long double macros and unions. Correct output for large
5963 magnitude x. Correct absolute value calculation.
5964 (__erfcl): Likewise.
5965 * math/libm-test.inc: Add tests for errors discovered in IBM long
5966 double versions of fmodl, remainderl, erfl and erfcl.
5968 2013-10-04 Alan Modra <amodra@gmail.com>
5970 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5971 all uses of ieee854 long double macros and unions. Simplify tests
5972 for long doubles that are fully specified by the high double.
5973 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5975 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5976 Remove dead code too.
5977 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5978 (__ieee754_ynl): Likewise.
5979 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5980 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5981 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5982 Remove dead code too.
5983 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5984 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5985 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5986 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5988 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5990 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5991 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5992 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5993 Comment on variable precision.
5994 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5995 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5997 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5998 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5999 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6000 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6001 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
6003 2013-10-04 Alan Modra <amodra@gmail.com>
6005 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
6006 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
6007 all uses of ieee854 long double macros and unions.
6008 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
6009 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6010 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
6011 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
6012 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6013 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6015 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
6016 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6017 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
6018 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6019 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6020 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6021 Simplify sign and nan test too.
6022 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
6023 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6024 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
6025 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6027 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6028 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6030 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6031 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6032 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6033 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6034 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6035 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6037 2013-10-04 Alan Modra <amodra@gmail.com>
6039 * stdio-common/printf_size.c (__printf_size): Don't use
6040 union ieee854_long_double in fpnum union.
6041 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
6042 signbit macro to retrieve sign from long double.
6043 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6044 retrieve sign from long double.
6045 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6046 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6047 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6048 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6049 * math/test-misc.c (main): Don't use union ieee854_long_double.
6051 2013-10-04 Alan Modra <amodra@gmail.com>
6054 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6055 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6056 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6057 calculation. Remove unnecessary test for denormal exponent.
6058 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6059 Correct handling of denormals. Avoid undefined shift behaviour.
6060 Correct normalisation of low mantissa when low double is denormal.
6061 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6062 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
6063 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
6064 Correct normalisation of low mantissa. Test for overflow of high
6065 mantissa and normalise.
6066 (ldbl_nearbyint): Use more readable constant for two52.
6067 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
6068 (__mpn_construct_long_double): Fix test for overflow of high
6069 mantissa and correct normalisation. Avoid undefined shift.
6071 2013-10-04 Alan Modra <amodra@gmail.com>
6073 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6074 (union ibm_extended_long_double): Define as an array of ieee754_double.
6075 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
6076 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
6077 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
6078 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6079 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6080 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
6081 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6082 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6083 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6084 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
6085 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6087 2013-10-03 Joseph Myers <joseph@codesourcery.com>
6089 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
6090 page size instead of calling getpagesize.
6092 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
6093 (LOCFILE_ALIGN_MASK): Likewise.
6094 (LOCFILE_ALIGN_UP): Likewise.
6095 (LOCFILE_ALIGNED_P): Likewise.
6096 * locale/programs/ld-collate.c (collate_output): Use the new
6097 macros instead of __alignof__ (int32_t).
6098 * locale/weight.h (findidx): Likewise.
6100 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
6103 * manual/string.texi: Fix strncat and wcsncat.
6105 2013-10-03 Brooks Moses <bmoses@google.com>
6108 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
6109 * Makerules: ...here, and adjust associated comments.
6111 2013-10-02 Will Newton <will.newton@linaro.org>
6113 * malloc/Makefile: Add tst-pvalloc.
6114 * malloc/tst-pvalloc.c: New file.
6116 2013-10-02 Will Newton <will.newton@linaro.org>
6118 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
6119 improve test coverage.
6121 2013-10-02 Will Newton <will.newton@linaro.org>
6123 * malloc/Makefile: Add tst-posix_memalign.
6124 * malloc/tst-posix_memalign.c: New file.
6126 2013-10-01 Eric Blake <eblake@redhat.com>
6128 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
6129 Use __THROWNL rather than __THROW on static functions.
6131 2013-09-30 Petr Machata <pmachata@redhat.com>
6133 * elf/elf.h (R_AARCH64_ABS16): New macro.
6134 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
6135 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
6136 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
6137 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
6138 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
6139 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
6140 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
6141 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
6142 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
6143 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
6144 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
6145 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
6146 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
6147 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
6148 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
6149 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
6150 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
6151 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
6152 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
6153 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
6154 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
6155 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
6156 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
6157 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
6158 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
6159 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
6160 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
6161 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
6162 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
6163 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
6164 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
6165 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
6166 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
6167 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
6168 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
6169 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
6170 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
6171 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
6172 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
6173 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
6174 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
6175 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
6176 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
6177 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
6178 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
6179 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
6180 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
6181 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
6182 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
6183 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
6184 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
6185 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
6186 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
6187 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
6188 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
6189 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
6190 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
6191 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
6192 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
6193 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
6194 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
6195 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
6196 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
6197 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
6198 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
6199 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
6200 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
6201 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
6202 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
6203 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
6204 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
6205 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
6206 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
6207 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
6208 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
6209 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
6210 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
6211 (R_AARCH64_TLSDESC_LDR): Likewise.
6212 (R_AARCH64_TLSDESC_ADD): Likewise.
6213 (R_AARCH64_TLSDESC_CALL): Likewise.
6215 2013-09-30 Andreas Schwab <schwab@suse.de>
6218 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
6219 the nss database lookup.
6220 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6221 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6223 2013-09-28 Mike Frysinger <vapier@gentoo.org>
6225 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
6227 2013-09-28 P. J. McDermott <pj@pehjota.net>
6229 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
6230 ${Bash-specific parameter/pattern/string} parameter expansion.
6231 * sysdeps/unix/make-syscalls.sh: Likewise.
6233 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6235 * sysdeps/sh/stackguard-macros.h: New file.
6237 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
6239 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6240 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
6241 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
6242 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
6243 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6244 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
6246 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6248 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
6249 Fix thread ID register.
6251 2013-09-25 Joseph Myers <joseph@codesourcery.com>
6253 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
6254 [POSIX || UNIX98]: Require rather than permitting all symbols from
6256 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
6257 element of struct sched_param.
6258 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
6259 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
6260 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
6261 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
6264 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
6266 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
6267 argument calculation.
6269 2013-09-24 Joseph Myers <joseph@codesourcery.com>
6271 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
6273 [POSIX] (pthread_attr_t): Do not require type.
6274 [POSIX] (pthread_cond_t): Likewise.
6275 [POSIX] (pthread_condattr_t): Likewise.
6276 [POSIX] (pthread_key_t): Likewise.
6277 [POSIX] (pthread_mutex_t): Likewise.
6278 [POSIX] (pthread_mutexattr_t): Likewise.
6279 [POSIX] (pthread_once_t): Likewise.
6280 [POSIX] (pthread_t): Likewise.
6281 [POSIX-based standards] (pthread_atfork): Expect function.
6283 2013-09-24 Joseph Myers <joseph@codesourcery.com>
6284 Richard Sandiford <richard@codesourcery.com>
6286 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
6287 (swap_endianness_p): New extern variable.
6288 (set_big_endian): New inline function.
6289 (maybe_swap_uint32): Likewise.
6290 (maybe_swap_uint32_array): Likewise.
6291 (maybe_swap_uint32_obstack): Likewise.
6292 * locale/programs/locfile.c: Include <stdbool.h>.
6293 (swap_endianness_p): New variable.
6294 (add_locale_uint32): Call maybe_swap_uint32.
6295 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
6296 (write_locale_data): Call maybe_swap_uint32_array.
6297 * locale/programs/ld-collate.c (obstack_int32_grow): Call
6299 (obstack_int32_grow_fast): Likewise.
6300 (output_weightwc): Call maybe_swap_uint32_obstack.
6301 (collate_output): Likewise.
6302 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
6303 (OPT_LITTLE_ENDIAN): Likewise.
6304 (options): Add --little-endian and --big-endian options.
6305 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
6306 * locale/programs/locarchive.c: Include "locfile.h".
6310 (create_archive): Use the new macros to access fields of
6311 structures directly mapped from or written to locale archives.
6312 (oldlocrecentcmp): Likewise.
6313 (enlarge_archive): Likewise.
6314 (insert_name): Likewise.
6315 (add_alias): Likewise.
6316 (add_locale): Likewise.
6317 (delete_locales_from_archive): Likewise.
6318 (show_archive_content): Likewise.
6319 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
6322 2013-09-24 Roland McGrath <roland@hack.frob.com>
6324 * manual/freemanuals.texi: Updated from (newly) canonical copy at
6325 http://www.gnu.org/doc/freemanuals.texi.
6326 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
6328 2013-09-24 Will Newton <will.newton@linaro.org>
6330 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
6333 2013-09-23 Joseph Myers <joseph@codesourcery.com>
6335 * locale/hashval.h (compute_hashval): Interpret bytes of key as
6338 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
6340 * manual/threads.texi (POSIX Threads): Fix a typo.
6342 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6345 * string/tst-strcoll-overflow.c: New test case.
6346 * string/Makefile (xtests): Add tst-strcoll-overflow.
6347 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
6348 cache if string sizes may cause integer overflow.
6351 * string/strcoll_l.c (coll_seq): New members rule, idx,
6352 save_idx and back_us.
6353 (get_next_seq_nocache): New function.
6354 (do_compare_nocache): New function.
6355 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
6358 2013-09-23 Carlos O'Donell <carlos@redhat.com>
6361 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
6362 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
6363 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
6366 * elf/Makefile (tests): Add tst-ptrguard1.
6367 (tests-static): Add tst-ptrguard1-static.
6368 (tst-ptrguard1-ARGS): Define.
6369 (tst-ptrguard1-static-ARGS): Define.
6370 * elf/tst-ptrguard1.c: New file.
6371 * elf/tst-ptrguard1-static.c: New file.
6372 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
6373 * sysdeps/i386/stackguard-macros.h: Likewise.
6374 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6375 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6376 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6377 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6378 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6379 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6381 2013-09-23 Hector Marco <hecmargi@upv.es>
6382 Ismael Ripoll <iripoll@disca.upv.es>
6383 Carlos O'Donell <carlos@redhat.com>
6386 * sysdeps/generic/stackguard-macros.h: Define
6387 __pointer_chk_guard_local and POINTER_CHK_GUARD.
6388 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
6389 Define __pointer_chk_guard_local.
6390 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
6391 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
6393 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
6396 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
6398 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
6400 * include/string.h (__ffs): Declare as hidden.
6401 * string/ffs.c (__ffs): Define as hidden.
6402 * sysdeps/i386/ffs.c (__ffs): Likewise.
6403 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6404 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
6405 * sysdeps/s390/ffs.c (__ffs): Likewise.
6406 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
6408 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
6410 * NEWS: Mention malloc probes.
6412 * malloc/arena.c (new_heap): New memory_heap_new probe.
6413 (grow_heap): New memory_heap_more probe.
6414 (shrink_heap): New memory_heap_less probe.
6415 (heap_trim): New memory_heap_free probe.
6416 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
6417 (systrim): New memory_sbrk_less probe.
6418 * manual/probes.texi: Document them.
6420 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
6421 * manual/probes.texi: Document it.
6423 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
6424 (__libc_realloc): Add memory_realloc_retry probe.
6425 (__libc_memalign): Add memory_memalign_retry probe.
6426 (__libc_valloc): Add memory_valloc_retry probe.
6427 (__libc_pvalloc): Add memory_pvalloc_retry probe.
6428 (__libc_calloc): Add memory_calloc_retry probe.
6429 * manual/probes.texi: Document them.
6431 * malloc/arena.c (get_free_list): Add probe
6432 memory_arena_reuse_free_list.
6433 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
6434 and memory_arena_reuse.
6435 (arena_get2) [!PER_THREAD]: Likewise.
6436 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
6437 memory_arena_reuse_realloc.
6438 * manual/probes.texi: Document them.
6440 * malloc/malloc.c (__libc_free): Add
6441 memory_mallopt_free_dyn_thresholds probe.
6442 (__libc_mallopt): Add multiple memory_mallopt probes.
6443 * manual/probes.texi: Document them.
6445 * malloc/malloc.c: Include stap-probe.h.
6446 (__libc_mallopt): Add memory_mallopt probe.
6447 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
6448 * manual/probes.texi: New.
6449 * manual/Makefile (chapters): Add probes.
6450 * manual/threads.texi: Set next node.
6452 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
6455 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
6456 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
6457 Add `Chinese' to `nan' entry name.
6459 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6461 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
6462 (POLYNOMIAL): Likewise.
6463 (TAYLOR_SINCOS): Likewise.
6464 (TAYLOR_SLOW): Likewise.
6465 (__sin): Use TAYLOR_SINCOS.
6467 (slow): Use TAYLOR_SLOW.
6472 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6474 * stdlib/strtod_l.c: Fix buffer overrun.
6476 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6478 * benchtests/Makefile (bench): Add sincos.
6479 * benchtests/bench-sincos.c: New file.
6481 * math/libm-test.inc (cos_test_data): New test inputs.
6482 (sin_test_data): Likewise.
6484 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
6492 (bsloww1): Likewise.
6493 (bsloww2): Likewise.
6495 (csloww1): Likewise.
6496 (csloww2): Likewise.
6498 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
6503 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
6507 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
6509 * config.h.in (HAVE_MIPS_NAN2008): New macro.
6510 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
6511 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
6512 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
6513 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
6514 * elf/cache.c (print_entry): Handle the new cache flags.
6516 2013-09-18 Joseph Myers <joseph@codesourcery.com>
6517 Aldy Hernandez <aldyh@redhat.com>
6519 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
6520 Change condition to [_SOFT_FLOAT].
6521 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
6522 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
6523 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
6524 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
6525 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
6526 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
6527 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
6528 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
6529 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
6530 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
6531 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
6532 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
6533 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
6534 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
6535 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
6536 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
6539 2013-09-18 Joseph Myers <joseph@codesourcery.com>
6541 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
6542 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6543 (__longjmp): Use LOAD_GP to load saved GPRs.
6544 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
6545 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6546 (__sigsetjmp): Use SAVE_GP to save GPRs.
6548 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
6549 Do not append -msoft-float.
6550 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
6552 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6554 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
6556 2013-09-17 Joseph Myers <joseph@codesourcery.com>
6559 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
6560 (_FPU_GETCW): Use initial "__" on variable and field names but not
6561 on macro parameter name.
6562 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
6563 parentheses around reference to macro parameter.
6565 2013-09-13 Richard Sandiford <richard@codesourcery.com>
6567 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
6569 (ctype_startup): Use uint32_t in cast and sizeof for
6572 2013-09-11 Jia Liu <proljc@gmail.com>
6574 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
6576 [__FreeBSD__]: Likewise.
6578 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
6580 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6581 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
6582 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
6583 (strchr): Remove __strchr_sse42 ifunc selection.
6584 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
6585 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
6587 2013-09-11 Will Newton <will.newton@linaro.org>
6589 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
6590 parameter to RES. Remove hardcoded 1000 value.
6591 * benchtests/bench-skeleton.c (main): Pass RES parameter
6592 to TIMING_INIT and multiply result by 1000.
6594 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6598 2013-09-11 Andreas Schwab <schwab@suse.de>
6600 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6602 (O_TMPFILE) [__USE_GNU]: Define.
6603 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
6606 2013-09-11 Will Newton <will.newton@linaro.org>
6609 * malloc/malloc.c (__libc_memalign): Check the value of bytes
6612 2013-09-11 Will Newton <will.newton@linaro.org>
6615 * malloc/malloc.c (__libc_valloc): Check the value of bytes
6618 2013-09-11 Will Newton <will.newton@linaro.org>
6621 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
6624 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
6626 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
6627 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6628 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6629 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6630 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6632 2013-09-10 Allan McRae <allan@archlinux.org>
6635 * manual/arith.texi (Parsing of Floats): Clarify
6639 * manual/install.texi (Running make install): Mention
6641 * INSTALL: Regenerated.
6643 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6645 * csu/init-first.c (_init): Remove the !SHARED condition around
6646 FPU control word initialization.
6647 * elf/dl-support.c (_dl_fpu_control): New variable.
6648 (_dl_aux_init) <AT_FPUCW>: Initialize it.
6649 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
6650 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
6651 * math/test-fpucw-static.c: New file.
6652 * math/test-fpucw-ieee.c: New file.
6653 * math/test-fpucw-ieee-static.c: New file.
6654 * math/Makefile (tests): Add `test-fpucw-ieee' and
6656 (tests-static): New variable.
6657 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
6659 [($(build-shared),yes)]
6660 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6662 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
6665 2013-09-09 Allan McRae <allan@archlinux.org>
6668 * manual/string.texi (Collation Functions): Fix typo in
6670 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
6673 * stdlib/isomac.c (get_null_defines): Fix memory leak.
6676 * libio/memstream.c (open_memstream): Fix memory leak.
6677 * libio/wmemstream.c (open_wmemstream): Likewise.
6680 * nscd/netgroupcache.c: Fix nesting of ifdefs.
6682 2013-09-09 Will Newton <will.newton@linaro.org>
6684 * malloc/Makefile: Add tst-realloc to tests.
6685 * malloc/tst-realloc.c: New file.
6687 2013-09-09 Allan McRae <allan@archlinux.org>
6690 * COPYING: Update from GNU website to fix FSF address.
6691 * COPYING.LIB: Likewise.
6693 2013-09-06 David S. Miller <davem@davemloft.net>
6695 * po/zh_TW.po: Update Chinese (traditional) translation from
6696 translation project.
6698 2013-09-06 Richard Sandiford <richard@codesourcery.com>
6699 Joseph Myers <joseph@codesourcery.com>
6701 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
6703 (obstack_chunk_alloc): New macro.
6704 (obstack_chunk_free): Likewise.
6705 (record_offset): New function.
6706 (init_locale_data): Likewise.
6707 (align_locale_data): Likewise.
6708 (add_locale_empty): Likewise.
6709 (add_locale_raw_data): Likewise.
6710 (add_locale_raw_obstack): Likewise.
6711 (add_locale_string): Likewise.
6712 (add_locale_wstring): Likewise.
6713 (add_locale_uint32): Likewise.
6714 (add_locale_uint32_array): Likewise.
6715 (add_locale_char): Likewise.
6716 (start_locale_structure): Likewise.
6717 (end_locale_structure): Likewise.
6718 (start_locale_prelude): Likewise.
6719 (end_locale_prelude): Likewise.
6720 (write_locale_data): Take locale_file structure rather than an
6722 * locale/programs/locfile.h: Include "obstack.h".
6723 (struct locale_file): Change to store locale file contents instead
6725 (init_locale_data): New prototype.
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): Update prototype.
6740 * locale/programs/3level.h (struct TABLE): Remove result field.
6741 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6742 Use new locale_file interface.
6743 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6744 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6745 * locale/programs/ld-address.c (address_output): Use new
6746 locale_file interface.
6747 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6749 (collate_finish): Don't call collseq_table_finalize.
6750 (collate_output): Use new locale_file interface.
6751 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6753 (NO_FINALIZE): Change to NO_ADD_LOCALE.
6754 (TABLE): Move defines earlier in file.
6755 (ELEMENT): Likewise.
6756 (DEFAULT): Likewise.
6757 (wctrans_table_add): Move macro and inline function earlier in
6759 (struct wctype_table): Move type earlier in file.
6760 (add_locale_wctype_table): New static prototype.
6761 (struct locale_ctype_t): Use logical types instead of struct iovec
6762 pointers for members.
6763 (ctype_output): Use new locale_file interface.
6764 (wctype_table_finalize): Change to add_locale_wctype_table. Use
6765 new locale_file interface.
6766 (allocate_arrays): Update for use of new locale_file interface.
6767 * locale/programs/ld-identification.c (identification_output): Use
6768 new locale_file interface.
6769 * locale/programs/ld-measurement.c (measurement_output): Likewise.
6770 * locale/programs/ld-messages.c (messages_output): Likewise.
6771 * locale/programs/ld-monetary.c (monetary_output): Likewise.
6772 * locale/programs/ld-name.c (name_output): Likewise.
6773 * locale/programs/ld-numeric.c (numeric_output): Likewise.
6774 * locale/programs/ld-paper.c (paper_output): Likewise.
6775 * locale/programs/ld-telephone.c (telephone_output): Likewise.
6776 * locale/programs/ld-time.c (time_output): Likewise.
6778 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6780 * benchtests/Makefile: Add memrchr benchmark.
6781 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6782 benchmark as memrchr.
6783 * benchtests/bench-memrchr-ifunc.c: New file.
6784 * benchtests/bench-memrchr.c: New file.
6786 2013-09-06 Will Newton <will.newton@linaro.org>
6788 * benchtests/Makefile (string-bench): Add memcpy.
6790 2013-09-05 Carlos O'Donell <carlos@redhat.com>
6791 Cong Wang <amwang@redhat.com>
6794 * sysdeps/unix/sysv/linux/bits/in.h
6795 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6796 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6797 before __USE_KERNEL_IPV6_DEFS uses.
6798 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6800 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6801 sockaddr_in6, or ipv6_mreq.
6803 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6805 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6806 memory access for final bytes in some large inputs.
6807 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6809 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6811 * string/test-memrchr.c: New file.
6812 * string/test-memrchr-ifunc.c: New file.
6813 * string/Makefile: Add new memrchr testcase.
6815 2013-09-05 Mike Frysinger <vapier@gentoo.org>
6817 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6818 fanotify_init returns EPERM.
6820 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6822 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6824 (top level): Treat second token from macro or constant entries for
6825 allowed headers as allowed.
6826 * include/complex.h: Condition internal declarations on
6828 * include/fenv.h: Condition include of <stdbool.h> and internal
6829 declarations on [!_ISOMAC].
6831 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
6834 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6836 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6838 * configure.in (--enable-versioning): Remove configure option.
6839 (libc_cv_asm_symver_directive): Remove configure test.
6840 (libc_cv_ld_version_script_option): Likewise.
6841 (VERSIONING): Remove variable and AC_SUBST.
6842 (DO_VERSIONING): Remove AC_DEFINE.
6843 * configure: Regenerated.
6844 * config.h.in (DO_VERSIONING): Remove macro.
6845 * Makerules [$(versioning) = yes]: Change conditionals to
6846 [$(build-shared) = yes].
6847 * config.make.in (versioning): Remove variable.
6848 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6849 [$(build-shared) = yes].
6850 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6851 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6852 * elf/Makefile [$(versioning) = yes]: Change conditionals to
6853 [$(build-shared) = yes].
6854 * extra-lib.mk [$(versioning) = yes]: Likewise.
6855 * hurd/Makefile [$(versioning) = yes]: Likewise.
6856 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6858 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6860 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6861 [SHARED && !NO_HIDDEN].
6862 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6864 [SHARED && DO_VERSIONING]: Likewise..
6865 * libio/Makefile [$(versioning) = yes]: Change conditionals to
6866 [$(build-shared) = yes].
6867 * manual/install.texi (--disable-versioning): Remove
6869 * INSTALL: Regenerated.
6870 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6872 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6873 [$(build-shared) = yes].
6874 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6875 * sysdeps/i386/i686/multiarch/strstr-c.c
6876 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6877 [SHARED && !NO_HIDDEN].
6878 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6879 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6880 * sysdeps/powerpc/powerpc32/dl-machine.c
6881 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6882 * sysdeps/powerpc/powerpc32/sysdep.h
6883 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6884 to [SHARED && PIC && !NO_HIDDEN].
6885 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6886 conditional to [SHARED].
6888 2013-09-04 Will Newton <will.newton@linaro.org>
6890 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6891 * benchtests/bench-string.h: Include bench-timing.h instead
6892 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6893 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6894 call to HP_TIMING_DIFF_INIT.
6895 * benchtests/bench-memccpy.c: Use bench-timing.h macros
6896 instead of hp-timing.h macros.
6897 * benchtests/bench-memchr.c: Likewise.
6898 * benchtests/bench-memcmp.c: Likewise.
6899 * benchtests/bench-memcpy.c: Likewise.
6900 * benchtests/bench-memmem.c: Likewise.
6901 * benchtests/bench-memmove.c: Likewise.
6902 * benchtests/bench-memset.c: Likewise.
6903 * benchtests/bench-rawmemchr.c: Likewise.
6904 * benchtests/bench-strcasecmp.c: Likewise.
6905 * benchtests/bench-strcasestr.c: Likewise.
6906 * benchtests/bench-strcat.c: Likewise.
6907 * benchtests/bench-strchr.c: Likewise.
6908 * benchtests/bench-strcmp.c: Likewise.
6909 * benchtests/bench-strcpy.c: Likewise.
6910 * benchtests/bench-strcpy_chk.c: Likewise.
6911 * benchtests/bench-strlen.c: Likewise.
6912 * benchtests/bench-strncasecmp.c: Likewise.
6913 * benchtests/bench-strncat.c: Likewise.
6914 * benchtests/bench-strncmp.c: Likewise.
6915 * benchtests/bench-strncpy.c: Likewise.
6916 * benchtests/bench-strnlen.c: Likewise.
6917 * benchtests/bench-strpbrk.c: Likewise.
6918 * benchtests/bench-strrchr.c: Likewise.
6919 * benchtests/bench-strspn.c: Likewise.
6920 * benchtests/bench-strstr.c: Likewise.
6922 2013-09-04 Will Newton <will.newton@linaro.org>
6924 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6926 2013-09-03 Joseph Myers <joseph@codesourcery.com>
6929 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6930 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6931 * math/libm-test.inc (lgamma_test_data): Add more tests.
6932 * sysdeps/i386/fpu/libm-test-ulps: Update.
6933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6935 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
6937 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6938 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6940 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6941 Add strcmp-sse2-unaligned
6942 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6944 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6946 * Versions.def (libc): Add GLIBC_2.19.
6948 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6950 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6951 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6953 2013-09-02 Joseph Myers <joseph@codesourcery.com>
6956 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6957 intermediate calculations in recurrence.
6958 (__ieee754_ynf): Likewise.
6959 * math/libm-test.inc (jn_test_data): Do not allow spurious
6960 underflow exception. Add more tests.
6961 (yn_test_data): Add more tests.
6962 * sysdeps/i386/fpu/libm-test-ulps: Update.
6963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6965 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
6967 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6969 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6971 * csu/init-first.c: Fix then/than typos.
6972 * locale/programs/ld-collate.c: Likewise.
6973 * locale/programs/linereader.h: Likewise.
6974 * manual/charset.texi: Likewise.
6975 * manual/filesys.texi: Likewise.
6976 * manual/stdio.texi: Likewise.
6977 * manual/string.texi: Likewise.
6978 * stdlib/fmtmsg.c: Likewise.
6979 * sysdeps/i386/stpncpy.S: Likewise.
6980 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6981 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6982 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6983 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6985 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6987 * elf/dl-open.c: Fix typos.
6988 * iconvdata/gbbig5.c: Likewise.
6989 * iconvdata/iso-2022-jp.c: Likewise.
6990 * iconv/gconv_int.h: Likewise.
6991 * iconv/loop.c: Likewise.
6992 * nis/rpcsvc/nis.h: Likewise.
6993 * resolv/ns_name.c: Likewise.
6994 * stdio-common/vfscanf.c: Likewise.
6995 * streams/stropts.h: Likewise.
6996 * sunrpc/rpc_thread.c: Likewise.
6997 * sysdeps/i386/strpbrk.S: Likewise.
6998 * sysdeps/ieee754/k_standard.c: Likewise.
6999 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7000 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7001 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7002 * sysdeps/mach/hurd/profil.c: Likewise.
7003 * sysdeps/s390/dl-procinfo.h: Likewise.
7004 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7005 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7006 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
7007 * sysdeps/x86_64/dl-trampoline.S: Likewise.
7008 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7010 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7012 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
7013 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
7015 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
7017 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
7019 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
7020 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
7021 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
7022 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
7023 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
7024 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
7025 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
7026 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
7028 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7029 Roland McGrath <roland@hack.frob.com>
7031 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7032 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7034 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
7036 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7037 __executable_start symbol instead of _start.
7039 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7041 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7042 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7044 * sysdeps/gnu/ldsodefs.h: ... this new file.
7046 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7047 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7048 instead of ELFOSABI_LINUX.
7050 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
7051 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7052 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7053 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7055 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7056 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7057 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7059 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7060 (ibm_extended_long_double): Add ieee_nan member.
7061 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
7062 (do_test): New function.
7064 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7066 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7067 functions, renamed from truncdfsf_test, trunctfsf_test,
7069 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7071 (do_test): Run all these.
7073 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
7075 * argp/argp-help.c: Fix typos.
7076 * argp/argp-parse.c: Likewise.
7077 * debug/backtracesyms.c: Likewise.
7078 * elf/elf.h: Likewise.
7079 * malloc/malloc.c: Likewise.
7080 * nis/nis_print.c: Likewise.
7081 * resolv/res_comp.c: Likewise.
7082 * stdlib/stdlib.h: Likewise.
7083 * sunrpc/clnt_tcp.c: Likewise.
7084 * sunrpc/clnt_udp.c: Likewise.
7085 * sunrpc/clnt_unix.c: Likewise.
7086 * sysdeps/unix/bsd/ptsname.c: Likewise.
7087 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7088 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
7089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
7091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
7093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7095 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7097 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7099 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
7100 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7102 2013-08-27 Mike Frysinger <vapier@gentoo.org>
7105 * dlfcn/Makefile (tests): Add bug-dl-leaf.
7106 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
7107 ($(objpfx)bug-dl-leaf): New rule.
7108 ($(objpfx)bug-dl-leaf.so): Likewise.
7109 ($(objpfx)bug-dl-leaf.out): Likewise.
7110 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
7111 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
7112 * dlfcn/bug-dl-leaf.c: New test.
7113 * dlfcn/bug-dl-leaf-lib.c: Likewise.
7114 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
7115 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
7116 (dlclose): Likewise.
7117 (dlmopen): Likewise.
7119 2013-08-27 Roland McGrath <roland@hack.frob.com>
7121 * include/netdb.h [!_ISOMAC]:
7122 Don't include <tls.h>.
7123 (h_errno, __libc_h_errno): Move declaration and macros out of
7126 * include/resolv.h [_RESOLV_H_]:
7127 Don't include <tls.h>.
7128 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
7129 * resolv/res_libc.c: Don't include <tls.h>.
7130 (_res): Use __attribute__ ((nocommon)) in place of
7131 __attribute__ ((section (".bss"))).
7133 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
7134 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
7136 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
7138 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
7139 only under [SIOCGIFCONF && SIOCGIFNETMASK].
7141 * resolv/res_mkquery.c: Include <sys/time.h>.
7143 * inet/ifreq.c: Moved to ...
7144 * sysdeps/unix/ifreq.c: ... here.
7145 * inet/ifreq.c: New file, true stub version.
7147 * socket/sa_len.c: New file.
7148 * socket/Makefile (aux): Add it.
7149 * sysdeps/unix/sysv/linux/Makefile
7150 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
7151 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
7152 and #include <socket/sa_len.c>.
7153 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
7154 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
7156 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
7157 * bits/socket.h: ... here.
7159 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
7160 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
7161 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
7163 2013-08-27 Andreas Schwab <schwab@suse.de>
7166 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
7167 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
7168 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
7169 * string/test-strcasecmp.c (test_main): Run tests in several
7171 * string/test-strncasecmp.c (test_main): Likewise.
7173 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
7174 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
7175 to __strcasecmp_nonascii and __strncasecmp_nonascii.
7176 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
7177 (__strncasecmp_ssse3) [PIC]: Likewise.
7179 2013-08-26 Roland McGrath <roland@hack.frob.com>
7181 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
7183 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
7184 instead of explicitly declaring xdecrypt.
7185 * nis/nss_nis/nis-publickey.c: Likewise.
7187 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7190 * nscd/aicache.c: Include res_hconf.h.
7191 (addhstaiX): Initialize res_hconf.
7193 2013-08-26 Andreas Schwab <schwab@suse.de>
7195 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
7196 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
7198 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7200 * nscd/aicache.c (addhstaiX): Fix indentation.
7202 2013-08-25 Mike Frysinger <vapier@gentoo.org>
7204 * configure.ac: Quote $build_pt_chown test.
7205 * configure: Regenerated.
7207 2013-08-23 Joseph Myers <joseph@codesourcery.com>
7210 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
7211 * math/s_cexpf.c (__cexpf): Likewise.
7212 * math/s_cexpl.c (__cexpl): Likewise.
7213 * math/libm-test.inc (cexp_test_data): Correct expected return
7214 value for NaN + i0. Add another test.
7216 2013-08-22 David S. Miller <davem@davemloft.net>
7218 * po/ca.po: Update Catalan translation from translation project.
7219 * po/uk.po: Add Ukrainian translations from translation project.
7221 2013-08-21 Joseph Myers <joseph@codesourcery.com>
7224 * math/s_fdim.c (__fdim): Check for infinite arguments if result
7225 is infinite, not alongside NaN test.
7226 * math/s_fdimf.c (__fdimf): Likewise.
7227 * math/s_fdiml.c (__fdiml): Likewise.
7228 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
7231 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
7233 * argp/argp-help.c: Fix typos.
7234 * crypt/speeds.c: Likewise.
7235 * csu/check_fds.c: Likewise.
7236 * elf/dl-load.c: Likewise.
7237 * elf/dl-open.c: Likewise.
7238 * elf/reldep3.c: Likewise.
7239 * elf/reldep.c: Likewise.
7240 * elf/sprof.c: Likewise.
7241 * iconv/iconv_charmap.c: Likewise.
7242 * iconv/skeleton.c: Likewise.
7243 * iconv/strtab.c: Likewise.
7244 * io/lockf64.c: Likewise.
7245 * libio/libioP.h: Likewise.
7246 * resolv/gai_notify.c: Likewise.
7247 * resolv/ns_name.c: Likewise.
7248 * resolv/ns_samedomain.c: Likewise.
7249 * resolv/res_send.c: Likewise.
7250 * stdlib/random.c: Likewise.
7251 * sunrpc/rpc/xdr.h: Likewise.
7252 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
7253 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7254 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7255 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7256 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7257 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7258 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7259 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7260 * sysdeps/mach/hurd/check_fds.c: Likewise.
7261 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7262 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7263 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7264 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7265 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7266 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7267 * sysdeps/pthread/aio_notify.c: Likewise.
7268 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
7269 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
7270 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
7271 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7272 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7274 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7276 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
7277 version if bit_Slow_SSE4_2 is set.
7278 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7279 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7281 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7284 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
7285 trampoline stack frame information.
7286 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
7287 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
7288 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
7289 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
7290 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
7291 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7292 (_libc_vdso_platform_setup): Initialize the signal trampolines.
7293 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
7295 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
7296 interrupting a syscall and set with option SA_SIGINFO.
7298 2013-08-20 Joseph Myers <joseph@codesourcery.com>
7301 * math/s_cproj.c (__cproj): Only return an infinity if one part of
7302 argument is infinite.
7303 * math/s_cprojf.c (__cprojf): Likewise.
7304 * math/s_cprojl.c (__cprojl): Likewise.
7305 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
7306 * math/libm-test.inc (cproj_test_data): Add more tests.
7308 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
7310 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
7311 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
7312 size. Use __ffs to determine corresponding shift.
7314 2013-08-20 Joseph Myers <joseph@codesourcery.com>
7315 Roland McGrath <roland@hack.frob.com>
7317 * Makefile (INSTALL): Remove trailing blank lines from output of
7320 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7322 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
7323 Align 32 bit compat elf_greg to 8 bytes.
7325 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7327 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
7329 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7331 * string/strcoll_l.c (coll_seq): New structure.
7332 (get_next_seq_cached): New function.
7333 (get_next_seq): New function.
7334 (do_compare): New function.
7335 (STRCOLL): Use GNU style definition. Simplify implementation
7336 by using get_next_seq, get_next_seq_cached and do_compare.
7338 2013-08-16 Florian Weimer <fweimer@redhat.com>
7342 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
7344 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
7346 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
7347 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
7348 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
7350 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
7351 GETDENTS_64BIT_ALIGNED.
7352 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7353 * manual/filesys.texi (Reading/Closing Directory): Document
7354 ENAMETOOLONG return value of readdir_r. Recommend readdir more
7356 * manual/conf.texi (Limits for Files): Add portability note to
7358 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
7360 2013-08-13 Andreas Schwab <schwab@suse.de>
7363 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
7365 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
7366 LDBL_MAX_EXP >= 16384]: Add tests for it.
7368 2013-08-12 David S. Miller <davem@davemloft.net>
7370 * version.h (RELEASE): Set to "development".
7371 (VERSION): Set to "2.18.90".
7372 * NEWS: Add 2.19 section.
7374 2013-08-03 David S. Miller <davem@davemloft.net>
7376 * po/ko.po: Update Korean translation from translation project.
7378 2013-08-01 David S. Miller <davem@davemloft.net>
7380 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
7381 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
7384 2013-07-30 David S. Miller <davem@davemloft.net>
7386 * po/fr.po: Update French translation from translation project.
7388 2013-07-28 David S. Miller <davem@davemloft.net>
7390 * po/cs.po: Update Czech translation from translation project.
7392 * po/sv.po: Update Swedish translation from translation project.
7394 2013-07-27 David S. Miller <davem@davemloft.net>
7396 * po/eo.po: Update Esperanto translation from translation project.
7398 * po/vi.po: Update Vietnamese translation from translation project.
7400 * po/de.po: Update German translation from translation project.
7402 2013-07-26 David S. Miller <davem@davemloft.net>
7404 * po/bg.po: Update Bulgarian translation from translation project.
7406 * po/nl.po: Update Dutch translation from translation project.
7407 * po/pl.po: Update Polish translation from translation project.
7408 * po/ru.po: Update Russian translation from translation project.
7410 2013-07-24 David S. Miller <davem@davemloft.net>
7412 * po/libc.pot: Update.
7414 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7416 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
7418 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
7419 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
7420 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
7422 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7424 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
7426 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7427 Andreas Schwab <schwab@suse.de>
7428 Roland McGrath <roland@hack.frob.com>
7429 Joseph Myers <joseph@codesourcery.com>
7430 Carlos O'Donell <carlos@redhat.com>
7433 * config.h.in: Define HAVE_PT_CHOWN.
7434 * config.make.in (build-pt-chown): New variable.
7435 * configure.in (--enable-pt_chown): New configure option.
7436 * configure: Regenerate.
7437 * login/Makefile: Include Makeconfig. Build pt_chown only if
7438 build-pt-chown is enabled.
7439 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
7440 pt_chown to fix pty ownership.
7441 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
7443 * manual/install.texi (Configuring and compiling): Mention
7444 --enable-pt_chown. Add @findex for grantpt.
7445 * INSTALL: Regenerate.
7447 2013-07-20 David S. Miller <davem@davemloft.net>
7449 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
7450 difference between 32-bit and 64-bit.
7452 2013-07-15 Carlos O'Donell <carlos@redhat.com>
7455 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
7456 Avoid system header dependency with -ffreestanding.
7457 ($(objpfx)bits/syscall%d): Likewise.
7459 2013-07-13 David S. Miller <davem@davemloft.net>
7461 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
7462 underflows from atanl/atan2l due to bug 15319.
7463 (casinh_test_data): Likewise.
7465 2013-07-07 David S. Miller <davem@davemloft.net>
7467 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7469 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
7471 * sysdeps/i386/fpu/libm-test-ulps: Update.
7472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7474 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7476 * configure.in (--enable-lock-elision): Fix message text.
7477 * INSTALL: Regenerate.
7478 * configure: Regenerate.
7480 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7484 2013-07-03 Andreas Jaeger <aj@suse.de>
7486 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
7488 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
7489 (ptrace_peeksiginfo_args): Add.
7490 (__ptrace_peeksiginfo_flags): Add.
7491 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7492 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7493 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7495 2013-07-03 Allan McRae <allan@archlinux.org>
7497 * sysdeps/i386/fpu/libm-test-ulps: Update.
7499 2013-07-02 David S. Miller <davem@davemloft.net>
7501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7503 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
7505 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7507 2013-07-02 Joseph Myers <joseph@codesourcery.com>
7509 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7512 2013-07-02 Andi Kleen <ak@linux.intel.com>
7514 * config.h.in (ENABLE_LOCK_ELISION): Add.
7515 * configure.in (--enable-lock-elision): Add option.
7516 * manual/install.texi: Document --enable lock elision.
7517 * configure: Regenerate
7518 * INSTALL: Regenerate.
7520 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
7522 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
7523 SSE4.2 strcasecmp for libc.a.
7524 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7526 2013-07-02 Joseph Myers <joseph@codesourcery.com>
7529 * soft-fp/op-common.h (_FP_FMA): New macro.
7530 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
7531 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
7532 (_FP_MUL_MEAT_1_imm): ... here.
7533 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
7534 (_FP_MUL_MEAT_1_wide): ... here.
7535 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
7536 (_FP_MUL_MEAT_1_hard): ... here.
7537 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
7538 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
7539 (_FP_MUL_MEAT_2_wide): ... here.
7540 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
7541 (_FP_MUL_MEAT_2_wide_3mul): ... here.
7542 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
7543 (_FP_MUL_MEAT_2_gmp): ... here.
7544 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
7545 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
7546 (_FP_MUL_MEAT_4_wide): ... here.
7547 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
7548 (_FP_MUL_MEAT_4_gmp): ... here.
7549 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
7550 (_FP_WFRACBITS_DW_S): Likewise.
7551 (_FP_WFRACXBITS_DW_S): Likewise.
7552 (_FP_HIGHBIT_DW_S): Likewise.
7553 (FP_FMA_S): Likewise.
7554 (_FP_FRAC_HIGH_DW_S): Likewise.
7555 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
7556 (_FP_WFRACBITS_DW_D): Likewise.
7557 (_FP_WFRACXBITS_DW_D): Likewise.
7558 (_FP_HIGHBIT_DW_D): Likewise.
7559 (FP_FMA_D): Likewise.
7560 (_FP_FRAC_HIGH_DW_D): Likewise.
7561 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
7562 (_FP_WFRACBITS_DW_E): Likewise.
7563 (_FP_WFRACXBITS_DW_E): Likewise.
7564 (_FP_HIGHBIT_DW_E): Likewise.
7565 (FP_FMA_E): Likewise.
7566 (_FP_FRAC_HIGH_DW_E): Likewise.
7567 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
7568 (_FP_WFRACBITS_DW_Q): Likewise.
7569 (_FP_WFRACXBITS_DW_Q): Likewise.
7570 (_FP_HIGHBIT_DW_Q): Likewise.
7571 (FP_FMA_Q): Likewise.
7572 (_FP_FRAC_HIGH_DW_Q): Likewise.
7573 * soft-fp/fmasf4.c: New file.
7574 * soft-fp/fmadf4.c: Likewise.
7575 * soft-fp/fmatf4.c: Likewise.
7577 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7579 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
7580 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
7582 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
7584 (index_Slow_SSE4_2): Likewise.
7585 (index_Prefer_PMINUB_for_stringop): Likewise.
7586 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
7587 bit_Slow_SSE4_2 is set.
7588 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7589 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7591 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7593 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
7594 rtld_global._dl_hwcap2.
7595 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
7597 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
7598 POWER8 feature descriptions defined in _dl_hwcap2.
7599 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
7600 string handling for POWER8 feature bits.
7601 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
7602 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
7603 _dl_powerpc_cap_flags.
7604 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
7605 * sysdeps/powerpc/rtld-global-offsets.sym
7606 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
7607 _dl_hwcap2 in the rtld_global_ro structure.
7609 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7611 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
7612 hardware capabilities in support of AT_HWCAP2.
7613 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
7614 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
7616 (_dl_show_auxv): Add support for calling _dl_procinfo to display
7617 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
7618 explicitly the unknown a_type display mechanism is used.
7619 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
7620 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
7622 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
7623 to macro prototype for AT_HWCAP2 support.
7624 * sysdeps/i386/dl-procinfo.h: Likewise.
7625 * sysdeps/s390/dl-procinfo.h: Likewise.
7626 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
7627 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
7628 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
7629 return -1 for unknown a_type display fallback.
7630 * sysdeps/sparc/dl-procinfo.h: Likewise.
7631 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
7632 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
7634 2013-06-28 Joseph Myers <joseph@codesourcery.com>
7636 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
7637 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
7639 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
7642 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
7643 mprotect making __stack_prot writable.
7645 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
7646 Joseph Myers <joseph@codesourcery.com>
7648 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
7649 as being properly aligned.
7651 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
7653 * dlfcn/modstatic5.c: New file.
7654 * dlfcn/tststatic5.c: New file.
7655 * dlfcn/Makefile (tests): Add tststatic5.
7656 (tests-static): Likewise.
7657 (modules-names): Add modstatic5.
7658 (tststatic5-ENV): New variable.
7659 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
7662 * elf/dl-support.c (_dl_main_map): New variable.
7663 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
7664 (_dl_nns, _dl_load_adds): Set to 1.
7665 (_dl_initial_searchlist): Refer to _dl_main_map.
7666 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
7667 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
7668 call to _dl_get_origin.
7669 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
7671 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
7672 * dlfcn/modstatic3.c: New file.
7673 * dlfcn/tststatic3.c: New file.
7674 * dlfcn/tststatic4.c: New file.
7675 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
7676 (tests-static): Likewise.
7677 (modules-names): Add modstatic3.
7678 (tststatic3-ENV, tststatic4-ENV): New variables.
7679 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
7680 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
7682 2013-06-26 Joseph Myers <joseph@codesourcery.com>
7684 * configure.in (CC): Require GCC version 4.4 or later.
7685 * configure: Regenerated.
7686 * manual/install.texi (Tools for Compilation): Update GCC version
7688 * INSTALL: Regenerated.
7690 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7693 * string/test-memcmp.c (check2): New.
7694 (main): Call check2.
7696 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
7698 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
7701 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
7703 (dl_open_worker) [!SHARED]: ... here.
7705 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7707 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
7709 2013-06-25 Richard Henderson <rth@redhat.com>
7711 * locale/programs/locarchive.c: Include <libc-internal.h>
7713 2013-06-25 Joseph Myers <joseph@codesourcery.com>
7715 * manual/texinfo.tex: Update to version 2013-06-21.17, with
7716 trailing whitespace removed.
7718 2013-06-24 Mike Frysinger <vapier@gentoo.org>
7721 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
7722 * locale/programs/locarchive.c: Include libc-mmap.h.
7723 (prepare_address_space): Take two new outputs (the mmap base and len).
7724 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
7726 (create_archive): Declare new mmap base and len values for
7727 prepare_address_space, and store the result in ah.
7728 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
7729 (enlarge_archive): If ah->mmap_base is not NULL, use that and
7730 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7731 Declare new mmap base and len values for
7732 prepare_address_space, and store the result in new_ah.
7733 (open_archive): Declare new mmap base and len values for
7734 prepare_address_space, and store the result in ah.
7735 (close_archive): If ah->mmap_base is not NULL, use that and
7736 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7737 * sysdeps/generic/libc-mmap.h: New file.
7739 2013-06-24 Mike Frysinger <vapier@gentoo.org>
7741 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7742 (ALIGN_UP): Likewise.
7743 (PTR_ALIGN_DOWN): Likewise.
7744 (PTR_ALIGN_UP): Likewise.
7746 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7748 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7749 entry mapped to PPC_PLATFORM_POWER8.
7750 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7752 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7753 (_dl_string_platform): Add case for exporting platform position for
7755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7756 search path to sysdeps/powerpc/powerpc32/power8 directory.
7757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7758 search path to sysdeps/powerpc/powerpc64/power8 directory.
7759 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7761 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7764 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7766 * INSTALL: Regenerate.
7768 * nscd/connections.c (nscd_init): Fix comment.
7770 2013-06-22 Joseph Myers <joseph@codesourcery.com>
7772 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7775 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7776 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7778 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7780 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7782 (DL_DST_REQ_STATIC): Remove macro.
7784 2013-06-21 Joseph Myers <joseph@codesourcery.com>
7787 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7788 with a shift of 0 bits.
7790 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7792 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7795 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7798 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7800 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7802 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7803 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7804 accepts -fno-tree-loop-distribute-patterns.
7805 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7806 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7808 * string/memset.c (memset): Likewise.
7809 * string/test-memmove.c (simple_memmove): Disable loop transformation
7811 * string/test-memset.c (simple_memset): Likewise.
7812 * benchtests/bench-memmove.c (simple_memmove): Likewise.
7813 * benchtests/bench-memset.c (simple_memset): Likewise.
7814 * configure: Regenerated.
7816 2013-06-20 Joseph Myers <joseph@codesourcery.com>
7818 * math/test-misc.c (main): Ignore fesetround failure when failures
7819 of subsequent rounding tests would be ignored.
7822 * math/fedisblxcpt.c (fedisableexcept): Return 0.
7823 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7824 * math/fegetenv.c (__fegetenv): Return 0.
7825 * math/fegetexcept.c (fegetexcept): Return 0.
7826 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7828 * math/feholdexcpt.c (feholdexcept): Return 0.
7829 * math/fesetenv.c (__fesetenv): Return 0.
7830 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7831 argument FE_TONEAREST.
7832 * math/feupdateenv.c (__feupdateenv): Return 0.
7833 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7835 2013-06-18 Roland McGrath <roland@hack.frob.com>
7837 * elf/rtld-Rules (rtld-compile-command.S): New variable.
7838 (rtld-compile-command.s, rtld-compile-command.c): New variables.
7839 ($(objpfx)rtld-%.os rules): Use them.
7841 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7843 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7846 2013-06-17 Roland McGrath <roland@hack.frob.com>
7848 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7849 length of target pattern, then descending length of dependency pattern.
7850 * configure.in (AWK): Require gawk 3.1.2 or newer.
7851 * manual/install.texi (Tools for Compilation): Say that we do.
7852 * configure: Regenerated.
7854 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7855 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7856 * scripts/sysd-rules.awk: ... this new script.
7857 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7858 than a glob-style pattern.
7860 2013-06-17 Joseph Myers <joseph@codesourcery.com>
7862 * math/test-misc.c (main): Do not treat incorrectly rounded
7863 conversions as failure unless ROUNDING_TESTS passes.
7865 2013-06-15 Joseph Myers <joseph@codesourcery.com>
7868 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7869 restore exception state around main square root computation, then
7870 check for inexactness explicitly.
7872 * math/libm-test.inc (fma_test_data): Add another test.
7874 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7876 * manual/threads.texi (Non-POSIX Extensions): New document
7877 node. Document pthread_getattr_default_np and
7878 pthread_setattr_default_np.
7880 * Versions.def (libpthread): Add GLIBC_2.18.
7881 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7890 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7894 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7896 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7898 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7901 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7903 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7904 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7906 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7907 H.J. Lu <hjl.tools@gmail.com>
7910 * sysdeps/x86_64/rtld-memset.c: Remove file.
7911 * sysdeps/x86_64/rtld-memset.S: New file.
7913 2013-06-14 Joseph Myers <joseph@codesourcery.com>
7915 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7916 (test_in_one_mode): Take arguments for whether the rounding mode
7917 is supported for each floating-point type.
7918 (do_test): Pass new arguments to test_in_one_mode using
7921 2013-06-13 Roland McGrath <roland@hack.frob.com>
7923 * posix/tst-waitid.c (do_test): Distinguish different instances of
7924 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
7925 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7926 before entering the kernel for waitpid.
7928 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7930 * NEWS: Fix note on clock function precision. Text by Roland
7933 2013-06-13 Roland McGrath <roland@hack.frob.com>
7935 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7936 it into place only when and if the sanity check passes.
7938 2013-06-13 Joseph Myers <joseph@codesourcery.com>
7940 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7941 output for whether conversion result is exact. Take argument
7942 indicating whether type is IBM long double.
7943 (round_for_all): Change need_exact field to ibm_ld.
7944 * stdlib/tst-strtod-round.c (struct exactness): New type.
7945 (struct test): Change bool ld_ok field to struct exactness exact.
7946 (TEST): Update all definitions for change to field.
7947 (tests): Regenerate array contents.
7948 (test_in_one_mode): Take pointer to new field instead of old ld_ok
7949 field value. Check for IBM long double here.
7950 (do_test): Update calls to test_in_one_mode.
7952 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7955 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7956 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7958 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7961 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7962 generated by the compiler on loop optimizations.
7963 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7964 general definitions.
7966 2013-06-12 Joseph Myers <joseph@codesourcery.com>
7968 * math/bug-nextafter.c: Include <math-tests.h>.
7969 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7971 * math/bug-nexttoward.c: Include <math-tests.h>.
7972 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7974 * math/test-misc.c: Include <math-tests.h>.
7975 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7978 2013-06-12 Andreas Jaeger <aj@suse.de>
7980 * po/ia.po: Update Interlingua translation from translation
7983 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7985 * include/fenv.h: Include stdbool.h.
7986 (struct rm_ctx): New structure.
7987 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7989 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7990 (SET_RESTORE_ROUNDF): Likewise.
7991 (SET_RESTORE_ROUNDL): Likewise.
7992 (SET_RESTORE_ROUND_NOEX): Likewise.
7993 (SET_RESTORE_ROUND_NOEXF): Likewise.
7994 (SET_RESTORE_ROUND_NOEXL): Likewise.
7995 (SET_RESTORE_ROUND_53BIT): Likewise.
7996 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7997 (libc_feresetround_noexf_ctx): Likewise.
7998 (libc_feresetround_noexl_ctx): Likewise.
7999 (libc_feholdsetround_53bit_ctx): Likewise.
8000 (libc_feresetround_53bit_ctx): Likewise.
8001 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
8002 (libc_feholdexcept_setround_sse_ctx): New function.
8003 (libc_fesetenv_sse_ctx): Likewise.
8004 (libc_feupdateenv_sse_ctx): Likewise.
8005 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
8006 (libc_feholdexcept_setround_387_ctx): Likewise.
8007 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
8008 (libc_feholdsetround_387_prec_ctx): Likewise.
8009 (libc_feholdsetround_387_ctx): Likewise.
8010 (libc_feholdsetround_387_53bit_ctx): Likewise.
8011 (libc_feholdsetround_sse_ctx): Likewise.
8012 (libc_feresetround_sse_ctx): Likewise.
8013 (libc_feresetround_387_ctx): Likewise.
8014 (libc_feupdateenv_387_ctx): Likewise.
8015 (libc_feholdexcept_setroundf_ctx): Define macro.
8016 (libc_fesetenvf_ctx): Likewise.
8017 (libc_feupdateenvf_ctx): Likewise.
8018 (libc_feholdsetroundf_ctx): Likewise.
8019 (libc_feresetroundf_ctx): Likewise.
8020 (libc_feholdexcept_setround_ctx): Likewise.
8021 (libc_fesetenv_ctx): Likewise.
8022 (libc_feupdateenv_ctx): Likewise.
8023 (libc_feholdsetround_ctx): Likewise.
8024 (libc_feresetround_ctx): Likewise.
8025 (libc_feholdexcept_setroundl_ctx): Likewise.
8026 (libc_feupdateenvl_ctx): Likewise.
8027 (libc_feholdsetroundl_ctx): Likewise.
8028 (libc_feresetroundl_ctx): Likewise.
8029 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
8030 (libc_feresetround_53bit_ctx): Likewise.
8032 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8034 * locale/iso-639.def: Convert to UTF-8.
8036 2013-06-11 Joseph Myers <joseph@codesourcery.com>
8038 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8039 (EXCEPTION_TESTS_double): Likewise.
8040 (EXCEPTION_TESTS_long_double): Likewise.
8041 (EXCEPTION_TESTS): Likewise.
8042 * math/libm-test.inc (test_exceptions): Only test exceptions if
8043 EXCEPTION_TESTS (FLOAT).
8045 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8047 * benchtests/Makefile (string-bench): Add strcpy_chk and
8049 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8050 * benchtests/bench-stpcpy_chk.c: New file.
8051 * benchtests/bench-strcpy_chk-ifunc.c: New file.
8052 * benchtests/bench-strcpy_chk.c: New file.
8053 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8055 (do_test): Likewise.
8057 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8059 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
8060 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
8061 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
8062 with tabs where appropriate.
8063 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
8065 [PPC_PLATFORM_PPC440]: Likewise.
8066 [PPC_PLATFORM_PPC464]: Likewise.
8067 [PPC_PLATFORM_PPC476]: Likewise.
8068 (_dl_string_platform): Add support for detecting ppc405, ppc440,
8069 ppc464, and ppc476 platform strings merging from ports/
8072 2013-06-11 Andreas Schwab <schwab@suse.de>
8075 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
8076 (from_ucs4_idx): Regenerate.
8077 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
8078 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
8079 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
8080 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
8081 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
8082 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
8083 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
8084 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
8085 from FROM_LOOP and TO_LOOP specific macros.
8086 (BODY): Handle combining characters.
8087 * iconvdata/BIG5HKSCS.irreversible: Update.
8088 * iconvdata/BIG5HKSCS.precomposed: New file.
8089 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
8091 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
8093 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8095 * include/sys/time.h: Fix indentation and add copyright header.
8097 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
8098 (do_test): Likewise.
8099 * string/test-memchr.c (do_one_test): Likewise.
8100 (do_test): Likewise.
8101 * string/test-memcmp.c (do_one_test): Likewise.
8102 (do_test): Likewise.
8103 * string/test-memcpy.c (do_one_test): Likewise.
8104 (do_test): Likewise.
8105 * string/test-memmem.c (do_one_test): Likewise.
8106 (do_test): Likewise.
8107 (do_random_tests): Likewise.
8108 * string/test-memmove.c (do_one_test): Likewise.
8109 (do_test): Likewise.
8110 * string/test-memset.c (do_one_test): Likewise.
8111 (do_test): Likewise.
8112 * string/test-rawmemchr.c (do_one_test): Likewise.
8113 (do_test): Likewise.
8114 * string/test-strcasecmp.c (do_one_test): Likewise.
8115 (do_test): Likewise.
8116 * string/test-strcasestr.c (do_one_test): Likewise.
8117 (do_test): Likewise.
8118 * string/test-strcat.c (do_one_test): Likewise.
8119 (do_test): Likewise.
8120 * string/test-strchr.c (do_one_test): Likewise.
8121 (do_test): Likewise.
8122 * string/test-strcmp.c (do_one_test): Likewise.
8123 (do_test): Likewise.
8124 * string/test-strcpy.c (do_one_test): Likewise.
8125 (do_test): Likewise.
8126 * string/test-string.h: Likewise.
8127 (test_init): Likewise.
8128 * string/test-strlen.c (do_one_test): Likewise.
8129 (do_test): Likewise.
8130 * string/test-strncasecmp.c (do_one_test): Likewise.
8131 (do_test): Likewise.
8132 * string/test-strncat.c (do_one_test): Likewise.
8133 (do_test): Likewise.
8134 * string/test-strncmp.c (do_one_test): Likewise.
8135 (do_test_limit): Likewise.
8136 (do_test): Likewise.
8137 * string/test-strncpy.c (do_one_test): Likewise.
8138 (do_test): Likewise.
8139 * string/test-strnlen.c (do_one_test): Likewise.
8140 (do_test): Likewise.
8141 * string/test-strpbrk.c (do_one_test): Likewise.
8142 (do_test): Likewise.
8143 * string/test-strrchr.c (do_one_test): Likewise.
8144 (do_test): Likewise.
8145 * string/test-strspn.c (do_one_test): Likewise.
8146 (do_test): Likewise.
8147 * string/test-strstr.c (do_one_test): Likewise.
8148 (do_test): Likewise.
8150 * benchtests/Makefile (string-bench): Add string benchmarks.
8151 * benchtests/bench-bcopy-ifunc.c: New file.
8152 * benchtests/bench-bcopy.c: New file.
8153 * benchtests/bench-bzero-ifunc.c: New file.
8154 * benchtests/bench-bzero.c: New file.
8155 * benchtests/bench-memccpy-ifunc.c: New file.
8156 * benchtests/bench-memccpy.c: New file.
8157 * benchtests/bench-memchr-ifunc.c: New file.
8158 * benchtests/bench-memchr.c: New file.
8159 * benchtests/bench-memcmp-ifunc.c: New file.
8160 * benchtests/bench-memcmp.c: New file.
8161 * benchtests/bench-memmem-ifunc.c: New file.
8162 * benchtests/bench-memmem.c: New file.
8163 * benchtests/bench-memmove-ifunc.c: New file.
8164 * benchtests/bench-memmove.c: New file.
8165 * benchtests/bench-mempcpy-ifunc.c: New file.
8166 * benchtests/bench-mempcpy.c: New file.
8167 * benchtests/bench-memset-ifunc.c: New file.
8168 * benchtests/bench-memset.c: New file.
8169 * benchtests/bench-rawmemchr-ifunc.c: New file.
8170 * benchtests/bench-rawmemchr.c: New file.
8171 * benchtests/bench-stpcpy-ifunc.c: New file.
8172 * benchtests/bench-stpcpy.c: New file.
8173 * benchtests/bench-stpncpy-ifunc.c: New file.
8174 * benchtests/bench-stpncpy.c: New file.
8175 * benchtests/bench-strcasecmp-ifunc.c: New file.
8176 * benchtests/bench-strcasecmp.c: New file.
8177 * benchtests/bench-strcasestr-ifunc.c: New file.
8178 * benchtests/bench-strcasestr.c: New file.
8179 * benchtests/bench-strcat-ifunc.c: New file.
8180 * benchtests/bench-strcat.c: New file.
8181 * benchtests/bench-strchr-ifunc.c: New file.
8182 * benchtests/bench-strchr.c: New file.
8183 * benchtests/bench-strchrnul-ifunc.c: New file.
8184 * benchtests/bench-strchrnul.c: New file.
8185 * benchtests/bench-strcmp-ifunc.c: New file.
8186 * benchtests/bench-strcmp.c: New file.
8187 * benchtests/bench-strcpy-ifunc.c: New file.
8188 * benchtests/bench-strcpy.c: New file.
8189 * benchtests/bench-strcspn-ifunc.c: New file.
8190 * benchtests/bench-strcspn.c: New file.
8191 * benchtests/bench-strlen-ifunc.c: New file.
8192 * benchtests/bench-strlen.c: New file.
8193 * benchtests/bench-strncasecmp-ifunc.c: New file.
8194 * benchtests/bench-strncasecmp.c: New file.
8195 * benchtests/bench-strncat-ifunc.c: New file.
8196 * benchtests/bench-strncat.c: New file.
8197 * benchtests/bench-strncmp-ifunc.c: New file.
8198 * benchtests/bench-strncmp.c: New file.
8199 * benchtests/bench-strncpy-ifunc.c: New file.
8200 * benchtests/bench-strncpy.c: New file.
8201 * benchtests/bench-strnlen-ifunc.c: New file.
8202 * benchtests/bench-strnlen.c: New file.
8203 * benchtests/bench-strpbrk-ifunc.c: New file.
8204 * benchtests/bench-strpbrk.c: New file.
8205 * benchtests/bench-strrchr-ifunc.c: New file.
8206 * benchtests/bench-strrchr.c: New file.
8207 * benchtests/bench-strspn-ifunc.c: New file.
8208 * benchtests/bench-strspn.c: New file.
8209 * benchtests/bench-strstr-ifunc.c: New file.
8210 * benchtests/bench-strstr.c: New file.
8212 * benchtests/Makefile: Disable parallel execution of targets.
8213 (string-bench): Add memcpy.
8214 (benchset): New variable to store a list of benchmark sets.
8215 (bench-func): Renamed from bench.
8216 (bench-set): New target.
8217 (bench): Depend on bench-func and bench-set.
8218 * benchtests/README: Add section on benchmark sets.
8219 * benchtests/bench-memcpy-ifunc.c: New file.
8220 * benchtests/bench-memcpy.c: New file.
8221 * benchtests/bench-string.h: New file.
8223 2013-06-11 Andreas Schwab <schwab@suse.de>
8226 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
8227 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
8228 values in the triple.
8229 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
8230 terminator in the group key.
8232 2013-06-11 Andreas Jaeger <aj@suse.de>
8234 * po/zh_TW.po: Update Chinese (traditional) translation from
8235 translation project.
8237 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8239 * include/time.h (__clock_gettime): Add libc_hidden_proto.
8240 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
8241 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
8242 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8243 (clock_getcpuclockid): Likewise.
8244 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
8245 Add weak_alias and libc_hidden_def.
8246 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8247 * rt/clock_gettime.c (clock_gettime): Rename to
8248 __clock_gettime. Add weak_alias and libc_hidden_def.
8249 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
8250 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
8251 __clock_nanosleep. Add weak_alias and libc_hidden_def.
8252 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
8253 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
8255 * rt/clock_settime.c (clock_settime): Rename to
8256 __clock_settime. Add weak_alias and libc_hidden_def.
8257 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
8259 2013-06-10 Joseph Myers <joseph@codesourcery.com>
8261 * mach/err_boot.sub: Remove trailing whitespace.
8262 * mach/err_ipc.sub: Likewise.
8263 * mach/err_mach.sub: Likewise.
8265 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
8266 (ROUNDING_TESTS_double): Likewise.
8267 (ROUNDING_TESTS_long_double): Likewise.
8268 (ROUNDING_TESTS): Likewise.
8269 * math/libm-test.inc: Include <math-tests.h>.
8270 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
8271 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8272 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8273 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8275 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8277 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
8280 2013-06-08 Joseph Myers <joseph@codesourcery.com>
8282 * sysdeps/gnu/errlist.awk: Do not generate space at end of
8283 otherwise empty TRANS lines.
8284 * sysdeps/gnu/errlist.c: Regenerated.
8286 * catgets/gencat.c (error_print): Use (void) in function
8288 * crypt/crypt_util.c (__init_des): Likewise.
8289 * crypt/speeds.c (Stop): Likewise.
8291 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
8292 * inet/ruserpass.c (token): Likewise.
8293 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
8294 * intl/localealias.c (extend_alias_table): Likewise.
8295 * intl/plural-exp.c (init_germanic_plural): Likewise.
8296 * libio/fcloseall.c (__fcloseall): Likewise.
8297 * libio/genops.c (_IO_flush_all): Likewise.
8298 (_IO_flush_all_linebuffered): Likewise.
8299 (_IO_cleanup): Likewise.
8300 (_IO_iter_begin): Likewise.
8301 (_IO_iter_end): Likewise.
8302 (_IO_list_lock): Likewise.
8303 (_IO_list_unlock): Likewise.
8304 (_IO_list_resetlock): Likewise.
8305 * libio/getchar.c (getchar): Likewise.
8306 * libio/getchar_u.c (getchar_unlocked): Likewise.
8307 * libio/getwchar.c (getwchar): Likewise.
8308 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
8309 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
8310 * login/getpt.c (__getpt): Likewise.
8311 * login/tst-utmp.c (main): Likewise.
8312 * malloc/hooks.c (__malloc_check_init): Likewise.
8313 * malloc/malloc.c (__malloc_stats): Likewise.
8314 * malloc/mtrace.c (tr_break): Likewise.
8316 (muntrace): Likewise.
8317 * misc/fstab.c (endfsent): Likewise.
8318 * misc/getclktck.c (__getclktck): Likewise.
8319 * misc/getdtsz.c (__getdtablesize): Likewise.
8320 * misc/gethostid.c (gethostid): Likewise.
8321 * misc/getpagesize.c (__getpagesize): Likewise.
8322 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
8323 (__get_nprocs): Likewise.
8324 (__get_phys_pages): Likewise.
8325 (__get_avphys_pages): Likewise.
8326 * misc/getttyent.c (getttyent): Likewise.
8327 (setttyent): Likewise.
8328 (endttyent): Likewise.
8329 * misc/getusershell.c (getusershell): Likewise.
8330 (endusershell): Likewise.
8331 (setusershell): Likewise.
8332 (initshells): Likewise.
8333 * misc/hsearch.c (__hdestroy): Likewise.
8334 * misc/sync.c (sync): Likewise.
8335 * misc/syslog.c (closelog_internal): Likewise.
8336 (closelog): Likewise.
8337 * misc/ttyslot.c (ttyslot): Likewise.
8338 * misc/vhangup.c (vhangup): Likewise.
8339 * posix/fork.c (__fork): Likewise.
8340 * posix/getegid.c (__getegid): Likewise.
8341 * posix/geteuid.c (__geteuid): Likewise.
8342 * posix/getgid.c (__getgid): Likewise.
8343 * posix/getpid.c (__getpid): Likewise.
8344 * posix/getppid.c (__getppid): Likewise.
8345 * posix/getuid.c (__getuid): Likewise.
8346 * posix/pause.c (pause): Likewise.
8347 * posix/setpgrp.c (setpgrp): Likewise.
8348 * posix/setsid.c (__setsid): Likewise.
8349 * posix/test-vfork.c (noop): Likewise.
8350 * resolv/gethnamaddr.c (_endhtent): Likewise.
8351 (_gethtent): Likewise.
8352 (ht_endhostent): Likewise.
8353 (gethostent): Likewise.
8354 (dns_service): Likewise.
8355 * stdlib/drand48.c (drand48): Likewise.
8356 * stdlib/lrand48.c (lrand48): Likewise.
8357 * stdlib/mrand48.c (mrand48): Likewise.
8358 * stdlib/rand.c (rand): Likewise.
8359 * stdlib/random.c (__random): Likewise.
8360 * stdlib/setenv.c (clearenv): Likewise.
8361 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
8362 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
8363 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
8364 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
8365 (__get_nprocs): Likewise.
8366 (__get_phys_pages): Likewise.
8367 (__get_avphys_pages): Likewise.
8368 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
8369 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
8370 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
8371 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
8372 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
8373 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
8374 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
8375 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
8376 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
8377 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
8378 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
8379 * sysdeps/mach/hurd/sync.c (sync): Likewise.
8380 * sysdeps/posix/clock.c (clock): Likewise.
8381 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
8382 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
8383 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
8384 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
8385 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
8386 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8387 (__get_nprocs_conf): Likewise.
8388 (__get_phys_pages): Likewise.
8389 (__get_avphys_pages): Likewise.
8390 * time/clock.c (clock): Likewise.
8391 * time/tzset.c (__tzname_max): Likewise.
8393 2013-06-07 Joseph Myers <joseph@codesourcery.com>
8395 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
8396 (__bswap_32): Do not use "register".
8397 * crypt/crypt.c (_ufc_doit_r): Likewise.
8398 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8399 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8400 * gmon/gmon.c (__monstartup): Likewise.
8401 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
8402 * hurd/hurdmalloc.c (more_memory): Likewise.
8405 (realloc): Likewise.
8406 (malloc_fork_prepare): Likewise.
8407 (malloc_fork_parent): Likewise.
8408 (malloc_fork_child): Likewise.
8409 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
8410 (_svcauth_des): Likewise.
8411 * inet/inet_lnaof.c (inet_lnaof): Likewise.
8412 * inet/inet_net.c (inet_network): Likewise.
8413 * inet/inet_netof.c (inet_netof): Likewise.
8414 * inet/rcmd.c (__validuser2_sa): Likewise.
8415 * io/fts.c (fts_open): Likewise.
8416 (fts_load): Likewise.
8417 (fts_close): Likewise.
8418 (fts_read): Likewise.
8419 (fts_children): Likewise.
8420 (fts_build): Likewise.
8421 (fts_stat): Likewise.
8422 (fts_sort): Likewise.
8423 (fts_alloc): Likewise.
8424 (fts_lfree): Likewise.
8425 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
8426 (_IO_file_xsgetn): Likewise.
8427 (_IO_file_xsgetn_mmap): Likewise.
8428 * libio/iofopncook.c (_IO_cookie_read): Likewise.
8429 (_IO_cookie_write): Likewise.
8430 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
8431 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
8432 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
8433 * malloc/obstack.c (_obstack_begin): Likewise.
8434 (_obstack_begin_1): Likewise.
8435 (_obstack_newchunk): Likewise.
8436 (_obstack_allocated_p): Likewise.
8437 (obstack_free): Likewise.
8438 (_obstack_memory_used): Likewise.
8439 * misc/getttyent.c (getttynam): Likewise.
8440 (getttyent): Likewise.
8443 * misc/getusershell.c (initshells): Likewise.
8444 * misc/syslog.c (__vsyslog_chk): Likewise.
8445 * misc/ttyslot.c (ttyslot): Likewise.
8446 * nis/nis_hash.c (__nis_hash): Likewise.
8447 * posix/fnmatch_loop.c (FCT): Likewise.
8448 * posix/getconf.c (print_all): Likewise.
8450 * posix/getopt.c (exchange): Likewise.
8451 * posix/glob.c (globfree): Likewise.
8452 (prefix_array): Likewise.
8453 (__glob_pattern_type): Likewise.
8454 * resolv/arpa/nameser.h (NS_GET16): Likewise.
8455 (NS_GET32): Likewise.
8456 (NS_PUT16): Likewise.
8457 (NS_PUT32): Likewise.
8458 * resolv/gethnamaddr.c (getanswer): Likewise.
8459 (gethostbyname2): Likewise.
8460 (gethostbyaddr): Likewise.
8461 (_gethtent): Likewise.
8462 (_gethtbyname2): Likewise.
8463 (_gethtbyaddr): Likewise.
8464 * resolv/ns_print.c (dst_s_get_int16): Likewise.
8465 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8466 * resolv/res_init.c (__res_vinit): Likewise.
8467 (net_mask): Likewise.
8468 * resolv/res_mkquery.c (outchar): Likewise.
8470 * stdio-common/printf_fp.c (outchar): Likewise.
8472 * stdio-common/printf_fphex.c (outchar): Likewise.
8474 * stdio-common/printf_size.c (outchar): Likewise.
8476 * stdio-common/test_rdwr.c (main): Likewise.
8477 * stdio-common/tfformat.c (matches): Likewise.
8478 * stdio-common/vfprintf.c (outchar): Likewise.
8479 (printf_unknown): Likewise.
8480 (buffered_vfprintf): Likewise.
8481 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8482 * stdio-common/xbug.c (AppendToBuffer): Likewise.
8483 (ReadFile): Likewise.
8484 * stdlib/qsort.c (SWAP): Likewise.
8485 (_quicksort): Likewise.
8486 * stdlib/setenv.c (__add_to_environ): Likewise.
8487 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8488 * stdlib/strtol_l.c (__strtol_l): Likewise.
8489 * stdlib/tst-strtod.c (main): Likewise.
8490 * stdlib/tst-strtol.c (main): Likewise.
8491 * stdlib/tst-strtoll.c (main): Likewise.
8492 * string/bits/string2.h (__strcmp_cc): Likewise.
8493 (__strcmp_cg): Likewise.
8494 (__strcspn_c1): Likewise.
8495 (__strcspn_c2): Likewise.
8496 (__strcspn_c3): Likewise.
8497 (__strspn_c1): Likewise.
8498 (__strspn_c2): Likewise.
8499 (__strspn_c3): Likewise.
8500 (__strsep_1c): Likewise.
8501 (__strsep_2c): Likewise.
8502 (__strsep_3c): Likewise.
8503 * string/memccpy.c (__memccpy): Likewise.
8504 * string/stpcpy.c (__stpcpy): Likewise.
8505 * string/strcmp.c (strcmp): Likewise.
8506 * string/strrchr.c (strrchr): Likewise.
8507 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
8509 * sysdeps/mach/hurd/getcwd.c
8510 (_hurd_canonicalize_directory_name_internal): Likewise.
8511 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
8512 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
8513 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
8514 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
8515 Likewise, in both definitions.
8516 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
8518 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
8519 64] (__bswap_64): Likewise.
8520 * time/test_time.c (main): Likewise.
8521 * time/tzfile.c (__tzfile_read): Likewise.
8522 (__tzfile_compute): Likewise.
8523 * time/tzset.c (__tzset_parse_tz): Likewise.
8524 (tzset_internal): Likewise.
8525 (compute_change): Likewise.
8526 * wcsmbs/wcscat.c (__wcscat): Likewise.
8527 * wcsmbs/wcschr.c (wcschr): Likewise.
8528 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8529 * wcsmbs/wcscspn.c (wcscspn): Likewise.
8530 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8531 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
8532 * wcsmbs/wcsspn.c (wcsspn): Likewise.
8533 * wcsmbs/wcsstr.c (wcsstr): Likewise.
8534 * wcsmbs/wmemchr.c (wmemchr): Likewise.
8535 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8536 * wcsmbs/wmemset.c (wmemset): Likewise.
8538 2013-06-06 Joseph Myers <joseph@codesourcery.com>
8540 * scripts/config.guess: Update to version 2013-05-16.
8541 * scripts/config.sub: Update to version 2013-04-24.
8542 * scripts/install-sh: Update to version 2011-11-20.07.
8543 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
8544 * scripts/move-if-change: Update to version 2012-01-06 07:23.
8546 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
8548 * debug/fgetws_u_chk.c: Fix leading whitespaces.
8549 * elf/sln.c: Likewise.
8550 * hurd/hurd/ioctl.h: Likewise.
8551 * hurd/hurdmalloc.c: Likewise.
8552 * hurd/xattr.c: Likewise.
8553 * include/shlib-compat.h: Likewise.
8554 * inet/ruserpass.c: Likewise.
8555 * libio/iofgets_u.c: Likewise.
8556 * libio/iofgetws_u.c: Likewise.
8557 * locale/programs/ld-identification.c: Likewise.
8558 * locale/programs/ld-time.c: Likewise.
8559 * mach/msg-destroy.c: Likewise.
8560 * nss/nss_files/files-netgrp.c: Likewise.
8561 * resolv/res_data.c: Likewise.
8562 * soft-fp/op-1.h: Likewise.
8563 * soft-fp/op-2.h: Likewise.
8564 * soft-fp/op-4.h: Likewise.
8565 * soft-fp/op-common.h: Likewise.
8566 * stdio-common/printf_fphex.c: Likewise.
8567 * stdlib/strtod_l.c: Likewise.
8568 * sunrpc/rpc/clnt.h: Likewise.
8569 * sysdeps/generic/framestate.c: Likewise.
8570 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8571 * sysdeps/i386/bsd-setjmp.S: Likewise.
8572 * sysdeps/i386/__longjmp.S: Likewise.
8573 * sysdeps/i386/setjmp.S: Likewise.
8574 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8575 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8576 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8577 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8578 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8579 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8580 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8581 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8582 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8583 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8584 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8585 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8586 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8587 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8588 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8589 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8590 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8591 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
8592 * sysdeps/ieee754/support.c: Likewise.
8593 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8594 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
8595 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
8596 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
8597 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
8598 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
8599 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
8600 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
8601 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
8602 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
8603 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
8604 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
8605 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
8606 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
8607 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
8608 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
8609 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8612 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
8614 * posix/transbug.c: Remove executable mode.
8616 2013-06-05 Joseph Myers <joseph@codesourcery.com>
8618 * crypt/speeds.c: Remove trailing whitespace.
8619 * dlfcn/default.c: Likewise.
8620 * elf/ifuncdep2.c: Likewise.
8621 * elf/ifuncmain1.c: Likewise.
8622 * elf/ifuncmain1vis.c: Likewise.
8623 * elf/testobj.h: Likewise.
8624 * elf/tst-stackguard1.c: Likewise.
8625 * gmon/sys/gmon.h: Likewise.
8626 * hurd/hurdmsg.c: Likewise.
8627 * hurd/new-fd.c: Likewise.
8628 * hurd/ports-get.c: Likewise.
8629 * iconvdata/ibm1008_420.c: Likewise.
8630 * inet/tst-getni1.c: Likewise.
8631 * inet/tst-getni2.c: Likewise.
8632 * libio/ioungetc.c: Likewise.
8633 * libio/wfiledoalloc.c: Likewise.
8634 * manual/libm-err-tab.pl: Likewise.
8635 * math/w_dremf.c: Likewise.
8636 * misc/ftruncate.c: Likewise.
8637 * posix/bug-glob2.c: Likewise.
8638 * posix/tst-pcre.c: Likewise.
8639 * posix/wait4.c: Likewise.
8640 * resolv/README: Likewise.
8641 * resolv/res_debug.h: Likewise.
8642 * resolv/tst-inet_ntop.c: Likewise.
8643 * setjmp/bug269-setjmp.c: Likewise.
8644 * soft-fp/extended.h: Likewise.
8645 * soft-fp/op-1.h: Likewise.
8646 * soft-fp/op-2.h: Likewise.
8647 * soft-fp/op-4.h: Likewise.
8648 * soft-fp/op-8.h: Likewise.
8649 * soft-fp/testit.c: Likewise.
8650 * stdio-common/bug16.c: Likewise.
8651 * stdlib/random.c: Likewise.
8652 * sunrpc/rpcsvc/rquota.x: Likewise.
8653 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
8654 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8655 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8656 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8657 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8658 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8659 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8660 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8661 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8662 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8663 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8664 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8665 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8666 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8667 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8668 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8669 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8670 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8671 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8672 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8673 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8674 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8675 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8676 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8677 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8678 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8679 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8680 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8681 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8682 * sysdeps/ieee754/s_lib_version.c: Likewise.
8683 * sysdeps/mach/hurd/check_fds.c: Likewise.
8684 * sysdeps/mach/hurd/getsockname.c: Likewise.
8685 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
8686 * sysdeps/mach/hurd/recvfrom.c: Likewise.
8687 * sysdeps/powerpc/bits/link.h: Likewise.
8688 * sysdeps/powerpc/dl-procinfo.c: Likewise.
8689 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
8690 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
8691 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
8692 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8693 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8694 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
8695 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8696 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
8697 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8698 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8699 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8700 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
8701 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8702 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8703 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8704 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8705 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8706 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8707 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8708 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8709 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
8710 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8711 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8712 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
8713 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8714 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8715 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8716 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8717 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8718 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8719 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8720 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8721 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8722 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
8723 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8724 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
8725 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8726 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8727 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
8728 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
8729 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
8730 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
8731 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
8732 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8733 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
8734 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
8735 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8736 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8737 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8738 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8739 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8740 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8741 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8742 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8743 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8744 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8745 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8746 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8747 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8748 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8749 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8750 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8751 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8752 * sysdeps/powerpc/sysdep.h: Likewise.
8753 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8754 * sysdeps/s390/s390-64/sub_n.S: Likewise.
8755 * sysdeps/sh/dl-trampoline.S: Likewise.
8756 * sysdeps/sh/memset.S: Likewise.
8757 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8758 * sysdeps/sh/strlen.S: Likewise.
8759 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8760 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8761 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8762 * sysdeps/sparc/sparc32/rem.S: Likewise.
8763 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8764 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8765 * sysdeps/sparc/sparc32/strchr.S: Likewise.
8766 * sysdeps/sparc/sparc32/udiv.S: Likewise.
8767 * sysdeps/sparc/sparc32/urem.S: Likewise.
8768 * sysdeps/sparc/sparc64/add_n.S: Likewise.
8769 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8770 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8771 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8772 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8773 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8774 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8775 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8776 * sysdeps/unix/bsd/times.c: Likewise.
8777 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8778 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8782 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8783 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8784 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8785 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8786 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8787 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8788 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8789 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8790 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8791 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8792 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8793 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8794 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8795 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8796 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8797 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8798 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8799 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8800 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8801 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8802 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8803 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8804 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8805 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8806 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8807 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8808 * sysdeps/x86_64/strcspn.S: Likewise.
8810 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8812 * locale/C-translit.h: Revert #include <stdint.h> because this is a
8813 generated file. Regenerate properly from gen-translit.pl.
8814 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
8815 locale/C-translit.h.
8817 2013-06-05 Andreas Schwab <schwab@suse.de>
8820 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8821 week as 6 instead of -1.
8822 * time/tst-strptime.c (day_tests): Add test case.
8824 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8826 * sysdeps/generic/math_private.h
8827 (libc_feholdexcept_setround_53bit): Replace with
8828 libc_feholdsetround_53bit.
8829 (libc_feupdateenv_53bit): Replace with
8830 libc_feresetround_53bit.
8831 (SET_RESTORE_ROUND_53BIT): Adjust.
8833 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8835 * string/test-strchrnul.c: Add copyright header.
8837 * posix/tst-getaddrinfo4.c: Increase test timeout.
8839 2013-06-03 Carlos O'Donell <carlos@redhat.com>
8842 * math/libm-test.inc (MAX_EXP): Remove
8844 (ulp): Use MIN_EXP - MANT_DIG.
8845 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8847 2013-05-31 Carlos O'Donell <carlos@redhat.com>
8849 * po/be.po: Revert last change.
8850 * po/zh_CN.po: Likewise.
8851 * po/header.pot: Likewise.
8853 2013-05-31 Joseph Myers <joseph@codesourcery.com>
8855 * Makefile ($(common-objpfx)linkobj/libc.so): Define
8856 link-libc-deps to empty as target-specific variable.
8857 * Makerules (link-libc-args): New variable.
8858 (libc-for-link): Likewise.
8859 (link-libc-deps): Likewise.
8860 (lib%.so): Depend on $(link-libc-deps). Link with
8862 (build-module): Link with $(link-libc-args).
8863 (build-module-asneeded): Likewise.
8864 (build-module-helper-objlist): Filter out $(link-libc-deps) from
8866 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8867 target-specific variable.
8868 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8869 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8870 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8872 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8874 ($(objpfx)libpcprofile.so): Likewise.
8875 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8877 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8878 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8879 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8881 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8882 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8883 * login/Makefile ($(objpfx)libutil.so): Likewise.
8884 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8885 * math/Makefile ($(objpfx)libm.so): Likewise.
8886 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8887 $(objpfx)libnsl.so): Define libc-for-link as target-specific
8888 variable instead of depending directly on libc.
8889 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8890 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8892 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8894 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8895 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8896 ($(objpfx)libanl.so): Likewise.
8897 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8899 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8901 * sysdeps/i386/fpu/Makefile: Remove file.
8902 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8903 ($(objpfx)libm.so): Remove dependency on ld.so.
8905 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
8908 * nis/yp_xdr.c (XDRMAXNAME): Define.
8909 (XDRMAXRECORD): Define.
8910 (xdr_domainname): Use XDRMAXNAME.
8911 (xdr_mapname): Likewise.
8912 (xdr_peername): Likewise.
8913 (xdr_keydat): Use XDRMAXRECORD.
8914 (xdr_valdat): Likewise.
8916 2013-05-30 Jeff Law <law@redhat.com>
8919 * manual/errno.texi (ESTALE): Update to account for more than
8920 just NFS file systems.
8921 * sysdeps/gnu/errlist.c: Regenerated.
8923 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8926 * elf/Makefile (tests): Add tst-null-argv.
8927 (modules-names): Add tst-null-argv-lib.
8928 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8929 (tst-null-argv-ENV): Set environment for tst-null-argv.
8930 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8931 (RTLD_PROGNAME): New macro.
8932 * elf/tst-null-argv.c: New test case.
8933 * elf/tst-null-argv-lib.c: Library for test case.
8934 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8935 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8936 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8937 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8938 * elf/dl-init.c (call_init): Likewise.
8939 (_dl_init): Likewise.
8940 * elf/dl-load.c (print_search_path): Likewise.
8941 (_dl_map_object): Likewise.
8942 * elf/dl-lookup.c (do_lookup_x): Likewise.
8943 (add_dependency): Likewise.
8944 (_dl_lookup_symbol_x): Likewise.
8945 (_dl_debug_bindings): Likewise.
8946 * elf/dl-open.c (_dl_show_scope): Likewise.
8947 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8948 * elf/dl-version.c (match_symbol): Likewise.
8949 (_dl_check_map_versions): Likewise.
8950 * elf/rtld.c (dl_main): Likewise.
8951 (print_unresolved): Use RTLD_PROGNAME.
8952 (print_missing_version): Likewise.
8953 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8954 (elf_machine_rela): Likewise.
8955 * sysdeps/powerpc/powerpc32/dl-machine.c
8956 (__process_machine_rela): Likewise.
8957 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8959 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8961 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8963 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8964 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8966 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8968 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8970 2013-05-28 Carlos O'Donell <carlos@redhat.com>
8972 * po/be.po: Add descriptive title.
8973 * po/zh_CN.po: Likewise.
8974 * po/header.pot: Likewise.
8976 2013-05-28 Mike Frysinger <vapier@gentoo.org>
8978 * locale/programs/locarchive.c (create_archive): Inlucde fname in
8980 (enlarge_archive): Likewise.
8982 2013-05-28 Ben North <ben@redfrontdoor.org>
8984 * manual/arith.texi (frexp): It is the magnitude of the return
8985 value which lies in [0.5, 1), not the return value itself.
8987 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8991 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
8993 * stdio-common/bug26.c (main): Correct fscanf template.
8995 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8996 declare _dl_skip_args.
8998 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
9001 * manual/platform.texi: Add missing @end deftypefun.
9003 2013-05-24 Joseph Myers <joseph@codesourcery.com>
9006 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
9007 bit of mantissa of 2^16382.
9008 * math/libm-test.inc (hypot_test_data): Add more tests.
9010 * math/libm-test.inc: Add drem and pow10 to list of tested
9012 (pow10_test): New function.
9013 (drem_test): Likewise.
9014 (drem_test_tonearest): Likewise.
9015 (drem_test_towardzero): Likewise.
9016 (drem_test_downward): Likewise.
9017 (drem_test_upward): Likewise.
9018 (main): Call the new functions.
9020 * math/libm-test.inc (finite_test_data): Remove.
9021 (finite_test): Run tests from isfinite_test_data.
9022 (gamma_test_data): Remove.
9023 (gamma_test): Run tests from lgamma_test_data.
9024 * sysdeps/i386/fpu/libm-test-ulps: Update.
9025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9027 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9029 * manual/platform.texi: Add PowerPC PPR function set documentation.
9030 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9033 2013-05-24 Carlos O'Donell <carlos@redhat.com>
9035 * math/libm-test.inc (MAX_EXP): Define.
9037 (ulp): New function.
9038 (check_float_internal): Use ULPDIFF.
9039 (cpow_test): Disable failing test.
9040 (check_ulp): Test ulp() implemetnation.
9041 (main): Call check_ulp before starting tests.
9043 2013-05-24 Joseph Myers <joseph@codesourcery.com>
9045 * math/gen-libm-test.pl (generate_testfile): Do not handle
9046 START_DATA and END_DATA.
9047 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9049 (acos_tonearest_test_data): Likewise.
9050 (acos_towardzero_test_data): Likewise.
9051 (acos_downward_test_data): Likewise.
9052 (acos_upward_test_data): Likewise.
9053 (acosh_test_data): Likewise.
9054 (asin_test_data): Likewise.
9055 (asin_tonearest_test_data): Likewise.
9056 (asin_towardzero_test_data): Likewise.
9057 (asin_downward_test_data): Likewise.
9058 (asin_upward_test_data): Likewise.
9059 (asinh_test_data): Likewise.
9060 (atan_test_data): Likewise.
9061 (atanh_test_data): Likewise.
9062 (atan2_test_data): Likewise.
9063 (cabs_test_data): Likewise.
9064 (cacos_test_data): Likewise.
9065 (cacosh_test_data): Likewise.
9066 (carg_test_data): Likewise.
9067 (casin_test_data): Likewise.
9068 (casinh_test_data): Likewise.
9069 (catan_test_data): Likewise.
9070 (catanh_test_data): Likewise.
9071 (cbrt_test_data): Likewise.
9072 (ccos_test_data): Likewise.
9073 (ccosh_test_data): Likewise.
9074 (ceil_test_data): Likewise.
9075 (cexp_test_data): Likewise.
9076 (cimag_test_data): Likewise.
9077 (clog_test_data): Likewise.
9078 (clog10_test_data): Likewise.
9079 (conj_test_data): Likewise.
9080 (copysign_test_data): Likewise.
9081 (cos_test_data): Likewise.
9082 (cos_tonearest_test_data): Likewise.
9083 (cos_towardzero_test_data): Likewise.
9084 (cos_downward_test_data): Likewise.
9085 (cos_upward_test_data): Likewise.
9086 (cosh_test_data): Likewise.
9087 (cosh_tonearest_test_data): Likewise.
9088 (cosh_towardzero_test_data): Likewise.
9089 (cosh_downward_test_data): Likewise.
9090 (cosh_upward_test_data): Likewise.
9091 (cpow_test_data): Likewise.
9092 (cproj_test_data): Likewise.
9093 (creal_test_data): Likewise.
9094 (csin_test_data): Likewise.
9095 (csinh_test_data): Likewise.
9096 (csqrt_test_data): Likewise.
9097 (ctan_test_data): Likewise.
9098 (ctan_tonearest_test_data): Likewise.
9099 (ctan_towardzero_test_data): Likewise.
9100 (ctan_downward_test_data): Likewise.
9101 (ctan_upward_test_data): Likewise.
9102 (ctanh_test_data): Likewise.
9103 (ctanh_tonearest_test_data): Likewise.
9104 (ctanh_towardzero_test_data): Likewise.
9105 (ctanh_downward_test_data): Likewise.
9106 (ctanh_upward_test_data): Likewise.
9107 (erf_test_data): Likewise.
9108 (erfc_test_data): Likewise.
9109 (exp_test_data): Likewise.
9110 (exp_tonearest_test_data): Likewise.
9111 (exp_towardzero_test_data): Likewise.
9112 (exp_downward_test_data): Likewise.
9113 (exp_upward_test_data): Likewise.
9114 (exp10_test_data): Likewise.
9115 (exp2_test_data): Likewise.
9116 (expm1_test_data): Likewise.
9117 (fabs_test_data): Likewise.
9118 (fdim_test_data): Likewise.
9119 (finite_test_data): Likewise.
9120 (floor_test_data): Likewise.
9121 (fma_test_data): Likewise.
9122 (fma_towardzero_test_data): Likewise.
9123 (fma_downward_test_data): Likewise.
9124 (fma_upward_test_data): Likewise.
9125 (fmax_test_data): Likewise.
9126 (fmin_test_data): Likewise.
9127 (fmod_test_data): Likewise.
9128 (fpclassify_test_data): Likewise.
9129 (frexp_test_data): Likewise.
9130 (gamma_test_data): Likewise.
9131 (hypot_test_data): Likewise.
9132 (ilogb_test_data): Likewise.
9133 (isfinite_test_data): Likewise.
9134 (isgreater_test_data): Likewise.
9135 (isgreaterequal_test_data): Likewise.
9136 (isinf_test_data): Likewise.
9137 (isless_test_data): Likewise.
9138 (islessequal_test_data): Likewise.
9139 (islessgreater_test_data): Likewise.
9140 (isnan_test_data): Likewise.
9141 (isnormal_test_data): Likewise.
9142 (issignaling_test_data): Likewise.
9143 (isunordered_test_data): Likewise.
9144 (j0_test_data): Likewise.
9145 (j1_test_data): Likewise.
9146 (jn_test_data): Likewise.
9147 (ldexp_test_data): Likewise.
9148 (lgamma_test_data): Likewise.
9149 (lrint_test_data): Likewise.
9150 (lrint_tonearest_test_data): Likewise.
9151 (lrint_towardzero_test_data): Likewise.
9152 (lrint_downward_test_data): Likewise.
9153 (lrint_upward_test_data): Likewise.
9154 (llrint_test_data): Likewise.
9155 (llrint_tonearest_test_data): Likewise.
9156 (llrint_towardzero_test_data): Likewise.
9157 (llrint_downward_test_data): Likewise.
9158 (llrint_upward_test_data): Likewise.
9159 (log_test_data): Likewise.
9160 (log10_test_data): Likewise.
9161 (log1p_test_data): Likewise.
9162 (log2_test_data): Likewise.
9163 (logb_test_data): Likewise.
9164 (logb_downward_test_data): Likewise.
9165 (lround_test_data): Likewise.
9166 (llround_test_data): Likewise.
9167 (modf_test_data): Likewise.
9168 (nearbyint_test_data): Likewise.
9169 (nextafter_test_data): Likewise.
9170 (nexttoward_test_data): Likewise.
9171 (pow_test_data): Likewise.
9172 (pow_tonearest_test_data): Likewise.
9173 (pow_towardzero_test_data): Likewise.
9174 (pow_downward_test_data): Likewise.
9175 (pow_upward_test_data): Likewise.
9176 (remainder_test_data): Likewise.
9177 (remainder_tonearest_test_data): Likewise.
9178 (remainder_towardzero_test_data): Likewise.
9179 (remainder_downward_test_data): Likewise.
9180 (remainder_upward_test_data): Likewise.
9181 (remquo_test_data): Likewise.
9182 (rint_test_data): Likewise.
9183 (rint_tonearest_test_data): Likewise.
9184 (rint_towardzero_test_data): Likewise.
9185 (rint_downward_test_data): Likewise.
9186 (rint_upward_test_data): Likewise.
9187 (round_test_data): Likewise.
9188 (scalb_test_data): Likewise.
9189 (scalbn_test_data): Likewise.
9190 (scalbln_test_data): Likewise.
9191 (signbit_test_data): Likewise.
9192 (sin_test_data): Likewise.
9193 (sin_tonearest_test_data): Likewise.
9194 (sin_towardzero_test_data): Likewise.
9195 (sin_downward_test_data): Likewise.
9196 (sin_upward_test_data): Likewise.
9197 (sincos_test_data): Likewise.
9198 (sinh_test_data): Likewise.
9199 (sinh_tonearest_test_data): Likewise.
9200 (sinh_towardzero_test_data): Likewise.
9201 (sinh_downward_test_data): Likewise.
9202 (sinh_upward_test_data): Likewise.
9203 (sqrt_test_data): Likewise.
9204 (tan_test_data): Likewise.
9205 (tan_tonearest_test_data): Likewise.
9206 (tan_towardzero_test_data): Likewise.
9207 (tan_downward_test_data): Likewise.
9208 (tan_upward_test_data): Likewise.
9209 (tanh_test_data): Likewise.
9210 (tgamma_test_data): Likewise.
9211 (trunc_test_data): Likewise.
9212 (y0_test_data): Likewise.
9213 (y1_test_data): Likewise.
9214 (yn_test_data): Likewise.
9215 (significand_test_data): Likewise.
9217 * math/gen-libm-test.pl (@functions): Remove variable.
9218 (generate_testfile): Don't handle START and END lines.
9219 * math/libm-test.inc (START): New macro.
9221 (END_COMPLEX): Likewise.
9222 (acos_test): Use END macro without arguments.
9223 (acos_test_tonearest): Likewise.
9224 (acos_test_towardzero): Likewise.
9225 (acos_test_downward): Likewise.
9226 (acos_test_upward): Likewise.
9227 (acosh_test): Likewise.
9228 (asin_test): Likewise.
9229 (asin_test_tonearest): Likewise.
9230 (asin_test_towardzero): Likewise.
9231 (asin_test_downward): Likewise.
9232 (asin_test_upward): Likewise.
9233 (asinh_test): Likewise.
9234 (atan_test): Likewise.
9235 (atanh_test): Likewise.
9236 (atan2_test): Likewise.
9237 (cabs_test): Likewise.
9238 (cacos_test): Use END_COMPLEX macro without arguments.
9239 (cacosh_test): Likewise.
9240 (carg_test): Use END macro without arguments.
9241 (casin_test): Use END_COMPLEX macro without arguments.
9242 (casinh_test): Likewise.
9243 (catan_test): Likewise.
9244 (catanh_test): Likewise.
9245 (cbrt_test): Use END macro without arguments.
9246 (ccos_test): Use END_COMPLEX macro without arguments.
9247 (ccosh_test): Likewise.
9248 (ceil_test): Use END macro without arguments.
9249 (cexp_test): Use END_COMPLEX macro without arguments.
9250 (cimag_test): Use END macro without arguments.
9251 (clog_test): Use END_COMPLEX macro without arguments.
9252 (clog10_test): Likewise.
9253 (conj_test): Likewise.
9254 (copysign_test): Use END macro without arguments.
9255 (cos_test): Likewise.
9256 (cos_test_tonearest): Likewise.
9257 (cos_test_towardzero): Likewise.
9258 (cos_test_downward): Likewise.
9259 (cos_test_upward): Likewise.
9260 (cosh_test): Likewise.
9261 (cosh_test_tonearest): Likewise.
9262 (cosh_test_towardzero): Likewise.
9263 (cosh_test_downward): Likewise.
9264 (cosh_test_upward): Likewise.
9265 (cpow_test): Use END_COMPLEX macro without arguments.
9266 (cproj_test): Likewise.
9267 (creal_test): Use END macro without arguments.
9268 (csin_test): Use END_COMPLEX macro without arguments.
9269 (csinh_test): Likewise.
9270 (csqrt_test): Likewise.
9271 (ctan_test): Likewise.
9272 (ctan_test_tonearest): Likewise.
9273 (ctan_test_towardzero): Likewise.
9274 (ctan_test_downward): Likewise.
9275 (ctan_test_upward): Likewise.
9276 (ctanh_test): Likewise.
9277 (ctanh_test_tonearest): Likewise.
9278 (ctanh_test_towardzero): Likewise.
9279 (ctanh_test_downward): Likewise.
9280 (ctanh_test_upward): Likewise.
9281 (erf_test): Use END macro without arguments.
9282 (erfc_test): Likewise.
9283 (exp_test): Likewise.
9284 (exp_test_tonearest): Likewise.
9285 (exp_test_towardzero): Likewise.
9286 (exp_test_downward): Likewise.
9287 (exp_test_upward): Likewise.
9288 (exp10_test): Likewise.
9289 (exp2_test): Likewise.
9290 (expm1_test): Likewise.
9291 (fabs_test): Likewise.
9292 (fdim_test): Likewise.
9293 (finite_test): Likewise.
9294 (floor_test): Likewise.
9295 (fma_test): Likewise.
9296 (fma_test_towardzero): Likewise.
9297 (fma_test_downward): Likewise.
9298 (fma_test_upward): Likewise.
9299 (fmax_test): Likewise.
9300 (fmin_test): Likewise.
9301 (fmod_test): Likewise.
9302 (fpclassify_test): Likewise.
9303 (frexp_test): Likewise.
9304 (gamma_test): Likewise.
9305 (hypot_test): Likewise.
9306 (ilogb_test): Likewise.
9307 (isfinite_test): Likewise.
9308 (isgreater_test): Likewise.
9309 (isgreaterequal_test): Likewise.
9310 (isinf_test): Likewise.
9311 (isless_test): Likewise.
9312 (islessequal_test): Likewise.
9313 (islessgreater_test): Likewise.
9314 (isnan_test): Likewise.
9315 (isnormal_test): Likewise.
9316 (issignaling_test): Likewise.
9317 (isunordered_test): Likewise.
9318 (j0_test): Likewise.
9319 (j1_test): Likewise.
9320 (jn_test): Likewise.
9321 (ldexp_test): Likewise.
9322 (lgamma_test): Likewise.
9323 (lrint_test): Likewise.
9324 (lrint_test_tonearest): Likewise.
9325 (lrint_test_towardzero): Likewise.
9326 (lrint_test_downward): Likewise.
9327 (lrint_test_upward): Likewise.
9328 (llrint_test): Likewise.
9329 (llrint_test_tonearest): Likewise.
9330 (llrint_test_towardzero): Likewise.
9331 (llrint_test_downward): Likewise.
9332 (llrint_test_upward): Likewise.
9333 (log_test): Likewise.
9334 (log10_test): Likewise.
9335 (log1p_test): Likewise.
9336 (log2_test): Likewise.
9337 (logb_test): Likewise.
9338 (logb_test_downward): Likewise.
9339 (lround_test): Likewise.
9340 (llround_test): Likewise.
9341 (modf_test): Likewise.
9342 (nearbyint_test): Likewise.
9343 (nextafter_test): Likewise.
9344 (nexttoward_test): Likewise.
9345 (pow_test): Likewise.
9346 (pow_test_tonearest): Likewise.
9347 (pow_test_towardzero): Likewise.
9348 (pow_test_downward): Likewise.
9349 (pow_test_upward): Likewise.
9350 (remainder_test): Likewise.
9351 (remainder_test_tonearest): Likewise.
9352 (remainder_test_towardzero): Likewise.
9353 (remainder_test_downward): Likewise.
9354 (remainder_test_upward): Likewise.
9355 (remquo_test): Likewise.
9356 (rint_test): Likewise.
9357 (rint_test_tonearest): Likewise.
9358 (rint_test_towardzero): Likewise.
9359 (rint_test_downward): Likewise.
9360 (rint_test_upward): Likewise.
9361 (round_test): Likewise.
9362 (scalb_test): Likewise.
9363 (scalbn_test): Likewise.
9364 (scalbln_test): Likewise.
9365 (signbit_test): Likewise.
9366 (sin_test): Likewise.
9367 (sin_test_tonearest): Likewise.
9368 (sin_test_towardzero): Likewise.
9369 (sin_test_downward): Likewise.
9370 (sin_test_upward): Likewise.
9371 (sincos_test): Likewise.
9372 (sinh_test): Likewise.
9373 (sinh_test_tonearest): Likewise.
9374 (sinh_test_towardzero): Likewise.
9375 (sinh_test_downward): Likewise.
9376 (sinh_test_upward): Likewise.
9377 (sqrt_test): Likewise.
9378 (tan_test): Likewise.
9379 (tan_test_tonearest): Likewise.
9380 (tan_test_towardzero): Likewise.
9381 (tan_test_downward): Likewise.
9382 (tan_test_upward): Likewise.
9383 (tanh_test): Likewise.
9384 (tgamma_test): Likewise.
9385 (trunc_test): Likewise.
9386 (y0_test): Likewise.
9387 (y1_test): Likewise.
9388 (yn_test): Likewise.
9389 (significand_test): Likewise.
9391 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
9394 * libio/genops.c (_IO_no_init): Initialize wide struct info.
9396 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
9399 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
9400 __ppc_mdoio and __ppc_mdoom.
9401 * manual/platform.texi: Document new functions __ppc_yield,
9402 __ppc_mdoio and __ppc_mdoom.
9404 2013-05-22 Carlos O'Donell <carlos@redhat.com>
9406 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
9407 (main): Mention "tls" pseudo-hwcap is legacy.
9408 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
9410 2013-05-22 Joseph Myers <joseph@codesourcery.com>
9412 * math/gen-libm-test.pl (parse_args): Output only string of
9413 arguments as text for test name, not full call or descriptions of
9414 tests for extra outputs.
9415 (generate_testfile): Do not pass function name to parse_args.
9416 Generate this_func variable from START.
9417 * math/libm-test.inc (struct test_f_f_data): Rename test_name
9419 (struct test_ff_f_data): Likewise.
9420 (test_ff_f_data_nexttoward): Likewise.
9421 (struct test_fi_f_data): Likewise.
9422 (struct test_fl_f_data): Likewise.
9423 (struct test_if_f_data): Likewise.
9424 (struct test_fff_f_data): Likewise.
9425 (struct test_c_f_data): Likewise.
9426 (struct test_f_f1_data): Likewise. Remove field extra_name.
9427 (struct test_fF_f1_data): Likewise.
9428 (struct test_ffI_f1_data): Likewise.
9429 (struct test_c_c_data): Rename test_name field to arg_str.
9430 (struct test_cc_c_data): Likewise.
9431 (struct test_f_i_data): Likewise.
9432 (struct test_ff_i_data): Likewise.
9433 (struct test_f_l_data): Likewise.
9434 (struct test_f_L_data): Likewise.
9435 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
9437 (COMMON_TEST_SETUP): New macro.
9438 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9439 (COMMON_TEST_CLEANUP): Likewise.
9440 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9441 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
9443 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
9444 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
9446 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
9447 (RUN_TEST_fff_f): Take argument string. Call new setup and
9449 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
9450 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
9452 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
9453 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
9455 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9456 (RUN_TEST_fF_f1): Take argument string. Call new setup and
9458 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9459 (RUN_TEST_fI_f1): Take argument string. Call new setup and
9461 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9462 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
9464 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9465 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
9467 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
9468 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
9470 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
9471 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
9473 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
9474 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
9476 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
9477 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
9479 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
9480 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
9482 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
9483 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
9485 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
9486 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
9488 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
9489 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
9491 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
9492 (RUN_TEST_fFF_11): Take argument string. Call new setup and
9494 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
9496 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9498 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
9499 to _sifields.sigfault.
9500 (si_addr_lsb): Define new macro.
9501 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9502 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9503 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
9505 2013-05-03 Carlos O'Donell <carlos at redhat.com>
9508 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
9510 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
9512 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
9515 2013-05-22 Joseph Myers <joseph@codesourcery.com>
9517 * math/gen-libm-test.pl (parse_args): Do not include expected
9518 result in test name.
9519 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
9520 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9521 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9522 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9523 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9526 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9528 * benchtests/Makefile: Sort function entries.
9530 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
9531 tanh, asinh, acosh, atanh.
9532 * benchtests/acos-inputs: New file.
9533 * benchtests/acosh-inputs: New file.
9534 * benchtests/asin-inputs: New file.
9535 * benchtests/asinh-inputs: New file.
9536 * benchtests/atanh-inputs: New file.
9537 * benchtests/cosh-inputs: New file.
9538 * benchtests/log-inputs: New file.
9539 * benchtests/sinh-inputs: New file.
9540 * benchtests/tanh-inputs: New file.
9542 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
9545 * posix/tst-getaddrinfo4.c: New test.
9546 * posix/Makefile (tests): Add it.
9548 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9551 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
9552 when no services were used.
9553 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
9554 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
9556 2013-05-21 Andreas Schwab <schwab@suse.de>
9559 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
9560 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
9562 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
9563 redundant variable declarations and reallocation of buffer when
9564 parsing as IPv6 address. Always set NSS status when called from
9565 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
9566 buffer too small. Correct computation of needed size.
9567 * nss/Makefile (tests): Add test-digits-dots.
9568 * nss/test-digits-dots.c: New test.
9570 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9572 * benchtests/Makefile: Remove instructions for adding
9574 * benchtests/README: New file to explain how to execute and
9575 enhance the benchmark tests.
9577 2013-05-21 Andreas Schwab <schwab@suse.de>
9580 * setjmp/Makefile (tests): Add tst-sigsetjmp.
9581 * setjmp/tst-sigsetjmp.c: New test.
9583 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
9585 * sysdeps/x86_64/memset.S (memset): New implementation.
9586 (__bzero): Likewise.
9587 (__memset_tail): New function.
9589 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
9591 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
9592 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
9593 __memcpy_sse2_unaligned ifunc selection.
9594 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9595 Add memcpy-sse2-unaligned.S.
9596 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9597 Add: __memcpy_sse2_unaligned.
9599 2013-05-19 Joseph Myers <joseph@codesourcery.com>
9602 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9603 math_force_eval before restoring floating-point envrionment.
9604 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
9605 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
9607 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
9609 (__nearbyintl): Use math_force_eval before restoring
9610 floating-point environment.
9611 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
9613 * math/gen-libm-test.pl (special_functions): Remove.
9614 (parse_args): Don't handle TEST_extra. Handle functions with no
9616 * math/libm-test.inc (struct test_sincos_data): Replace with
9617 struct test_fFF_11_data.
9618 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
9619 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
9620 (sincos_test_data): Change element type to struct
9621 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
9622 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
9623 RUN_TEST_LOOP_sincos.
9624 * math/README.libm-test: Don't mention special handling of
9625 individual functions.
9626 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
9627 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9628 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9629 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9630 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9633 * math/gen-libm-test.pl (get_variable): Remove function.
9634 (parse_args): Don't show pointer parameters to call in test
9635 names. Use "extra output N" in test names for extra outputs
9636 rather than naming variables.
9638 2013-05-18 Joseph Myers <joseph@codesourcery.com>
9641 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
9642 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
9643 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
9645 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
9647 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
9650 * math/gen-libm-test.pl (@tests): Remove variable.
9652 (new_test): Remove function.
9653 (show_exceptions): New function.
9654 (special_functions): Use show_exceptions instead of new_test.
9655 (parse_args): Likewise.
9656 (generate_testfile): Pass only function name in generated call to
9657 print_max_error or print_complex_max_error.
9658 (get_ulps): Do not handle complex tests specially.
9659 (output_test): Rename to ...
9660 (get_all_ulps_for_test): ... this. Return a string rather than
9661 printing to a file. Require ulps to be present.
9662 (output_ulps): Generate arrays rather than #defines.
9663 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
9664 (struct ulp_data): New type.
9665 (BUILD_COMPLEX_ULP): Remove macro.
9666 (compare_ulp_data): New function.
9667 (find_ulps): Likewise.
9668 (find_test_ulps): Likewise.
9669 (find_function_ulps): Likewise.
9670 (find_complex_function_ulps): Likewise.
9671 (print_max_error): Determine allowed ulps using
9673 (print_complex_max_error): Determine allowed ulps using
9674 find_complex_function_ulps.
9675 (check_float_internal): Determine max ulps using find_test_ulps.
9676 (check_float): Do not take max_ulp parameter. Update call to
9677 check_float_internal.
9678 (check_complex): Likewise.
9679 (check_int): Do not take max_ulp parameter.
9680 (check_long): Likewise.
9681 (check_bool): Likewise.
9682 (check_longlong): Likewise.
9683 (struct test_f_f_data): Remove max_ulp field.
9684 (struct test_ff_f_data): Likewise.
9685 (struct test_ff_f_data_nexttoward): Likewise.
9686 (struct test_fi_f_data): Likewise.
9687 (struct test_fl_f_data): Likewise.
9688 (struct test_if_f_data): Likewise.
9689 (struct test_fff_f_data): Likewise.
9690 (struct test_c_f_data): Likewise.
9691 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
9692 (struct test_fF_f1_data): Likewise.
9693 (struct test_ffI_f1_data): Likewise.
9694 (struct test_c_c_data): Remove max_ulp field.
9695 (struct test_cc_c_data): Likewise.
9696 (struct test_f_i_data): Likewise.
9697 (struct test_ff_i_data): Likewise.
9698 (struct test_f_l_data): Likewise.
9699 (struct test_f_L_data): Likewise.
9700 (struct test_sincos_data): Likewise.
9701 (RUN_TEST_f_f): Do not handle ulps.
9702 (RUN_TEST_LOOP_f_f): Likewise.
9703 (RUN_TEST_2_f): Likewise.
9704 (RUN_TEST_LOOP_2_f): Likewise.
9705 (RUN_TEST_fff_f): Likewise.
9706 (RUN_TEST_LOOP_fff_f): Likewise.
9707 (RUN_TEST_c_f): Likewise.
9708 (RUN_TEST_LOOP_c_f): Likewise.
9709 (RUN_TEST_f_f1): Likewise.
9710 (RUN_TEST_LOOP_f_f1): Likewise.
9711 (RUN_TEST_fF_f1): Likewise.
9712 (RUN_TEST_LOOP_fF_f1): Likewise.
9713 (RUN_TEST_fI_f1): Likewise.
9714 (RUN_TEST_LOOP_fI_f1): Likewise.
9715 (RUN_TEST_ffI_f1): Likewise.
9716 (RUN_TEST_LOOP_ffI_f1): Likewise.
9717 (RUN_TEST_c_c): Likewise.
9718 (RUN_TEST_LOOP_c_c): Likewise.
9719 (RUN_TEST_cc_c): Likewise.
9720 (RUN_TEST_LOOP_cc_c): Likewise.
9721 (RUN_TEST_f_i): Likewise.
9722 (RUN_TEST_LOOP_f_i): Likewise.
9723 (RUN_TEST_f_i_tg): Likewise.
9724 (RUN_TEST_LOOP_f_i_tg): Likewise.
9725 (RUN_TEST_ff_i_tg): Likewise.
9726 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9727 (RUN_TEST_f_b): Likewise.
9728 (RUN_TEST_LOOP_f_b): Likewise.
9729 (RUN_TEST_f_b_tg): Likewise.
9730 (RUN_TEST_LOOP_f_b_tg): Likewise.
9731 (RUN_TEST_f_l): Likewise.
9732 (RUN_TEST_LOOP_f_l): Likewise.
9733 (RUN_TEST_f_L): Likewise.
9734 (RUN_TEST_LOOP_f_L): Likewise.
9735 (RUN_TEST_sincos): Likewise.
9736 (RUN_TEST_LOOP_sincos): Likewise.
9738 2013-05-17 Joseph Myers <joseph@codesourcery.com>
9742 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9743 main case of finite arguments, set rounding mode to FE_TONEAREST
9744 and discard exceptions.
9745 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9747 (remainder_tonearest_test_data): New variable.
9748 (remainder_test_tonearest): New function.
9749 (remainder_towardzero_test_data): New variable.
9750 (remainder_test_towardzero): New function.
9751 (remainder_downward_test_data): New variable.
9752 (remainder_test_downward): New function.
9753 (remainder_upward_test_data): New variable.
9754 (remainder_test_upward): New function.
9755 (main): Call the new test functions.
9757 * math/libm-test.inc (struct test_f_f1_data): Remove field
9759 (struct test_fF_f1_data): Likewise.
9760 (struct test_ffI_f1_data): Likewise.
9761 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
9762 based on value of EXTRA_EXPECTED.
9763 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9764 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
9765 EXTRA_VAR based on value of EXTRA_EXPECTED.
9766 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9767 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
9768 EXTRA_VAR based on value of EXTRA_EXPECTED.
9769 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9770 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
9771 EXTRA_VAR based on value of EXTRA_EXPECTED.
9772 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9773 * math/gen-libm-test.pl (parse_args): Don't output initializers
9774 for extra output values.
9776 * math/libm-test.inc (check_int): Expect result to be exactly
9777 equal to expected value and do not handle ulps.
9778 (check_long): Likewise.
9779 (check_longlong): Likewise.
9781 * math/libm-test.inc (ceil_test_data): Test for "inexact"
9783 (cimag_test_data): Likewise.
9784 (conj_test_data): Likewise.
9785 (copysign_test_data): Likewise.
9786 (cproj_test_data): Likewise.
9787 (creal_test_data): Likewise.
9788 (fabs_test_data): Likewise.
9789 (fdim_test_data): Likewise.
9790 (finite_test_data): Likewise.
9791 (floor_test_data): Likewise.
9792 (fmax_test_data): Likewise.
9793 (fmin_test_data): Likewise.
9794 (fmod_test_data): Likewise.
9795 (fpclassify_test_data): Likewise.
9796 (frexp_test_data): Likewise.
9797 (ilogb_test_data): Likewise.
9798 (isfinite_test_data): Likewise.
9799 (isgreater_test_data): Likewise.
9800 (isgreaterequal_test_data): Likewise.
9801 (isinf_test_data): Likewise.
9802 (isless_test_data): Likewise.
9803 (islessequal_test_data): Likewise.
9804 (islessgreater_test_data): Likewise.
9805 (isnan_test_data): Likewise.
9806 (isnormal_test_data): Likewise.
9807 (issignaling_test_data): Likewise.
9808 (isunordered_test_data): Likewise.
9809 (ldexp_test_data): Likewise.
9810 (lrint_test_data): Likewise.
9811 (lrint_test_data) [TEST_FLOAT]: Disable one test.
9812 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9813 (lrint_tonearest_test_data): Test for "inexact" exceptions.
9814 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9815 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9816 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9818 (lrint_towardzero_test_data): Test for "inexact" exceptions.
9819 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9820 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9821 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9823 (lrint_downward_test_data): Test for "inexact" exceptions.
9824 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9825 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9826 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9828 (lrint_upward_test_data): Test for "inexact" exceptions.
9829 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9831 (llrint_test_data): Test for "inexact" exceptions.
9832 (llrint_test_data) [TEST_FLOAT]: Disable one test.
9833 (llrint_tonearest_test_data): Test for "inexact" exceptions.
9834 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9835 (llrint_towardzero_test_data): Test for "inexact" exceptions.
9836 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9837 (llrint_downward_test_data): Test for "inexact" exceptions.
9838 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9839 (llrint_upward_test_data): Test for "inexact" exceptions.
9840 (logb_test_data): Likewise.
9841 (logb_downward_test_data): Likewise.
9842 (nextafter_test_data): Likewise.
9843 (nexttoward_test_data): Likewise.
9844 (remainder_test_data): Likewise.
9845 (remquo_test_data): Likewise.
9846 (scalbn_test_data): Likewise.
9847 (scalbln_test_data): Likewise.
9848 (signbit_test_data): Likewise.
9849 (sqrt_test_data): Likewise.
9850 (significand_test_data): Likewise.
9852 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9855 * benchtests/bench-modf.c (struct args): Mark arg0 as
9857 * scripts/bench.pl: Mark members of struct args as volatile.
9859 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9862 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9863 negative infinity on POWER6 or lower.
9864 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9866 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9869 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9870 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9871 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9872 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9873 (_FP_SETQNAN): New macro.
9874 (_FP_SETQNAN_SEMIRAW): Likewise.
9875 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9876 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9877 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9878 (FP_EXTEND): Use _FP_FRAC_SNANP.
9879 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9880 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9882 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9884 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9887 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9889 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9890 with DIVIDE_BY_ZERO_EXCEPTION.
9891 (gamma_test_data): Likewise.
9892 (lgamma_test_data): Likewise.
9893 (log_test_data): Likewise.
9894 (log10_test_data): Likewise.
9895 (log2_test_data): Likewise.
9896 (tgamma_test_data): Likewise.
9898 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9899 (acos_test_tonearest): Likewise.
9900 (acos_test_towardzero): Likewise.
9901 (acos_test_downward): Likewise.
9902 (acos_test_upward): Likewise.
9903 (acosh_test): Likewise.
9904 (asin_test): Likewise.
9905 (asin_test_tonearest): Likewise.
9906 (asin_test_towardzero): Likewise.
9907 (asin_test_downward): Likewise.
9908 (asin_test_upward): Likewise.
9909 (asinh_test): Likewise.
9910 (atan_test): Likewise.
9911 (atanh_test): Likewise.
9912 (atan2_test): Likewise.
9913 (cabs_test): Likewise.
9914 (cacos_test): Likewise.
9915 (cacosh_test): Likewise.
9916 (casin_test): Likewise.
9917 (casinh_test): Likewise.
9918 (catan_test): Likewise.
9919 (catanh_test): Likewise.
9920 (cbrt_test): Likewise.
9921 (ccos_test): Likewise.
9922 (ccosh_test): Likewise.
9923 (cexp_test): Likewise.
9924 (clog_test): Likewise.
9925 (clog10_test): Likewise.
9926 (cos_test): Likewise.
9927 (cos_test_tonearest): Likewise.
9928 (cos_test_towardzero): Likewise.
9929 (cos_test_downward): Likewise.
9930 (cos_test_upward): Likewise.
9931 (cosh_test): Likewise.
9932 (cosh_test_tonearest): Likewise.
9933 (cosh_test_towardzero): Likewise.
9934 (cosh_test_downward): Likewise.
9935 (cosh_test_upward): Likewise.
9936 (cpow_test): Likewise.
9937 (csin_test): Likewise.
9938 (csinh_test): Likewise.
9939 (csqrt_test): Likewise.
9940 (ctan_test): Likewise.
9941 (ctan_test_tonearest): Likewise.
9942 (ctan_test_towardzero): Likewise.
9943 (ctan_test_downward): Likewise.
9944 (ctan_test_upward): Likewise.
9945 (ctanh_test): Likewise.
9946 (ctanh_test_tonearest): Likewise.
9947 (ctanh_test_towardzero): Likewise.
9948 (ctanh_test_downward): Likewise.
9949 (ctanh_test_upward): Likewise.
9950 (erf_test): Likewise.
9951 (erfc_test): Likewise.
9952 (exp_test): Likewise.
9953 (exp_test_tonearest): Likewise.
9954 (exp_test_towardzero): Likewise.
9955 (exp_test_downward): Likewise.
9956 (exp_test_upward): Likewise.
9957 (exp10_test): Likewise.
9958 (exp2_test): Likewise.
9959 (expm1_test): Likewise.
9960 (fmod_test): Likewise.
9961 (gamma_test): Likewise.
9962 (hypot_test): Likewise.
9963 (j0_test): Likewise.
9964 (j1_test): Likewise.
9965 (jn_test): Likewise.
9966 (lgamma_test): Likewise.
9967 (log_test): Likewise.
9968 (log10_test): Likewise.
9969 (log1p_test): Likewise.
9970 (log2_test): Likewise.
9971 (logb_test_downward): Likewise.
9972 (pow_test): Likewise.
9973 (pow_test_tonearest): Likewise.
9974 (pow_test_towardzero): Likewise.
9975 (pow_test_downward): Likewise.
9976 (pow_test_upward): Likewise.
9977 (remainder_test): Likewise.
9978 (remquo_test): Likewise.
9979 (sin_test): Likewise.
9980 (sin_test_tonearest): Likewise.
9981 (sin_test_towardzero): Likewise.
9982 (sin_test_downward): Likewise.
9983 (sin_test_upward): Likewise.
9984 (sincos_test): Likewise.
9985 (sinh_test): Likewise.
9986 (sinh_test_tonearest): Likewise.
9987 (sinh_test_towardzero): Likewise.
9988 (sinh_test_downward): Likewise.
9989 (sinh_test_upward): Likewise.
9990 (sqrt_test): Likewise.
9991 (tan_test): Likewise.
9992 (tan_test_tonearest): Likewise.
9993 (tan_test_towardzero): Likewise.
9994 (tan_test_downward): Likewise.
9995 (tan_test_upward): Likewise.
9996 (tanh_test): Likewise.
9997 (tgamma_test): Likewise.
9998 (y0_test): Likewise.
9999 (y1_test): Likewise.
10000 (yn_test): Likewise.
10002 * math/gen-libm-test.pl (adjust_arg): Remove function.
10003 (special_function): Remove argument $in_func. Only handle
10004 generating output for tables of tests, not inside functions.
10005 (parse_args): Likewise.
10006 (generate_testfile): Remove variable $in_func. Update call to
10008 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
10009 (MINUS_ZERO_INIT): Rename macro to minus_zero.
10010 (PLUS_INFTY_INIT): Rename macro to plus_infty.
10011 (MINUS_INFTY_INIT): Rename macro to minus_infty.
10012 (QNAN_VALUE_INIT): Rename macro to qnan_value.
10013 (MAX_VALUE_INIT): Rename macro to max_value.
10014 (MIN_VALUE_INIT): Rename macro to min_value.
10015 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
10016 (plus_zero): Remove variable.
10017 (minus_zero): Likewise.
10018 (plus_infty): Likewise.
10019 (minus_infty): Likewise.
10020 (qnan_value): Likewise.
10021 (max_value): Likewise.
10022 (min_value): Likewise.
10023 (min_subnorm_value): Likewise.
10025 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10027 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
10028 uint64_t or uint32_t usage.
10029 * crypt/sha256-block.c: Likewise.
10030 * crypt/sha256-crypt.c: Likewise.
10031 * crypt/sha256.c: Likewise.
10032 * crypt/sha512-block.c: Likewise.
10033 * crypt/sha512-crypt.c: Likewise.
10034 * crypt/sha512.c: Likewise.
10035 * debug/backtrace-tst.c: Likewise.
10036 * debug/pcprofiledump.c: Likewise.
10037 * elf/cache.c: Likewise.
10038 * elf/dl-cache.c: Likewise.
10039 * elf/dl-misc.c: Likewise.
10040 * elf/dl-profile.c: Likewise.
10041 * elf/dl-support.c: Likewise.
10042 * elf/ldconfig.c: Likewise.
10043 * elf/sprof.c: Likewise.
10044 * iconv/dummy-repertoire.c: Likewise.
10045 * iconv/iconv_charmap.c: Likewise.
10046 * iconv/skeleton.c: Likewise.
10047 * iconvdata/8bit-generic.c: Likewise.
10048 * iconvdata/cp737.h: Likewise.
10049 * iconvdata/cp775.h: Likewise.
10050 * iconvdata/ibm1008.h: Likewise.
10051 * iconvdata/ibm1025.h: Likewise.
10052 * iconvdata/ibm1046.h: Likewise.
10053 * iconvdata/ibm1097.h: Likewise.
10054 * iconvdata/ibm1112.h: Likewise.
10055 * iconvdata/ibm1122.h: Likewise.
10056 * iconvdata/ibm1123.h: Likewise.
10057 * iconvdata/ibm1124.h: Likewise.
10058 * iconvdata/ibm1129.h: Likewise.
10059 * iconvdata/ibm1130.h: Likewise.
10060 * iconvdata/ibm1132.h: Likewise.
10061 * iconvdata/ibm1133.h: Likewise.
10062 * iconvdata/ibm1137.h: Likewise.
10063 * iconvdata/ibm1140.h: Likewise.
10064 * iconvdata/ibm1141.h: Likewise.
10065 * iconvdata/ibm1142.h: Likewise.
10066 * iconvdata/ibm1143.h: Likewise.
10067 * iconvdata/ibm1144.h: Likewise.
10068 * iconvdata/ibm1145.h: Likewise.
10069 * iconvdata/ibm1146.h: Likewise.
10070 * iconvdata/ibm1147.h: Likewise.
10071 * iconvdata/ibm1148.h: Likewise.
10072 * iconvdata/ibm1149.h: Likewise.
10073 * iconvdata/ibm1153.h: Likewise.
10074 * iconvdata/ibm1154.h: Likewise.
10075 * iconvdata/ibm1155.h: Likewise.
10076 * iconvdata/ibm1156.h: Likewise.
10077 * iconvdata/ibm1157.h: Likewise.
10078 * iconvdata/ibm1158.h: Likewise.
10079 * iconvdata/ibm1160.h: Likewise.
10080 * iconvdata/ibm1161.h: Likewise.
10081 * iconvdata/ibm1162.h: Likewise.
10082 * iconvdata/ibm1163.h: Likewise.
10083 * iconvdata/ibm1164.h: Likewise.
10084 * iconvdata/ibm1166.h: Likewise.
10085 * iconvdata/ibm1167.h: Likewise.
10086 * iconvdata/ibm12712.h: Likewise.
10087 * iconvdata/ibm1390.h: Likewise.
10088 * iconvdata/ibm1399.h: Likewise.
10089 * iconvdata/ibm16804.h: Likewise.
10090 * iconvdata/ibm4517.h: Likewise.
10091 * iconvdata/ibm4899.h: Likewise.
10092 * iconvdata/ibm4909.h: Likewise.
10093 * iconvdata/ibm4971.h: Likewise.
10094 * iconvdata/ibm5347.h: Likewise.
10095 * iconvdata/ibm803.h: Likewise.
10096 * iconvdata/ibm856.h: Likewise.
10097 * iconvdata/ibm901.h: Likewise.
10098 * iconvdata/ibm902.h: Likewise.
10099 * iconvdata/ibm9030.h: Likewise.
10100 * iconvdata/ibm9066.h: Likewise.
10101 * iconvdata/ibm921.h: Likewise.
10102 * iconvdata/ibm922.h: Likewise.
10103 * iconvdata/ibm9448.h: Likewise.
10104 * iconvdata/isiri-3342.h: Likewise.
10105 * iconvdata/jis0201.h: Likewise.
10106 * include/link.h: Likewise.
10107 * include/netdb.h: Likewise.
10108 * inet/check_native.c: Likewise.
10109 * inet/check_pf.c: Likewise.
10110 * inet/getipv4sourcefilter.c: Likewise.
10111 * inet/getnameinfo.c: Likewise.
10112 * inet/getsourcefilter.c: Likewise.
10113 * inet/htonl.c: Likewise.
10114 * inet/setipv4sourcefilter.c: Likewise.
10115 * inet/setsourcefilter.c: Likewise.
10116 * inet/test-inet6_opt.c: Likewise.
10117 * inet/tst-network.c: Likewise.
10118 * locale/C-collate.c: Likewise.
10119 * locale/C-ctype.c: Likewise.
10120 * locale/C-time.c: Likewise.
10121 * locale/C-translit.h: Likewise.
10122 * locale/loadarchive.c: Likewise.
10123 * locale/programs/3level.h: Likewise.
10124 * locale/programs/charmap.c: Likewise.
10125 * locale/programs/charmap.h: Likewise.
10126 * locale/programs/ld-address.c: Likewise.
10127 * locale/programs/ld-collate.c: Likewise.
10128 * locale/programs/ld-ctype.c: Likewise.
10129 * locale/programs/ld-identification.c: Likewise.
10130 * locale/programs/ld-measurement.c: Likewise.
10131 * locale/programs/ld-messages.c: Likewise.
10132 * locale/programs/ld-monetary.c: Likewise.
10133 * locale/programs/ld-name.c: Likewise.
10134 * locale/programs/ld-numeric.c: Likewise.
10135 * locale/programs/ld-paper.c: Likewise.
10136 * locale/programs/ld-telephone.c: Likewise.
10137 * locale/programs/ld-time.c: Likewise.
10138 * locale/programs/linereader.c: Likewise.
10139 * locale/programs/locale.c: Likewise.
10140 * locale/programs/locarchive.c: Likewise.
10141 * locale/programs/locfile.h: Likewise.
10142 * locale/programs/repertoire.c: Likewise.
10143 * locale/programs/simple-hash.c: Likewise.
10144 * locale/programs/simple-hash.h: Likewise.
10145 * malloc/memusage.c: Likewise.
10146 * malloc/memusagestat.c: Likewise.
10147 * nis/nis_defaults.c: Likewise.
10148 * nis/nis_hash.c: Likewise.
10149 * nis/nis_print.c: Likewise.
10150 * nis/nis_xdr.c: Likewise.
10151 * nscd/connections.c: Likewise.
10152 * nscd/hstcache.c: Likewise.
10153 * nscd/nscd_gethst_r.c: Likewise.
10154 * nscd/nscd_getserv_r.c: Likewise.
10155 * nscd/nscd_helper.c: Likewise.
10156 * nscd/servicescache.c: Likewise.
10157 * nss/makedb.c: Likewise.
10158 * nss/nss_db/db-XXX.c: Likewise.
10159 * nss/nss_db/db-initgroups.c: Likewise.
10160 * nss/nss_db/db-netgrp.c: Likewise.
10161 * nss/nss_files/files-network.c: Likewise.
10162 * nss/nss_files/files-parse.c: Likewise.
10163 * posix/bug-regex5.c: Likewise.
10164 * posix/fnmatch_loop.c: Likewise.
10165 * posix/regcomp.c: Likewise.
10166 * posix/regexec.c: Likewise.
10167 * posix/tst-rfc3484-2.c: Likewise.
10168 * posix/tst-rfc3484-3.c: Likewise.
10169 * posix/tst-rfc3484.c: Likewise.
10170 * resolv/nss_dns/dns-canon.c: Likewise.
10171 * resolv/nss_dns/dns-network.c: Likewise.
10172 * resolv/res_init.c: Likewise.
10173 * resolv/res_mkquery.c: Likewise.
10174 * resolv/tst-aton.c: Likewise.
10175 * stdlib/cxa_atexit.c: Likewise.
10176 * stdlib/cxa_finalize.c: Likewise.
10177 * stdlib/gen-fpioconst.c: Likewise.
10178 * stdlib/strtol_l.c: Likewise.
10179 * string/tst-endian.c: Likewise.
10180 * sunrpc/auth_des.c: Likewise.
10181 * sunrpc/clnt_udp.c: Likewise.
10182 * sunrpc/rtime.c: Likewise.
10183 * sunrpc/svcauth_des.c: Likewise.
10184 * sunrpc/xdr.c: Likewise.
10185 * sunrpc/xdr_intXX_t.c: Likewise.
10186 * sunrpc/xdr_rec.c: Likewise.
10187 * sysdeps/generic/ldconfig.h: Likewise.
10188 * sysdeps/generic/ldsodefs.h: Likewise.
10189 * sysdeps/generic/memusage.h: Likewise.
10190 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10191 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
10192 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
10193 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10194 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10195 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10196 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10197 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10198 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10199 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10200 * sysdeps/posix/getaddrinfo.c: Likewise.
10201 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10202 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10203 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10204 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10205 * sysdeps/powerpc/test-gettimebase.c: Likewise.
10206 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10207 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
10208 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
10209 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10210 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
10211 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10212 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10213 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
10214 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
10215 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
10216 * sysdeps/x86_64/dl-tls.h: Likewise.
10217 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
10218 * time/alt_digit.c: Likewise.
10219 * time/era.c: Likewise.
10220 * wcsmbs/tst-c16c32-1.c: Likewise.
10222 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10224 * math/libm-test.inc (struct test_sincos_data): New type.
10225 (RUN_TEST_LOOP_sincos): New macro.
10226 (sincos_test_data): New variable.
10227 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
10229 2013-05-16 Richard Henderson <rth@redhat.com>
10231 * math/atest-exp2.c (LIMB64): New macro.
10232 (CONSTSZ): New macro.
10233 (mp_exp1, mp_exp_m1, mp_log2): New variables.
10235 (print_mpn_fp): ... to function scope.
10236 (read_mpn_hex): Remove.
10237 (get_log2): Remove.
10238 (exp2_mpn): Use mp_log2.
10239 (main): Use mp_exp1.
10241 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10243 * math/libm-test.inc: Remove comment about not testing "inexact"
10245 (INEXACT_EXCEPTION): New macro.
10246 (NO_INEXACT_EXCEPTION): Likewise.
10247 (INVALID_EXCEPTION_OK): Update value.
10248 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10249 (OVERFLOW_EXCEPTION_OK): Likewise.
10250 (UNDERFLOW_EXCEPTION_OK): Likewise.
10251 (IGNORE_ZERO_INF_SIGN): Likewise.
10252 (ERRNO_UNCHANGED): Likewise.
10253 (ERRNO_EDOM): Likewise.
10254 (ERRNO_ERANGE): Likewise.
10255 (test_exceptions): Handle testing "inexact" exceptions.
10256 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
10257 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
10258 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
10259 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
10261 (rint_towardzero_test_data): Likewise.
10262 (rint_downward_test_data): Likewise.
10263 (rint_upward_test_data): Likewise.
10265 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
10266 with OVERFLOW_EXCEPTION.
10267 (exp10_test_data): Likewise.
10268 (exp2_test_data): Likewise.
10269 (expm1_test_data): Likewise.
10270 (lgamma_test_data): Likewise.
10271 (pow_test_data): Likewise.
10272 (tgamma_test_data): Likewise.
10273 (yn_test_data): Remove duplicate test of overflow.
10275 * math/libm-test.inc (struct test_cc_c_data): New type.
10276 (RUN_TEST_LOOP_cc_c): New macro.
10277 (cpow_test_data): New variable.
10278 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
10280 * math/libm-test.inc (struct test_f_L_data): New type.
10281 (RUN_TEST_LOOP_f_L): New macro.
10282 (llrint_test_data): New variable.
10283 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
10284 (llrint_tonearest_test_data): New variable.
10285 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
10286 (llrint_towardzero_test_data): New variable.
10287 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
10288 (llrint_downward_test_data): New variable.
10289 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
10290 (llrint_upward_test_data): New variable.
10291 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
10292 (llround_test_data): New variable.
10293 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
10295 2013-05-13 Peter Collingbourne <pcc@google.com>
10297 * math/atest-exp2.c (get_log2): Remove const attribute.
10299 2013-05-15 Joseph Myers <joseph@codesourcery.com>
10301 * math/libm-test.inc (struct test_f_l_data): New type.
10302 (RUN_TEST_LOOP_f_l): New macro.
10303 (lrint_test_data): New variable.
10304 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
10305 (lrint_tonearest_test_data): New variable.
10306 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
10307 (lrint_towardzero_test_data): New variable.
10308 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
10309 (lrint_downward_test_data): New variable.
10310 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
10311 (lrint_upward_test_data): New variable.
10312 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
10313 (lround_test_data): New variable.
10314 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
10316 2013-05-15 Peter Collingbourne <pcc@google.com>
10318 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
10319 (EXTRACT_WORDS64) Use where appropriate.
10320 (INSERT_WORDS64) Likewise.
10322 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
10323 constraints with x constraints.
10324 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
10326 * malloc/obstack.c (_obstack_compat): Add initializer.
10328 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
10330 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
10331 si_trapno and add si_addr_lsb to _sifields.sigfault.
10332 (si_trapno): Remove macro.
10333 (si_addr_lsb): Define new macro.
10334 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10336 2013-05-15 Joseph Myers <joseph@codesourcery.com>
10338 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
10339 instead of TEST_f_l.
10340 (llrint_test_tonearest): Likewise.
10341 (llrint_test_towardzero): Likewise.
10342 (llrint_test_downward): Likewise.
10343 (llrint_test_upward): Likewise.
10344 (llround_test): Likewise.
10346 * math/libm-test.inc (struct test_f_i_data): Add comment.
10347 (RUN_TEST_LOOP_f_b): New macro.
10348 (RUN_TEST_LOOP_f_b_tg): Likewise.
10349 (finite_test_data): New variable.
10350 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
10351 (isfinite_test_data): New variable.
10352 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10353 (isinf_test_data): New variable.
10354 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10355 (isnan_test_data): New variable.
10356 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10357 (isnormal_test_data): New variable.
10358 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10359 (issignaling_test_data): New variable.
10360 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10361 (signbit_test_data): New variable.
10362 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10364 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
10365 with INVALID_EXCEPTION.
10366 (acosh_test_data): Likewise.
10367 (asin_test_data): Likewise.
10368 (atanh_test_data): Likewise.
10369 (fmod_test_data): Likewise.
10370 (log_test_data): Likewise.
10371 (log10_test_data): Likewise.
10372 (log2_test_data): Likewise.
10373 (pow_test_data): Likewise.
10374 (sqrt_test_data): Likewise.
10375 (y0_test_data): Likewise.
10376 (y1_test_data): Likewise.
10377 (yn_test_data): Likewise.
10379 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
10382 * math/libm-test.inc (struct test_ff_i_data): New type.
10383 (RUN_TEST_LOOP_ff_i_tg): New macro.
10384 (isgreater_test_data): New variable.
10385 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10386 (isgreaterequal_test_data): New variable.
10387 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10388 (isless_test_data): New variable.
10389 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10390 (islessequal_test_data): New variable.
10391 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10392 (islessgreater_test_data): New variable.
10393 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10394 (isunordered_test_data): New variable.
10395 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10397 2013-05-14 David S. Miller <davem@davemloft.net>
10399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10401 2013-05-14 Joseph Myers <joseph@codesourcery.com>
10403 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
10405 * math/libm-test.inc (struct test_fF_f1_data): Change type of
10407 (struct test_f_i_data): Change type of max_ulp to int.
10409 * math/libm-test.inc (test_ffI_f1_data): New type.
10410 (RUN_TEST_LOOP_ffI_f1): New macro.
10411 (remquo_test_data): New variable.
10412 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
10414 * setjmp/tst-setjmp-fp.c: New file.
10415 * setjmp/Makefile (tests): Add tst-setjmp-fp.
10416 (link-libm): New variable.
10417 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
10419 * math/libm-test.inc (struct test_f_i_data): New type.
10420 (RUN_TEST_LOOP_f_i): New macro.
10421 (RUN_TEST_LOOP_f_i_tg): Likewise.
10422 (fpclassify_test_data): New variable.
10423 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
10424 (ilogb_test_data): New variable.
10425 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
10427 * math/libm-test.inc (scalbln_test): Correct function name in END
10430 * math/libm-test.inc (struct test_f_f1_data): Add comment.
10431 (RUN_TEST_LOOP_fI_f1): New macro.
10432 (frexp_test_data): New variable.
10433 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
10435 * math/libm-test.inc (struct test_fF_f1_data): New type.
10436 (RUN_TEST_LOOP_fF_f1): New macro.
10437 (modf_test_data): New variable.
10438 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
10440 * math/libm-test.inc (struct test_f_f1_data): New type.
10441 (RUN_TEST_LOOP_f_f1): New macro.
10442 (gamma_test_data): New variable.
10443 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10444 (lgamma_test_data): New variable.
10445 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10447 2013-05-13 Carlos O'Donell <carlos@redhat.com>
10449 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
10450 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
10451 (main): Comment "tls" pseudo-hwcap.
10453 2013-05-13 Joseph Myers <joseph@codesourcery.com>
10455 * math/libm-test.inc (struct test_fl_f_data): New type.
10456 (RUN_TEST_LOOP_fl_f): New variable.
10457 (scalbln_test_data): New variable.
10458 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
10460 * math/libm-test.inc (struct test_fi_f_data): New type.
10461 (RUN_TEST_LOOP_fi_f): New macro.
10462 (ldexp_test_data): New variable.
10463 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
10464 (scalbn_test_data): New variable.
10465 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
10467 * math/libm-test.inc (struct test_c_f_data): New type.
10468 (RUN_TEST_LOOP_c_f): New macro.
10469 (cabs_test_data): New variable.
10470 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
10471 (carg_test_data): New variable.
10472 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
10473 (cimag_test_data): New variable.
10474 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
10475 (creal_test_data): New variable.
10476 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
10478 * math/libm-test.inc (struct test_if_f_data): New type.
10479 (RUN_TEST_LOOP_if_f): New macro.
10480 (jn_test_data): New variable.
10481 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
10482 (yn_test_data): New variable.
10483 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
10485 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
10487 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10489 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
10490 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
10492 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10494 * benchtests/Makefile (CPPFLAGS-nonlib): Add
10495 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
10496 (bench-deps): Add bench-timing.h.
10497 * benchtests-bench-skeleton.c: Include bench-timing.h.
10498 (main): Use TIMING_* macros instead of clock_gettime.
10499 * benchtests/bench-timing.h: New file.
10502 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
10503 Renamed from _LIB_VERSION.
10504 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
10506 2013-05-12 Joseph Myers <joseph@codesourcery.com>
10508 * math/libm-test.inc (struct test_fff_f_data): New type.
10509 (RUN_TEST_LOOP_fff_f): New macro.
10510 (fma_test_data): New variable.
10511 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
10512 (fma_towardzero_test_data): New variable.
10513 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
10514 (fma_downward_test_data): New variable.
10515 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
10516 (fma_upward_test_data): New variable.
10517 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
10519 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
10520 (struct test_c_c_data): New type.
10521 (RUN_TEST_LOOP_c_c): New macro.
10522 (cacos_test_data): New variable.
10523 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
10524 (cacosh_test_data): New variable.
10525 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
10526 (casin_test_data): New variable.
10527 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
10528 (casinh_test_data): New variable.
10529 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
10530 (catan_test_data): New variable.
10531 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
10532 (catanh_test_data): New variable.
10533 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
10534 (ccos_test_data): New variable.
10535 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
10536 (ccosh_test_data): New variable.
10537 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
10538 (cexp_test_data): New variable.
10539 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
10540 (clog_test_data): New variable.
10541 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
10542 (clog10_test_data): New variable.
10543 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
10544 (conj_test_data): New variable.
10545 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
10546 (cproj_test_data): New variable.
10547 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
10548 (csin_test_data): New variable.
10549 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
10550 (csinh_test_data): New variable.
10551 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
10552 (csqrt_test_data): New variable.
10553 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
10554 (ctan_test_data): New variable.
10555 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
10556 (ctan_tonearest_test_data): New variable.
10557 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10558 (ctan_towardzero_test_data): New variable.
10559 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10560 (ctan_downward_test_data): New variable.
10561 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10562 (ctan_upward_test_data): New variable.
10563 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10564 (ctanh_test_data): New variable.
10565 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
10566 (ctanh_tonearest_test_data): New variable.
10567 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10568 (ctanh_towardzero_test_data): New variable.
10569 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10570 (ctanh_downward_test_data): New variable.
10571 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10572 (ctanh_upward_test_data): New variable.
10573 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10574 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
10577 * math/libm-test.inc (struct test_ff_f_data): New type.
10578 (struct test_ff_f_data_nexttoward): Likewise.
10579 (RUN_TEST_LOOP_2_f): New macro.
10580 (RUN_TEST_LOOP_ff_f): Likewise.
10581 (atan2_test_data): New variable.
10582 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
10583 (copysign_test_data): New variable.
10584 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
10585 (fdim_test_data): New variable.
10586 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
10587 (fmax_test_data): New variable.
10588 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
10589 (fmin_test_data): New variable.
10590 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
10591 (fmod_test_data): New variable.
10592 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
10593 (hypot_test_data): New variable.
10594 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
10595 (nextafter_test_data): New variable.
10596 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
10597 (nexttoward_test_data): New variable.
10598 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
10599 (pow_test_data): New variable.
10600 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
10601 (pow_tonearest_test_data): New variable.
10602 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
10603 (pow_towardzero_test_data): New variable.
10604 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
10605 (pow_downward_test_data): New variable.
10606 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
10607 (pow_upward_test_data): New variable.
10608 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
10609 (remainder_test_data): New variable.
10610 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
10611 (scalb_test_data): New variable.
10612 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
10613 * sysdeps/i386/fpu/libm-test-ulps: Update.
10615 2013-05-11 Joseph Myers <joseph@codesourcery.com>
10617 * math/libm-test.inc (fma_test): Use max_value instead of local
10619 (nextafter_test): Likewise.
10621 * math/libm-test.inc (acos_towardzero_test_data): New variable.
10622 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10623 (acos_downward_test_data): New variable.
10624 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10625 (acos_upward_test_data): New variable.
10626 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10627 (acosh_test_data): New variable.
10628 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
10629 (asin_test_data): New variable.
10630 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
10631 (asin_tonearest_test_data): New variable.
10632 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10633 (asin_towardzero_test_data): New variable.
10634 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10635 (asin_downward_test_data): New variable.
10636 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10637 (asin_upward_test_data): New variable.
10638 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10639 (asinh_test_data): New variable.
10640 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
10641 (atan_test_data): New variable.
10642 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
10643 (atanh_test_data): New variable.
10644 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
10645 (cbrt_test_data): New variable.
10646 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
10647 (ceil_test_data): New variable.
10648 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
10649 (cos_test_data): New variable.
10650 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
10651 (cos_tonearest_test_data): New variable.
10652 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10653 (cos_towardzero_test_data): New variable.
10654 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10655 (cos_downward_test_data): New variable.
10656 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10657 (cos_upward_test_data): New variable.
10658 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10659 (cosh_test_data): New variable.
10660 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
10661 (cosh_tonearest_test_data): New variable.
10662 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10663 (cosh_towardzero_test_data): New variable.
10664 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10665 (cosh_downward_test_data): New variable.
10666 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10667 (cosh_upward_test_data): New variable.
10668 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10669 (erf_test_data): New variable.
10670 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
10671 (erfc_test_data): New variable.
10672 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
10673 (exp_test_data): New variable.
10674 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
10675 (exp_tonearest_test_data): New variable.
10676 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10677 (exp_towardzero_test_data): New variable.
10678 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10679 (exp_downward_test_data): New variable.
10680 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10681 (exp_upward_test_data): New variable.
10682 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10683 (exp10_test_data): New variable.
10684 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
10685 (exp2_test_data): New variable.
10686 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
10687 (expm1_test_data): New variable.
10688 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
10689 (fabs_test_data): New variable.
10690 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
10691 (floor_test_data): New variable.
10692 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
10693 (j0_test_data): New variable.
10694 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
10695 (j1_test_data): New variable.
10696 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
10697 (log_test_data): New variable.
10698 (log_test): Run tests with RUN_TEST_LOOP_f_f.
10699 (log10_test_data): New variable.
10700 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
10701 (log1p_test_data): New variable.
10702 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
10703 (log2_test_data): New variable.
10704 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
10705 (logb_test_data): New variable.
10706 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
10707 (logb_downward_test_data): New variable.
10708 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10709 (nearbyint_test_data): New variable.
10710 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
10711 (rint_test_data): New variable.
10712 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
10713 (rint_tonearest_test_data): New variable.
10714 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10715 (rint_towardzero_test_data): New variable.
10716 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10717 (rint_downward_test_data): New variable.
10718 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10719 (rint_upward_test_data): New variable.
10720 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10721 (round_test_data): New variable.
10722 (round_test): Run tests with RUN_TEST_LOOP_f_f.
10723 (sin_test_data): New variable.
10724 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
10725 (sin_tonearest_test_data): New variable.
10726 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10727 (sin_towardzero_test_data): New variable.
10728 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10729 (sin_downward_test_data): New variable.
10730 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10731 (sin_upward_test_data): New variable.
10732 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10733 (sinh_test_data): New variable.
10734 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
10735 (sinh_tonearest_test_data): New variable.
10736 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10737 (sinh_towardzero_test_data): New variable.
10738 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10739 (sinh_downward_test_data): New variable.
10740 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10741 (sinh_upward_test_data): New variable.
10742 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10743 (sqrt_test_data): New variable.
10744 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10745 (tan_test_data): New variable.
10746 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10747 (tan_tonearest_test_data): New variable.
10748 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10749 (tan_towardzero_test_data): New variable.
10750 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10751 (tan_downward_test_data): New variable.
10752 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10753 (tan_upward_test_data): New variable.
10754 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10755 (tanh_test_data): New variable.
10756 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10757 (tgamma_test_data): New variable.
10758 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10759 (trunc_test_data): New variable.
10760 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10761 (y0_test_data): New variable.
10762 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10763 (y1_test_data): New variable.
10764 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10765 (significand_test_data): New variable.
10766 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10768 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
10771 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10773 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
10775 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10777 2013-05-10 Andreas Jaeger <aj@suse.de>
10780 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10781 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10783 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10785 * math/gen-libm-test.pl (adjust_arg): New function.
10786 (special_functions): Handle generating output in both functions
10788 (parse_args): Likewise.
10789 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
10790 $in_func argument to parse_args.
10791 * math/libm-test.inc (struct test_f_f_data): New type.
10792 (IF_ROUND_INIT_): New macro.
10793 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10794 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10795 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10796 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10797 (ROUND_RESTORE_): Likewise.
10798 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10799 (ROUND_RESTORE_FE_TONEAREST): Likewise.
10800 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10801 (ROUND_RESTORE_FE_UPWARD): Likewise.
10802 (RUN_TEST_LOOP_f_f): New macro.
10803 (acos_test_data): New variable.
10804 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10805 (acos_tonearest_test_data): New variable.
10806 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10808 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10810 * benchtests/bench-skeleton.c (startup): Fix coding style.
10812 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10815 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10816 negative infinity argument.
10817 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10818 negative infinity argument.
10819 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10820 negative infinity argument.
10821 * math/libm-test.inc (tgamma_test): Expect errno to be set for
10824 2013-05-10 Florian Weimer <fweimer@redhat.com>
10826 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10827 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10828 * iconv/iconv_prog.c (main): Likewise.
10829 * locale/programs/charmap-dir.c (charmap_readdir)
10830 (fopen_uncompressed): Likewise.
10831 * locale/programs/locfile.c (siblings_uncached)
10832 (write_locale_data): Use lstat64 instead of lstat.
10833 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10836 2013-05-10 Andreas Jaeger <aj@suse.de>
10839 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10841 Include <locale.h>.
10843 2013-05-09 Carlos O'Donell <carlos@redhat.com>
10845 * elf/dl-close.c (_dl_close_worker): Add comments.
10847 2013-05-09 Joseph Myers <joseph@codesourcery.com>
10850 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10852 (__ieee754_rem_pio2l): Update comments.
10855 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10857 (__ieee754_rem_pio2l): Update comments.
10859 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10860 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10862 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10865 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10866 (M_PI_34_LOG10El): Likewise.
10867 (M_PI2_LOG10El): Likewise.
10868 (M_PI4_LOG10El): Likewise.
10869 (M_PI_LOG10El): Likewise.
10871 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10875 2013-05-08 Joseph Myers <joseph@codesourcery.com>
10877 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10878 (MINUS_ZERO_INIT): Likewise.
10879 (PLUS_INFTY_INIT): Likewise.
10880 (MINUS_INFTY_INIT): Likewise.
10881 (QNAN_VALUE_INIT): Likewise.
10882 (MAX_VALUE_INIT): Likewise.
10883 (MIN_VALUE_INIT): Likewise.
10884 (MIN_SUBNORM_VALUE_INIT): Likewise.
10885 (plus_zero): Initialize with PLUS_ZERO_INIT.
10886 (minus_zero): Initialize with MINUS_ZERO_INIT.
10887 (plus_infty): Initialize with PLUS_INFTY_INIT.
10888 (minus_infty): Initialize with MINUS_INFTY_INIT.
10889 (qnan_value): Initialize with QNAN_VALUE_INIT.
10890 (max_value): Initialize with MAX_VALUE_INIT.
10891 (min_value): Initialize with MIN_VALUE_INIT.
10892 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10894 * math/libm-test.inc (RUN_TEST_if_f): New macro.
10895 (jn_test): Use TEST_if_f instead of TEST_ff_f.
10896 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10897 (yn_test): Use TEST_if_f instead of TEST_ff_f.
10899 * math/libm-test.inc (RUN_TEST_f_f): New macro.
10900 (RUN_TEST_2_f): Likewise.
10901 (RUN_TEST_ff_f): Likewise.
10902 (RUN_TEST_fi_f): Likewise.
10903 (RUN_TEST_fl_f): Likewise.
10904 (RUN_TEST_fff_f): Likewise.
10905 (RUN_TEST_c_f): Likewise.
10906 (RUN_TEST_f_f1): Likewise.
10907 (RUN_TEST_fF_f1): Likewise.
10908 (RUN_TEST_fI_f1): Likewise.
10909 (RUN_TEST_ffI_f1): Likewise.
10910 (RUN_TEST_c_c): Likewise.
10911 (RUN_TEST_cc_c): Likewise.
10912 (RUN_TEST_f_i): Likewise.
10913 (RUN_TEST_f_i_tg): Likewise.
10914 (RUN_TEST_ff_i_tg): Likewise.
10915 (RUN_TEST_f_b): Likewise.
10916 (RUN_TEST_f_b_tg): Likewise.
10917 (RUN_TEST_f_l): Likewise.
10918 (RUN_TEST_f_L): Likewise.
10919 (RUN_TEST_sincos): Likewise.
10920 * math/gen-libm-test.pl (new_test): Take new argument to indicate
10921 whether to show exceptions. Do not include ");\n" in return
10923 (special_functions): Output call to RUN_TEST_sincos instead of
10924 check_float calls. Update calls to new_test.
10925 (parse_args): Output call to single RUN_TEST_* macro instead of
10926 check_* calls and other assignments. Update calls to new_test.
10932 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10933 input to result for tgamma overflow.
10934 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10935 (gamma_coeff): New variable.
10936 (NCOEFF): New macro.
10937 (gamma_positive): New function.
10938 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10939 underflow here. Use gamma_positive instead of exp (lgamma) for
10941 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10942 (gamma_coeff): New variable.
10943 (NCOEFF): New macro.
10944 (gammaf_positive): New function.
10945 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10946 underflow here. Use gamma_positive instead of exp (lgamma) for
10948 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10949 (gamma_coeff): New variable.
10950 (NCOEFF): New macro.
10951 (gammal_positive): New function.
10952 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10953 underflow here. Use gamma_positive instead of exp (lgamma) for
10955 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10956 (gamma_coeff): New variable.
10957 (NCOEFF): New macro.
10958 (gammal_positive): New function.
10959 (__ieee754_gammal_r): Handle positive infinity, overflow and
10960 underflow here. Handle NaN the same as positive infinity. Remove
10961 check x < 0xffffffff for negative integers. Use gamma_positive
10962 instead of exp (lgamma) for other arguments.
10963 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10964 (gamma_coeff): New variable.
10965 (NCOEFF): New macro.
10966 (gammal_positive): New function.
10967 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10968 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10969 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10970 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10971 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10972 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10973 * sysdeps/generic/math_private.h (__gamma_productf): New
10975 (__gamma_product): Likewise.
10976 (__gamma_productl): Likewise.
10977 * math/Makefile (libm-calls): Add gamma_product.
10978 * math/libm-test.inc (tgamma_test): Add more tests.
10979 * sysdeps/i386/fpu/libm-test-ulps: Update.
10980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10982 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
10984 * benchtests/bench-skeleton.c (main): Preheat CPU.
10986 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
10988 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10990 2013-05-07 Roland McGrath <roland@hack.frob.com>
10992 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10993 and _dl_skip_args_internal.
10995 2013-05-07 Carlos O'Donell <carlos@redhat.com>
10997 * manual/message.texi (Message Translation): Talk about users.
10998 Message to key mapping impacts design.
11000 2013-05-06 Roland McGrath <roland@hack.frob.com>
11002 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
11004 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
11006 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
11007 * sysdeps/wordsize-64/glob64.c: ... here.
11009 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
11010 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
11013 * debug/getlogin_r_chk.c: Moved to ...
11014 * login/getlogin_r_chk.c: ... here.
11015 * debug/Makefile (routines): Move getlogin_r_chk to ...
11016 * login/Makefile (routines): ... here.
11017 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
11018 * login/Versions (libc: GLIBC_2.4): ... here.
11020 * io/poll.c (__poll): Renamed from poll.
11021 Add libc_hidden_def.
11022 (poll): Define as weak alias.
11024 * debug/ptsname_r_chk.c: Moved to ...
11025 * login/ptsname_r_chk.c: ... here.
11026 * debug/Makefile (routines): Move ptsname_r_chk to ...
11027 * login/Makefile (routines): ... here.
11028 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
11029 * login/Versions (libc: GLIBC_2.4): ... here.
11031 * posix/getlogin.c: Moved to ...
11032 * login/getlogin.c: ... here.
11033 * posix/getlogin_r.c: Moved to ...
11034 * login/getlogin_r.c: ... here.
11035 * posix/getlogin_r.c: Moved to ...
11036 * login/getlogin_r.c: ... here.
11037 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11038 * login/Makefile (routines): ... here.
11039 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11040 * login/Versions (libc: GLIBC_2.0): ... here.
11042 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11043 (setrlimit): Define as weak alias.
11045 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11046 Call __ names for open, ftruncate, and close.
11047 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11048 (truncate): Define as weak alias.
11050 2013-05-06 Joseph Myers <joseph@codesourcery.com>
11052 * math/gen-libm-test.pl (parse_args): Initialize x before each
11053 test of frexp, modf and remquo.
11055 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11056 test signgam value.
11058 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11062 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11064 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11066 2013-05-06 Roland McGrath <roland@hack.frob.com>
11068 * elf/dl-writev.h: New file.
11069 * elf/dl-misc.c: Include it.
11070 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
11071 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
11073 2013-05-04 Joseph Myers <joseph@codesourcery.com>
11075 * math/libm-test.inc (noXFails): Remove variable.
11076 (noXPasses): Likewise.
11077 (BUILD_COMPLEX_INT): Remove macro.
11078 (print_screen): Remove xfail argument.
11079 (print_screen_max_error): Likewise.
11080 (update_stats): Likewise.
11081 (print_max_error): Likewise. Update calls to other affected
11083 (print_complex_max_error): Likewise.
11084 (test_single_exception): Update calls to print_screen.
11085 (test_single_errno): Likewise.
11086 (check_float_internal): Remove xfail argument. Update calls to
11087 other affected functions.
11088 (check_float): Likewise.
11089 (check_complex): Likewise.
11090 (check_int): Likewise.
11091 (check_long): Likewise.
11092 (check_bool): Likewise.
11093 (check_longlong): Likewise.
11094 (main): Don't print noXFails and noXPasses.
11095 * math/gen-libm-test.pl (top level): Don't mention expected
11096 failure handling in comment.
11097 (new_test): Don't handle expected failures.
11098 (parse_args): Don't mention expected failure handling in comment.
11099 (generate_testfile): Don't handle expected failures.
11100 (parse_ulps): Likewise.
11101 (print_ulps_file): Likewise.
11102 (get_failure): Remove function.
11103 (output_test): Don't handle expected failures.
11104 * make/README.libm-test: Don't mention expected failure handling.
11106 * math/libm-test.inc (plus_zero): Make const. Add initializer.
11107 (minus_zero): Likewise.
11108 (plus_infty): Likewise.
11109 (minus_infty): Likewise.
11110 (qnan_value): Likewise.
11111 (max_value): Likewise.
11112 (min_value): Likewise.
11113 (min_subnorm_value): Likewise.
11114 (initialize): Do not initialize those variables dynamically.
11116 2013-05-03 Roland McGrath <roland@hack.frob.com>
11118 * io/open.c (__open_2): Moved to ...
11119 * io/open_2.c: ... this new file.
11120 * io/open64.c (__open64_2): Moved to ...
11121 * io/open64_2.c: ... this new file.
11122 * io/openat.c (__openat_2): Moved to ...
11123 * io/openat_2.c: ... this new file.
11124 * io/openat64.c (__openat64_2): Moved to ...
11125 * io/openat64_2.c: ... this new file.
11126 * io/Makefile (routines): Add them.
11127 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
11128 * sysdeps/unix/sysv/linux/open_2.c: File removed.
11129 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
11130 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
11131 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
11132 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
11133 (__openat64): Add hidden_ver.
11134 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
11135 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
11137 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
11138 Separately conditionalize setting of GLRO(dl_sysinfo) so
11139 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
11140 as well, but the actual setting is only under [NEED_DL_SYSINFO].
11142 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11144 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
11145 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
11147 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
11148 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11149 (_libc_vdso_platform_setup): Add __vdso_time initialization.
11150 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
11151 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
11153 2013-05-03 Joseph Myers <joseph@codesourcery.com>
11155 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
11156 test signgam value.
11158 * math/libm-test.inc (hypot_test): Do not use
11159 IGNORE_ZERO_INF_SIGN.
11161 2013-05-03 Andreas Jaeger <aj@suse.de>
11163 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
11165 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
11166 (PF_MAX): Adjust for VSOCK change.
11168 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11172 2013-05-02 Carlos O'Donell <carlos@redhat.com>
11175 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
11176 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
11177 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
11179 2013-05-02 David S. Miller <davem@davemloft.net>
11181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11183 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
11185 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
11187 2013-05-01 Roland McGrath <roland@hack.frob.com>
11189 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
11191 2013-05-01 Richard Smith <richard@metafoo.co.uk>
11194 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
11195 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11196 Use __attribute__ ((__gnu_inline__)).
11197 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11198 Don't use __attribute__ ((__gnu_inline__)).
11200 2013-05-01 Joseph Myers <joseph@codesourcery.com>
11203 * math/s_catan.c (__catan): Handle small real or imaginary part of
11204 input specially to avoid spurious underflow.
11205 * math/s_catanf.c (__catanf): Likewise.
11206 * math/s_catanh.c (__catanh): Likewise.
11207 * math/s_catanhf.c (__catanhf): Likewise.
11208 * math/s_catanhl.c (__catanhl): Likewise.
11209 * math/s_catanl.c (__catanl): Likewise.
11210 * math/libm-test.inc (catan_test): Add more tests.
11211 (catanh_test): Likewise.
11212 * sysdeps/i386/fpu/libm-test-ulps: Update.
11213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11215 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11219 2013-04-30 Joseph Myers <joseph@codesourcery.com>
11222 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
11223 accurately for denominator in atan2.
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 Siddhesh Poyarekar <siddhesh@redhat.com>
11236 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
11238 * benchtests/Makefile (bench): Remove slow benchmarks.
11239 * benchtests/atan-inputs: Add slow benchmark inputs.
11240 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
11241 (BENCH_FUNC): Accept variant offset.
11243 * benchtests/bench-skeleton.c (main): Run benchmark for each
11245 * benchtests/cos-inputs: Add slow benchmark inputs.
11246 * benchtests/exp-inputs: Likewise.
11247 * benchtests/pow-inputs: Likewise.
11248 * benchtests/sin-inputs: Likewise.
11249 * benchtests/slowatan-inputs: Remove.
11250 * benchtests/slowatan.c: Remove.
11251 * benchtests/slowcos-inputs: Remove.
11252 * benchtests/slowcos.c: Remove.
11253 * benchtests/slowexp-inputs: Remove.
11254 * benchtests/slowexp.c: Remove.
11255 * benchtests/slowpow-inputs: Remove.
11256 * benchtests/slowpow.c: Remove.
11257 * benchtests/slowsin-inputs: Remove.
11258 * benchtests/slowsin.c: Remove.
11259 * benchtests/slowtan-inputs: Remove.
11260 * benchtests/slowtan.c: Remove.
11261 * benchtests/tan-inputs: Add slow benchmark inputs.
11262 * scripts/bench.pl: Parse comments and directives.
11264 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
11266 ($(objpfx)bench-%.c): Remove *-ITER.
11267 * benchtests/bench-modf.c: Remove definition of ITER.
11268 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
11269 (main): Loop for DURATION seconds instead of fixed number of
11271 * scripts/bench.pl: Don't expect iterations in parameters.
11273 2013-04-29 Roland McGrath <roland@hack.frob.com>
11275 * io/fchdir.c (__fchdir): Renamed from fchdir.
11276 (fchdir): Define as weak alias.
11278 2013-04-29 Joseph Myers <joseph@codesourcery.com>
11280 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
11281 (ERRNO_EDOM): Likewise.
11282 (ERRNO_ERANGE): Likewise.
11283 (noErrnoTests): New variable.
11284 (init_max_error): Set errno to 0.
11285 (test_single_errno): New function.
11286 (test_errno): Likewise.
11287 (check_float_internal): Call test_errno. Set errno to 0.
11288 (check_complex): Refer to errno tests in comment.
11289 (check_int): Call test_errno. Set errno to 0.
11290 (check_long): Likewise.
11291 (check_bool): Likewise.
11292 (check_longlong): Likewise.
11293 (cos_test): Use ERRNO_* flags for errno tests instead of
11295 (expm1_test): Likewise.
11296 (fmod_test): Likewise.
11297 (ilogb_test): Likewise.
11298 (lgamma_test): Likewise.
11299 (pow_test): Likewise.
11300 (remainder_test): Likewise.
11301 (sin_test): Likewise.
11302 (tan_test): Likewise.
11303 (yn_test): Likewise.
11304 (initialize): Set errno to 0.
11305 (main): Print number of errno tests.
11306 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
11308 2013-04-29 Andreas Jaeger <aj@suse.de>
11311 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
11315 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
11316 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
11320 * stdlib/random.c (__initstate): Return NULL if
11324 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
11325 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
11328 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11332 2013-04-29 Joseph Myers <joseph@codesourcery.com>
11334 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
11335 of individual tests.
11336 (casin_test): Likewise.
11337 (casinh_test): Likewise.
11339 2013-04-27 Joseph Myers <joseph@codesourcery.com>
11342 * math/s_catan.c (__catan): Handle arguments with large real or
11343 imaginary part separately without squaring.
11344 * math/s_catanf.c (__catanf): Likewise.
11345 * math/s_catanh.c (__catanh): Likewise.
11346 * math/s_catanhf.c (__catanhf): Likewise.
11347 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11349 (__catanhl): Handle arguments with large real or imaginary part
11350 separately without squaring.
11351 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11353 (__catanl): Handle arguments with large real or imaginary part
11354 separately without squaring.
11355 * math/libm-test.inc (catan_test): Add more tests.
11356 (catanh_test): Likewise.
11357 * sysdeps/i386/fpu/libm-test-ulps: Update.
11358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11360 2013-04-27 Andreas Jaeger <aj@suse.de>
11363 * stdlib/stdlib.h: Update guards for qecvt.
11364 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
11367 2013-04-27 Allan McRae <allan@archlinux.org>
11369 * sysdeps/i386/fpu/libm-test-ulps: Update.
11371 2013-04-26 Joseph Myers <joseph@codesourcery.com>
11374 * math/s_catan.c: Include <float.h>.
11375 (__catan): Ensure underflow exception occurs for underflowed
11377 * math/s_catanf.c: Include <float.h>.
11378 (__catanf): Ensure underflow exception occurs for underflowed
11380 * math/s_catanh.c: Include <float.h>.
11381 (__catanh): Ensure underflow exception occurs for underflowed
11383 * math/s_catanhf.c: Include <float.h>.
11384 (__catanhf): Ensure underflow exception occurs for underflowed
11386 * math/s_catanhl.c: Include <float.h>.
11387 (__catanhl): Ensure underflow exception occurs for underflowed
11389 * math/s_catanl.c: Include <float.h>.
11390 (__catanl): Ensure underflow exception occurs for underflowed
11392 * math/libm-test.inc (catan_test): Add more tests.
11393 (catanh_test): Likewise.
11396 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
11397 underflowed result.
11398 * math/s_ccoshf.c (__ccoshf): Likewise.
11399 * math/s_ccoshl.c (__ccoshl): Likewise.
11400 * math/s_csin.c (__csin): Likewise.
11401 * math/s_csinf.c (__csinf): Likewise.
11402 * math/s_csinh.c (__csinh): Likewise.
11403 * math/s_csinhf.c (__csinhf): Likewise.
11404 * math/s_csinhl.c (__csinhl): Likewise.
11405 * math/s_csinl.c (__csinl): Likewise.
11406 * math/libm-test.inc (ccos_test): Add more tests.
11407 (ccosh_test): Likewise.
11408 (csin_test): Likewise.
11409 (csinh_test): Likewise.
11411 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11413 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
11414 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
11415 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
11416 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
11417 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
11418 powerpc/power5+/fpu folders.
11419 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11422 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11424 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11426 2013-04-25 Joseph Myers <joseph@codesourcery.com>
11428 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
11429 additions to variable.
11430 [$(config-machine) = x86_64] (modules-names): Likewise.
11431 ($(objpfx)tst-audit3): Remove dependency.
11432 ($(objpfx)tst-audit3.out): Likewise.
11433 ($(objpfx)tst-audit4): Likewise.
11434 ($(objpfx)tst-audit4.out): Likewise.
11435 ($(objpfx)tst-audit5): Likewise.
11436 ($(objpfx)tst-audit5.out): Likewise.
11437 ($(objpfx)tst-audit6): Likewise.
11438 ($(objpfx)tst-audit6.out): Likewise.
11439 ($(objpfx)tst-audit7): Likewise.
11440 ($(objpfx)tst-audit7.out): Likewise.
11441 (tst-audit3-ENV): Remove variable.
11442 (tst-audit4-ENV): Likewise.
11443 (tst-audit5-ENV): Likewise.
11444 (tst-audit6-ENV): Likewise.
11445 (tst-audit7-ENV): Likewise.
11446 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
11447 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
11448 addition to variable.
11449 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
11450 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
11451 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
11452 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
11453 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
11454 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
11455 tst-audit3, tst-audit4 and tst-audit5.
11456 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
11457 tst-audit6 and tst-audit7.
11458 [$(subdir) = elf] (modules-names): Add audit modules for those
11460 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
11461 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
11462 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
11463 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
11464 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
11465 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
11466 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
11467 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
11468 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
11469 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
11470 [$(subdir) = elf] (tst-audit3-ENV): New variable.
11471 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
11472 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
11473 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
11474 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
11475 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
11477 [$(subdir) = elf && $(config-cflags-avx) = yes]
11478 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
11479 [$(subdir) = elf && $(config-cflags-avx) = yes]
11480 (CFLAGS-tst-auditmod4a.c): Likewise.
11481 [$(subdir) = elf && $(config-cflags-avx) = yes]
11482 (CFLAGS-tst-auditmod4b.c): Likewise.
11483 [$(subdir) = elf && $(config-cflags-avx) = yes]
11484 (CFLAGS-tst-auditmod6b.c): Likewise.
11485 [$(subdir) = elf && $(config-cflags-avx) = yes]
11486 (CFLAGS-tst-auditmod6c.c): Likewise.
11487 [$(subdir) = elf && $(config-cflags-avx) = yes]
11488 (CFLAGS-tst-auditmod7b.c): Likewise.
11489 * elf/tst-audit3.c: Move to ...
11490 * sysdeps/x86_64/tst-audit3.c: ... here.
11491 * elf/tst-audit4.c: Move to ...
11492 * sysdeps/x86_64/tst-audit4.c: ... here.
11493 * elf/tst-audit5.c: Move to ...
11494 * sysdeps/x86_64/tst-audit5.c: ... here.
11495 * elf/tst-audit6.c: Move to ...
11496 * sysdeps/x86_64/tst-audit6.c: ... here.
11497 * elf/tst-audit7.c: Move to ...
11498 * sysdeps/x86_64/tst-audit7.c: ... here.
11499 * elf/tst-auditmod3a.c: Move to ...
11500 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
11501 * elf/tst-auditmod3b.c: Move to ...
11502 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
11503 * elf/tst-auditmod4a.c: Move to ...
11504 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
11505 * elf/tst-auditmod4b.c: Move to ...
11506 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
11507 * elf/tst-auditmod5a.c: Move to ...
11508 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
11509 * elf/tst-auditmod5b.c: Move to ...
11510 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
11511 * elf/tst-auditmod6a.c: Move to ...
11512 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
11513 * elf/tst-auditmod6b.c: Move to ...
11514 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
11515 * elf/tst-auditmod6c.c: Move to ...
11516 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
11517 * elf/tst-auditmod7a.c: Move to ...
11518 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
11519 * elf/tst-auditmod7b.c: Move to ...
11520 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
11522 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
11525 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
11526 define unconditionally.
11527 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
11528 define unconditionally.
11529 (INT8_C, INT16_C, etc.): Likewise.
11531 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
11533 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
11534 __ehdr_start with hidden visibility.
11536 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
11538 2013-04-24 Carlos O'Donell <carlos@redhat.com>
11540 * math/libm-test.inc (cos_test): Use accurate hex constants.
11541 (sincost_test): Likewise.
11543 2013-04-24 Joseph Myers <joseph@codesourcery.com>
11545 * math/libm-test.inc (catan_test): Add more tests.
11546 (catanh_test): Likewise.
11548 * math/s_catanf.c (__catanf): Use suffixed floating-point
11550 * math/s_catanhf.c (__catanhf): Likewise.
11551 * math/s_catanhl.c (__catanhl): Likewise.
11552 * math/s_catanl.c (__catanl): Likewise.
11555 * math/s_catan.c (__catan): Calculate imaginary part of result
11556 with log1p not log unless computing log of number close to 0.
11557 * math/s_catanf.c (__catanf): Likewise.
11558 * math/s_catanl.c (__catanl): Likewise.
11559 * math/s_catanh.c (__catanh): Calculate real part of result with
11560 log1p not log unless computing log of number close to 0.
11561 * math/s_catanhf.c (__catanhf): Likewise.
11562 * math/s_catanhl.c (__catanhl): Likewise.
11563 * math/libm-test.inc (catan_test): Add more tests.
11564 (catanh_test): Likewise.
11565 * sysdeps/i386/fpu/libm-test-ulps: Update.
11566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11568 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11570 * benchtests/Makefile: Mention files in which fast and slow
11571 paths of math functions are implemented.
11573 2013-04-23 Roland McGrath <roland@hack.frob.com>
11575 * sysdeps/posix/timespec_get.c: New file.
11577 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11579 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
11581 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
11583 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
11584 powerpc/power5/fpu folders.
11585 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
11586 * benchtests/Makefile: Add modf testcase.
11587 * benchtests/bench-modf.c: New file: Benchmark test for mo
11589 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11592 * time/Makefile (tests): Add tst-strptime-whitespace.
11593 * time/strptime_l.c (get_number): Use ISSPACE.
11594 (__strptime_internal): Likewise.
11595 * time/tst-strptime-whitespace.c: New test case.
11597 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
11599 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
11601 (_nss_files_init): Set it here.
11603 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
11605 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
11606 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
11609 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
11611 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
11613 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11615 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
11618 2013-04-21 David S. Miller <davem@davemloft.net>
11620 * po/ru.po: Update Russion translation from translation project.
11622 2013-04-17 Adam Conrad <adconrad@0c3.net>
11624 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
11627 2013-04-17 Carlos O'Donell <carlos@redhat.com>
11629 * configure.in: Remove i386 configure warning. Remove i386 case.
11630 * configure: Regenerate.
11631 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
11632 Add example to error message.
11633 * sysdeps/i386/configure: Regenerate.
11635 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11637 * benchtests/Makefile (bench): Add cos, tan, slowcos and
11639 * benchtests/cos-inputs: New file.
11640 * benchtests/slowcos-inputs: New file.
11641 * benchtests/slowcos.c: New file.
11642 * benchtests/slowtan-inputs: New file.
11643 * benchtests/slowtan.c: New file.
11644 * benchtests/tan-inputs: New file.
11646 2013-04-16 Roland McGrath <roland@hack.frob.com>
11648 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
11651 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11653 * benchtests/Makefile: Include cppflags-iterator.mk to add
11654 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
11656 * Makefile.in (bench-clean): New target.
11657 * benchtests/Makefile (bench-clean): Likewise.
11659 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
11661 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
11663 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
11665 * stdio-common/tstdiomisc.c: Fix coding-style violation.
11667 2013-04-15 Andreas Schwab <schwab@suse.de>
11669 * nscd/grpcache.c (cache_addgr): Properly check for short write.
11670 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11671 * nscd/pwdcache.c (cache_addpw): Likewise.
11672 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
11675 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11677 * benchtests/Makefile (bench): Write all output to
11678 bench-out.tmp together.
11680 2013-04-15 Andreas Schwab <schwab@suse.de>
11682 * nscd/nscd.c (main): Don't fork again after closing files.
11684 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11686 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
11688 * benchtests/Rules (bench-deps): Collect dependencies into a
11689 single variable. Add Makefile to dependencies.
11690 ($(objpfx)bench-%.c): Depend on bench-deps.
11692 2013-04-12 Roland McGrath <roland@hack.frob.com>
11693 Xavier Roche <roche+kml2@exalead.com>
11696 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
11697 just that it's a file descriptor.
11698 * manual/llio.texi (Synchronizing AIO Operations): Update description
11699 for EBADF error from aio_fsync.
11701 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11703 * Rules (bench): Move target definition...
11704 * benchtests/Makefile: ... here.
11706 2013-04-11 Carlos O'Donell <carlos@redhat.com>
11708 * math/libm-test.inc (cos_test): Fix PI/2 test.
11709 (sincos_test): Likewise.
11710 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11711 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11713 2013-04-11 Andreas Schwab <schwab@suse.de>
11716 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
11717 accept exponent character only when digits were seen.
11718 * stdio-common/Makefile (tests): Add bug26.
11719 * stdio-common/bug26.c: New file.
11722 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
11725 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11727 * Makeconfig (rtld-prefix): Define built linker prefix.
11728 * Rules (run-bench): Use it.
11729 * math/Makefile (run-regen-ulps): Likewise.
11731 * Rules (bench): Remove eval.
11733 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11734 Roland McGrath <roland@hack.frob.com>
11735 Ondrej Bilka <neleai@seznam.cz>
11738 * time/getdate.c: Include ctype.h and alloca.h.
11739 (__getdate_r): Trim leading and trailing spaces of input.
11740 * time/tst-getdate.c (tests): Add tests with leading and
11743 2013-04-08 Roland McGrath <roland@hack.frob.com>
11746 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11747 when computing value.
11749 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11751 * math/README.libm-test (How can I generate "libm-test-ulps"?):
11752 Use testrun.sh to run libm tests.
11755 * elf/dl-open.c (dl_open_worker): memset all of seen array.
11757 2013-04-06 Marko Myllynen <myllynen@redhat.com>
11760 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11762 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11764 * Makefile.in (regen-ulps): New target.
11765 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11766 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11767 [ifneq (no,$(PERL)] (regen-ulps): New target.
11768 [ifeq (no,$(PERL)] (regen-ulps): New target.
11769 * math/libm-test.inc (ulps_file_name): Define.
11770 (output_dir): New variable.
11771 (options): Add "output-dir" option.
11772 (parse_opt): Handle 'o' case.
11773 (main): If output_dir is non-NULL use it as a prefix
11775 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11777 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11779 [BZ #10060, #10062]
11780 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11781 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11782 fail configure if __sync_val_compare_and_swap is not inlined.
11783 * sysdeps/i386/configure: Regenerate.
11784 * configure.in: Build for i686 when configured for i386.
11785 * configure: Regenerate.
11786 * README: Remove i386 reference.
11788 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11790 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11791 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11793 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
11795 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11796 (lmsnanval): New variables.
11797 (F): Add conversion tests.
11798 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11799 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11801 * stdio-common/tstdiomisc.c (F): Properly collect individual
11804 [BZ #14686, #15336]
11805 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11806 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11807 Instead, use input NaN values or generate a qNaN by arithmetic
11808 operation. Also fix bugs to comply with the standard.
11809 * math/libm-test.inc (remainder_test): Add more tests.
11811 [BZ #15335, #15342]
11812 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11813 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11814 input NaN values or generate a qNaN by arithmetic operation.
11816 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11819 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11822 2013-04-03 Joseph Myers <joseph@codesourcery.com>
11825 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11826 underflowed result.
11827 * math/s_cexpf.c (__cexpf): Likewise.
11828 * math/s_cexpl.c (__cexpl): Likewise.
11829 * math/libm-test.inc (cexp_test): Add more tests.
11831 2013-04-03 Andreas Schwab <schwab@suse.de>
11834 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11835 order arrays from heap if bigger than alloca cutoff.
11837 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
11839 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11840 (SNAN_TESTS_double): Refer to GCC PR56831.
11841 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11844 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11846 * Rules (bench): Move bench.out after the run is complete.
11848 * Rules (bench): Echo currently running benchmark.
11850 * benchtests/Makefile (bench): Add atan and slowatan.
11851 * benchtests/atan-inputs: New file.
11852 * benchtests/slowatan-inputs: New file.
11853 * benchtests/slowatan.c: New file.
11855 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11856 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11860 * sysdeps/unix/sysv/linux/kernel-features.h
11861 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11862 __ASSUME_XFS_RESTRICTED_CHOWN.
11863 * sysdeps/unix/sysv/linux/pathconf.c
11864 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11865 Save and restore errno.
11867 2013-04-02 Joseph Myers <joseph@codesourcery.com>
11870 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11871 arguments using __kernel_casinh.
11872 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11873 arguments using __kernel_casinhf.
11874 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11875 arguments using __kernel_casinhl.
11876 * math/libm-test.inc (cacosh_test): Add more tests.
11877 * sysdeps/i386/fpu/libm-test-ulps: Update.
11878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11880 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11882 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11883 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11885 * bench/Makefile (bench): Add sin and slowsin.
11886 * benchtests/sin-inputs: New file.
11887 * benchtests/slowsin-inputs: New file.
11888 * benchtests/slowsin.c: New file.
11890 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11891 (bench): Add slowexp and slowpow.
11892 (exp-ITER): Increase iterations.
11893 (pow-ITER): Likewise.
11894 * benchtests/exp-inputs: Change input.
11895 * benchtests/pow-inputs: Likewise.
11896 * benchtests/slowexp-inputs: New file.
11897 * benchtests/slowexp.c: New file.
11898 * benchtests/slowpow-inputs: New file.
11899 * benchtests/slowpow.c: New file.
11901 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11903 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11905 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11906 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11907 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11908 * benchtests/Makefile: Add rint benchtest.
11909 * benchtests/rint-inputs: Input for rint benchtest.
11911 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
11913 * Versions.def (libm): Add GLIBC_2.18.
11914 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11915 hidden libm prototypes.
11916 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11917 * math/Makefile (libm-calls): Add s_issignaling.
11918 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11919 __issignalingf, __issignalingl. Adjust all libm.abilist files.
11920 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11922 * math/math.h [__USE_GNU] (issignaling): New macro.
11923 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11924 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11925 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11926 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11927 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11928 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11929 * manual/arith.texi (issignaling): New section.
11930 * manual/libm-err-tab.pl (@all_functions): Update comment.
11931 * math/gen-libm-test.pl (parse_args): Apply special handling for
11933 * math/libm-test.inc (print_float, issignaling_test): New
11935 (check_float_internal): Add issignaling checks.
11936 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11937 default definition.
11938 * sysdeps/powerpc/math-tests.h: New file.
11939 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11941 * math/test-snan.c (TEST_FUNC): Likewise.
11943 2013-03-30 David S. Miller <davem@davemloft.net>
11945 * po/de.po: Update from translation team.
11947 2013-03-30 Joseph Myers <joseph@codesourcery.com>
11950 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11951 imaginary part less than 1.0 and real part less than 0.5
11953 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11954 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11955 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11956 (cacos_test): Add more tests.
11957 (casin_test): Likewise.
11958 (casinh_test): Likewise.
11959 * sysdeps/i386/fpu/libm-test-ulps: Update.
11960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11962 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11964 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11965 ONE with its value.
11967 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11968 (__pow_mp): Replace ONE and MONE with their values.
11969 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11970 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11971 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11972 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11973 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11974 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11976 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11978 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11979 (__pow_mp): Replace ZERO and MZERO with their values.
11980 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11981 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11982 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11983 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11984 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11985 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11988 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11990 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11992 2013-03-28 Roland McGrath <roland@hack.frob.com>
11994 * include/stdlib.h [!SHARED] (__call_tls_dtors):
11995 Declare with __attribute__ ((weak)).
11996 * stdlib/exit.c (__libc_atexit) [!SHARED]:
11997 Call __call_tls_dtors only if it's not NULL.
11999 2013-03-28 Roland McGrath <roland@hack.frob.com>
12001 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
12002 didn't do it already, then set _dl_phdr and _dl_phnum based on the
12003 magic __ehdr_start linker symbol if it's defined.
12004 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
12005 them up here if it was already done.
12007 * elf/dl-support.c (_dl_phdr): Make pointer to const.
12008 (_dl_aux_init): Use const in cast when setting it.
12009 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
12010 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
12011 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
12013 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
12015 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
12016 * csu/libc-tls.c: Nor here.
12017 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
12019 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
12020 (__libc_message): Never call vsyslog.
12022 2013-03-28 Alan Modra <amodra@gmail.com>
12024 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12026 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12029 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12032 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12036 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12039 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12040 Don't add gid passed as argument.
12042 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12044 2013-03-27 Joseph Myers <joseph@codesourcery.com>
12047 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12048 imaginary part between 1.0 and 1.5 and real part less than 0.5
12050 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12051 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12052 * math/libm-test.inc (cacos_test): Add more tests.
12053 (casin_test): Likewise.
12054 (casinh_test): Likewise.
12055 * sysdeps/i386/fpu/libm-test-ulps: Update.
12056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12058 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12060 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12063 (denorm): Likewise.
12064 (__dbl_mp): Likewise.
12065 (add_magnitudes): Likewise.
12066 (sub_magnitudes): Likewise.
12074 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
12076 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
12077 (__dubcos): Likewise.
12078 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
12079 (__ieee754_acos): Likewise.
12080 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12081 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
12082 (__exp1): Likewise.
12083 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12084 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12086 (my_log2): Likewise.
12087 (checkint): Likewise.
12088 * sysdeps/ieee754/dbl-64/e_remainder.c
12089 (__ieee754_remainder): Likewise.
12090 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12091 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12092 (bsloww): Likewise.
12093 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12095 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12096 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
12097 MANTISSA_STORE_T to store computations on mantissa. Use
12098 macros for rounding and division.
12099 (denorm): Likewise.
12100 (__dbl_mp): Likewise.
12101 (add_magnitudes): Likewise.
12102 (sub_magnitudes): Likewise.
12105 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12106 powers of two in terms of TWOPOW macro.
12107 (mp_no): Make type of mantissa as MANTISSA_T.
12108 [!RADIXI]: Define RADIXI.
12109 [!TWO52]: Define TWO52.
12110 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12112 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12114 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
12115 llroundl symbol when building for PPC32.
12117 2013-03-24 Mark H Weaver <mhw@netris.org>
12119 * manual/arith.texi (Normalization Functions): Fix prototypes for
12120 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
12122 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12125 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
12126 high value to check if expl overflow.
12127 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
12128 to check for underflow and overflow.
12129 * math/libm-test.inc: Add exp test.
12131 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
12134 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
12137 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12139 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
12142 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
12144 * math/gen-libm-test.pl (parse_args, special_functions): Properly
12145 wrap blocks consisting of several statements.
12147 * sysdeps/generic/math-tests.h: New file.
12148 * sysdeps/i386/fpu/math-tests.h: Likewise.
12149 * math/test-snan.c: Include it.
12150 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
12152 2013-03-21 Joseph Myers <joseph@codesourcery.com>
12155 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
12156 (__ieee754_j0l): Do not improve calculations using cos of twice
12157 input for inputs above LDBL_MAX / 2.0L.
12158 (__ieee754_y0l): Likewise.
12159 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
12160 (__ieee754_j1l): Do not improve calculations using cos of twice
12161 input for inputs above LDBL_MAX / 2.0L.
12162 (__ieee754_y1l): Likewise.
12163 * math/libm-test.inc (j0_test): Add another test.
12164 (j1_test): Likewise.
12165 (y0_test): Likewise.
12166 (y1_test): Likewise.
12167 * sysdeps/i386/fpu/libm-test-ulps: Update.
12169 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12171 * Rules ($(objpfx)bench-%.c): Include code from a C source
12174 2013-03-21 Joseph Myers <joseph@codesourcery.com>
12177 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12178 imaginary part 1.0 and real part less than 0.5 specially.
12179 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12180 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12181 * math/libm-test.inc (cacos_test): Add more tests.
12182 (casin_test): Likewise.
12183 (casinh_test): Likewise.
12184 * sysdeps/i386/fpu/libm-test-ulps: Update.
12185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12187 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12189 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
12190 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
12192 2013-03-20 Joseph Myers <joseph@codesourcery.com>
12194 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
12195 * config.make.in (config-cflags-sse4): Remove variable.
12196 (config-cflags-avx): Likewise.
12197 (config-cflags-sse2avx): Likewise.
12198 (config-cflags-novzeroupper): Likewise.
12199 (config-asflags-i686): Likewise.
12200 (have-mfma4): Likewise.
12201 (have-as-vis3): Likewise.
12203 * configure.in (MIG): Do not AC_SUBST.
12204 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
12205 (libc_cv_cc_sse4): Do not AC_SUBST.
12206 (libc_cv_cc_avx): Likewise.
12207 (libc_cv_cc_sse2avx): Likewise.
12208 (libc_cv_cc_novzeroupper): Likewise.
12209 (libc_cv_cc_fma4): Likewise.
12210 (libc_cv_as_i686): Likewise.
12211 (libc_cv_sparc_as_vis3): Likewise.
12212 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
12214 (config-asflags-i686): Likewise.
12215 (config-cflags-avx): Likewise.
12216 (config-cflags-sse2avx): Likewise.
12217 (have-mfma4): Likewise.
12218 (config-cflags-novzeroupper): Likewise.
12219 * sysdeps/mach/configure.in (MIG): Likewise.
12220 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
12221 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
12223 (config-cflags-avx): Likewise.
12224 (config-cflags-sse2avx): Likewise.
12225 (have-mfma4): Likewise.
12226 (config-cflags-novzeroupper): Likewise.
12227 * configure: Regenerated.
12228 * sysdeps/i386/configure: Likewise.
12229 * sysdeps/mach/configure: Likewise.
12230 * sysdeps/sparc/configure: Likewise.
12231 * sysdeps/x86_64/configure: Likewise.
12233 2013-03-20 Roland McGrath <roland@hack.frob.com>
12236 * locale/programs/localedef.c (options): Put N_ translation marker
12237 on argument names, not just descriptions.
12239 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12241 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
12243 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
12246 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
12248 2013-03-19 Roland McGrath <roland@hack.frob.com>
12250 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
12251 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
12252 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
12253 [!BEFORE_ABORT] (before_abort): New function.
12254 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
12255 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
12256 (writev_for_fatal): New function.
12257 (WRITEV_FOR_FATAL): New macro; call that.
12258 (backtrace_and_maps): New function.
12259 (BEFORE_ABORT): New macro; call that.
12260 (struct str_list): Type removed.
12261 (__libc_message, __libc_fatal): Functions removed.
12262 Include <sysdeps/posix/libc_fatal.c> instead.
12264 2013-03-19 Joseph Myers <joseph@codesourcery.com>
12266 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
12268 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
12271 2013-03-19 Andreas Schwab <schwab@suse.de>
12273 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
12274 * sysdeps/gnu/configure: Regenerate.
12276 * configure.in: Substitute libc_cv_rtlddir.
12277 * configure: Regenerate.
12278 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
12279 * Makeconfig (rtlddir, inst_rtlddir): New variables.
12280 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
12281 * elf/Makefile (install-others, CFLAGS-interp.c)
12282 (ldso_install, common-ldd-rewrite): Likewise.
12283 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
12284 $(inst_slibdir)/$(rtld-installed-name).
12285 * scripts/rellns-sh: Add -p option.
12286 * Makerules (make-shlib-link): Use rellns-sh to get relative name
12289 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12291 * manual/nptl.texi: Renamed to ...
12292 * manual/threads.texi: ... this.
12293 * manual/Makefile (chapters): Update.
12295 2013-03-18 Roland McGrath <roland@hack.frob.com>
12298 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
12299 on argument names, not just descriptions.
12300 * malloc/memusagestat.c (options): Likewise.
12301 * nss/getent.c (options): Likewise.
12303 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
12306 * iconv/iconv_prog.c (options): Put N_ translation marker
12307 on argument names, not just descriptions.
12308 * iconv/iconvconfig.c (options): Likewise.
12310 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
12312 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
12313 implementation which is faster on all x86_64 architectures.
12314 Tested on AMD, Intel Nehalem, SNB, IVB.
12315 * sysdeps/x86_64/strnlen.S: Likewise.
12317 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12318 Remove all multiarch strlen and strnlen versions.
12319 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12320 Remove strlen and strnlen related parts.
12322 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
12323 Inline strlen part.
12324 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12326 * sysdeps/x86_64/multiarch/strlen.S: Remove.
12327 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
12328 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
12329 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
12330 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12331 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
12333 2013-03-17 Carlos O'Donell <carlos@redhat.com>
12335 * manual/memory.texi (Malloc Tunable Parameters):
12336 Sort parameters alphabetically. Add comments for missing entries.
12338 2013-03-17 David S. Miller <davem@davemloft.net>
12340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12342 2013-03-16 Joseph Myers <joseph@codesourcery.com>
12345 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
12346 for arguments at most half maximum finite value.
12347 * math/libm-test.inc (j0_test): Add more tests.
12348 (j1_test): Likewise.
12349 (y0_test): Likewise.
12350 (y1_test): Likewise.
12351 * sysdeps/i386/fpu/libm-test-ulps: Update.
12352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12355 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
12356 1 / x and functions P and Q for arguments above 0x1p256L.
12357 (__ieee754_y0l): Likewise.
12358 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12359 (__ieee754_y1l): Likewise.
12360 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
12361 (j1_test): Likewise.
12362 (y0_test): Likewise.
12363 (y1_test): Likewise.
12365 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
12367 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
12370 2013-03-15 Roland McGrath <roland@hack.frob.com>
12372 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
12373 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
12374 zero since it's initialized to EXEC_PAGESIZE.
12376 * sysdeps/unix/sysv/linux/ldsodefs.h
12377 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
12378 * sysdeps/generic/ldsodefs.h: ... here.
12380 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
12382 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
12384 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
12386 * math/test-snan.c: Renamed from
12387 sysdeps/powerpc/fpu/test-powerpc-snan.c.
12388 * math/Makefile (tests): Add test-snan.
12389 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
12392 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
12393 SUFFIX. Initialize qNaN_var with __builtin_nan family of
12395 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
12396 __builtin_nan family of functions.
12397 * math/libm-test.inc (initialize): Initialize qnan_value with
12398 __builtin_nan family of functions.
12399 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
12401 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
12403 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
12404 storage class. Initialize qNaN_var and sNaN_var with
12405 __builtin_nan and __builtin_nans families of functions,
12408 * math/libm-test.inc (acosh_test): Also test with qNaN input.
12409 (sqrt_test): Remove duplicate test with qNaN input.
12410 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
12411 (round_test, signbit_test, significand_test): Note missing +/-Inf
12412 as well as qNaN tests.
12414 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
12415 qNaN_var. Fix a few strings, too.
12416 * math/libm-test.inc (nan_value): Rename to qnan_value.
12417 * math/gen-libm-test.pl (%beautify): Adjust to that.
12418 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
12419 * math/test-misc.c (main): Likewise.
12420 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
12421 to __qnan_bytes, and __qnan_union, respectively.
12422 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
12424 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
12425 and lqnanval, respectively.
12426 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
12427 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
12428 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
12429 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
12431 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
12432 * math/test-misc.c (main) [__x86_64__]: Enable test for long
12435 * math/test-misc.c (main): Fix copy'n'pastos.
12436 * misc/tst-efgcvt.c (special): Likewise.
12438 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
12439 Remove declarations.
12441 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12443 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
12444 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
12445 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
12446 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
12448 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12450 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
12451 macro to return vdso values correctly in IFUNC implementations.
12452 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12453 Optimization by using IFUNC.
12455 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12456 Richard Henderson <rth@redhat.com>
12457 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12459 * Makefile.in (bench): New target.
12460 * NEWS: Mention the benchmark framework.
12461 * Rules (bench): Likewise.
12462 (binaries-bench): Generate binaries for functions to
12464 * benchtests/Makefile: New makefile for benchmark tests.
12465 * benchtests/bench-skeleton.c: New skeleton file for benchmark
12467 * benchtests/exp-inputs: New input file for EXP function.
12468 * benchtests/pow-inputs: New input file for POW function.
12469 * scripts/bench.pl: New script to generate source files for
12470 benchmark programs.
12472 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12474 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12475 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
12476 computations on mantissa. Use macros for rounding and
12478 (denorm): Likewise.
12479 (__dbl_mp): Likewise.
12480 (add_magnitudes): Likewise.
12481 (sub_magnitudes): Likewise.
12484 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12485 powers of two in terms of TWOPOW macro.
12486 (mp_no): Make type of mantissa as MANTISSA_T.
12487 [!RADIXI]: Define RADIXI.
12488 [!TWO52]: Define TWO52.
12489 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12491 * manual/nptl.texi (cindex): Modify threads to pthreads.
12493 2013-03-15 Joseph Myers <joseph@codesourcery.com>
12495 * sysdeps/x86_64/preconfigure: Regenerated.
12497 2013-03-14 Joseph Myers <joseph@codesourcery.com>
12500 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
12502 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
12503 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
12505 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
12506 * math/libm-test.inc (j0_test): Do not allow one spurious
12507 underflow exception.
12508 (y1_test): Likewise.
12510 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12512 * manual/Makefile (chapters): Add nptl.
12513 * manual/debug.texi (Debugging Support): Add link to Threads
12515 * manual/nptl.texi: New file.
12517 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
12519 2013-03-14 Petr Baudis <pasky@ucw.cz>
12521 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
12522 for non-NULL pointer before the memory validity test. Pointed
12523 out by Holger Brunck <holger.brunck@keymile.com>.
12525 2013-03-13 Andreas Schwab <schwab@suse.de>
12527 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
12530 2013-03-13 Joseph Myers <joseph@codesourcery.com>
12532 * timezone/zic.c: Update from tzcode 2013b.
12534 2013-03-12 Carlos O'Donell <carlos@redhat.com>
12536 * manual/install.texi (Configuring and compiling):
12537 Mention i686 and i586.
12538 * INSTALL: Regenerate.
12540 2013-03-12 Roland McGrath <roland@hack.frob.com>
12542 * sysdeps/init_array/elf-init.c: New file.
12544 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
12545 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
12547 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
12548 __gmon_start__ as global, but as static with a .preinit_array pointer.
12549 * sysdeps/init_array/gmon-start.c: New file. Use that.
12550 * sysdeps/init_array/crti.S: New file, empty except for comments.
12551 * sysdeps/init_array/crtn.S: Likewise.
12553 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
12555 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
12557 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12558 Remove Prefer_SSE_for_memop.
12559 * sysdeps/x86_64/multiarch/init-arch.h: Remove
12560 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
12561 HAS_PREFER_SSE_FOR_MEMOP.
12562 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12564 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12565 Remove bzero, memset ifunc support.
12566 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
12567 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
12568 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12569 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12571 2013-03-11 Andreas Schwab <schwab@suse.de>
12574 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
12576 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
12577 (GLIBC_2.16): Remove pthread_atfork.
12579 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
12581 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
12582 (ptestcases.h): Likewise.
12584 2013-03-08 Roland McGrath <roland@hack.frob.com>
12586 * Makeconfig ($(common-objpfx)config.status): Depend on
12587 sysdeps/*/preconfigure{,.in} too.
12589 2013-03-08 Joseph Myers <joseph@codesourcery.com>
12591 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
12592 (__free_hook): Use void * instead of __malloc_ptr_t.
12593 (__malloc_hook): Likewise.
12594 (__realloc_hook): Likewise.
12595 (__memalign_hook): Likewise.
12596 (__after_morecore_hook): Likewise.
12597 * malloc/arena.c (save_malloc_hook): Likewise.
12598 (save_free_hook): Likewise.
12599 * malloc/hooks.c (malloc_hook_ini): Likewise.
12600 (realloc_hook_ini): Likewise.
12601 (memalign_hook_ini): Likewise.
12602 * malloc/malloc.c (malloc_hook_ini): Likewise.
12603 (realloc_hook_ini): Likewise.
12604 (memalign_hook_ini): Likewise.
12605 (__free_hook): Likewise.
12606 (__malloc_hook): Likewise.
12607 (__realloc_hook): Likewise.
12608 (__memalign_hook): Likewise.
12609 (__libc_malloc): Likewise.
12610 (__libc_free): Likewise.
12611 (__libc_realloc): Likewise.
12612 (__libc_memalign): Likewise.
12613 (__libc_valloc): Likewise.
12614 (__libc_pvalloc): Likewise.
12615 (__libc_calloc): Likewise.
12616 (__posix_memalign): Likewise.
12617 * malloc/morecore.c (__sbrk): Likewise.
12618 (__default_morecore): Likewise.
12620 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
12622 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
12623 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
12624 __malloc_ptrdiff_t.
12626 * malloc/malloc.h (__malloc_size_t): Remove macro.
12627 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
12629 (old_memalign_hook): Likewise.
12630 (old_realloc_hook): Likewise.
12631 (struct hdr): Likewise.
12633 (mallochook): Likewise.
12634 (memalignhook): Likewise.
12635 (reallochook): Likewise.
12636 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
12637 (tr_old_realloc_hook): Likewise.
12638 (tr_old_memalign_hook): Likewise.
12639 (tr_mallochook): Likewise.
12640 (tr_reallochook): Likewise.
12641 (tr_memalignhook): Likewise.
12643 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12645 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
12646 default_ldbl_pack and using as default implementation.
12647 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
12649 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
12650 redundant definition.
12651 (ldbl_insert_mantissa): Likewise.
12652 (ldbl_canonicalize): Likewise.
12653 (ldbl_nearbyint): Likewise.
12654 (ldbl_pack): Rename to ldbl_pack_ppc.
12655 (ldbl_unpack): Rename to ldbl_unpack_ppc.
12656 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
12657 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
12659 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12661 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
12662 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
12663 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
12664 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
12665 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
12666 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
12667 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
12668 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
12670 2013-03-07 Andreas Jaeger <aj@suse.de>
12672 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12675 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12677 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
12678 Include mpa.h and declare __MPEXP.
12679 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
12680 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12681 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12682 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
12683 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12684 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12685 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
12687 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
12688 (__slowpow): Use long double EXPL and LOGL functions to
12690 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12691 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12692 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
12693 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12694 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12695 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
12697 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
12698 intermediate variable to calculate exponent.
12700 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12704 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
12705 [!NO__SQR]: Define __sqr.
12706 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
12707 and NO__SQR. Remove all code except __mul and __sqr. Include
12708 sysdeps/ieee754/dbl-64/mpa.c.
12709 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12712 * posix/Makefile (tests): Add tst-pathconf.
12713 * posix/tst-pathconf.c: New test case.
12714 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12716 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
12718 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
12720 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
12722 2013-03-06 Andreas Jaeger <aj@suse.de>
12724 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
12725 definition via __MAP_ANONYMOUS.
12727 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12728 it's not part of Linux headers.
12730 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12731 (MAP_HUGE_MASK): Define.
12733 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12735 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12736 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12738 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12739 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12741 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12742 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12744 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12746 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12747 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12748 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12749 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12750 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12751 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12753 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12756 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12757 Handle f2fs and efivarfs.
12759 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12762 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12763 (EFIVARFS_MAGIC): Add.
12764 (F2FS_LINK_MAX): Add.
12766 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12768 * stdio-common/vfprintf.c: Replace __builtin_expect with
12771 2013-03-06 Joseph Myers <joseph@codesourcery.com>
12774 * sysdeps/generic/bp-sym.h: Remove file.
12775 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12776 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12777 <bp-sym.h> and <bp-asm.h>.
12778 (__longjmp): Don't use BP_SYM.
12779 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12781 (memcpy): Don't use BP_SYM.
12782 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12783 <bp-sym.h> and <bp-asm.h>.
12784 (memcpy): Don't use BP_SYM.
12785 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12787 (memcpy): Don't use BP_SYM.
12788 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12790 (memset): Don't use BP_SYM.
12791 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12792 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12793 (__bzero): Don't use BP_SYM.
12794 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12795 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12796 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12797 <bp-sym.h> and <bp-asm.h>.
12798 (memcmp): Don't use BP_SYM. Remove comment about bounded
12800 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12801 <bp-sym.h> and <bp-asm.h>.
12802 (memcpy): Don't use BP_SYM.
12803 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12804 <bp-sym.h> and <bp-asm.h>.
12805 (memset): Don't use BP_SYM.
12806 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12807 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12808 (__bzero): Don't use BP_SYM.
12809 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12810 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12811 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12812 <bp-sym.h> and <bp-asm.h>.
12813 (strncmp): Don't use BP_SYM. Remove comment about bounded
12815 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12816 <bp-sym.h> and <bp-asm.h>.
12817 (memcpy): Don't use BP_SYM.
12818 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12819 <bp-sym.h> and <bp-asm.h>.
12820 (memset): Don't use BP_SYM.
12821 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12822 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12823 (__bzero): Don't use BP_SYM.
12824 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12825 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12826 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12827 <bp-sym.h> and <bp-asm.h>.
12828 (__memchr): Don't use BP_SYM.
12829 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12830 <bp-sym.h> and <bp-asm.h>.
12831 (memcmp): Don't use BP_SYM. Remove comment about bounded
12833 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12834 <bp-sym.h> and <bp-asm.h>.
12835 (memcpy): Don't use BP_SYM.
12836 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12837 <bp-sym.h> and <bp-asm.h>.
12838 (__mempcpy): Don't use BP_SYM.
12839 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12840 <bp-sym.h> and <bp-asm.h>.
12841 (__memrchr): Don't use BP_SYM.
12842 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12843 <bp-sym.h> and <bp-asm.h>.
12844 (memset): Don't use BP_SYM.
12845 (__bzero): Likewise.
12846 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12847 <bp-sym.h> and <bp-asm.h>.
12848 (__rawmemchr): Don't use BP_SYM.
12849 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12850 <bp-sym.h> and <bp-asm.h>.
12851 (__STRCMP): Don't use BP_SYM.
12852 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12853 <bp-sym.h> and <bp-asm.h>.
12854 (strchr): Don't use BP_SYM.
12855 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12856 <bp-sym.h> and <bp-asm.h>.
12857 (__strchrnul): Don't use BP_SYM.
12858 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12859 <bp-sym.h> and <bp-asm.h>.
12860 (strlen): Don't use BP_SYM.
12861 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12862 <bp-sym.h> and <bp-asm.h>.
12863 (strncmp): Don't use BP_SYM. Remove comment about bounded
12865 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12866 <bp-sym.h> and <bp-asm.h>.
12867 (__strnlen): Don't use BP_SYM.
12868 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12869 <bp-sym.h> and <bp-asm.h>.
12870 (__GI__setjmp): Don't use BP_SYM.
12871 (_setjmp): Likewise.
12872 (__sigsetjmp): Likewise.
12873 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12874 (L(start_addresses)): Don't use BP_SYM.
12875 (_start): Likewise.
12876 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12878 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12879 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12880 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12881 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12882 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12884 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12885 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
12886 about bounded pointers.
12887 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12888 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12889 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12891 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12892 about bounded pointers. Remove GKM FIXME comments.
12893 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12894 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12896 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12897 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
12898 Remove GKM FIXME comments.
12899 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12900 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12901 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12903 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12904 about bounded pointers. Remove GKM FIXME comment.
12905 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12907 (strncmp): Don't use BP_SYM. Remove comment about bounded
12909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12910 <bp-sym.h> and <bp-asm.h>.
12911 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12913 <bp-sym.h> and <bp-asm.h>.
12914 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12917 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12919 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12922 2013-03-05 David S. Miller <davem@davemloft.net>
12924 * po/es.po: Update from translation team.
12926 2013-03-05 Andreas Jaeger <aj@suse.de>
12928 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12929 <bits/mman-linux.h>.
12930 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12932 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12933 <bits/mman-linux.h> to end of file.
12934 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12936 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12937 <bits/mman-linux.h> to end of file.
12938 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12940 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12941 <bits/mman-linux.h> to end of file.
12943 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12944 (MCL_CURRENT, MCL_FUTURE): Define here.
12946 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12949 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12951 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12953 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12955 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12956 fourth parameter needed for rt_sigprocmask syscall.
12957 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12958 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12959 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12960 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12961 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12962 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12964 2013-03-04 Joseph Myers <joseph@codesourcery.com>
12967 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12968 comment about bounded pointers.
12969 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12970 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12972 2013-03-04 Andreas Jaeger <aj@suse.de>
12974 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12975 common definitions.
12977 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12978 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12979 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12980 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12981 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12982 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12984 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12987 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12988 __ieee754_sqrl instead of __sqrl.
12990 2013-03-01 Joseph Myers <joseph@codesourcery.com>
12992 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12993 * sysdeps/powerpc/fpu_control.h: ... here.
12994 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12995 * sysdeps/powerpc/bits/fenvinline.h: ... here.
12996 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12997 * sysdeps/powerpc/bits/mathinline.h: ... here.
12999 2013-03-01 Roland McGrath <roland@hack.frob.com>
13001 * elf/dl-hwcaps.c (_dl_important_hwcaps):
13002 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
13003 to just [NEED_DL_SYSINFO_DSO].
13004 * elf/dl-support.c: Likewise.
13005 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13006 * elf/rtld.c (dl_main): Likewise.
13007 * elf/setup-vdso.h (setup_vdso): Likewise.
13008 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
13009 * sysdeps/unix/sysv/linux/dl-sysdep.c
13010 (_dl_discover_osversion): Likewise.
13012 2013-03-01 Carlos O'Donell <carlos@redhat.com>
13014 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
13015 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13017 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13019 * NEWS: Mention libm performance improvements and non-x86 PI
13022 * csu/libc-start.c (__pthread_initialize_minimal): Change
13023 function arguments.
13024 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13026 2013-02-28 Joseph Myers <joseph@codesourcery.com>
13029 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
13030 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
13031 <bp-sym.h> and <bp-asm.h>.
13032 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13033 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13035 (memcpy): Don't use BP_SYM.
13036 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13038 (__mpn_add_n): Don't use BP_SYM.
13039 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13040 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13042 (__mpn_addmul_1): Don't use BP_SYM.
13043 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13044 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13046 (_setjmp): Don't use BP_SYM.
13047 (__novmx_setjmp): Likewise.
13048 (__GI__setjmp): Likewise.
13049 (__vmx_setjmp): Likewise.
13050 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13052 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13053 (__bzero): Don't use BP_SYM.
13054 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13055 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13056 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13057 <bp-sym.h> and <bp-asm.h>.
13058 (memcpy): Don't use BP_SYM.
13059 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
13060 <bp-sym.h> and <bp-asm.h>.
13061 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13062 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
13063 <bp-sym.h> and <bp-asm.h>.
13064 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13065 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
13067 (__mpn_lshift): Don't use BP_SYM.
13068 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13069 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
13071 (memset): Don't use BP_SYM.
13072 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13073 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13074 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
13076 (__mpn_mul_1): Don't use BP_SYM.
13077 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13078 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
13079 <bp-sym.h> and <bp-asm.h>.
13080 (memcmp): Don't use BP_SYM.
13081 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
13082 <bp-sym.h> and <bp-asm.h>.
13083 (memcpy): Don't use BP_SYM.
13084 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
13085 <bp-sym.h> and <bp-asm.h>.
13086 (memset): Don't use BP_SYM.
13087 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
13088 <bp-sym.h> and <bp-asm.h>.
13089 (strncmp): Don't use BP_SYM.
13090 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
13091 <bp-sym.h> and <bp-asm.h>.
13092 (memcpy): Don't use BP_SYM.
13093 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
13094 <bp-sym.h> and <bp-asm.h>.
13095 (memset): Don't use BP_SYM.
13096 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
13097 <bp-sym.h> and <bp-asm.h>.
13098 (__memchr): Don't use BP_SYM.
13099 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
13100 <bp-sym.h> and <bp-asm.h>.
13101 (memcmp): Don't use BP_SYM.
13102 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
13103 <bp-sym.h> and <bp-asm.h>.
13104 (memcpy): Don't use BP_SYM.
13105 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
13106 <bp-sym.h> and <bp-asm.h>.
13107 (__mempcpy): Don't use BP_SYM.
13108 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
13109 <bp-sym.h> and <bp-asm.h>.
13110 (__memrchr): Don't use BP_SYM.
13111 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
13112 <bp-sym.h> and <bp-asm.h>.
13113 (memset): Don't use BP_SYM.
13114 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
13115 <bp-sym.h> and <bp-asm.h>.
13116 (__rawmemchr): Don't use BP_SYM.
13117 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
13118 <bp-sym.h> and <bp-asm.h>.
13119 (__STRCMP): Don't use BP_SYM.
13120 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
13121 <bp-sym.h> and <bp-asm.h>.
13122 (strchr): Don't use BP_SYM.
13123 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
13124 <bp-sym.h> and <bp-asm.h>.
13125 (__strchrnul): Don't use BP_SYM.
13126 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
13127 <bp-sym.h> and <bp-asm.h>.
13128 (strlen): Don't use BP_SYM.
13129 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
13130 <bp-sym.h> and <bp-asm.h>.
13131 (strncmp): Don't use BP_SYM.
13132 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
13133 <bp-sym.h> and <bp-asm.h>.
13134 (__strnlen): Don't use BP_SYM.
13135 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
13137 (__mpn_rshift): Don't use BP_SYM.
13138 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13139 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
13140 <bp-sym.h> and <bp-asm.h>.
13141 (__sigsetjmp): Don't use BP_SYM.
13142 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
13143 (L(start_addresses)): Don't use BP_SYM.
13144 (_start): Likewise.
13145 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
13147 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
13148 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13149 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13150 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
13152 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
13153 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13154 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13155 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
13157 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13159 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13160 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
13162 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
13164 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13165 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13166 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
13168 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13170 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
13172 (strncmp): Don't use BP_SYM,
13173 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
13175 (__mpn_sub_n): Don't use BP_SYM.
13176 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13177 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
13179 (__mpn_submul_1): Don't use BP_SYM.
13180 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
13182 <bp-sym.h> and <bp-asm.h>.
13183 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
13185 <bp-sym.h> and <bp-asm.h>.
13186 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13189 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13191 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
13192 Use ZK to minimize writes to Z.
13193 (sub_magnitudes): Simplify code a bit.
13194 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
13195 Use ZK to minimize writes to Z.
13196 (sub_magnitudes): Simplify code a bit.
13198 2013-02-27 Roland McGrath <roland@hack.frob.com>
13200 * csu/gmon-start.c: Add special exception to license text.
13202 2013-02-27 Richard Henderson <rth@redhat.com>
13204 * scripts/config.guess: Update from config.git.
13205 * scripts/config.sub: Likewise.
13207 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13209 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
13211 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
13213 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
13215 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
13217 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
13219 2013-02-26 Roland McGrath <roland@hack.frob.com>
13221 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
13222 [$(build-shared = yes].
13224 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13226 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
13227 (__mul): Reduce iterations for calculating mantissa.
13229 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
13231 (__mpranred): Likewise.
13234 * malloc/memusagestat.c (main): Draw graphs for heap and stack
13235 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
13237 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
13239 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
13240 Define __attribute__.
13242 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13244 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
13246 * posix/regex_internal.h (__attribute): Remove.
13247 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
13248 (re_string_context_at): Likewise.
13249 (bitset_not): Use __attribute__ and mark function as possibly
13251 (bitset_merge): Likewise.
13252 (bitset_mask): Likewise.
13253 (re_string_char_size_at): Likewise.
13254 (re_string_wchar_at): Likewise.
13255 (re_string_elem_size_at): Likewise.
13257 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13259 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
13263 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
13267 (denorm): Likewise.
13268 (__dbl_mp): Likewise.
13269 (add_magnitudes): Likewise.
13270 (sub_magnitudes): Likewise.
13274 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
13277 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
13280 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
13283 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
13284 up changes with default code.
13285 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
13288 2013-02-24 Allan McRae <allan@archlinux.org>
13290 * manual/socket.texi (The Internet Namespace): Order menu items
13291 to match that in the file.
13293 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
13294 node listing of the info page menu.
13296 2013-02-21 Joseph Myers <joseph@codesourcery.com>
13299 * sysdeps/i386/bp-asm.h: Remove file.
13300 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13301 (PARMS): Do not use macros from bp-asm.h.
13305 (__mpn_add_n): Do not use BP_SYM
13306 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
13308 (PARMS): Do not use macros from bp-asm.h.
13311 (__mpn_addmul_1): Do not use BP_SYM
13312 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
13314 (PARMS): Do not use macros from bp-asm.h.
13315 (SIGMSK): Likewise.
13316 (_setjmp): Likewise. Do not use BP_SYM.
13317 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
13319 (PARMS): Do not use macros from bp-asm.h.
13320 (SIGMSK): Likewise.
13321 (setjmp): Likewise. Do not use BP_SYM.
13322 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
13324 (PARMS): Do not use macros from bp-asm.h.
13325 (__frexp): Do not use BP_SYM.
13327 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
13329 (PARMS): Do not use macros from bp-asm.h.
13330 (__frexpf): Do not use BP_SYM.
13331 (frexpf): Likewise.
13332 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
13334 (PARMS): Do not use macros from bp-asm.h.
13335 (__frexpl): Do not use BP_SYM.
13336 (frexpl): Likewise.
13337 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
13339 (PARMS): Do not use macros from bp-asm.h.
13340 (__remquo): Do not use BP_SYM.
13341 (remquo): Likewise.
13342 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
13344 (PARMS): Do not use macros from bp-asm.h.
13345 (__remquof): Do not use BP_SYM.
13346 (remquof): Likewise.
13347 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
13349 (PARMS): Do not use macros from bp-asm.h.
13350 (__remquol): Do not use BP_SYM.
13351 (remquol): Likewise.
13352 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
13354 (PARMS): Do not use macros from bp-asm.h.
13357 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
13358 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
13360 (PARMS): Do not use macros from bp-asm.h.
13361 (strlen): Do not use BP_SYM.
13362 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
13364 (PARMS): Do not use macros from bp-asm.h.
13368 (__mpn_add_n): Do not use BP_SYM.
13369 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
13371 (PARMS): Do not use macros from bp-asm.h.
13374 (__mpn_addmul_1): Do not use BP_SYM.
13375 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
13378 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
13380 (PARMS): Do not use macros from bp-asm.h.
13383 (__mpn_lshift): Do not use BP_SYM.
13384 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
13386 (PARMS): Do not use macros from bp-asm.h.
13390 (memcpy): Likewise. Do not use BP_SYM.
13391 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
13392 libc_hidden_def and weak_alias.
13393 (mempcpy): Do not use BP_SYM in weak_alias.
13394 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
13396 (PARMS): Do not use macros from bp-asm.h.
13399 [!BZERO_P] (CHR): Likewise.
13400 (memset): Likewise. Do not use BP_SYM.
13401 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
13403 (PARMS): Do not use macros from bp-asm.h.
13406 (__mpn_mul_1): Do not use BP_SYM.
13407 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
13409 (PARMS): Do not use macros from bp-asm.h.
13412 (__mpn_rshift): Do not use BP_SYM.
13413 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
13415 (PARMS): Do not use macros from bp-asm.h.
13418 (strchr): Likewise. Do not use BP_SYM.
13419 (index): Do not use BP_SYM in weak_alias.
13420 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
13422 (PARMS): Do not use macros from bp-asm.h.
13425 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
13426 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
13428 (PARMS): Do not use macros from bp-asm.h.
13429 (strlen): Do not use BP_SYM.
13430 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
13432 (PARMS): Do not use macros from bp-asm.h.
13436 (__mpn_sub_n): Do not use BP_SYM.
13437 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
13439 (PARMS): Do not use macros from bp-asm.h.
13442 (__mpn_submul_1): Do not use BP_SYM.
13443 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
13445 (PARMS): Do not use macros from bp-asm.h.
13449 (__mpn_add_n): Do not use BP_SYM.
13450 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
13453 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
13455 (PARMS): Do not use macros from bp-asm.h.
13458 (memcmp): Do not use BP_SYM.
13459 (bcmp): Do not use BP_SYM in weak_alias.
13460 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
13462 (PARMS): Do not use macros from bp-asm.h.
13466 (memcpy): Likewise. Do not use BP_SYM.
13467 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
13469 (PARMS): Do not use macros from bp-asm.h.
13473 (memmove): Likewise. Do not use BP_SYM.
13474 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
13476 (PARMS): Do not use macros from bp-asm.h.
13480 (__mempcpy): Likewise. Do not use BP_SYM.
13481 (mempcpy): Do not use BP_SYM in weak_alias.
13482 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
13484 (PARMS): Do not use macros from bp-asm.h.
13487 [!BZERO_P] (CHR): Likewise.
13488 (memset): Likewise. Do not use BP_SYM.
13489 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
13491 (PARMS): Do not use macros from bp-asm.h.
13493 (strcmp): Do not use BP_SYM.
13494 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
13496 (PARMS): Do not use macros from bp-asm.h.
13499 [USE_AS_STRTOK_R] (SAVE): Likewise.
13500 (FUNCTION): Likewise. Do not use BP_SYM.
13501 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
13503 (strtok_r): Likewise.
13504 (__GI___strtok_r): Likewise.
13505 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13506 (PARMS): Do not use macros from bp-asm.h.
13509 (__mpn_lshift): Do not use BP_SYM.
13510 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13511 (PARMS): Do not use macros from bp-asm.h.
13514 (__memchr): Do not use BP_SYM.
13515 (memchr): Do not use BP_SYM in weak_alias.
13516 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13517 (PARMS): Do not use macros from bp-asm.h.
13520 (memcmp): Do not use BP_SYM.
13521 (bcmp): Do not use BP_SYM in weak_alias.
13522 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
13523 (PARMS): Do not use macros from bp-asm.h.
13526 (__mpn_mul_1): Do not use BP_SYM.
13527 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
13529 (PARMS): Do not use macros from bp-asm.h.
13532 (__rawmemchr): Do not use BP_SYM.
13533 (rawmemchr): Do not use BP_SYM in weak_alias.
13534 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13535 (PARMS): Do not use macros from bp-asm.h.
13538 (__mpn_rshift): Do not use BP_SYM.
13539 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13540 (PARMS): Do not use macros from bp-asm.h.
13541 (SIGMSK): Likewise.
13542 (__sigsetjmp): Likewise. Do not use BP_SYM.
13543 * sysdeps/i386/start.S: Do not include "bp-sym.h".
13544 (_start): Do not use BP_SYM.
13545 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
13546 (PARMS): Do not use macros from bp-asm.h.
13549 (__stpcpy): Likewise. Do not use BP_SYM.
13550 (stpcpy): Do not use BP_SYM in weak_alias.
13551 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
13553 (PARMS): Do not use macros from bp-asm.h.
13557 (__stpncpy): Likewise. Do not use BP_SYM.
13558 (stpncpy): Do not use BP_SYM in weak_alias.
13559 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13560 (PARMS): Do not use macros from bp-asm.h.
13563 (strchr): Likewise. Do not use BP_SYM.
13564 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
13566 (PARMS): Do not use macros from bp-asm.h.
13569 (__strchrnul): Likewise. Do not use BP_SYM.
13570 (strchrnul): Do not use BP_SYM in weak_alias.
13571 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
13573 (PARMS): Do not use macros from bp-asm.h.
13575 (strcspn): Do not use BP_SYM.
13576 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
13578 (PARMS): Do not use macros from bp-asm.h.
13581 (strpbrk): Likewise. Do not use BP_SYM.
13582 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
13584 (PARMS): Do not use macros from bp-asm.h.
13587 (strrchr): Likewise. Do not use BP_SYM.
13588 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
13589 (PARMS): Do not use macros from bp-asm.h.
13591 (strspn): Do not use BP_SYM.
13592 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
13593 (PARMS): Do not use macros from bp-asm.h.
13597 (FUNCTION): Likewise. Do not use BP_SYM.
13598 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
13600 (strtok_r): Likewise.
13601 (__GI___strtok_r): Likewise.
13602 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13603 (PARMS): Do not use macros from bp-asm.h.
13607 (__mpn_sub_n): Do not use BP_SYM.
13608 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
13610 (PARMS): Do not use macros from bp-asm.h.
13613 (__mpn_submul_1): Do not use BP_SYM.
13614 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
13616 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
13618 (PARMS): Do not use macros from bp-asm.h.
13623 (__clone): Do not use BP_SYM.
13624 (clone): Do not use BP_SYM in weak_alias.
13625 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
13627 (PARMS): Do not use macros from bp-asm.h.
13629 (__mmap64): Do not use BP_SYM.
13630 (mmap64): Do not use BP_SYM in weak_alias.
13631 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13632 <bp-sym.h> and <bp-asm.h>.
13633 (PARMS): Do not use macros from bp-asm.h.
13634 (__posix_fadvise64_l64): Do not use BP_SYM.
13635 * sysdeps/unix/sysv/linux/i386/semtimedop.S
13636 (PARMS): Do not use macros from bp-asm.h.
13638 (semtimedop): Do not use BP_SYM.
13639 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
13642 2013-02-21 Allan McRae <allan@archlinux.org>
13644 * manual/message.texi (Charset conversion in gettext):
13645 Move @end statement to beginning of line.
13647 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13649 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
13651 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13654 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
13655 (denorm): Likewise.
13656 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
13657 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
13659 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13661 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
13662 tail-call to the resolved function if pltexit isn't needed.
13664 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13666 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
13667 or Y being zero as being unlikely.
13668 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13671 2013-02-20 Carlos O'Donell <carlos@redhat.com>
13673 * manual/nss.texi (System Databases and Name Service Switch):
13674 Remove frobnicate @pxref.
13676 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13678 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13679 __attribute__ ((unused)) to __attribute__ ((__unused__)).
13681 2013-02-20 Petr Machata <pmachata@redhat.com>
13683 * elf/elf.h (R_ARM_TARGET1): New macro.
13684 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
13685 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
13686 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
13687 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
13688 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
13689 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
13690 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
13691 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
13692 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
13693 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
13694 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
13695 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
13696 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
13697 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
13698 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
13699 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
13700 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
13701 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
13702 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
13703 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
13704 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
13705 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
13706 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
13707 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
13708 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
13709 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
13710 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
13711 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
13712 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
13713 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
13714 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
13715 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
13716 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
13717 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
13718 (R_ARM_THM_GOT_BREL12): Likewise.
13719 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
13720 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
13721 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
13722 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
13723 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
13724 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
13725 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
13726 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
13727 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
13729 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13731 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13732 __attribute_used__ to __attribute__ ((unused)).
13734 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13736 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13738 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13739 comment formatting.
13740 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13742 2013-02-19 Joseph Myers <joseph@codesourcery.com>
13745 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13747 (ENTER): Remove both macro definitions.
13749 (CHECK_BOUNDS_LOW): Likewise.
13750 (CHECK_BOUNDS_HIGH): Likewise.
13751 (CHECK_BOUNDS_BOTH): Likewise.
13752 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13753 (RETURN_BOUNDED_POINTER): Likewise.
13754 (RETURN_NULL_BOUNDED_POINTER): Likewise.
13755 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13756 (POP_ERRNO_LOCATION_RETURN): Likewise.
13757 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13758 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13759 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13761 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13762 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13763 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13764 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13765 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13766 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13767 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13768 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13769 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13770 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13771 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13772 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13773 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13774 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13776 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13777 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13779 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13780 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13781 * sysdeps/i386/i586/memset.S (memset): Likewise.
13782 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13783 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13784 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13786 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13787 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13788 Change uses of L(2) to L(out).
13789 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13790 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13791 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13792 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13793 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13795 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13796 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13798 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13799 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13800 (RETURN): Do not use macro LEAVE.
13801 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13802 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13803 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13804 * sysdeps/i386/i686/memset.S (memset): Likewise.
13805 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13806 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13807 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13808 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13810 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13811 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
13812 L(1_2) and L(1_3) into L(1).
13813 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13814 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13815 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13816 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13817 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13818 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13819 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13820 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13821 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13823 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13824 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13825 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13826 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13827 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13828 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13829 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13830 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13831 * sysdeps/i386/strcspn.S (strcspn): Likewise.
13832 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13833 * sysdeps/i386/strrchr.S (strrchr): Likewise.
13834 * sysdeps/i386/strspn.S (strspn): Likewise.
13835 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13837 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13838 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13839 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13840 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
13841 L(1_3) into L(1_1).
13842 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13843 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13844 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13846 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13848 2013-02-19 Jakub Jelinek <jakub@redhat.com>
13850 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13853 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13855 * math/atest-exp.c (exp_mpn): Remove ROUND.
13856 * math/atest-exp2.c (exp_mpn): Likewise.
13857 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13859 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13860 * stdlib/tst-tls-atexit-lib.c: Likewise.
13861 * stdlib/tst-tls-atexit.c: Likewise.
13863 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13865 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13866 and __attribute_alloc_size__.
13868 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13870 * include/programs/xmalloc.h: Change __attribute_alloc_size to
13871 __attribute_alloc_size__.
13872 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13873 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13875 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13877 * include/programs/xmalloc.h: New file.
13878 * catgets/gencat.c: Include it.
13879 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13880 * elf/pldd.c: Likewise.
13881 * iconv/iconv_charmap.c: Likewise.
13882 * iconv/iconvconfig.c: Likewise.
13883 * iconv/strtab.c: Likewise.
13884 * locale/programs/locale.c: Likewise.
13885 * locale/programs/localedef.h: Likewise.
13886 * locale/programs/simple-hash.c: Likewise.
13887 * nscd/nscd.h: Likewise.
13888 * nss/makedb.c: Likewise.
13889 * sysdeps/generic/ldconfig.h: Likewise.
13891 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13893 * Versions.def: Add GLIBC_2.18.
13894 * include/link.h (struct link_map): New member l_tls_dtor_count.
13895 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13896 (__call_tls_dtors): Likewise.
13897 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13898 __cxa_thread_atexit_impl.
13899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13907 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13908 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13910 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13912 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13915 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13916 (tests): Add test case tst-tls-atexit.
13917 (modules-names): Add shared library for tst-tls-atexit.
13918 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13919 (GLIBC_PRIVATE): Add __call_tls_dtors.
13920 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13922 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13923 * stdlib/tst-tls-atexit.c: New test case.
13924 * stdlib/tst-tls-atexit-lib.c: New test case.
13926 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13928 * elf/Versions (ld): Add _dl_find_dso_for_object.
13929 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13930 * elf/dl-open.c (_dl_find_dso_for_object): New function.
13931 (dl_open_worker): Use _dl_find_dso_for_object.
13932 * elf/dl-sym.c (do_sym): Likewise.
13933 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13935 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13937 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13938 Syntactic changes only.
13939 (_dl_runtime_profile): Do a tail-call to the resolved function.
13941 2013-02-17 Joseph Myers <joseph@codesourcery.com>
13944 * sysdeps/x86_64/bp-asm.h: Remove file.
13945 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13946 <bp-sym.h> and <bp-asm.h>.
13947 (__clone): Do not use BP_SYM.
13948 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13949 <bp-sym.h> and <bp-asm.h>.
13950 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13951 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13953 (_setjmp): Do not use BP_SYM.
13954 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13956 (setjmp): Do not use BP_SYM.
13957 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13959 (mempcpy): Do not use BP_SYM in weak_alias.
13960 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13962 (strchr): Do not use BP_SYM.
13963 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13965 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13966 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13967 (_start): Do not use BP_SYM.
13968 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13970 (strcat): Do not use BP_SYM.
13971 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13973 (STRCMP): Do not use BP_SYM.
13974 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13976 (STRCPY): Do not use BP_SYM.
13977 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13979 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13981 (FUNCTION): Do not use BP_SYM.
13982 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13984 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13986 2013-02-17 Andreas Jaeger <aj@suse.de>
13988 * time/Versions: Sort entries.
13989 * string/Versions: Likewise.
13990 * resolv/Versions: Likewise.
13991 * posix/Versions: Likewise.
13992 * iconv/Versions: Likewise.
13993 * elf/Versions: Likewise.
13994 * wcsmbs/Versions: Likewise.
13996 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13998 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13999 loop termination condition.
14001 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
14002 variable to calculate EZ.
14005 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
14006 the lower precision input.
14008 2013-02-15 Joseph Myers <joseph@codesourcery.com>
14011 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
14012 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
14013 (run-via-rtld-prefix): Do not handle %-bp tests.
14014 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
14015 (all-object-suffixes): Remove .ob.
14016 (bppfx): Remove variable.
14017 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
14018 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
14019 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
14020 [$(build-bounded) = yes] (libtype.ob): Likewise.
14021 * Makerules (elide-routines.ob): Remove variable.
14022 (do-tests-clean): Do not handle *-bp.out.
14023 (common-mostlyclean): Do not handle *-bp and *-bp.out.
14024 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
14025 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
14026 (tests): Do not include $(tests-bp.out).
14027 (xtests): Do not include $(xtests-bp.out).
14028 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
14029 [$(build-bounded) = yes] ($(addprefix
14030 $(objpfx),$(binaries-bounded))): Remove rule.
14031 ($(objpfx)%-bp.out): Remove rule.
14032 * config.make.in (build-bounded): Remove variable.
14033 * crypt/Makefile [$(build-bounded) = yes]
14034 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14035 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14036 append to variable.
14037 [$(build-bounded) = yes] (install-lib): Likewise.
14038 [$(build-bounded) = yes] (generated): Likewise.
14039 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14041 * intl/Makefile [$(build-bounded) = yes]
14042 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14043 * math/Makefile [$(build-bounded) = yes]
14044 ($(tests:%=$(objpfx)%-bp): Likewise.
14045 * misc/Makefile [$(build-bounded) = yes]
14046 ($(objpfx)tst-tsearch-bp): Likewise.
14047 * nptl/Makeconfig (bounded-thread-library): Remove variable.
14048 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14050 * string/Makefile (o-objects.ob): Remove variable.
14051 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14052 (CFLAGS-.ob): Remove variable.
14053 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14054 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14055 both definitions of variable.
14056 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14057 (ASFLAGS-.ob): Remove variable.
14059 2013-02-14 Joseph Myers <joseph@codesourcery.com>
14062 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
14063 Remove __BOUNDED_POINTERS__ from condition.
14064 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
14065 * string/bits/string2.h [!__NO_STRING_INLINES &&
14066 !__BOUNDED_POINTERS__]: Likewise.
14067 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
14069 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
14070 Remove conditional code.
14071 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
14072 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
14073 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
14077 * csu/libc-start.c: Do not include <bp-sym.h>.
14078 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
14079 * elf/dl-open.c: Do not include <bp-sym.h>.
14080 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
14081 * math/fegetenv.c: Do not include <bp-sym.h>.
14082 (fegetenv): Do not use BP_SYM in versioned symbols.
14083 * nptl/sysdeps/pthread/bits/libc-lockP.h
14084 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
14086 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14087 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
14088 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14089 (__pthread_mutex_destroy): Likewise.
14090 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14091 (__pthread_mutex_lock): Likewise.
14092 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14093 (__pthread_mutex_trylock): Likewise.
14094 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14095 (__pthread_mutex_unlock): Likewise.
14096 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14097 (__pthread_mutexattr_init): Likewise.
14098 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14099 (__pthread_mutexattr_destroy): Likewise.
14100 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14101 (__pthread_mutexattr_settype): Likewise.
14102 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14103 (__pthread_rwlock_init): Likewise.
14104 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14105 (__pthread_rwlock_destroy): Likewise.
14106 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14107 (__pthread_rwlock_rdlock): Likewise.
14108 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14109 (__pthread_rwlock_tryrdlock): Likewise.
14110 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14111 (__pthread_rwlock_wrlock): Likewise.
14112 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14113 (__pthread_rwlock_trywrlock): Likewise.
14114 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14115 (__pthread_rwlock_unlock): Likewise.
14116 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14117 (__pthread_key_create): Likewise.
14118 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14119 (__pthread_setspecific): Likewise.
14120 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14121 (__pthread_getspecific): Likewise.
14122 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
14124 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14125 (_pthread_cleanup_push_defer): Likewise.
14126 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14127 (_pthread_cleanup_pop_restore): Likewise.
14128 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14129 (pthread_setcancelstate): Likewise.
14130 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
14132 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
14133 (memchr): Do not use BP_SYM in weak_alias.
14134 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
14135 (fegetenv): Do not use BP_SYM in versioned symbols.
14136 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
14137 (fesetenv): Do not use BP_SYM in versioned symbols.
14138 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14139 (feupdateenv): Do not use BP_SYM in versioned symbols.
14140 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14141 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14142 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
14143 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
14144 (open64): Do not use BP_SYM in weak_alias.
14145 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
14146 (fegetenv): Do not use BP_SYM in versioned symbols.
14147 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
14148 (fesetenv): Do not use BP_SYM in versioned symbols.
14149 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14150 (feupdateenv): Do not use BP_SYM in versioned symbols.
14151 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
14152 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
14153 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
14154 (feraiseexcept): Do not use BP_SYM in versioned symbols.
14155 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14156 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14157 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
14159 (__libc_start_main): Do not use BP_SYM.
14161 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14163 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
14164 redundant return line.
14166 (denorm): Likewise.
14167 (dbl_mp): Likewise.
14168 (sub_magnitudes): Likewise.
14174 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
14176 (denorm): Likewise.
14177 (dbl_mp): Likewise.
14178 (sub_magnitudes): Likewise.
14185 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
14187 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14188 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
14191 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
14192 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
14193 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
14194 of __mul for squares.
14195 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
14197 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
14199 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
14200 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14202 2013-02-13 Joseph Myers <joseph@codesourcery.com>
14205 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
14207 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
14208 prototype or function definition. Rename ubp_* variables and
14209 parameters. Remove argv definitions conditional on
14210 [__BOUNDED_POINTERS__].
14211 * debug/backtrace.c (__backtrace): Do not use __unbounded.
14212 * elf/dl-runtime.c (_dl_fixup): Likewise.
14213 * include/set-hooks.h (RUN_HOOK): Likewise.
14214 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
14216 * string/strcpy.c (strcpy): Do not use __unbounded.
14217 * sysdeps/generic/frame.h (struct layout): Likewise.
14218 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
14219 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
14220 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
14221 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
14222 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
14223 (__backtrace): Likewise.
14224 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
14226 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14227 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14228 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14230 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
14231 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
14232 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14233 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14234 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
14235 Do not use __unbounded.
14236 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
14237 Rename __unboundedrlimits parameter to rlimits in prototype.
14238 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
14239 Do not use __unbounded.
14240 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
14241 not use __ptrvalue.
14242 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14243 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
14244 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14245 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
14246 __ptrvalue or __unbounded.
14247 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
14248 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
14250 (__new_msgctl): Do not use __ptrvalue.
14251 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
14253 (__libc_msgrcv): Do not use __ptrvalue.
14254 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
14255 startup_info): Do not use __unbounded.
14256 (__libc_start_main): Likewise. Rename ubp_* variables and
14257 parameters. Remove argv definitions conditional on
14258 [__BOUNDED_POINTERS__].
14259 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
14261 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
14263 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
14265 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
14267 (__new_shmctl): Do not use __ptrvalue.
14268 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14269 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14271 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14272 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
14273 (__libc_sigaction): Likewise.
14274 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
14275 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
14277 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14279 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
14281 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
14283 * string/mempcpy.c: Implement by calling memcpy.
14285 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14287 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
14289 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
14292 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
14293 values in the mantissa.
14295 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
14296 minimize writes to Z.
14297 (sub_magnitudes): Simplify code a bit.
14299 2013-02-12 Roland McGrath <roland@hack.frob.com>
14301 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
14302 from the message. The linker prefixes all warnings with that already.
14304 2013-02-12 Andreas Schwab <schwab@suse.de>
14307 * posix/regexec.c (extend_buffers): Add parameter min_len.
14308 (check_matching): Pass minimum needed length.
14309 (clean_state_log_if_needed): Likewise.
14310 (get_subexp): Likewise.
14311 * posix/Makefile (tests): Add bug-regex34.
14312 (bug-regex34-ENV): Define.
14313 * posix/bug-regex34.c: New file.
14316 * posix/regcomp.c (parse_bracket_exp): When looking up collating
14317 elements compare against the byte sequence of it, not its name.
14318 * posix/Makefile (tests): Add bug-regex35.
14319 (bug-regex35-ENV): Define.
14320 * posix/bug-regex35.c: New file.
14322 2013-02-11 Tom de Vries <tom@codesourcery.com>
14324 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
14326 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
14327 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
14328 (CHECK_EOL): Add undef.
14330 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
14332 * bits/stdlib-bsearch.h: New file.
14333 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
14334 * stdlib/stdlib.h: Likewise.
14336 2013-02-11 Roland McGrath <roland@hack.frob.com>
14338 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
14339 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
14341 * manual/search.texi (Array Search Function): Add missing const in
14343 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
14344 declaration to use rlim_t.
14345 (Basic Scheduling Functions): Remove erroneous const from
14346 sched_getparam prototype. Remove erroneous * from
14347 sched_get_priority_max and sched_get_priority_min prototypes.
14348 (Resource Usage): Fix summary @comment on vtimes to refer to
14349 sys/vtimes.h rather than vtimes.h.
14350 Add missing *s in vtimes prototype.
14351 (Limits on Resources): Fix ulimit prototype to return long int.
14352 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
14353 prototypes to use long int rather than double.
14354 (BSD Random): Fix initstate and setstate to use char *, not void *.
14355 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
14356 prototype to make second argument 'struct aiocb64 *const[]'.
14357 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
14358 (Status of AIO Operations): Remove erroneous const in aio_return and
14359 aio_return64 prototypes.
14360 (Synchronizing I/O): Fix sync prototype to return void.
14361 * manual/startup.texi (Suboptions): Remove an erroneous const in
14362 getsubopt prototype.
14363 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
14364 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
14365 use size_t rather than int.
14366 (Scanning All Users): Likewise for getpwent_r.
14367 (Setting Groups): Add missing const to setgroups prototype.
14368 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
14369 * manual/socket.texi (Host Names): Fix gethostbyaddr and
14370 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
14371 'const void *' rather than 'const char *'.
14372 (Host Address Functions): Likewise for inet_ntop.
14373 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
14374 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
14375 ssize_t for return value.
14376 (Sending Data): Likewise for send, sendto, sendmsg.
14377 (Socket Option Functions): Add a missing const in setsockopt prototype.
14378 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
14379 use wchar_t for the argument.
14380 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
14381 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
14383 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
14384 double/float/long double for second argument.
14385 Fix return types of significand, significandf, significandl.
14386 * manual/filesys.texi (Setting Permissions): Use mode_t for second
14387 argument in fchmod prototype.
14388 (File Owner): Use uid_t and gid_t in fchown prototype.
14389 (File Times): Add const to utimes, futimes, and lutimes prototypes.
14390 (Making Special Files): Use mode_t and dev_t in mknod prototype.
14391 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
14392 use 'const struct dirent **' as argument types to CMP function pointer
14394 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
14395 (File Times): Fix summary magic @comment for struct utimbuf and utime
14396 to refer to utime.h, not time.h.
14397 * manual/string.texi (Argz Functions): Add missing const in
14398 argz_extract and argz_next prototypes.
14399 (Finding Tokens in a String): Likewise for basename.
14400 (String/Array Comparison): Fix typo in wcscasecmp prototype.
14401 (Copying and Concatenation): Fix typo in wmemmove prototype.
14402 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
14403 (Signal Stack): Remove erroneous const in sigstack prototype.
14404 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
14406 (Simple Calendar Time): Likewise for stime.
14407 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
14409 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
14410 say sys/sysctl.h instead.
14411 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
14412 and vsyslog prototypes.
14414 2013-02-11 Tom de Vries <tom@codesourcery.com>
14416 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
14419 2013-02-11 Roland McGrath <roland@hack.frob.com>
14421 * misc/sys/mman.h: Fix typo in mremap comment.
14423 2013-02-08 Roland McGrath <roland@hack.frob.com>
14425 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
14426 the '\0' terminator.
14428 2013-02-08 Joseph Myers <joseph@codesourcery.com>
14431 * debug/segfault.c: Don't include <bp-checks.h>.
14432 * sysdeps/generic/bp-checks.h: Remove file.
14433 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
14434 (__GETDENTS): Don't use CHECK_N.
14435 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
14436 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14437 (__getgroups): Don't use CHECK_N.
14438 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
14439 (setgroups): Don't use CHECK_N.
14440 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
14441 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
14442 (__libc_msgrcv): Don't use CHECK_N.
14443 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
14444 (__libc_msgsnd): Don't use CHECK_N.
14445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
14447 (__libc_pread): Don't use CHECK_N.
14448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
14449 include <bp-checks.h>.
14450 (__libc_pread64): Don't use CHECK_N.
14451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
14452 include <bp-checks.h>.
14453 (__libc_pwrite): Don't use CHECK_N.
14454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
14455 include <bp-checks.h>.
14456 (__libc_pwrite64): Don't use CHECK_N.
14457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
14459 (__libc_pread): Don't use CHECK_N.
14460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
14461 include <bp-checks.h>.
14462 (__libc_pread64): Don't use CHECK_N.
14463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
14464 include <bp-checks.h>.
14465 (__libc_pwrite): Don't use CHECK_N.
14466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
14467 include <bp-checks.h>.
14468 (__libc_pwrite64): Don't use CHECK_N.
14469 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
14470 (do_pread): Don't use CHECK_N.
14471 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
14472 (do_pread64): Don't use CHECK_N.
14473 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
14474 (do_pwrite): Don't use CHECK_N.
14475 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
14476 (do_pwrite64): Don't use CHECK_N.
14477 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
14478 (__libc_readv): Don't use CHECK_N.
14479 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
14480 (semop): Don't use CHECK_N.
14481 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
14483 (semtimedop): Don't use CHECK_N.
14484 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
14485 (__libc_pread): Don't use CHECK_N.
14486 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
14488 (__libc_pread64): Don't use CHECK_N.
14489 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
14491 (__libc_pwrite): Don't use CHECK_N.
14492 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
14494 (__libc_pwrite64): Don't use CHECK_N.
14495 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
14497 (__libc_msgrcv): Don't use CHECK_N.
14498 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
14499 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
14500 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
14501 (__libc_writev): Don't use CHECK_N.
14503 2013-02-08 Roland McGrath <roland@hack.frob.com>
14505 * string/strcpy.c: Removed unused variable.
14507 * Makeconfig (+sysdep-includes): Define with := rather than =.
14508 Use an existing include/ subdir of each sysdeps dir before it.
14510 2013-02-08 Carlos O'Donell <carlos@redhat.com>
14512 * nscd/connection.c (register_traced_file): Comment function.
14513 [HAVE_INOTIFY] (union __inev): Define.
14514 [HAVE_INOTIFY] (inotify_check_files): New function.
14515 [HAVE_INOTIFY] (clear_db_cache): Likewise.
14516 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
14518 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
14520 2013-02-08 Carlos O'Donell <carlos@redhat.com>
14522 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
14523 loaded if not already and that a failure is permanent.
14525 2013-02-08 Carlos O'Donell <carlos@redhat.com>
14528 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
14529 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
14531 2013-02-08 Joseph Myers <joseph@codesourcery.com>
14534 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
14535 (CHECK_1_NULL_OK): Likewise.
14536 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
14537 (__fxstat): Do not use CHECK_1.
14538 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
14540 (___fxstat64): Do not use CHECK_1.
14541 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14543 (__fxstatat): Do not use CHECK_1.
14544 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14546 (__fxstatat64): Do not use CHECK_1.
14547 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
14549 (__fxstat): Do not use CHECK_1.
14550 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14552 (__fxstatat): Do not use CHECK_1.
14553 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14555 (__getresgid): Do not use CHECK_1.
14556 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14558 (__getresuid): Do not use CHECK_1.
14559 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
14561 (__lxstat): Do not use CHECK_1.
14562 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14564 (__old_msgctl): Do not use CHECK_1.
14565 (__new_msgctl): Likewise.
14566 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
14568 (__new_setrlimit): Do not use CHECK_1.
14569 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14571 (__old_shmctl): Do not use CHECK_1.
14572 (__new_shmctl): Likewise.
14573 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
14575 (__xstat): Do not use CHECK_1.
14576 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
14577 (__lxstat): Do not use CHECK_1.
14578 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
14580 (___lxstat64): Do not use CHECK_1.
14581 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
14582 (__old_msgctl): Do not use CHECK_1.
14583 (__new_msgctl): Likewise.
14584 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
14586 (__gettimeofday): Do not use CHECK_1.
14587 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
14588 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
14589 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
14591 (__gettimeofday): Do not use CHECK_1.
14592 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
14593 (__old_shmctl): Do not use CHECK_1_NULL_OK.
14594 (__new_shmctl): Do not use CHECK_1.
14595 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
14597 (do_sigtimedwait): Do not use CHECK_1.
14598 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
14600 (do_sigwaitinfo): Do not use CHECK_1.
14601 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
14603 (msgctl): Do not use CHECK_1.
14604 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
14606 (shmctl): Do not use CHECK_1.
14607 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
14608 (ustat): Do not use CHECK_1.
14609 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
14611 (__fxstat): Do not use CHECK_1.
14612 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14614 (__fxstatat): Do not use CHECK_1.
14615 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
14617 (__lxstat): Do not use CHECK_1.
14618 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
14620 (__xstat): Do not use CHECK_1.
14621 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
14622 (__xstat): Do not use CHECK_1.
14623 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
14624 (___xstat64): Do not use CHECK_1.
14627 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
14629 (CHECK_BOUNDS_HIGH): Likewise.
14630 * string/strcpy.c: Do not include <bp-checks.h>.
14631 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
14633 2013-02-07 Roland McGrath <roland@hack.frob.com>
14635 * nscd/nscd-client.h (__nscd_drop_map_ref):
14636 Add __attribute__ ((unused)).
14637 * nis/nss-nisplus.h (niserr2nss): Likewise.
14639 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
14640 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
14642 * csu/libc-tls.c (init_static_tls, init_slotinfo):
14643 Remove inline keyword.
14644 * include/rounding-mode.h (round_away): Likewise.
14645 * libio/wfileops.c (adjust_wide_data): Likewise.
14646 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
14647 (__m128i_strloadu_tolower): Likewise.
14648 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
14649 (__m128i_strloadu_tolower): Likewise.
14650 * time/mktime.c (ydhms_diff): Likewise.
14651 * locale/elem-hash.h (elem_hash): Likewise.
14652 * locale/setlocale.c (setdata): Likewise.
14653 * posix/regex_internal.h (re_string_char_size_at): Likewise.
14654 (re_string_wchar_at): Likewise.
14655 (bitset_not, bitset_merge, bitset_mask): Likewise.
14656 [!(__GNUC__ > 3)] (inline): Remove macro.
14657 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
14658 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
14659 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14660 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
14661 * string/memcmp.c (memcmp_bytes): Likewise.
14662 * locale/programs/locarchive.c (compute_hashval): Likewise.
14663 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
14664 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
14665 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
14666 * nss/getent.c (print_rpc, print_protocols): Likewise.
14667 (print_passwd, print_group, print_aliases): Likewise.
14668 * nis/nss-nisplus.h (niserr2nss): Likewise.
14669 * nscd/connections.c (restart_p): Likewise.
14670 Change return type to bool.
14672 2013-02-05 Roland McGrath <roland@hack.frob.com>
14674 * Makeconfig (all-Depend-files): Add existing
14675 $(sorted-subdirs:=/Depend) files.
14676 (all-subdirs): Remove nss.
14677 * sysdeps/unix/inet/Subdirs: Add it here instead.
14678 * hesiod/Depend: New file.
14680 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
14681 instead of calling alloca.
14683 * io/lseek.c (__lseek): Rename to __libc_lseek.
14684 Define __lseek as an alias.
14686 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
14688 2013-02-04 Carlos O'Donell <carlos@redhat.com>
14690 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
14691 else clause and remove check for non-standard endianness.
14693 2013-02-04 David S. Miller <davem@davemloft.net>
14695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14697 2013-02-04 Joseph Myers <joseph@codesourcery.com>
14700 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
14701 (__ubp_memchr): Remove prototype.
14702 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
14703 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14704 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
14705 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14706 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
14708 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
14709 (__ubp_memchr): Likewise.
14710 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
14711 (__ubp_memchr): Likewise.
14712 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
14713 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
14714 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
14715 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
14717 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14718 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
14719 (__getcwd): Do not use CHECK_STRING.
14720 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14722 (__real_chown): Do not use CHECK_STRING.
14723 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
14725 (fchownat): Do not use CHECK_STRING.
14726 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
14728 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14730 (__lchown): Do not use CHECK_STRING.
14731 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14732 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14733 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14734 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14736 include <bp-checks.h>.
14737 (truncate64): Do not use CHECK_STRING.
14738 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14740 (__real_chown): Do not use CHECK_STRING.
14741 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14743 (__lchown): Do not use CHECK_STRING.
14744 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14746 (__chown): Do not use CHECK_STRING.
14747 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14749 (truncate64): Do not use CHECK_STRING.
14750 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14752 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14753 (__xmknod): Do not use CHECK_STRING.
14754 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14756 (__xmknodat): Do not use CHECK_STRING.
14757 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14758 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14760 2013-02-04 Andreas Schwab <schwab@suse.de>
14763 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14764 * include/netdb.h: Likewise for h_errno.
14765 * elf/tst-stackguard1.c: Include <tls.h>.
14767 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14769 * elf/link.h (struct link_map): Extend the l_addr comment.
14770 * include/link.h (struct link_map): Likewise.
14772 2013-02-01 Joseph Myers <joseph@codesourcery.com>
14775 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14776 (BOUNDED_1): Remove macro.
14777 * debug/backtrace.c: Don't include <bp-checks.h>.
14778 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14779 (__backtrace): Likewise.
14780 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14782 (__backtrace): Don't use BOUNDED_1.
14783 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14785 (__backtrace): Don't use BOUNDED_1.
14786 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14787 (__backtrace): Don't use BOUNDED_1.
14788 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14789 (shmat): Don't use BOUNDED_N.
14791 2013-01-31 Joseph Myers <joseph@codesourcery.com>
14794 * sysdeps/generic/bp-start.h: Remove file.
14795 * csu/libc-start.c: Don't include <bp-start.h>.
14796 (LIBC_START_MAIN): Set up __environ directly instead of using
14797 INIT_ARGV_and_ENVIRON.
14798 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14802 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14804 (CHECK_FCNTL): Likewise.
14805 (CHECK_N_PAGES): Likewise.
14808 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14810 (CHECK_SIGSET_NULL_OK): Likewise.
14811 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14813 (sigpending): Don't use CHECK_SIGSET.
14814 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14816 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14817 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14819 (do_sigsuspend): Don't use CHECK_SIGSET.
14820 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14822 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14823 (do_sigwait): Don't use CHECK_SIGSET.
14824 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14826 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14827 include <bp-checks.h>.
14828 (sigpending): Don't use CHECK_SIGSET.
14829 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14830 include <bp-checks.h>.
14831 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14832 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14834 (sigpending): Don't use CHECK_SIGSET.
14835 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14837 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14840 * sysdeps/generic/bp-semctl.h: Remove file.
14841 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14842 <bp-checks.h> and <bp-semctl.h>.
14843 (__old_semctl): Don't use CHECK_SEMCTL.
14844 (__new_semctl): Likewise.
14845 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14847 (__old_semctl): Don't use CHECK_SEMCTL.
14848 (__new_semctl): Likewise.
14849 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14850 <bp-checks.h> and <bp-semctl.h>.
14851 (__old_semctl): Don't use CHECK_SEMCTL.
14852 (__new_semctl): Likewise.
14853 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14854 <bp-checks.h> and <bp-semctl.h>.
14855 (semctl): Don't use CHECK_SEMCTL.
14858 * Makerules (elide-bp-thunks): Remove variable.
14859 (elide-routines.oS): Don't use $(elide-bp-thunks).
14860 (elide-routines.os): Likewise.
14861 (elide-routines.o): Likewise.
14862 (elide-routines.op): Likewise.
14863 (elide-routines.og): Likewise.
14864 (objects): Don't use $(bp-thunks).
14865 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14867 (common-generated): Do not add s-proto-bp.d.
14868 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14871 Do not generate makefile rules for bounded-pointer thunks.
14872 * sysdeps/generic/bp-thunks.h: Remove file.
14873 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14874 * sysdeps/unix/s-proto-bp.S: Likewise.
14877 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14878 parts of result separately when argument is not close to line from
14879 -i to i and one part of argument is small.
14880 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14881 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14882 * math/libm-test.inc (cacos_test): Add more tests.
14883 (casin_test): Likewise.
14884 (casinh_test): Likewise.
14885 * sysdeps/i386/fpu/libm-test-ulps: Update.
14886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14888 2013-01-31 David S. Miller <davem@davemloft.net>
14890 * po/de.po: Update from translation team.
14892 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
14894 * time/tzfile.c: Include stdint.h for SIZE_MAX.
14896 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
14898 * configure.in (_AC_PROG_CC_C89): New definition.
14899 * configure: Regenerate.
14901 * configure.in (AC_PROG_CPP): New definition.
14902 * configure: Regenerate.
14904 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14906 * debug/tst-backtrace.h: New file.
14907 * debug/tst-backtrace2.c: Include tst-backtrace.h.
14908 (ret): Remove variable.
14910 (FAIL): Remove macro.
14911 (NO_INLINE): Likewise.
14912 (fn1): Use match function instead of strstr.
14913 * debug/tst-backtrace3.c: Include tst-backtrace.h.
14914 (ret): Remove variable.
14916 (FAIL): Remove macro.
14917 (NO_INLINE): Likewise.
14918 (fn): Use match function instead of strstr.
14919 * debug/tst-backtrace4.c: Include tst-backtrace.h.
14920 (ret): Remove variable.
14922 (FAIL): Remove macro.
14923 (NO_INLINE): Likewise.
14924 (handle_signal): Use match function instead of strstr.
14925 * debug/tst-backtrace5.c: Include tst-backtrace.h.
14926 (ret): Remove variable.
14928 (FAIL): Remove macro.
14929 (NO_INLINE): Likewise.
14930 (handle_signal): Use match function instead of strstr.
14932 2013-01-23 Roland McGrath <roland@hack.frob.com>
14934 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14936 2013-01-23 David S. Miller <davem@davemloft.net>
14938 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14939 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14940 argument of CAS if possible.
14941 * sysdeps/sparc/sparc64/bits/atomic.h
14942 (__arch_compare_and_exchange_val_32_acq): Likewise.
14943 (__arch_compare_and_exchange_val_64_acq): Likewise.
14945 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
14947 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14948 * sysdeps/posix/ulimit.c: ... this.
14949 Include <limits.h>.
14950 * sysdeps/unix/bsd/ulimit.c: Remove file.
14952 2013-01-23 Adam Conrad <adconrad@0c3.net>
14954 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14955 (LDFLAGS-tst-array5): Likewise.
14957 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14960 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14961 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14962 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14963 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14965 2013-01-21 David S. Miller <davem@davemloft.net>
14967 * sysdeps/sparc/backtrace.c: New file.
14968 * sysdeps/sparc/sparc32/backtrace.h: New file.
14969 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14970 * sysdeps/sparc/sparc64/backtrace.h: New file.
14971 * sysdeps/sparc/sparc64/backtrace.c: Delete.
14972 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14975 2013-01-21 Andreas Schwab <schwab@suse.de>
14978 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14981 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
14983 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14985 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14987 2013-01-18 Joseph Myers <joseph@codesourcery.com>
14988 Mark Mitchell <mark@codesourcery.com>
14989 Tom de Vries <tom@codesourcery.com>
14990 Paul Pluzhnikov <ppluzhnikov@google.com>
14992 * debug/tst-backtrace2.c: New file.
14993 * debug/tst-backtrace3.c: Likewise.
14994 * debug/tst-backtrace4.c: Likewise.
14995 * debug/tst-backtrace5.c: Likewise.
14996 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14997 (CFLAGS-tst-backtrace3.c): Likewise.
14998 (CFLAGS-tst-backtrace4.c): Likewise.
14999 (CFLAGS-tst-backtrace5.c): Likewise.
15000 (LDFLAGS-tst-backtrace2): Likewise.
15001 (LDFLAGS-tst-backtrace3): Likewise.
15002 (LDFLAGS-tst-backtrace4): Likewise.
15003 (LDFLAGS-tst-backtrace5): Likewise.
15004 (tests): Add new tests tst-backtrace2, tst-backtrace3,
15005 tst-backtrace4 and tst-backtrace5.
15007 2013-01-18 Anton Blanchard <anton@samba.org>
15008 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15010 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
15011 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
15012 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
15013 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
15014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15015 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
15016 "+r" and remove output regs list as redundant. Add explicit inline
15017 asm to specify register of return val to work around compiler codegen
15018 bug. Remove (int) cast on return value. Add return type parameter to
15019 use in macro so that this macro does not truncate return value for
15021 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
15022 pass to INTERNAL_VSYSCALL_NCS.
15023 (INLINE_VSYSCALL): Add 'long int' as return type to
15024 INTERNAL_VSYSCALL_NCS macro invocation.
15025 (INTERNAL_VSYSCALL): Add 'long int' as return type to
15026 INTERNAL_VSYSCALL_NCS macro invocation.
15027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15029 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15032 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15033 Fix application of SIMD FP exception mask.
15035 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15036 mp_no from a power of two.
15037 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15038 __mpexp_twomm1. Use __pow_mp.
15040 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15043 2013-01-17 David S. Miller <davem@davemloft.net>
15045 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15047 2013-01-17 Joseph Myers <joseph@codesourcery.com>
15050 * include/complex.h: Condition contents on [!_COMPLEX_H].
15051 (__kernel_casinhf): New prototype.
15052 (__kernel_casinh): Likewise.
15053 (__kernel_casinhl): Likewise.
15054 * math/Makefile (libm_calls): Add k_casinh.
15055 * math/k_casinh.c: New file.
15056 * math/k_casinhf.c: Likewise.
15057 * math/k_casinhl.c: Likewise.
15058 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15059 finite nonzero arguments.
15060 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
15061 finite nonzero arguments.
15062 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
15063 finite nonzero arguments.
15064 * math/s_casinh.c: Do not include <float.h>.
15065 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
15066 * math/s_casinhf.c: Do not include <float.h>.
15067 (__casinhf): Move code for finite nonzero arguments to
15069 * math/s_casinhl.c: Do not include <float.h>.
15070 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15072 (__casinhl): Move code for finite nonzero arguments to
15074 * math/libm-test.inc (cacos_test): Add more tests.
15075 * sysdeps/i386/fpu/libm-test-ulps: Update.
15076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15078 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
15080 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
15081 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
15082 [!HAVE_MREMAP]: Remove [defined linux] case.
15083 * malloc/arena.c: Do not include <malloc-sysdep.h>.
15085 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15087 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
15089 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
15091 * elf/elf.h (R_386_SIZE32): New relocation.
15092 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
15094 (elf_machine_rela): Likewise.
15095 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15096 R_X86_64_SIZE64 and R_X86_64_SIZE32.
15098 2013-01-17 Joseph Myers <joseph@codesourcery.com>
15100 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
15101 (FP_FAST_FMA): Do not define.
15102 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
15103 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
15104 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
15105 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
15106 !_SOFT_FLOAT]: Likewise.
15107 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
15108 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
15110 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
15111 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
15112 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
15113 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
15114 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
15115 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
15118 2013-01-16 Andreas Schwab <schwab@suse.de>
15121 * include/stdlib.h (__mktemp): Add declaration.
15122 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
15123 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
15125 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15127 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
15129 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15130 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
15131 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
15133 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
15134 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
15136 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
15138 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
15139 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
15140 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
15142 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
15143 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
15145 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15147 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
15149 2013-01-15 David S. Miller <davem@davemloft.net>
15151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15152 trunc{,f} to libm-sysdep_routes.
15153 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
15156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
15157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
15159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
15161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
15162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
15163 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
15164 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
15165 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
15166 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
15167 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
15168 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
15170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15171 nearbyint{,f} to libm-sysdep_routes.
15172 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
15175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
15177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
15179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
15181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
15182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
15183 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
15185 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
15186 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
15188 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
15189 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
15190 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
15192 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15193 libc_feholdexcept and libc_fesetenv.
15195 2013-01-15 Mike Frysinger <vapier@gentoo.org>
15197 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
15199 2013-01-14 David S. Miller <davem@davemloft.net>
15201 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
15202 (SPARC_ASM_VIS2_IFUNC): Likewise.
15203 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
15204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
15205 use of 'siam' instruction.
15206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
15208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
15210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
15212 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15213 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15214 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15215 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
15218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
15220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
15222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
15224 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
15225 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
15226 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
15227 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
15228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
15230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15234 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15235 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15236 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15237 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
15239 routines to libm-sysdep_routines.
15240 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15243 fdim/fdimf to libm-sysdep_routines.
15244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
15246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
15247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
15249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
15250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
15251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
15252 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
15253 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
15254 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
15255 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
15257 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15259 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
15260 to optimize copies.
15262 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
15263 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15264 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15266 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
15267 local variable MPTWO.
15268 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
15271 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15273 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
15276 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15278 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
15280 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15282 * manual/pattern.texi (glob_t): Document gl_flags.
15283 (glob64_t): Likewise.
15285 2013-01-11 David S. Miller <davem@davemloft.net>
15287 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
15288 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
15289 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
15290 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
15291 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
15292 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
15293 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
15294 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
15295 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
15296 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
15297 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
15298 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
15299 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
15301 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15302 sparc V9 rather than using V8 code.
15303 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15304 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15306 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15308 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
15311 2013-01-11 Roland McGrath <roland@hack.frob.com>
15313 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
15314 not in the main loop.
15315 * configure: Regenerated.
15317 2013-01-11 Joseph Myers <joseph@codesourcery.com>
15319 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
15320 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
15322 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
15323 [!__GLIBC_HAVE_LONG_LONG] case.
15324 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
15325 condition to just #else.
15326 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
15327 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
15328 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
15329 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
15331 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
15332 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15333 #elif condition to just #else.
15334 * sysdeps/unix/sysv/linux/sys/sysmacros.h
15335 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
15336 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15337 #elif condition to just #else.
15339 2013-01-11 Steve Ellcey <sellcey@mips.com>
15341 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
15342 (EF_MIPS_ARCH_64): Fix value.
15343 (EF_MIPS_ARCH_32R2): New.
15344 (EF_MIPS_ARCH_64R2): New.
15346 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
15348 * Makeconfig (+link-pie-before-libc): New.
15349 (+link-pie-after-libc): Likewise.
15350 (+link-pie-tests): Likewise.
15351 (+link-pie): Rewritten.
15352 (link-before-libc): Remove $(config-LDFLAGS).
15353 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
15354 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
15355 (config-LDFLAGS): Renamed to ...
15356 (rtld-LDFLAGS): This.
15357 (rtld-tests-LDFLAGS): New macro.
15358 (link-libc-rpath-link): Likewise.
15359 (link-libc-tests-rpath-link): Likewise.
15360 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
15361 (link-libc): Prepand $(link-libc-rpath-link).
15362 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
15363 (test-program-prefix): New macro.
15364 (test-via-rtld-prefix): Likewise.
15365 (test-program-cmd): Likewise.
15366 (host-test-program-cmd): Likewise.
15367 * Makefile ($(common-objpfx)testrun.sh): Replace
15368 $(run-program-prefix) with $(test-program-prefix).
15369 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
15371 ($(common-objpfx)shlib.lds): Likewise.
15372 (build-module-helper): Likewise.
15373 ($(common-objpfx)format.lds): Likewise.
15374 * Rules (binaries-pie-tests): New.
15375 (binaries-pie-notests): Likewise.
15376 (binaries-pie): Rewritten.
15377 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
15378 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
15379 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
15380 (make-test-out): Replace $(host-built-program-cmd) with
15381 $(host-test-program-cmd).
15382 * config.make.in (build-hardcoded-path-in-tests): New variable.
15383 * configure.in (--enable-hardcoded-path-in-tests): New configure
15385 (hardcoded_path_in_tests): New AC_SUBST.
15386 * configure: Regenerated.
15387 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
15388 $(built-program-cmd) with $(test-program-cmd).
15389 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
15390 (test_program_cmd): This.
15391 * elf/Makefile ($(objpfx)order.out): Run test with
15392 $(test-program-prefix).
15393 ($(objpfx)order2.out): Likewise.
15394 ($(objpfx)tst-initorder.out): Likewise.
15395 ($(objpfx)tst-initorder2.out): Likewise.
15396 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
15397 $(test-program-cmd).
15398 ($(objpfx)tst-array1-static.out): Likewise.
15399 ($(objpfx)tst-array2.out): Likewise.
15400 ($(objpfx)tst-array3.out): Likewise.
15401 ($(objpfx)tst-array4.out): Likewise.
15402 ($(objpfx)tst-array5.out): Likewise.
15403 ($(objpfx)tst-array5-static.out): Likewise.
15404 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
15405 $(test-program-cmd).
15406 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
15407 $(run-program-prefix) with $(test-program-prefix).
15408 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
15409 (test_program_prefix): This.
15410 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
15411 $(run-program-prefix) with $(test-program-prefix).
15412 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
15413 (test_program_prefix): This.
15414 * iconvdata/tst-tables.sh: Likewise.
15415 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
15416 $(run-program-prefix) with $(test-program-prefix).
15417 ($(objpfx)tst-translit.out): Likewise.
15418 ($(objpfx)tst-gettext2.out): Likewise.
15419 ($(objpfx)tst-gettext4.out): Likewise.
15420 ($(objpfx)tst-gettext6.out): Likewise.
15421 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
15422 (test_program_prefix): This.
15423 * intl/tst-gettext2.sh: Likewise.
15424 * intl/tst-gettext4.sh Likewise.
15425 * intl/tst-gettext6.sh: Likewise.
15426 * intl/tst-translit.sh: Likewise.
15427 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
15428 with $(test-program-cmd).
15429 * libio/Makefile ($(objpfx)test-freopen.out): Replace
15430 $(run-program-prefix) with $(test-program-prefix).
15431 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
15432 (test_program_prefix): This.
15433 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
15434 $(run-program-prefix) with $(test-program-prefix).
15435 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
15436 (test_program_prefix): This.
15437 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
15438 * posix/Makefile ($(objpfx)globtest.out): Replace
15439 $(run-via-rtld-prefix) and $(test-wrapper) with
15440 $(test-program-prefix) and $(test-via-rtld-prefix).
15441 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
15442 $(test-program-prefix).
15443 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
15444 $(host-test-program-cmd).
15445 (tst-spawn-ARGS): Likewise.
15446 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
15447 $(test-program-prefix).
15448 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
15449 (test_via_rtld_prefix): This.
15450 (test_wrapper): Renamed to ...
15451 (test_program_prefix): This.
15452 (run_program_prefix): Replaced by test_program_prefix.
15453 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
15454 (test_program_prefix): This.
15455 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
15456 with $(host-test-program-cmd).
15457 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
15458 $(run-program-prefix) with $(test-program-prefix).
15459 ($(objpfx)tst-printf.out): Likewise.
15460 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
15461 $(test-program-cmd).
15462 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
15463 (test_program_prefix): This.
15464 * stdio-common/tst-unbputc.sh: Likewise.
15465 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
15466 $(run-program-prefix) with $(test-program-prefix).
15467 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
15468 (test_program_prefix): This.
15469 * string/Makefile ($(objpfx)tst-svc.out): Replace
15470 $(built-program-cmd) with $(test-program-cmd).
15472 2013-01-11 Andreas Jaeger <aj@suse.de>
15475 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
15476 value. Sync with Linux 3.7.
15478 2013-01-10 David S. Miller <davem@davemloft.net>
15480 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
15481 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15482 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15484 2013-01-10 Roland McGrath <roland@hack.frob.com>
15486 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
15488 * configure: Regenerated.
15490 2013-01-10 David S. Miller <davem@davemloft.net>
15492 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15493 sparc V9 rather than using V8 code.
15494 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15495 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15497 2013-01-10 Roland McGrath <roland@hack.frob.com>
15499 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
15500 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
15501 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
15502 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
15503 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
15504 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
15505 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
15506 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
15507 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
15508 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
15509 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
15510 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
15511 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
15512 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
15513 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
15514 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
15515 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
15516 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
15517 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
15518 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
15519 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
15520 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
15521 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
15522 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
15523 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
15524 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
15525 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
15527 2013-01-10 David S. Miller <davem@davemloft.net>
15529 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15531 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
15533 * posix/Makefile (tests-static): New variable.
15534 (tests): Add $(tests-static).
15535 (tst-exec-static-ARGS): New variable.
15536 (tst-spawn-static-ARGS): Likewise.
15537 * posix/tst-exec-static.c: New file.
15538 * posix/tst-spawn-static.c: Likewise.
15539 * posix/tst-exec.c: Support run directly.
15540 * posix/tst-spawn.c: Likewise.
15542 2013-01-10 Joseph Myers <joseph@codesourcery.com>
15544 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
15546 * math/bits/mathcalls.h (llrint): Likewise.
15547 (llround): Likewise.
15548 * stdlib/stdlib.h (struct drand48_data): Likewise.
15549 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
15550 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
15551 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
15553 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
15555 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
15556 (elf_greg_t): Likewise.
15557 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
15558 (__jmp_buf): Likewise.
15559 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
15561 (llrint): Likewise, for all definitions.
15562 (llrintl): Likewise.
15564 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
15565 Remove [__GNUC__] condition.
15566 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
15567 condition to just [__USE_ISOC99].
15568 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
15570 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
15573 * sysdeps/unix/sysv/linux/x86/bits/environments.h
15574 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
15576 (_POSIX_V6_ILP32_OFF32): Likewise.
15577 (_XBS5_ILP32_OFF32): Likewise.
15578 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
15579 (__ILP32_OFFBIG_LDFLAGS): Likewise.
15581 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15583 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
15585 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
15586 doubles __mpexp_twomm1. Adjust usage.
15587 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
15590 2013-01-10 Andreas Schwab <schwab@suse.de>
15593 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
15594 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
15596 2013-01-09 David S. Miller <davem@davemloft.net>
15599 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
15600 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
15601 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
15602 TCP_FASTOPEN): Define.
15603 (tcp_repair_opt): New structure.
15604 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
15606 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
15607 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
15608 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
15609 (tcp_cookie_transactions): New structure.
15611 2013-01-09 Anton Blanchard <anton@samba.org>
15613 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
15614 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
15615 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
15616 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15618 2013-01-09 Joseph Myers <joseph@codesourcery.com>
15620 * include/features.h (__USE_ANSI): Remove.
15622 2013-01-09 Roland McGrath <roland@hack.frob.com>
15624 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
15626 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
15628 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
15630 * sysdeps/s390/fpu/libm-test-ulps: Update.
15632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15634 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
15638 (denorm): Likewise.
15639 (__mp_dbl): Likewise.
15640 (__dbl_mp): Likewise.
15641 (add_magnitudes): Likewise.
15642 (sub_magnitudes): Likewise.
15648 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
15652 (denorm): Likewise.
15653 (__mp_dbl): Likewise.
15654 (__dbl_mp): Likewise.
15655 (add_magnitudes): Likewise.
15656 (sub_magnitudes): Likewise.
15662 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
15666 (denorm): Likewise.
15667 (__mp_dbl): Likewise.
15668 (__dbl_mp): Likewise.
15669 (add_magnitudes): Likewise.
15670 (sub_magnitudes): Likewise.
15677 2013-01-08 Joseph Myers <joseph@codesourcery.com>
15679 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
15680 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
15681 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
15682 2 && __USE_EXTERN_INLINES]: Likewise.
15684 2013-01-08 Andreas Jaeger <aj@suse.de>
15687 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
15689 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15690 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15692 2013-01-07 Anton Blanchard <anton@samba.org>
15694 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
15695 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15696 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
15697 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15698 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15699 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15700 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
15701 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15702 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15703 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15704 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15705 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15706 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15707 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15708 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15709 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15710 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15711 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15712 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15713 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15714 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15715 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
15716 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15717 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15718 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
15719 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15720 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15721 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15722 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
15723 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15724 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15725 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15726 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15727 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15728 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15729 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15730 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15731 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15732 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
15733 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15734 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
15735 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15736 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15738 2013-01-07 Joseph Myers <joseph@codesourcery.com>
15740 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15741 (__MALLOC_PMT): Likewise.
15742 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15743 [__GNUC__], only on [_LIBC].
15744 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15745 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15746 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15747 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15748 forward declaration.
15749 (realloc_hook_ini): Likewise.
15750 (memalign_hook_ini): Likewise.
15751 (__libc_memalign): Do not use __MALLOC_PMT in variable
15753 (__libc_valloc): Likewise.
15754 (__libc_pvalloc): Likewise.
15755 (__libc_calloc): Likewise.
15756 (__posix_memalign): Likewise.
15759 * math/s_casinh.c: Include <float.h>.
15760 (__casinh): Do not do computation with squaring and square root
15761 for large arguments.
15762 * math/s_casinhf.c: Include <float.h>.
15763 (__casinhf): Do not do computation with squaring and square root
15764 for large arguments.
15765 * math/s_casinhl.c: Include <float.h>.
15766 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15767 (__casinhl): Do not do computation with squaring and square root
15768 for large arguments.
15769 * math/libm-test.inc (casin_test): Add more tests.
15770 (casinh_test): Likewise.
15771 * sysdeps/i386/fpu/libm-test-ulps: Update.
15772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15774 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
15776 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15777 (__x86_64_raw_data_cache_size): Likewise.
15778 (__x86_64_data_cache_size_half): Likewise.
15779 (__x86_64_raw_data_cache_size_half): Likewise.
15780 (__x86_64_shared_cache_size): Likewise.
15781 (__x86_64_raw_shared_cache_size): Likewise.
15782 (__x86_64_shared_cache_size_half): Likewise.
15783 (__x86_64_raw_shared_cache_size_half): Likewise.
15784 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15786 (__x86_data_cache_size): This.
15787 (__x86_64_raw_data_cache_size): Renamed to ...
15788 (__x86_raw_data_cache_size): This.
15789 (__x86_64_data_cache_size_half): Renamed to ...
15790 (__x86_data_cache_size_half): This.
15791 (__x86_64_raw_data_cache_size_half): Renamed to ...
15792 (__x86_raw_data_cache_size_half): This.
15793 (__x86_64_shared_cache_size): Renamed to ...
15794 (__x86_shared_cache_size): This.
15795 (__x86_64_raw_shared_cache_size): Renamed to ...
15796 (__x86_raw_shared_cache_size): This.
15797 (__x86_64_shared_cache_size_half): Renamed to ...
15798 (__x86_shared_cache_size_half): This.
15799 (__x86_64_raw_shared_cache_size_half): Renamed to ...
15800 (__x86_raw_shared_cache_size_half): This.
15801 * sysdeps/x86_64/memcpy.S: Updated.
15802 * sysdeps/x86_64/memset.S: Likewise.
15803 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15804 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15805 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15807 2013-01-04 David S. Miller <davem@davemloft.net>
15809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15811 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
15813 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15814 1 to avoid redefinition warning.
15815 (__USE_GNU): Don't define.
15816 (init_signaling_nan): Protoize.
15818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15820 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15822 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15823 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15824 (__cpymn): Likewise.
15825 (norm): Remove commented code.
15826 (denorm): Likewise.
15827 (__mp_dbl): Likewise.
15829 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15830 (__cpymn): Likewise.
15831 (norm): Remove commented code.
15832 (denorm): Likewise.
15833 (__mp_dbl): Likewise.
15836 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15837 mp_no value for 1.0 and 2.0.
15838 (norm): Use RADIXI instead of radixi.d.
15839 (denorm): Likewise.
15840 (__mul): Use 0.0 instead of zero.d.
15841 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15842 mp_no value for 1.0 and 2.0.
15843 (norm): Use RADIXI instead of radixi.d.
15844 (denorm): Likewise.
15845 (__mul): Use 0.0 instead of zero.d.
15847 2013-01-04 Joseph Myers <joseph@codesourcery.com>
15850 * math/s_casinh.c (__casinh): Reduce finite argument to first
15851 quadrant then set signs of results at the end.
15852 * math/s_casinhf.c (__casinhf): Likewise.
15853 * math/s_casinhl.c (__casinhl): Likewise.
15854 * math/libm-test.inc (casin_test): Add more tests.
15855 (casinh_test): Likewise.
15856 * sysdeps/i386/fpu/libm-test-ulps: Update.
15857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15859 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15861 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15863 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15865 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15867 (denorm): Likewise.
15868 (__mp_dbl): Likewise.
15871 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15872 and adjust the header comment.
15874 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15875 variable name from declaration.
15877 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
15879 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15880 Initialize COMMON_CPUID_INDEX_7 element.
15881 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15882 (CPUID_RTM): Likewise.
15883 (HAS_RTM): Likewise.
15884 (COMMON_CPUID_INDEX_7): New enum.
15886 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
15889 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15890 size is zero, record memory as freed.
15892 2013-01-03 Andreas Jaeger <aj@suse.de>
15894 * po/ia.po: Add new Interlingua translation.
15896 2012-01-03 Allan McRae <allan@archlinux.org>
15898 * locale/programs/localedef.c: Fix description of '--posix' flag.
15900 2013-01-02 Joseph Myers <joseph@codesourcery.com>
15902 * NEWS: Update dates in second copyright notice.
15903 * README: Update copyright dates in example.
15904 * manual/libc.texinfo: Update copyright dates.
15905 * scripts/test-installation.pl: Update copyright date in --version
15908 * hurd/ctty-input.c: Fix copyright notice formatting.
15909 * hurd/ctty-output.c: Likewise.
15910 * hurd/dtable.c: Likewise.
15911 * hurd/hurd-raise.c: Likewise.
15912 * hurd/hurdprio.c: Likewise.
15913 * hurd/msgportdemux.c: Likewise.
15914 * misc/sys/file.h: Likewise.
15915 * misc/sys/ioctl.h: Likewise.
15916 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15917 * sysdeps/mach/hurd/chdir.c: Likewise.
15918 * sysdeps/mach/hurd/fchdir.c: Likewise.
15919 * sysdeps/mach/hurd/rename.c: Likewise.
15920 * sysdeps/mach/hurd/rmdir.c: Likewise.
15921 * sysdeps/mach/hurd/seekdir.c: Likewise.
15922 * sysdeps/mach/hurd/setsid.c: Likewise.
15923 * sysdeps/posix/wait3.c: Likewise.
15925 * All files with FSF copyright notices: Update copyright dates
15926 using scripts/update-copyrights.
15927 * intl/plural.c: Regenerated.
15928 * locale/programs/charmap-kw.h: Likewise.
15929 * locale/programs/locfile-kw.h: Likewise.
15931 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15933 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15936 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15937 calculation loop and add branch prediction.
15939 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15940 check access beyond bounds of m1np.
15942 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15944 (__inv): Remove local variable MPTWO to use the global
15946 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15947 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15949 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15950 MP3HALFS static const.
15952 2013-01-01 David S. Miller <davem@davemloft.net>
15954 * po/ca.po: Update from translation team.
15956 2013-01-01 Joseph Myers <joseph@codesourcery.com>
15958 * scripts/update-copyrights: New file.
15959 * Makeconfig: Reformat copyright notice.
15960 * ctype/ctype.h: Likewise.
15961 * debug/swprintf_chk.c: Likewise.
15962 * elf/dl-cache.c: Likewise.
15963 * elf/dl-debug.c: Likewise.
15964 * elf/dl-object.c: Likewise.
15965 * grp/initgroups.c: Likewise.
15966 * hurd/Makefile: Likewise.
15967 * hurd/hurd/signal.h: Likewise.
15968 * hurd/hurdfault.c: Likewise.
15969 * hurd/hurdioctl.c: Likewise.
15970 * hurd/hurdlookup.c: Likewise.
15971 * hurd/intr-msg.c: Likewise.
15972 * iconv/gconv_open.c: Likewise.
15973 * libio/swprintf.c: Likewise.
15974 * locale/lc-ctype.c: Likewise.
15975 * locale/nl_langinfo.c: Likewise.
15976 * mach/Machrules: Likewise.
15977 * mach/Makefile: Likewise.
15978 * malloc/obstack.h: Likewise.
15979 * manual/Makefile: Likewise.
15980 * manual/tsort.awk: Likewise.
15981 * misc/bits/stab.def: Likewise.
15982 * nis/nis_print_group_entry.c: Likewise.
15983 * nis/nis_table.c: Likewise.
15984 * nis/nss_compat/compat-pwd.c: Likewise.
15985 * nis/nss_compat/compat-spwd.c: Likewise.
15986 * po/Makefile: Likewise.
15987 * posix/fnmatch.c: Likewise.
15988 * posix/regex.h: Likewise.
15989 * resolv/Makefile: Likewise.
15990 * resolv/nss_dns/dns-network.c: Likewise.
15991 * resolv/res_hconf.c: Likewise.
15992 * scripts/gen-sorted.awk: Likewise.
15993 * soft-fp/soft-fp.h: Likewise.
15994 * stdio-common/printf.h: Likewise.
15995 * stdlib/monetary.h: Likewise.
15996 * stdlib/random.c: Likewise.
15997 * stdlib/random_r.c: Likewise.
15998 * sysdeps/generic/Makefile: Likewise.
15999 * sysdeps/gnu/Makefile: Likewise.
16000 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16001 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16002 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16003 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16004 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16005 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16006 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16007 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16008 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16009 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16010 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16011 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16012 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16013 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16014 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16015 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16016 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16017 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16018 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16019 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16020 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16021 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16022 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16023 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16024 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
16025 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16026 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16027 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
16028 * sysdeps/mach/hurd/errnos.awk: Likewise.
16029 * sysdeps/mach/hurd/fork.c: Likewise.
16030 * sysdeps/mach/hurd/getcwd.c: Likewise.
16031 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
16032 * sysdeps/mach/hurd/mmap.c: Likewise.
16033 * sysdeps/mach/hurd/utimes.c: Likewise.
16034 * sysdeps/mach/hurd/xmknod.c: Likewise.
16035 * sysdeps/posix/profil.c: Likewise.
16036 * sysdeps/posix/readdir_r.c: Likewise.
16037 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16038 * sysdeps/powerpc/bits/setjmp.h: Likewise.
16039 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16040 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16041 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16042 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16043 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16044 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16045 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16046 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16047 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16048 * sysdeps/pthread/lio_listio.c: Likewise.
16049 * sysdeps/sparc/dl-procinfo.h: Likewise.
16050 * sysdeps/unix/i386/sysdep.S: Likewise.
16051 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16052 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16053 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16054 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16056 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16057 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16058 * sysdeps/unix/sysv/linux/speed.c: Likewise.
16059 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16060 * sysdeps/wordsize-32/divdi3.c: Likewise.
16061 * time/sys/time.h: Likewise.
16062 * wcsmbs/Makefile: Likewise.
16064 2013-01-01 David S. Miller <davem@davemloft.net>
16066 * po/fr.po: Update from translation team.
16068 * catgets/gencat.c: Update copyright year.
16069 * csu/version.c: Likewise.
16070 * debug/catchsegv.sh: Likewise.
16071 * debug/pcprofiledump.c: Likewise.
16072 * debug/xtrace.sh: Likewise.
16073 * elf/ldconfig.c: Likewise.
16074 * elf/ldd.bash.in: Likewise.
16075 * elf/pldd.c: Likewise.
16076 * elf/sotruss.ksh: Likewise.
16077 * elf/sprof.c: Likewise.
16078 * iconv/iconv_prog.c: Likewise.
16079 * iconv/iconvconfig.c: Likewise.
16080 * locale/programs/locale.c: Likewise.
16081 * locale/programs/localedef.c: Likewise.
16082 * login/programs/pt_chown.c: Likewise.
16083 * malloc/memusage.sh: Likewise.
16084 * malloc/memusagestat.c: Likewise.
16085 * malloc/mtrace.pl: Likewise.
16086 * nscd/nscd.c: Likewise.
16087 * nss/getent.c: Likewise.
16088 * nss/makedb.c: Likewise.
16089 * posix/getconf.c: Likewise.
16091 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16093 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
16096 2012-12-30 Mike Frysinger <vapier@gentoo.org>
16098 * math/bits/mathcalls.h (modf): Use __nonnull.
16100 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16102 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
16103 (split): Use macro CN instead of the bare value.
16104 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
16106 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
16107 instead of the bare value.
16108 (power1): Likewise.
16110 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16112 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
16114 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16116 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
16118 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16119 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16120 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
16121 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16123 2012-12-28 Andreas Jaeger <aj@suse.de>
16125 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
16126 values are from Linux 3.7.
16128 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
16129 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
16131 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16133 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
16136 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
16138 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
16139 variables with preprocessor constants.
16140 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16141 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16142 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16144 2012-12-27 Bruno Haible <bruno@clisp.org>
16147 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
16150 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16152 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
16153 and use variable directly.
16154 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
16156 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16158 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
16159 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16161 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16162 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16163 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
16164 include directive. Remove local variable MPONE.
16165 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
16166 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
16167 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16169 2012-12-25 David S. Miller <davem@davemloft.net>
16171 * version.h (RELEASE): Set to "development".
16172 (VERSION): Set to "2.17.90".
16173 * NEWS: Add 2.18 section.
16175 2012-12-21 David S. Miller <davem@davemloft.net>
16177 * po/hr.po: Update from translation team.
16179 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16181 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
16183 2012-12-19 Steve Ellcey <sellcey@mips.com>
16185 * NEWS: Mention new memcpy for MIPS.
16187 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16189 * manual/contrib.texi (Contributors): Spelling correction.
16191 2012-12-15 David S. Miller <davem@davemloft.net>
16193 * po/ru.po: Update from translation team.
16195 2012-12-13 David S. Miller <davem@davemloft.net>
16197 * NEWS: Mention IFUNC testsuite enhancements.
16199 * po/pl.po: Update from translation team.
16200 * po/bg.po: Likewise.
16202 * manual/contrib.texi (Contributors): Update entries for Hongjiu
16203 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
16205 2012-12-11 David S. Miller <davem@davemloft.net>
16207 * po/sv.po: Update from translation team.
16209 * po/vi.po: Update from translation team.
16211 * po/cs.po: Update from translation team.
16213 * po/de.po: Update from translation team.
16214 * po/eo.po: Likewise.
16215 * po/nl.po: Likewise.
16217 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16220 * manual/argp.texi (Argp Helper Functions): Move node to follow
16221 Argp Parsing State.
16224 * manual/conf.texi (Limits on File System Capacity): Mention if
16225 terminating null is included in the max size.
16227 2012-12-10 Andreas Jaeger <aj@suse.de>
16229 * po/cs.po: Update from translation team.
16231 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16233 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
16234 void pointer and cast to uintptr_t.
16235 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
16237 * sysdeps/s390/s390-64/memcpy.S: Likewise.
16238 * sysdeps/s390/s390-64/memset.S: Likewise.
16240 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
16243 * menual/message.texi (Message Translation): Fix typos.
16244 (Helper programs for gettext): Likewise.
16246 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
16249 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
16252 2012-12-07 David S. Miller <davem@davemloft.net>
16254 * po/libc.pot: Update.
16256 2012-12-07 Richard Henderson <rth@redhat.com>
16259 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
16260 normal/normal case to before the switch.
16261 (_FP_DIV): Likewise.
16263 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
16264 Mike Frysinger <vapier@gentoo.org>
16266 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
16267 check for __NR_fadvise64_64.
16269 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
16271 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
16272 0, not just to plain "0" as a statement.
16273 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
16276 2012-12-06 Joseph Myers <joseph@codesourcery.com>
16278 * NEWS: Use sourceware.org in Bugzilla URL.
16280 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16283 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16285 * stdio-common/tst-put-error.c (do_test): Add newline to the
16286 padded test to ensure flush.
16288 2012-12-05 Jeff Law <law@redhat.com>
16290 * sunrpc/etc.rpc (fedfs_admin): Add entry.
16292 2012-12-05 Joseph Myers <joseph@codesourcery.com>
16294 * README: Don't refer to ports add-on as distributed separately.
16295 Mention AArch64 in list of systems supported in the ports add-on.
16297 * LICENSES: Add more non-FSF copyright and license notices.
16299 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
16302 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
16304 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
16305 10000 as width of padded output.
16307 2012-12-04 Joseph Myers <joseph@codesourcery.com>
16309 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
16311 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
16312 variable LX with __attribute__ ((unused)).
16313 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16315 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16316 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16317 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
16318 with __attribute__ ((unused)).
16320 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
16322 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
16324 2012-12-04 Joseph Myers <joseph@codesourcery.com>
16326 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
16327 (CFLAGS-nldbl-acos.c): New variable.
16328 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
16329 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
16330 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
16331 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
16332 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
16333 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
16334 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
16335 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
16336 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
16337 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
16338 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
16339 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
16340 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
16341 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
16342 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
16343 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
16344 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
16345 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
16346 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
16347 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
16348 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
16349 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
16350 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
16351 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
16352 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
16353 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
16354 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
16355 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
16356 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
16357 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
16358 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
16359 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
16360 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
16361 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
16362 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
16363 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
16364 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
16365 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
16366 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
16367 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
16368 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
16369 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
16370 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
16371 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
16372 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
16373 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
16374 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
16375 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
16376 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
16377 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
16378 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
16379 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
16380 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
16381 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
16382 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
16383 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
16384 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
16385 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
16386 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
16387 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
16388 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
16389 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
16390 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
16391 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
16392 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
16393 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
16394 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
16395 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
16396 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
16397 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
16398 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
16399 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
16400 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
16401 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
16402 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
16403 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
16404 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
16405 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
16406 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
16407 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
16408 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
16409 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
16410 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
16411 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
16412 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
16413 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
16414 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
16415 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
16416 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
16417 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
16418 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
16419 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
16420 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
16421 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
16422 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
16423 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
16424 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
16426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16427 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16430 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
16431 whole low double instead of just low 47 bits when splitting values
16434 2012-12-03 Allan McRae <allan@archlinux.org>
16436 * manual/stdio.texi (Predefined Printf Handlers): Remove
16437 @hsep and @vsep usage.
16439 2012-12-03 Mike Frysinger <vapier@gentoo.org>
16441 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
16442 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
16444 2012-12-03 Jeff Law <law@redhat.com>
16446 * time/sys/time.h (settimeofday): Do not mark TV argument
16449 2012-12-01 Mike Frysinger <vapier@gentoo.org>
16451 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
16452 when currently writing and seek to current position when not.
16453 * libio/Makefile (tests): Remove bug-fclose1.
16454 * libio/bug-fclose1.c: Delete.
16456 2012-12-01 Joseph Myers <joseph@codesourcery.com>
16458 * manual/arith.texi (feenableexcept): Fix typo.
16459 (fedisableexcept): Likewise.
16461 2012-11-30 Roland McGrath <roland@hack.frob.com>
16463 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
16464 second, differently-typed declaration, rather than a cast.
16466 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16468 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
16469 * include/rpc/svc.h: ... here.
16471 2012-11-30 Aurelien Jarno <aurel32@debian.org>
16474 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
16475 depending n and resplen2 to catch cases where answer
16478 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
16480 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
16481 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
16483 2012-11-29 Mike Frysinger <vapier@gentoo.org>
16485 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
16487 2012-11-29 Roland McGrath <roland@hack.frob.com>
16489 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
16491 2012-11-28 Jeff Law <law@redhat.com>
16494 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
16495 dataset_temporary. Track alloca usage into alloca_used.
16496 If dataset is large allocate and release it via malloc/free.
16498 2012-06-04 Florian Weimer <fweimer@redhat.com>
16501 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
16503 2012-11-28 David S. Miller <davem@davemloft.net>
16505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16507 2012-11-28 Joseph Myers <joseph@codesourcery.com>
16510 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
16511 of pi/2 rounded to nearest to 64 bits.
16512 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
16513 nearest to 64 bits.
16514 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
16517 2012-11-28 Jeff Law <law@redhat.com>
16518 Martin Osvald <mosvald@redhat.com>
16521 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
16522 * sunrpc/svc.c: Include time.h.
16523 (__svc_accept_failed): New function.
16524 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
16525 any reason other than EINTR, call __svc_accept_failed.
16526 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
16527 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
16529 2012-11-28 Andreas Schwab <schwab@suse.de>
16531 * scripts/abilist.awk: Also handle indirect functions in .opd
16534 2012-11-28 Joseph Myers <joseph@codesourcery.com>
16537 * sysdeps/x86/fpu/powl_helper.c: New file.
16538 * sysdeps/x86/fpu/Makefile: Likewise.
16539 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
16541 (__ieee754_powl): Use __powl_helper for finite arguments except
16542 integer exponents below 8.
16543 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
16545 (__ieee754_powl): Use __powl_helper for finite arguments except
16546 integer exponents below 8.
16547 * math/libm-test.inc (pow_test): Add more tests and enable some
16548 previously disabled tests.
16549 * sysdeps/i386/fpu/libm-test-ulps: Update.
16550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16552 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16553 Carlos O'Donell <carlos_odonell@mentor.com>
16555 * nss/makedb.c (is_prime): Assert that input is odd and greater
16556 than 4. Note that fact in a comment too.
16557 (next_prime): Add 4 to input.
16559 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16562 * libio/Makefile (tests): Add test case tst-fwrite-error.
16563 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
16564 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16565 * libio/tst-fwrite-error.c: New test case.
16567 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
16569 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
16570 before casting to void *.
16571 * include/libc-internal.h (__pointer_type): New macro.
16572 (__integer_if_pointer_type_sub): Likewise.
16573 (__integer_if_pointer_type): Likewise.
16574 (cast_to_integer): Likewise.
16575 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
16576 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
16577 before casting to atomic64_t.
16578 (atomic_exchange_acq): Likewise.
16579 (__arch_exchange_and_add_body): Likewise.
16580 (__arch_add_body): Likewise.
16581 (atomic_add_negative): Likewise.
16582 (atomic_add_zero): Likewise.
16584 2012-11-26 Joseph Myers <joseph@codesourcery.com>
16586 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
16587 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
16588 (add_fdes): Likewise.
16589 (linear_search_fdes): Likewise.
16590 (binary_search_unencoded_fdes): Likewise.
16592 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
16594 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
16596 2012-11-24 Adam Conrad <adconrad@0c3.net>
16598 * configure.in: Autodetect C++ header directories.
16599 * configure: Regenerated.
16601 2012-11-23 Mike Frysinger <vapier@gentoo.org>
16603 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
16605 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
16607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16609 2012-11-22 Joseph Myers <joseph@codesourcery.com>
16611 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
16612 LDBL_MANT_DIG == 106]: Disable some tests.
16613 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16615 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16619 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
16620 input for small inputs. Return +/- pi/2 for large inputs.
16621 * math/libm-test.inc (atan_test): Add more tests.
16623 * sysdeps/generic/unwind-dw2-fde-glibc.c
16624 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
16625 __attribute__ ((unused)).
16628 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
16629 x * y if x and y are nonzero and z is zero.
16632 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
16633 nonzero exponents with absolute value below 0x1p-117 to +/-
16637 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
16638 up arguments below 2**-450, not just those below 2**-500.
16639 * math/libm-test.inc (hypot_test): Add another test.
16642 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
16643 Return a+b for ratio over 2**120, not 2**60.
16644 * math/libm-test.inc (hypot_test): Add another test.
16646 * math/libm-test.inc (clog_test): Use
16647 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
16648 (clog10_test): Likewise.
16651 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
16653 2012-11-22 Andreas Schwab <schwab@suse.de>
16655 * sysdeps/i386/fpu/libm-test-ulps: Update.
16657 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
16659 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
16660 printf output with newline.
16662 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
16665 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
16666 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
16667 -z nodlopen, -z initfirst and -z execstack support.
16668 * configure: Regenerated.
16670 * elf/elf.h (DF_1_NODIRECT): New macro.
16671 (DF_1_IGNMULDEF): Likewise.
16672 (DF_1_NOKSYMS): Likewise.
16673 (DF_1_NOHDR): Likewise.
16674 (DF_1_EDITED): Likewise.
16675 (DF_1_NORELOC): Likewise.
16676 (DF_1_SYMINTPOSE): Likewise.
16677 (DF_1_GLOBAUDIT): Likewise.
16678 (DF_1_SINGLETON): Likewise.
16679 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
16680 DT_1_SUPPORTED_MASK bits.
16681 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
16683 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
16685 * sysdeps/unix/make-syscalls.sh: Document prefixes.
16687 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
16689 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
16692 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
16693 (sendmmsg): Move declarations...
16694 * socket/sys/socket.h: ... here.
16695 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
16696 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
16698 * socket/recvmmsg.c: ... this new file.
16699 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
16700 (sendmmsg): Rename to __sendmmsg, create weak alias and make
16701 definition of __sendmmsg hidden.
16702 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16703 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
16704 Move ENOSYS stub into and include it from...
16705 * socket/sendmmsg.c: ... this new file.
16706 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
16707 (sysdep_routines): Move recvmmsg and sendmmsg...
16708 * socket/Makefile (routines): ... here.
16709 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
16710 (GLIBC_PRIVATE): Add __sendmmsg.
16711 * include/sys/socket.h (__sendmmsg): Add declarations.
16712 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
16715 2012-11-20 Joseph Myers <joseph@codesourcery.com>
16717 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
16718 variable I1 with __attribute__ ((unused)).
16719 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16721 2012-11-19 Joseph Myers <joseph@codesourcery.com>
16723 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
16724 DUMMY variables with __attribute__ ((unused)).
16726 * bits/byteswap.h: Include <bits/types.h>.
16727 (__bswap_64): Use __uint64_t instead of unsigned long long int.
16729 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16731 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
16732 string_t. Do not manually set errno.
16733 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
16734 length with __strnlen. Make sure to both set errno and return it on
16737 2012-11-19 David S. Miller <davem@davemloft.net>
16739 With help from Joseph Myers.
16740 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16741 very large arguments properly.
16742 * math/libm-test.inc (atan_test): New tests.
16743 (atan2_test): New tests.
16744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16745 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16747 2012-11-19 Joseph Myers <joseph@codesourcery.com>
16750 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16753 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16754 [POSIX] (EADDRNOTAVAIL): Likewise.
16755 [POSIX] (EAFNOSUPPORT): Likewise.
16756 [POSIX] (EALREADY): Likewise.
16757 [POSIX] (ECONNABORTED): Likewise.
16758 [POSIX] (ECONNREFUSED): Likewise.
16759 [POSIX] (ECONNRESET): Likewise.
16760 [POSIX] (EDESTADDRREQ): Likewise.
16761 [POSIX] (EDQUOT): Likewise.
16762 [POSIX] (EHOSTUNREACH): Likewise.
16763 [POSIX] (EIDRM): Likewise.
16764 [POSIX] (EISCONN): Likewise.
16765 [POSIX] (ELOOP): Likewise.
16766 [POSIX] (EMULTIHOP): Likewise.
16767 [POSIX] (ENETDOWN): Likewise.
16768 [POSIX] (ENETUNREACH): Likewise.
16769 [POSIX] (ENOBUFS): Likewise.
16770 [POSIX] (ENODATA): Likewise.
16771 [POSIX] (ENOLINK): Likewise.
16772 [POSIX] (ENOMSG): Likewise.
16773 [POSIX] (ENOPROTOOPT): Likewise.
16774 [POSIX] (ENOSR): Likewise.
16775 [POSIX] (ENOSTR): Likewise.
16776 [POSIX] (ENOTCONN): Likewise.
16777 [POSIX] (ENOTSOCK): Likewise.
16778 [POSIX] (EOPNOTSUPP): Likewise.
16779 [POSIX] (EOVERFLOW): Likewise.
16780 [POSIX] (EPROTO): Likewise.
16781 [POSIX] (EPROTONOSUPPORT): Likewise.
16782 [POSIX] (EPROTOTYPE): Likewise.
16783 [POSIX] (ESTALE): Likewise.
16784 [POSIX] (ETIME): Likewise.
16785 [POSIX] (ETXTBSY): Likewise.
16786 [POSIX] (EWOULDBLOCK): Likewise.
16787 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16788 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16789 [POSIX] (SEEK_CUR): Likewise.
16790 [POSIX] (SEEK_END): Likewise.
16791 [POSIX || UNIX98] (mode_t): Do not require.
16792 [POSIX] (off_t): Likewise.
16793 [POSIX] (pid_t): Likewise.
16794 [POSIX] (sys/stat.h): Do not allow header.
16795 [POSIX] (unistd.h): Likewise.
16796 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16797 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16798 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16799 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16801 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16802 sigevent): Specify elements.
16803 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16805 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16806 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16808 * conform/data/cpio.h-data [POSIX]: Disable whole file.
16809 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16810 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16811 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16812 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16813 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16814 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16815 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16816 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16817 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16818 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16819 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16820 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16821 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16823 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16825 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16827 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16829 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16830 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16831 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16832 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16833 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16834 Specify lower bound on value.
16835 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16836 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16837 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16838 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16839 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16840 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16841 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16842 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16844 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16846 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16847 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16848 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16849 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16850 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16851 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16852 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16853 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16854 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16855 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16856 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16857 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16858 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16859 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16860 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16861 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16863 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16865 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16866 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16867 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16868 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16869 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16870 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16872 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16873 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16874 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16875 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16876 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
16877 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16878 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16880 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16881 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16882 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16883 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16884 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16885 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16886 specify as optional.
16887 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16888 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16889 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16890 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16891 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16892 [XPG3] (NL_LANGMAX): Likewise.
16893 [POSIX || XPG3] (NL_MSGMAX): Likewise.
16894 [POSIX || XPG3] (NL_NMAX): Likewise.
16895 [POSIX || XPG3] (NL_SETMAX): Likewise.
16896 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16897 [XPG3] (NZERO): Likewise.
16898 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16899 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16900 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16901 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16902 (REG_ERANGE): Expect.
16903 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16905 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16906 Use (void) in prototype.
16907 [POSIX] (*_t): Allow.
16908 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16909 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16910 (WRDE_BADVAL): Expect.
16912 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16914 [XPG3 || XPG4] (O_RSYNC): Likewise.
16915 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16917 [XPG3 || XPG4] (pthread_sigmask): Likewise.
16918 [XPG3 || XPG4] (sigqueue): Likewise.
16919 [XPG3 || XPG4] (sigtimedwait): Likewise.
16920 [XPG3 || XPG4] (sigwaitinfo): Likewise.
16921 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16922 [XPG3 || XPG4] (vsnprintf): Likewise.
16923 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16925 [XPG3 || XPG4] (blksize_t): Likewise.
16926 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16928 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16929 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16930 [XPG3 || XPG4] (struct itimerspec): Likewise.
16931 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16932 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16933 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16934 [XPG3 || XPG4] (clockid_t): Likewise.
16935 [XPG3 || XPG4] (timer_t): Likewise.
16936 [XPG3 || XPG4] (clock_getres): Likewise.
16937 [XPG3 || XPG4] (clock_gettime): Likewise.
16938 [XPG3 || XPG4] (clock_settime): Likewise.
16939 [XPG3 || XPG4] (nanosleep): Likewise.
16940 [XPG3 || XPG4] (timer_create): Likewise.
16941 [XPG3 || XPG4] (timer_delete): Likewise.
16942 [XPG3 || XPG4] (timer_gettime): Likewise.
16943 [XPG3 || XPG4] (timer_getoverrun): Likewise.
16944 [XPG3 || XPG4] (timer_settime): Likewise.
16945 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16946 [XPG3 || XPG4] (getlogin_r): Likewise.
16947 [XPG3 || XPG4] (pread): Likewise.
16948 [XPG3 || XPG4] (pthread_atfork): Likewise.
16949 [XPG3 || XPG4] (pwrite): Likewise.
16952 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16955 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16957 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16958 finalizing MALLSTREAM.
16960 * sysdeps/mach/hurd/syncfs.c: New file.
16962 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16965 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16966 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16967 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16968 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16969 (_nss_dns_gethostbyname4_r): Likewise.
16970 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16971 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16973 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
16976 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16978 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
16980 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16981 * elf/cache.c (print_entry): Print ",AArch64" for
16984 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16985 * elf/cache.c (print_entry): Print ",hard-float" for
16988 2012-11-18 David S. Miller <davem@davemloft.net>
16990 With help from Joseph Myers.
16991 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16993 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16995 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16996 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16998 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16999 * math/libm-test.inc (y0_test): New tests.
17000 (y1_test): New tests.
17001 * sysdeps/i386/fpu/libm-test-ulps: Update.
17002 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17005 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
17007 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
17009 * configure: Regenerated.
17011 2012-11-17 David S. Miller <davem@davemloft.net>
17014 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
17015 nonzero exponents with absolute value below 0x1p-128 to +/-
17018 2012-11-17 Joseph Myers <joseph@codesourcery.com>
17020 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17022 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17024 * posix/getconf-speclist.c: New file.
17025 * posix/posix-envs.def: Likewise.
17026 * posix/confstr.c (START_ENV_GROUP): New macro.
17027 (END_ENV_GROUP): Likewise.
17028 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17029 (KNOWN_PRESENT_ENV_STRING): Likewise.
17030 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17031 (UNKNOWN_ENVIRONMENT): Likewise.
17032 (confstr): Include posix-envs.def instead of handling
17033 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17034 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17035 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17036 (END_ENV_GROUP): Likewise.
17037 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17038 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17039 (UNKNOWN_ENVIRONMENT): Likewise.
17040 (__sysconf): Include posix-envs.def instead of handling associated
17041 cases directly here.
17042 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17043 preprocessing getconf-speclist.c rather than running getconf or
17044 generating empty file.
17046 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
17048 * scripts/check-local-headers.sh: Ignore 'mach' headers.
17050 2012-11-16 Andrej Lajovic <natrij@gmail.com>
17053 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17055 2012-11-16 David S. Miller <davem@davemloft.net>
17057 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17058 smaller than LDBL_EPSILON/2.0L, just return xm1.
17060 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
17062 * elf/tst-array1.c (init): Set constructor priority to 1000.
17063 (fini): Set destructor priority to 1000.
17064 * elf/tst-array2dep.c: Likewise.
17066 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17069 * libio/fileops.c (_IO_new_file_write): Correctly return error.
17070 (_IO_new_file_xsputn): Also return EOF if none of the input
17071 data was written when overflow failed.
17072 * libio/iopadn.c (_IO_padn): Likewise.
17073 * libio/iowpadn.c (_IO_wpadn): Likewise.
17074 * stdio-common/tst-put-error.c: Add copyright notice.
17075 (do_test): Add case for printing padded string.
17076 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
17077 _IO_padn returned error.
17078 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
17079 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
17082 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17084 * libio/libioP.h: Add comment note that the references to C++
17085 bits are now obsolete.
17087 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17089 * math/libm-test.inc (check_complex): Use asprintf.
17091 2012-11-14 Joseph Myers <joseph@codesourcery.com>
17093 * debug/pcprofiledump.c (print_version): Update copyright year.
17094 * malloc/memusagestat.c (print_version): Likewise.
17096 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
17099 * elf/Makefile (tests): Add tst-audit8.
17100 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
17101 ($(objpfx)tst-audit8.out): New target.
17102 (tst-audit8-ENV): New variable.
17103 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
17104 audit if l_reloc_result is NULL.
17105 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
17106 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
17107 * elf/tst-audit8.c: New file.
17109 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17111 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
17112 * misc/Makefile (CFLAGS-select.c): Define.
17113 * posix/Makefile (CFLAGS-pause.c): Define.
17115 2012-11-13 David S. Miller <davem@davemloft.net>
17117 * crypt/Makefile: Move test targets after toplevel Rules
17118 inclusion. Grab any necessary sysdep routines when linking.
17119 * crypt/md5.c (md5_process_block): Remove define, we will always
17120 name it __md5_process_block.
17121 (md5_finish_ctx): Update md5_process_block call.
17122 (md5_stream): Likewise.
17123 (md5_process_bytes): Likewise.
17124 (md5_process_block): Rename to __md5_process_block and move to ...
17125 * crypt/md5-block.c: ... here.
17126 * crypt/sha256.c (sha256_process_block): Move to ...
17127 * crypt/sha256-block.c: ... here.
17128 * crypt/sha512.c (sha512_process_block): Move to ...
17129 * crypt/sha512-block.c: ... here.
17130 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
17132 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
17133 * sysdeps/sparc/sparc64/multiarch/Makefile
17134 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
17136 (localedef-aux): Add md5 crypto assembler when in locale subdir.
17137 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
17139 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
17140 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
17141 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
17142 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
17143 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
17144 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
17145 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
17146 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
17147 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
17149 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
17150 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
17152 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
17154 2012-11-13 Joseph Myers <joseph@codesourcery.com>
17156 * timezone/tzselect.ksh: Update from tzcode git revision
17157 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
17158 * timezone/zdump.c: Likewise.
17159 * timezone/zic.c: Likewise.
17160 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
17161 in TZVERSION setting, not $(PKGVERSION).
17162 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
17163 REPORT_BUGS_TO settings.
17166 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
17169 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17171 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
17172 detection to immediately after _FP_ROUND().
17173 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
17176 2012-11-11 David S. Miller <davem@davemloft.net>
17178 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
17180 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
17181 __close rather than their public counterparts.
17183 2012-11-10 Joseph Myers <joseph@codesourcery.com>
17185 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
17187 [UNIX98] (sem_timedwait): Do not expect.
17188 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
17189 [XPG4 || UNIX98] (sockatmark): Do not expect.
17190 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
17191 (clock_getcpuclockid): Do not expect.
17192 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
17193 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
17195 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
17196 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
17197 [UNIX98] (vwscanf): Likewise.
17198 [UNIX98] (vswscanf): Likewise.
17200 2012-11-09 Joseph Myers <joseph@codesourcery.com>
17202 * timezone/version.h: Remove file.
17203 * timezone/README: Do not refer to version.h.
17204 * timezone/Makefile ($(objpfx)zic.o): New dependency on
17205 $(objpfx)version.h.
17206 ($(objpfx)zdump.o): Likewise.
17207 ($(objpfx)version.h): New target.
17209 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
17211 * timezone/README: Don't mention modification to tzselect.ksh.
17212 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
17213 work on unmodified tzselect.ksh. Substitute version numbers in
17216 * Makefile (format-me): Remove.
17217 (INSTALL): Adjust indentation. Use commands directly instead of
17218 using $(format-me).
17220 * aclocal.m4 (ACX_PKGVERSION): New macro.
17221 (ACX_BUGURL): Likewise.
17222 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
17223 (PKGVERSION): New AC_DEFINE_UNQUOTED.
17224 (REPORT_BUGS_TO): Likewise.
17225 * configure: Regenerated.
17226 * config.h.in (PKGVERSION): New macro.
17227 (REPORT_BUGS_TO): Likewise.
17228 * config.make.in (PKGVERSION): New variable.
17229 (PKGVERSION_TEXI): Likewise.
17230 (REPORT_BUGS_TO): Likewise.
17231 (REPORT_BUGS_TEXI): Likewise.
17232 * Makefile (format-me): Use -I$(common-objpfx)manual.
17233 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
17234 ($(common-objpfx)manual/%): New target.
17235 (manual/%): Remove target.
17236 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
17237 (print_version): Use PKGVERSION.
17238 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
17239 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
17240 and REPORT_BUGS_TO.
17241 ($(objpfx)xtrace): Likewise.
17242 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
17243 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
17244 (print_version): Use PKGVERSION.
17245 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
17246 (do_version): Use PKGVERSION.
17247 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
17249 (common-ldd-rewrite): Likewise.
17250 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
17251 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
17252 (print_version): Use PKGVERSION.
17253 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
17254 * elf/pldd.c (argp_program_bug_address): Remove variable.
17255 (more_help): New function.
17256 (argp): Use more_help.
17257 (print_version): Use PKGVERSION.
17258 * elf/sln.c (main): Use PKGVERSION.
17259 (usage): Use REPORT_BUGS_TO.
17260 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
17261 (top level): Use PKGVERSION.
17262 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
17263 (print_version): Use PKGVERSION.
17264 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
17265 (print_version): Use PKGVERSION.
17266 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
17267 (print_version): Use PKGVERSION.
17268 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
17269 (print_version): Use PKGVERSION.
17270 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
17271 (print_version): Use PKGVERSION.
17272 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
17273 (print_version): Use PKGVERSION.
17274 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
17276 ($(objpfx)memusage): Likewise.
17277 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
17278 (do_version): Use PKGVERSION.
17279 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
17280 (print_version): Use PKGVERSION.
17281 * malloc/mtrace.pl ($PACKAGE): Remove variable.
17282 ($PKGVERSION): New variable.
17283 ($REPORT_BUGS_TO): Likewise.
17284 (usage): Use $REPORT_BUGS_TO.
17285 (top level): Use $PKGVERSION.
17286 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
17287 ($(objpfx)pkgvers.texi): New rule.
17288 ($(objpfx)stamp-pkgvers): Likewise.
17289 * manual/install.texi: Include pkgvers.texi.
17290 (--with-pkgversion): Document new configure option.
17291 (--with-bugurl): Likewise.
17292 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
17293 than necessarily for this particular distribution. Use
17294 REPORT_BUGS_TO for where to report bugs.
17295 * INSTALL: Regenerated.
17296 * manual/libc.texinfo: Include pkgvers.texi.
17297 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
17298 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
17299 (print_version): Use PKGVERSION.
17300 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
17301 (print_version): Use PKGVERSION.
17302 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
17303 (print_version): Use PKGVERSION.
17304 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
17305 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
17307 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
17308 (print_version): Use PKGVERSION.
17309 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
17310 (print_version): Use PKGVERSION.
17311 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
17314 * timezone/checktab.awk: Update from tzcode 2012i.
17315 * timezone/ialloc.c: Likewise.
17316 * timezone/private.h: Likewise.
17317 * timezone/scheck.c: Likewise.
17318 * timezone/tzfile.h: Likewise.
17319 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
17320 (TZVERSION): Hardcode tzcode version number.
17321 * timezone/zdump.c: Update from tzcode 2012i.
17322 * timezone/zic.c: Likewise.
17323 * timezone/version.h: New file.
17324 * timezone/README: Describe version.h. Update upstream location.
17327 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
17328 (mktemp): Enable declaration.
17329 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
17330 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
17331 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
17332 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
17334 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
17336 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
17338 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
17340 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
17342 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
17346 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
17347 offset in buffer as u_int32_t not u_long. Consistently use memcpy
17348 for copies of such integer values.
17349 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17350 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17352 2012-11-09 Andreas Jaeger <aj@suse.de>
17354 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
17355 definitions and declarations that are provided by
17356 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17358 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17360 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
17361 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
17362 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
17365 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17367 * elf/elf.h: Update comment before AArch64 relocations.
17369 2012-11-07 David S. Miller <davem@davemloft.net>
17371 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
17372 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17373 (__start_context): Declare.
17374 (__makecontext_ret): Delete.
17375 (__makecontext): Hook up __start_context instead of
17377 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
17378 (sysdep_routines): Add __start_context when in stdlib.
17380 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17382 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
17383 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
17384 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
17386 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
17387 (READELF): New variable. Use it instead of hardcoded "readelf".
17389 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
17391 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
17392 * sysdeps/x86/Makefile: Here.
17393 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
17394 * sysdeps/x86/tst-xmmymm.sh: This.
17396 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17398 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
17400 [UNIX98] (pthread_barrier_t): Do not expect.
17401 [UNIX98] (pthread_barrierattr_t): Likewise.
17402 [UNIX98] (pthread_spinlock_t): Likewise.
17403 [UNIX98] (pthread_barrier_destroy): Likewise.
17404 [UNIX98] (pthread_barrier_init): Likewise.
17405 [UNIX98] (pthread_barrier_wait): Likewise.
17406 [UNIX98] (pthread_barrierattr_destroy): Likewise.
17407 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
17408 [UNIX98] (pthread_barrierattr_init): Likewise.
17409 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
17410 [UNIX98] (pthread_getcpuclockid): Likewise.
17411 [UNIX98] (pthread_mutex_timedlock): Likewise.
17412 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
17413 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
17414 [UNIX98] (pthread_sigmask): Likewise.
17415 [UNIX98] (pthread_spin_destroy): Likewise.
17416 [UNIX98] (pthread_spin_init): Likewise.
17417 [UNIX98] (pthread_spin_lock): Likewise.
17418 [UNIX98] (pthread_spin_trylock): Likewise.
17419 [UNIX98] (pthread_spin_unlock): Likewise.
17420 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
17422 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
17423 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
17424 [XPG3 || XPG4] (pthread_cond_t): Likewise.
17425 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
17426 [XPG3 || XPG4] (pthread_key_t): Likewise.
17427 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
17428 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
17429 [XPG3 || XPG4] (pthread_once_t): Likewise.
17430 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
17431 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
17432 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
17433 [XPG3 || XPG4] (pthread_t): Likewise.
17435 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
17437 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
17439 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
17440 Change function return type to int.
17442 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
17443 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
17444 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
17445 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
17446 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
17447 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
17448 [!POSIX] (posix_madvise): Likewise.
17449 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
17451 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
17452 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
17453 (mode_t): Likewise.
17454 (posix_mem_offset): Likewise.
17455 (posix_typed_mem_get_info): Likewise.
17456 (posix_typed_mem_open): Likewise.
17458 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
17459 Change condition to [XOPEN2K8].
17461 * conform/conformtest.pl: Preprocess allow-header data with -x c
17462 instead of from stdin.
17463 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
17464 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
17465 [C99-based standards] (cerfc): Likewise.
17466 [C99-based standards] (cexp2): Likewise.
17467 [C99-based standards] (cexpm1): Likewise.
17468 [C99-based standards] (clog10): Likewise.
17469 [C99-based standards] (clog1p): Likewise.
17470 [C99-based standards] (clog2): Likewise.
17471 [C99-based standards] (clgamma): Likewise.
17472 [C99-based standards] (ctgamma): Likewise.
17473 [C99-based standards] (cerff): Likewise.
17474 [C99-based standards] (cerfcf): Likewise.
17475 [C99-based standards] (cexp2f): Likewise.
17476 [C99-based standards] (cexpm1f): Likewise.
17477 [C99-based standards] (clog10f): Likewise.
17478 [C99-based standards] (clog1pf): Likewise.
17479 [C99-based standards] (clog2f): Likewise.
17480 [C99-based standards] (clgammaf): Likewise.
17481 [C99-based standards] (ctgammaf): Likewise.
17482 [C99-based standards] (cerfl): Likewise.
17483 [C99-based standards] (cerfcl): Likewise.
17484 [C99-based standards] (cexp2l): Likewise.
17485 [C99-based standards] (cexpm1l): Likewise.
17486 [C99-based standards] (clog10l): Likewise.
17487 [C99-based standards] (clog1pl): Likewise.
17488 [C99-based standards] (clog2l): Likewise.
17489 [C99-based standards] (clgammal): Likewise.
17490 [C99-based standards] (ctgammal): Likewise.
17491 * conform/data/inttypes.h-data [C99-based standards]: Include
17492 stdint.h-data. Remove all expectations for stdint.h contents.
17493 [C99-based standards] (PRI*): Do not allow.
17494 [C99-based standards] (SCN*): Likewise.
17495 [C99-based standards] (*_t): Likewise.
17496 [C99-based-standards] (PRId8): Expect macro.
17497 [C99-based-standards] (PRIi8): Likewise.
17498 [C99-based-standards] (PRIo8): Likewise.
17499 [C99-based-standards] (PRIu8): Likewise.
17500 [C99-based-standards] (PRIx8): Likewise.
17501 [C99-based-standards] (PRIX8): Likewise.
17502 [C99-based-standards] (SCNd8): Likewise.
17503 [C99-based-standards] (SCNi8): Likewise.
17504 [C99-based-standards] (SCNo8): Likewise.
17505 [C99-based-standards] (SCNu8): Likewise.
17506 [C99-based-standards] (SCNx8): Likewise.
17507 [C99-based-standards] (PRIdLEAST8): Likewise.
17508 [C99-based-standards] (PRIiLEAST8): Likewise.
17509 [C99-based-standards] (PRIoLEAST8): Likewise.
17510 [C99-based-standards] (PRIuLEAST8): Likewise.
17511 [C99-based-standards] (PRIxLEAST8): Likewise.
17512 [C99-based-standards] (PRIXLEAST8): Likewise.
17513 [C99-based-standards] (SCNdLEAST8): Likewise.
17514 [C99-based-standards] (SCNiLEAST8): Likewise.
17515 [C99-based-standards] (SCNoLEAST8): Likewise.
17516 [C99-based-standards] (SCNuLEAST8): Likewise.
17517 [C99-based-standards] (SCNxLEAST8): Likewise.
17518 [C99-based-standards] (PRIdFAST8): Likewise.
17519 [C99-based-standards] (PRIiFAST8): Likewise.
17520 [C99-based-standards] (PRIoFAST8): Likewise.
17521 [C99-based-standards] (PRIuFAST8): Likewise.
17522 [C99-based-standards] (PRIxFAST8): Likewise.
17523 [C99-based-standards] (PRIXFAST8): Likewise.
17524 [C99-based-standards] (SCNdFAST8): Likewise.
17525 [C99-based-standards] (SCNiFAST8): Likewise.
17526 [C99-based-standards] (SCNoFAST8): Likewise.
17527 [C99-based-standards] (SCNuFAST8): Likewise.
17528 [C99-based-standards] (SCNxFAST8): Likewise.
17529 [C99-based-standards] (PRId16): Likewise.
17530 [C99-based-standards] (PRIi16): Likewise.
17531 [C99-based-standards] (PRIo16): Likewise.
17532 [C99-based-standards] (PRIu16): Likewise.
17533 [C99-based-standards] (PRIx16): Likewise.
17534 [C99-based-standards] (PRIX16): Likewise.
17535 [C99-based-standards] (SCNd16): Likewise.
17536 [C99-based-standards] (SCNi16): Likewise.
17537 [C99-based-standards] (SCNo16): Likewise.
17538 [C99-based-standards] (SCNu16): Likewise.
17539 [C99-based-standards] (SCNx16): Likewise.
17540 [C99-based-standards] (PRIdLEAST16): Likewise.
17541 [C99-based-standards] (PRIiLEAST16): Likewise.
17542 [C99-based-standards] (PRIoLEAST16): Likewise.
17543 [C99-based-standards] (PRIuLEAST16): Likewise.
17544 [C99-based-standards] (PRIxLEAST16): Likewise.
17545 [C99-based-standards] (PRIXLEAST16): Likewise.
17546 [C99-based-standards] (SCNdLEAST16): Likewise.
17547 [C99-based-standards] (SCNiLEAST16): Likewise.
17548 [C99-based-standards] (SCNoLEAST16): Likewise.
17549 [C99-based-standards] (SCNuLEAST16): Likewise.
17550 [C99-based-standards] (SCNxLEAST16): Likewise.
17551 [C99-based-standards] (PRIdFAST16): Likewise.
17552 [C99-based-standards] (PRIiFAST16): Likewise.
17553 [C99-based-standards] (PRIoFAST16): Likewise.
17554 [C99-based-standards] (PRIuFAST16): Likewise.
17555 [C99-based-standards] (PRIxFAST16): Likewise.
17556 [C99-based-standards] (PRIXFAST16): Likewise.
17557 [C99-based-standards] (SCNdFAST16): Likewise.
17558 [C99-based-standards] (SCNiFAST16): Likewise.
17559 [C99-based-standards] (SCNoFAST16): Likewise.
17560 [C99-based-standards] (SCNuFAST16): Likewise.
17561 [C99-based-standards] (SCNxFAST16): Likewise.
17562 [C99-based-standards] (PRId32): Likewise.
17563 [C99-based-standards] (PRIi32): Likewise.
17564 [C99-based-standards] (PRIo32): Likewise.
17565 [C99-based-standards] (PRIu32): Likewise.
17566 [C99-based-standards] (PRIx32): Likewise.
17567 [C99-based-standards] (PRIX32): Likewise.
17568 [C99-based-standards] (SCNd32): Likewise.
17569 [C99-based-standards] (SCNi32): Likewise.
17570 [C99-based-standards] (SCNo32): Likewise.
17571 [C99-based-standards] (SCNu32): Likewise.
17572 [C99-based-standards] (SCNx32): Likewise.
17573 [C99-based-standards] (PRIdLEAST32): Likewise.
17574 [C99-based-standards] (PRIiLEAST32): Likewise.
17575 [C99-based-standards] (PRIoLEAST32): Likewise.
17576 [C99-based-standards] (PRIuLEAST32): Likewise.
17577 [C99-based-standards] (PRIxLEAST32): Likewise.
17578 [C99-based-standards] (PRIXLEAST32): Likewise.
17579 [C99-based-standards] (SCNdLEAST32): Likewise.
17580 [C99-based-standards] (SCNiLEAST32): Likewise.
17581 [C99-based-standards] (SCNoLEAST32): Likewise.
17582 [C99-based-standards] (SCNuLEAST32): Likewise.
17583 [C99-based-standards] (SCNxLEAST32): Likewise.
17584 [C99-based-standards] (PRIdFAST32): Likewise.
17585 [C99-based-standards] (PRIiFAST32): Likewise.
17586 [C99-based-standards] (PRIoFAST32): Likewise.
17587 [C99-based-standards] (PRIuFAST32): Likewise.
17588 [C99-based-standards] (PRIxFAST32): Likewise.
17589 [C99-based-standards] (PRIXFAST32): Likewise.
17590 [C99-based-standards] (SCNdFAST32): Likewise.
17591 [C99-based-standards] (SCNiFAST32): Likewise.
17592 [C99-based-standards] (SCNoFAST32): Likewise.
17593 [C99-based-standards] (SCNuFAST32): Likewise.
17594 [C99-based-standards] (SCNxFAST32): Likewise.
17595 [C99-based-standards] (PRId64): Likewise.
17596 [C99-based-standards] (PRIi64): Likewise.
17597 [C99-based-standards] (PRIo64): Likewise.
17598 [C99-based-standards] (PRIu64): Likewise.
17599 [C99-based-standards] (PRIx64): Likewise.
17600 [C99-based-standards] (PRIX64): Likewise.
17601 [C99-based-standards] (SCNd64): Likewise.
17602 [C99-based-standards] (SCNi64): Likewise.
17603 [C99-based-standards] (SCNo64): Likewise.
17604 [C99-based-standards] (SCNu64): Likewise.
17605 [C99-based-standards] (SCNx64): Likewise.
17606 [C99-based-standards] (PRIdLEAST64): Likewise.
17607 [C99-based-standards] (PRIiLEAST64): Likewise.
17608 [C99-based-standards] (PRIoLEAST64): Likewise.
17609 [C99-based-standards] (PRIuLEAST64): Likewise.
17610 [C99-based-standards] (PRIxLEAST64): Likewise.
17611 [C99-based-standards] (PRIXLEAST64): Likewise.
17612 [C99-based-standards] (SCNdLEAST64): Likewise.
17613 [C99-based-standards] (SCNiLEAST64): Likewise.
17614 [C99-based-standards] (SCNoLEAST64): Likewise.
17615 [C99-based-standards] (SCNuLEAST64): Likewise.
17616 [C99-based-standards] (SCNxLEAST64): Likewise.
17617 [C99-based-standards] (PRIdFAST64): Likewise.
17618 [C99-based-standards] (PRIiFAST64): Likewise.
17619 [C99-based-standards] (PRIoFAST64): Likewise.
17620 [C99-based-standards] (PRIuFAST64): Likewise.
17621 [C99-based-standards] (PRIxFAST64): Likewise.
17622 [C99-based-standards] (PRIXFAST64): Likewise.
17623 [C99-based-standards] (SCNdFAST64): Likewise.
17624 [C99-based-standards] (SCNiFAST64): Likewise.
17625 [C99-based-standards] (SCNoFAST64): Likewise.
17626 [C99-based-standards] (SCNuFAST64): Likewise.
17627 [C99-based-standards] (SCNxFAST64): Likewise.
17628 [C99-based-standards] (PRIdMAX): Likewise.
17629 [C99-based-standards] (PRIiMAX): Likewise.
17630 [C99-based-standards] (PRIoMAX): Likewise.
17631 [C99-based-standards] (PRIuMAX): Likewise.
17632 [C99-based-standards] (PRIxMAX): Likewise.
17633 [C99-based-standards] (PRIXMAX): Likewise.
17634 [C99-based-standards] (SCNdMAX): Likewise.
17635 [C99-based-standards] (SCNiMAX): Likewise.
17636 [C99-based-standards] (SCNoMAX): Likewise.
17637 [C99-based-standards] (SCNuMAX): Likewise.
17638 [C99-based-standards] (SCNxMAX): Likewise.
17639 [C99-based-standards] (PRIdPTR): Likewise.
17640 [C99-based-standards] (PRIiPTR): Likewise.
17641 [C99-based-standards] (PRIoPTR): Likewise.
17642 [C99-based-standards] (PRIuPTR): Likewise.
17643 [C99-based-standards] (PRIxPTR): Likewise.
17644 [C99-based-standards] (PRIXPTR): Likewise.
17645 [C99-based-standards] (SCNdPTR): Likewise.
17646 [C99-based-standards] (SCNiPTR): Likewise.
17647 [C99-based-standards] (SCNoPTR): Likewise.
17648 [C99-based-standards] (SCNuPTR): Likewise.
17649 [C99-based-standards] (SCNxPTR): Likewise.
17650 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
17652 * conform/data/stdint.h-data: Update comments to clarify
17654 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
17656 [C99-based standards] (INT8_MAX): Likewise.
17657 [C99-based standards] (INT16_MIN): Likewise.
17658 [C99-based standards] (INT16_MAX): Likewise.
17659 [C99-based standards] (INT32_MIN): Likewise.
17660 [C99-based standards] (INT32_MAX): Likewise.
17661 [C99-based standards] (INT64_MIN): Likewise.
17662 [C99-based standards] (INT64_MAX): Likewise.
17663 [C99-based standards] (UINT8_MAX): Likewise.
17664 [C99-based standards] (UINT16_MAX): Likewise.
17665 [C99-based standards] (UINT32_MAX): Likewise.
17666 [C99-based standards] (UINT64_MAX): Likewise.
17667 [C99-based standards] (INT_LEAST8_MIN): Likewise.
17668 [C99-based standards] (INT_LEAST8_MAX): Likewise.
17669 [C99-based standards] (INT_LEAST16_MIN): Likewise.
17670 [C99-based standards] (INT_LEAST16_MAX): Likewise.
17671 [C99-based standards] (INT_LEAST32_MIN): Likewise.
17672 [C99-based standards] (INT_LEAST32_MAX): Likewise.
17673 [C99-based standards] (INT_LEAST64_MIN): Likewise.
17674 [C99-based standards] (INT_LEAST64_MAX): Likewise.
17675 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
17676 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
17677 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
17678 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
17679 [C99-based standards] (INT_FAST8_MIN): Likewise.
17680 [C99-based standards] (INT_FAST8_MAX): Likewise.
17681 [C99-based standards] (INT_FAST16_MIN): Likewise.
17682 [C99-based standards] (INT_FAST16_MAX): Likewise.
17683 [C99-based standards] (INT_FAST32_MIN): Likewise.
17684 [C99-based standards] (INT_FAST32_MAX): Likewise.
17685 [C99-based standards] (INT_FAST64_MIN): Likewise.
17686 [C99-based standards] (INT_FAST64_MAX): Likewise.
17687 [C99-based standards] (UINT_FAST8_MAX): Likewise.
17688 [C99-based standards] (UINT_FAST16_MAX): Likewise.
17689 [C99-based standards] (UINT_FAST32_MAX): Likewise.
17690 [C99-based standards] (UINT_FAST64_MAX): Likewise.
17691 [C99-based standards] (INTPTR_MIN): Likewise.
17692 [C99-based standards] (INTPTR_MAX): Likewise.
17693 [C99-based standards] (UINTPTR_MAX): Likewise.
17694 [C99-based standards] (INTMAX_MIN): Likewise.
17695 [C99-based standards] (INTMAX_MAX): Likewise.
17696 [C99-based standards] (UINTMAX_MAX): Likewise.
17697 [C99-based standards] (PTRDIFF_MIN): Likewise.
17698 [C99-based standards] (PTRDIFF_MAX): Likewise.
17699 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
17700 [C99-based standards] (SIZE_MAX): Likewise.
17701 [C99-based standards] (WCHAR_MAX): Likewise.
17702 [C99-based standards] (WINT_MAX): Likewise.
17703 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
17704 constraint on value.
17705 [C99-based standards] (WCHAR_MIN): Likewise.
17706 [C99-based standards] (WINT_MIN): Likewise.
17707 [C99-based standards] (*_t): Allow.
17708 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
17709 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
17710 Include math.h-data and complex.h-data. Remove all expectations
17711 of math.h and complex.h contents.
17712 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
17714 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
17715 (struct tm): Expect tag.
17716 [C99-based-standards] (wcstof): Expect function.
17717 [C99-based-standards] (wcstold): Likewise.
17718 [C99-based-standards] (wcstoll): Likewise.
17719 [C99-based-standards] (wcstoull): Likewise.
17720 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
17721 macro-int-constant. Specify type.
17722 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
17723 constraint on value.
17724 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17726 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
17728 [ISO C standards]: Do not allow headers.
17729 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
17730 wcs[abcdefghijklmnopqrstuvwxyz]*.
17731 [ISO C standards] (*_t): Do not allow.
17732 * conform/data/wctype.h-data [C99-based standards] (iswblank):
17734 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17735 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17737 [ISO C standards]: Do not allow headers.
17738 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17739 is[abcdefghijklmnopqrstuvwxyz]*.
17740 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17741 to[abcdefghijklmnopqrstuvwxyz]*.
17742 [ISO C standards] (*_t): Do not allow.
17743 * conform/data/stdalign.h-data: New file.
17744 * conform/data/stdbool.h-data: Likewise.
17745 * conform/data/stdnoreturn.h-data: Likewise.
17747 2012-11-07 Roland McGrath <roland@hack.frob.com>
17750 * manual/filesys.texi (Directory Entries): Typo fix.
17751 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17753 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17755 * elf/elf.h (EM_AARCH64): New macro.
17756 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17757 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17758 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17759 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17760 (R_AARCH64_TLSDESC): Likewise.
17761 (NT_ARM_TLS): Likewise.
17762 (NT_ARM_HW_BREAK): Likewise.
17763 (NT_ARM_HW_WATCH): Likewise.
17765 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17768 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17769 (__ieee754_powl): Saturate nonzero exponents with absolute value
17770 below 0x1p-79 to +/- 0x1p-79.
17771 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17772 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17773 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17774 nonzero exponents with absolute value below 0x1p-32 to +/-
17776 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17777 (__ieee754_powl): Saturate nonzero exponents with absolute value
17778 below 0x1p-79 to +/- 0x1p-79.
17779 * math/libm-test.inc (pow_test): Add more tests.
17781 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17783 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17784 _dl_s390_cap_flags with kernel. Increase string length.
17785 (_dl_s390_platforms): Add z196 and zEC12.
17787 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17789 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17790 Change XOPEN21K to XOPEN2K.
17792 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
17794 * string/memmove.c: Use memcpy when possible.
17796 2012-11-06 Andreas Jaeger <aj@suse.de>
17798 * po/eo.po: Update from translation team.
17800 2012-11-06 Joseph Myers <joseph@codesourcery.com>
17803 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17804 exponent and small x and y exponents, scale x or y up. Increase
17805 by 2 the exponent used in scaling up.
17806 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17807 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17808 * math/libm-test.inc (fma_test): Add more tests.
17809 (fma_test_towardzero): Likewise.
17810 (fma_test_downward): Likewise.
17811 (fma_test_upward): Likewise.
17813 2012-11-05 Joseph Myers <joseph@codesourcery.com>
17816 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17820 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17821 namespace for names of struct fields.
17822 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17824 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17825 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17827 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17830 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17832 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17834 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17838 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17841 2012-11-04 Joseph Myers <joseph@codesourcery.com>
17844 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17845 definitely overflow as x * y not x * y + z.
17846 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17847 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17848 * math/libm-test.inc (fma_test): Add more tests.
17849 (fma_test_towardzero): Likewise.
17850 (fma_test_downward): Likewise.
17851 (fma_test_upward): Likewise.
17853 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17857 * include/stub-tag.h: Remove file.
17858 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17860 * manual/maint.texi (Porting): Don't reference it.
17861 * Makerules ($(objpfx)stubs): Likewise.
17862 * dirent/closedir.c: Don't include <stub-tag.h>.
17863 * dirent/dirfd.c: Likewise.
17864 * dirent/fdopendir.c: Likewise.
17865 * dirent/getdents.c: Likewise.
17866 * dirent/getdents64.c: Likewise.
17867 * dirent/opendir.c: Likewise.
17868 * dirent/readdir.c: Likewise.
17869 * dirent/readdir64.c: Likewise.
17870 * dirent/readdir64_r.c: Likewise.
17871 * dirent/readdir_r.c: Likewise.
17872 * dirent/rewinddir.c: Likewise.
17873 * dirent/seekdir.c: Likewise.
17874 * dirent/telldir.c: Likewise.
17875 * gmon/profil.c: Likewise.
17876 * grp/setgroups.c: Likewise.
17877 * inet/if_index.c: Likewise.
17878 * io/access.c: Likewise.
17879 * io/chdir.c: Likewise.
17880 * io/chmod.c: Likewise.
17881 * io/chown.c: Likewise.
17882 * io/close.c: Likewise.
17883 * io/dup.c: Likewise.
17884 * io/dup2.c: Likewise.
17885 * io/dup3.c: Likewise.
17886 * io/euidaccess.c: Likewise.
17887 * io/faccessat.c: Likewise.
17888 * io/fchdir.c: Likewise.
17889 * io/fchmod.c: Likewise.
17890 * io/fchmodat.c: Likewise.
17891 * io/fchown.c: Likewise.
17892 * io/fchownat.c: Likewise.
17893 * io/fcntl.c: Likewise.
17894 * io/flock.c: Likewise.
17895 * io/fstatfs.c: Likewise.
17896 * io/fstatfs64.c: Likewise.
17897 * io/fstatvfs.c: Likewise.
17898 * io/fstatvfs64.c: Likewise.
17899 * io/futimens.c: Likewise.
17900 * io/fxstat.c: Likewise.
17901 * io/fxstat64.c: Likewise.
17902 * io/fxstatat.c: Likewise.
17903 * io/fxstatat64.c: Likewise.
17904 * io/getcwd.c: Likewise.
17905 * io/isatty.c: Likewise.
17906 * io/lchmod.c: Likewise.
17907 * io/lchown.c: Likewise.
17908 * io/link.c: Likewise.
17909 * io/linkat.c: Likewise.
17910 * io/lseek.c: Likewise.
17911 * io/lseek64.c: Likewise.
17912 * io/lxstat64.c: Likewise.
17913 * io/mkdir.c: Likewise.
17914 * io/mkdirat.c: Likewise.
17915 * io/mkfifo.c: Likewise.
17916 * io/mkfifoat.c: Likewise.
17917 * io/open.c: Likewise.
17918 * io/open64.c: Likewise.
17919 * io/openat.c: Likewise.
17920 * io/openat64.c: Likewise.
17921 * io/pipe.c: Likewise.
17922 * io/pipe2.c: Likewise.
17923 * io/poll.c: Likewise.
17924 * io/posix_fadvise.c: Likewise.
17925 * io/posix_fadvise64.c: Likewise.
17926 * io/posix_fallocate.c: Likewise.
17927 * io/posix_fallocate64.c: Likewise.
17928 * io/read.c: Likewise.
17929 * io/readlink.c: Likewise.
17930 * io/readlinkat.c: Likewise.
17931 * io/rmdir.c: Likewise.
17932 * io/sendfile.c: Likewise.
17933 * io/sendfile64.c: Likewise.
17934 * io/statfs.c: Likewise.
17935 * io/statfs64.c: Likewise.
17936 * io/statvfs.c: Likewise.
17937 * io/statvfs64.c: Likewise.
17938 * io/symlink.c: Likewise.
17939 * io/symlinkat.c: Likewise.
17940 * io/ttyname.c: Likewise.
17941 * io/ttyname_r.c: Likewise.
17942 * io/umask.c: Likewise.
17943 * io/unlink.c: Likewise.
17944 * io/unlinkat.c: Likewise.
17945 * io/utime.c: Likewise.
17946 * io/utimensat.c: Likewise.
17947 * io/write.c: Likewise.
17948 * io/xmknod.c: Likewise.
17949 * io/xmknodat.c: Likewise.
17950 * io/xstat.c: Likewise.
17951 * io/xstat64.c: Likewise.
17952 * login/getpt.c: Likewise.
17953 * login/grantpt.c: Likewise.
17954 * login/unlockpt.c: Likewise.
17955 * math/e_acoshl.c: Likewise.
17956 * math/e_acosl.c: Likewise.
17957 * math/e_asinl.c: Likewise.
17958 * math/e_atan2l.c: Likewise.
17959 * math/e_atanhl.c: Likewise.
17960 * math/e_coshl.c: Likewise.
17961 * math/e_expl.c: Likewise.
17962 * math/e_fmodl.c: Likewise.
17963 * math/e_gammal_r.c: Likewise.
17964 * math/e_hypotl.c: Likewise.
17965 * math/e_j0l.c: Likewise.
17966 * math/e_j1l.c: Likewise.
17967 * math/e_jnl.c: Likewise.
17968 * math/e_lgammal_r.c: Likewise.
17969 * math/e_log10l.c: Likewise.
17970 * math/e_log2l.c: Likewise.
17971 * math/e_logl.c: Likewise.
17972 * math/e_powl.c: Likewise.
17973 * math/e_rem_pio2l.c: Likewise.
17974 * math/e_sinhl.c: Likewise.
17975 * math/e_sqrtl.c: Likewise.
17976 * math/fclrexcpt.c: Likewise.
17977 * math/fedisblxcpt.c: Likewise.
17978 * math/feenablxcpt.c: Likewise.
17979 * math/fegetenv.c: Likewise.
17980 * math/fegetexcept.c: Likewise.
17981 * math/fegetround.c: Likewise.
17982 * math/feholdexcpt.c: Likewise.
17983 * math/fesetenv.c: Likewise.
17984 * math/fesetround.c: Likewise.
17985 * math/feupdateenv.c: Likewise.
17986 * math/fgetexcptflg.c: Likewise.
17987 * math/fraiseexcpt.c: Likewise.
17988 * math/fsetexcptflg.c: Likewise.
17989 * math/ftestexcept.c: Likewise.
17990 * math/k_cosl.c: Likewise.
17991 * math/k_rem_pio2l.c: Likewise.
17992 * math/k_sinl.c: Likewise.
17993 * math/k_tanl.c: Likewise.
17994 * math/s_asinhl.c: Likewise.
17995 * math/s_atanl.c: Likewise.
17996 * math/s_cbrtl.c: Likewise.
17997 * math/s_erfl.c: Likewise.
17998 * math/s_expm1l.c: Likewise.
17999 * math/s_log1pl.c: Likewise.
18000 * math/s_tanhl.c: Likewise.
18001 * misc/acct.c: Likewise.
18002 * misc/brk.c: Likewise.
18003 * misc/chflags.c: Likewise.
18004 * misc/chroot.c: Likewise.
18005 * misc/fchflags.c: Likewise.
18006 * misc/fgetxattr.c: Likewise.
18007 * misc/flistxattr.c: Likewise.
18008 * misc/fremovexattr.c: Likewise.
18009 * misc/fsetxattr.c: Likewise.
18010 * misc/fsync.c: Likewise.
18011 * misc/ftruncate.c: Likewise.
18012 * misc/futimes.c: Likewise.
18013 * misc/futimesat.c: Likewise.
18014 * misc/getdomain.c: Likewise.
18015 * misc/getdtsz.c: Likewise.
18016 * misc/gethostid.c: Likewise.
18017 * misc/gethostname.c: Likewise.
18018 * misc/getloadavg.c: Likewise.
18019 * misc/getpagesize.c: Likewise.
18020 * misc/getsysstats.c: Likewise.
18021 * misc/getxattr.c: Likewise.
18022 * misc/gtty.c: Likewise.
18023 * misc/ioctl.c: Likewise.
18024 * misc/lgetxattr.c: Likewise.
18025 * misc/listxattr.c: Likewise.
18026 * misc/llistxattr.c: Likewise.
18027 * misc/lremovexattr.c: Likewise.
18028 * misc/lsetxattr.c: Likewise.
18029 * misc/lutimes.c: Likewise.
18030 * misc/madvise.c: Likewise.
18031 * misc/mincore.c: Likewise.
18032 * misc/mlock.c: Likewise.
18033 * misc/mlockall.c: Likewise.
18034 * misc/mmap.c: Likewise.
18035 * misc/mprotect.c: Likewise.
18036 * misc/msync.c: Likewise.
18037 * misc/munlock.c: Likewise.
18038 * misc/munlockall.c: Likewise.
18039 * misc/munmap.c: Likewise.
18040 * misc/preadv.c: Likewise.
18041 * misc/preadv64.c: Likewise.
18042 * misc/ptrace.c: Likewise.
18043 * misc/pwritev.c: Likewise.
18044 * misc/pwritev64.c: Likewise.
18045 * misc/readv.c: Likewise.
18046 * misc/reboot.c: Likewise.
18047 * misc/remap_file_pages.c: Likewise.
18048 * misc/removexattr.c: Likewise.
18049 * misc/revoke.c: Likewise.
18050 * misc/select.c: Likewise.
18051 * misc/setdomain.c: Likewise.
18052 * misc/setegid.c: Likewise.
18053 * misc/seteuid.c: Likewise.
18054 * misc/sethostid.c: Likewise.
18055 * misc/sethostname.c: Likewise.
18056 * misc/setregid.c: Likewise.
18057 * misc/setreuid.c: Likewise.
18058 * misc/setxattr.c: Likewise.
18059 * misc/sstk.c: Likewise.
18060 * misc/stty.c: Likewise.
18061 * misc/swapoff.c: Likewise.
18062 * misc/swapon.c: Likewise.
18063 * misc/sync.c: Likewise.
18064 * misc/syncfs.c: Likewise.
18065 * misc/syscall.c: Likewise.
18066 * misc/truncate.c: Likewise.
18067 * misc/ualarm.c: Likewise.
18068 * misc/usleep.c: Likewise.
18069 * misc/ustat.c: Likewise.
18070 * misc/utimes.c: Likewise.
18071 * misc/vhangup.c: Likewise.
18072 * misc/writev.c: Likewise.
18073 * posix/_exit.c: Likewise.
18074 * posix/alarm.c: Likewise.
18075 * posix/execve.c: Likewise.
18076 * posix/fexecve.c: Likewise.
18077 * posix/fork.c: Likewise.
18078 * posix/fpathconf.c: Likewise.
18079 * posix/getaddrinfo.c: Likewise.
18080 * posix/getegid.c: Likewise.
18081 * posix/geteuid.c: Likewise.
18082 * posix/getgid.c: Likewise.
18083 * posix/getgroups.c: Likewise.
18084 * posix/getlogin.c: Likewise.
18085 * posix/getlogin_r.c: Likewise.
18086 * posix/getpgid.c: Likewise.
18087 * posix/getpid.c: Likewise.
18088 * posix/getppid.c: Likewise.
18089 * posix/getresgid.c: Likewise.
18090 * posix/getresuid.c: Likewise.
18091 * posix/getsid.c: Likewise.
18092 * posix/getuid.c: Likewise.
18093 * posix/glob64.c: Likewise.
18094 * posix/nanosleep.c: Likewise.
18095 * posix/pathconf.c: Likewise.
18096 * posix/pause.c: Likewise.
18097 * posix/posix_madvise.c: Likewise.
18098 * posix/pread.c: Likewise.
18099 * posix/pread64.c: Likewise.
18100 * posix/pwrite.c: Likewise.
18101 * posix/pwrite64.c: Likewise.
18102 * posix/sched_getaffinity.c: Likewise.
18103 * posix/sched_getp.c: Likewise.
18104 * posix/sched_gets.c: Likewise.
18105 * posix/sched_primax.c: Likewise.
18106 * posix/sched_primin.c: Likewise.
18107 * posix/sched_rr_gi.c: Likewise.
18108 * posix/sched_setaffinity.c: Likewise.
18109 * posix/sched_setp.c: Likewise.
18110 * posix/sched_sets.c: Likewise.
18111 * posix/sched_yield.c: Likewise.
18112 * posix/setgid.c: Likewise.
18113 * posix/setlogin.c: Likewise.
18114 * posix/setpgid.c: Likewise.
18115 * posix/setresgid.c: Likewise.
18116 * posix/setresuid.c: Likewise.
18117 * posix/setsid.c: Likewise.
18118 * posix/setuid.c: Likewise.
18119 * posix/sleep.c: Likewise.
18120 * posix/spawni.c: Likewise.
18121 * posix/sysconf.c: Likewise.
18122 * posix/times.c: Likewise.
18123 * posix/wait.c: Likewise.
18124 * posix/wait3.c: Likewise.
18125 * posix/wait4.c: Likewise.
18126 * posix/waitpid.c: Likewise.
18127 * resolv/gai_sigqueue.c: Likewise.
18128 * resource/getpriority.c: Likewise.
18129 * resource/getrlimit.c: Likewise.
18130 * resource/getrusage.c: Likewise.
18131 * resource/nice.c: Likewise.
18132 * resource/setpriority.c: Likewise.
18133 * resource/setrlimit.c: Likewise.
18134 * resource/ulimit.c: Likewise.
18135 * rt/aio_cancel.c: Likewise.
18136 * rt/aio_fsync.c: Likewise.
18137 * rt/aio_read.c: Likewise.
18138 * rt/aio_sigqueue.c: Likewise.
18139 * rt/aio_suspend.c: Likewise.
18140 * rt/aio_write.c: Likewise.
18141 * rt/clock_getres.c: Likewise.
18142 * rt/clock_gettime.c: Likewise.
18143 * rt/clock_nanosleep.c: Likewise.
18144 * rt/clock_settime.c: Likewise.
18145 * rt/lio_listio.c: Likewise.
18146 * rt/mq_close.c: Likewise.
18147 * rt/mq_getattr.c: Likewise.
18148 * rt/mq_notify.c: Likewise.
18149 * rt/mq_open.c: Likewise.
18150 * rt/mq_receive.c: Likewise.
18151 * rt/mq_send.c: Likewise.
18152 * rt/mq_setattr.c: Likewise.
18153 * rt/mq_timedreceive.c: Likewise.
18154 * rt/mq_timedsend.c: Likewise.
18155 * rt/mq_unlink.c: Likewise.
18156 * rt/shm_open.c: Likewise.
18157 * rt/shm_unlink.c: Likewise.
18158 * rt/timer_create.c: Likewise.
18159 * rt/timer_delete.c: Likewise.
18160 * rt/timer_getoverr.c: Likewise.
18161 * rt/timer_gettime.c: Likewise.
18162 * rt/timer_settime.c: Likewise.
18163 * setjmp/__longjmp.c: Likewise.
18164 * setjmp/setjmp.c: Likewise.
18165 * signal/kill.c: Likewise.
18166 * signal/killpg.c: Likewise.
18167 * signal/raise.c: Likewise.
18168 * signal/sigaction.c: Likewise.
18169 * signal/sigaltstack.c: Likewise.
18170 * signal/sigblock.c: Likewise.
18171 * signal/sigignore.c: Likewise.
18172 * signal/sigintr.c: Likewise.
18173 * signal/signal.c: Likewise.
18174 * signal/sigpause.c: Likewise.
18175 * signal/sigpending.c: Likewise.
18176 * signal/sigqueue.c: Likewise.
18177 * signal/sigreturn.c: Likewise.
18178 * signal/sigset.c: Likewise.
18179 * signal/sigsetmask.c: Likewise.
18180 * signal/sigstack.c: Likewise.
18181 * signal/sigsuspend.c: Likewise.
18182 * signal/sigtimedwait.c: Likewise.
18183 * signal/sigvec.c: Likewise.
18184 * signal/sigwait.c: Likewise.
18185 * signal/sigwaitinfo.c: Likewise.
18186 * signal/sysv_signal.c: Likewise.
18187 * socket/accept.c: Likewise.
18188 * socket/accept4.c: Likewise.
18189 * socket/bind.c: Likewise.
18190 * socket/connect.c: Likewise.
18191 * socket/getpeername.c: Likewise.
18192 * socket/getsockname.c: Likewise.
18193 * socket/getsockopt.c: Likewise.
18194 * socket/isfdtype.c: Likewise.
18195 * socket/listen.c: Likewise.
18196 * socket/recv.c: Likewise.
18197 * socket/recvfrom.c: Likewise.
18198 * socket/recvmsg.c: Likewise.
18199 * socket/send.c: Likewise.
18200 * socket/sendmsg.c: Likewise.
18201 * socket/sendto.c: Likewise.
18202 * socket/setsockopt.c: Likewise.
18203 * socket/shutdown.c: Likewise.
18204 * socket/sockatmark.c: Likewise.
18205 * socket/socket.c: Likewise.
18206 * socket/socketpair.c: Likewise.
18207 * stdio-common/ctermid.c: Likewise.
18208 * stdio-common/cuserid.c: Likewise.
18209 * stdio-common/remove.c: Likewise.
18210 * stdio-common/rename.c: Likewise.
18211 * stdio-common/renameat.c: Likewise.
18212 * stdio-common/tempname.c: Likewise.
18213 * stdlib/getcontext.c: Likewise.
18214 * stdlib/makecontext.c: Likewise.
18215 * stdlib/setcontext.c: Likewise.
18216 * stdlib/swapcontext.c: Likewise.
18217 * stdlib/system.c: Likewise.
18218 * streams/fattach.c: Likewise.
18219 * streams/fdetach.c: Likewise.
18220 * streams/getmsg.c: Likewise.
18221 * streams/getpmsg.c: Likewise.
18222 * streams/putmsg.c: Likewise.
18223 * streams/putpmsg.c: Likewise.
18224 * sysdeps/unix/bsd/getpt.c: Likewise.
18225 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
18226 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
18227 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18230 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
18231 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18232 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18233 * sysvipc/msgctl.c: Likewise.
18234 * sysvipc/msgget.c: Likewise.
18235 * sysvipc/msgrcv.c: Likewise.
18236 * sysvipc/msgsnd.c: Likewise.
18237 * sysvipc/semctl.c: Likewise.
18238 * sysvipc/semget.c: Likewise.
18239 * sysvipc/semop.c: Likewise.
18240 * sysvipc/semtimedop.c: Likewise.
18241 * sysvipc/shmat.c: Likewise.
18242 * sysvipc/shmctl.c: Likewise.
18243 * sysvipc/shmdt.c: Likewise.
18244 * sysvipc/shmget.c: Likewise.
18245 * termios/tcdrain.c: Likewise.
18246 * termios/tcflow.c: Likewise.
18247 * termios/tcflush.c: Likewise.
18248 * termios/tcgetattr.c: Likewise.
18249 * termios/tcgetpgrp.c: Likewise.
18250 * termios/tcsendbrk.c: Likewise.
18251 * termios/tcsetattr.c: Likewise.
18252 * termios/tcsetpgrp.c: Likewise.
18253 * time/adjtime.c: Likewise.
18254 * time/clock.c: Likewise.
18255 * time/getitimer.c: Likewise.
18256 * time/gettimeofday.c: Likewise.
18257 * time/setitimer.c: Likewise.
18258 * time/settimeofday.c: Likewise.
18259 * time/stime.c: Likewise.
18260 * time/time.c: Likewise.
18262 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
18264 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
18267 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
18269 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
18271 2012-11-03 Joseph Myers <joseph@codesourcery.com>
18274 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
18275 FE_TONEAREST before applying Dekker multiplication and Knuth
18276 addition. Clear inexact exceptions and check for exact zero
18277 results afterwards.
18278 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18279 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18280 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18281 * math/libm-test.inc (fma_test): Add more tests.
18282 (fma_test_towardzero): Likewise.
18283 (fma_test_downward): Likewise.
18284 (fma_test_upward): Likewise.
18285 * sysdeps/generic/math_private.h (default_libc_fesetround): New
18287 (libc_fesetround): New macro.
18288 (libc_fesetroundf): Likewise.
18289 (libc_fesetroundl): Likewise.
18290 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
18292 (libc_fesetround_387): Likewise.
18293 (libc_fesetroundf): New macro.
18294 (libc_fesetround): Likewise.
18295 (libc_fesetroundl): Likewise.
18296 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
18298 (libc_fesetroundf): New macro.
18299 (libc_fesetround): Likewise.
18300 (libc_fesetroundl): Likewise.
18301 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
18302 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
18303 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
18305 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
18306 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
18308 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
18309 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
18311 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
18315 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
18316 integer constant usable in #if and use that to give value to enum
18318 (FE_DIVBYZERO): Likewise.
18319 (FE_UNDERFLOW): Likewise.
18320 (FE_OVERFLOW): Likewise.
18321 (FE_INVALID): Likewise.
18322 (FE_INVALID_SNAN): Likewise.
18323 (FE_INVALID_ISI): Likewise.
18324 (FE_INVALID_IDI): Likewise.
18325 (FE_INVALID_ZDZ): Likewise.
18326 (FE_INVALID_IMZ): Likewise.
18327 (FE_INVALID_COMPARE): Likewise.
18328 (FE_INVALID_SOFTWARE): Likewise.
18329 (FE_INVALID_SQRT): Likewise.
18330 (FE_INVALID_INTEGER_CONVERSION): Likewise.
18331 (FE_TONEAREST): Likewise.
18332 (FE_TOWARDZERO): Likewise.
18333 (FE_UPWARD): Likewise.
18334 (FE_DOWNWARD): Likewise.
18335 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
18336 (FE_DIVBYZERO): Likewise.
18337 (FE_OVERFLOW): Likewise.
18338 (FE_UNDERFLOW): Likewise.
18339 (FE_INEXACT): Likewise.
18340 (FE_TONEAREST): Likewise.
18341 (FE_DOWNWARD): Likewise.
18342 (FE_UPWARD): Likewise.
18343 (FE_TOWARDZERO): Likewise.
18344 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
18345 (FE_UNDERFLOW): Likewise.
18346 (FE_OVERFLOW): Likewise.
18347 (FE_DIVBYZERO): Likewise.
18348 (FE_INVALID): Likewise.
18349 (FE_TONEAREST): Likewise.
18350 (FE_TOWARDZERO): Likewise.
18351 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
18352 (FE_OVERFLOW): Likewise.
18353 (FE_UNDERFLOW): Likewise.
18354 (FE_DIVBYZERO): Likewise.
18355 (FE_INEXACT): Likewise.
18356 (FE_TONEAREST): Likewise.
18357 (FE_TOWARDZERO): Likewise.
18358 (FE_UPWARD): Likewise.
18359 (FE_DOWNWARD): Likewise.
18360 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
18361 (FE_DIVBYZERO): Likewise.
18362 (FE_OVERFLOW): Likewise.
18363 (FE_UNDERFLOW): Likewise.
18364 (FE_INEXACT): Likewise.
18365 (FE_TONEAREST): Likewise.
18366 (FE_DOWNWARD): Likewise.
18367 (FE_UPWARD): Likewise.
18368 (FE_TOWARDZERO): Likewise.
18370 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
18372 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
18374 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
18376 * scripts/cross-test-ssh.sh (command): Use newlines to separate
18377 commands. Quote $PWD.
18378 (blacklist_exports): Don't use remove_newlines. Replace "declare
18380 (remove_newlines): Remove.
18382 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
18384 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
18385 * stdlib/stdlib.h (atof): Moved to ...
18386 * include/bits/stdlib-float.h: Here. New file.
18387 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
18388 * stdlib/bits/stdlib-float.h: New file.
18389 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
18391 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
18394 2012-11-02 Joseph Myers <joseph@codesourcery.com>
18396 * conform/conformtest.pl (@headers): Add fenv.h.
18397 * conform/data/fenv.h-data: New file.
18398 * include/fenv.h [_ISOMAC]: Disable all contents of file except
18399 include of <math/fenv.h>.
18401 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
18402 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
18403 && !UNIX98]. Enables tests for XOPEN2K8.
18404 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
18405 POSIX2008]: Likewise.
18407 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
18408 (struct rusage): Do not expect type or its members.
18411 * math/math.h (FP_NAN): Define macro to integer constant usable in
18412 #if and use that to give value to enum constant.
18413 (FP_INFINITE): Likewise.
18414 (FP_ZERO): Likewise.
18415 (FP_SUBNORMAL): Likewise.
18416 (FP_NORMAL): Likewise.
18418 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
18420 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
18421 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
18424 2012-11-02 Roland McGrath <roland@hack.frob.com>
18426 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
18427 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
18428 autoconf-time if not.
18429 * configure.in: Remove AC_PREREQ.
18431 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18433 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
18434 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
18435 of the internal implementation.
18437 2012-11-02 Joseph Myers <joseph@codesourcery.com>
18439 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
18440 except include of <misc/sys/syslog.h>.
18442 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
18444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
18445 function returns with a NULL context exit with zero.
18447 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18449 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
18451 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
18453 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
18454 (run_program_cmd): This.
18455 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
18456 (tst_langinfo): New variable. Use it.
18458 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
18460 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
18461 floating point opcodes.
18463 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18465 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
18468 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
18470 * sysdeps/mach/hurd/powerpc: Remove directory.
18471 * sysdeps/mach/powerpc: Likewise.
18473 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
18475 * scripts/check-local-headers.sh: Ignore c++ headers.
18477 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18479 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
18480 __libc_cleanup_region_start argument.
18482 2012-11-01 Joseph Myers <joseph@codesourcery.com>
18486 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
18487 x * y using scaling, not as x * y + z.
18488 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18489 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18490 * math/libm-test.inc (fma_test): Add more tests.
18491 (fma_test_towardzero): Likewise.
18492 (fma_test_downward): Likewise.
18493 (fma_test_upward): Likewise.
18495 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18497 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
18499 2012-10-31 Joseph Myers <joseph@codesourcery.com>
18501 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
18504 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
18506 * rt/tst-shm.c (worker): Correct checking for mmap failure.
18508 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
18510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18515 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18518 Fix the order of the list for glibc 2.17.
18519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18522 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
18524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18526 2012-10-31 Joseph Myers <joseph@codesourcery.com>
18529 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
18530 for low part of x being zero before using __atanl (y).
18531 * math/libm-test.inc (atan2_test): Add another test.
18533 * manual/install.texi (Configuring and compiling): Document
18534 general use of test-wrapper and test-wrapper-env.
18535 * INSTALL: Regenerated.
18537 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
18538 (__fma): Do not extract and scale down low bits on after-rounding
18539 systems when result rounded to normal precision would have normal
18541 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
18542 (__fmal): Do not extract and scale down low bits on after-rounding
18543 systems when result rounded to normal precision would have normal
18545 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
18546 (__fmal): Do not extract and scale down low bits on after-rounding
18547 systems when result rounded to normal precision would have normal
18549 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
18551 (fma_test): Add more tests.
18552 (fma_test_towardzero): Likewise.
18553 (fma_test_downward): Likewise.
18554 (fma_test_upward): Likewise.
18556 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
18558 * sysdeps/i386/tininess.h: Renamed to ...
18559 * sysdeps/x86/tininess.h: This.
18560 * sysdeps/x86_64/tininess.h: Removed.
18562 2012-10-30 Joseph Myers <joseph@codesourcery.com>
18564 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
18565 input. Use $(build-program-cmd).
18566 ($(objpfx)tst-array1-static.out): Likewise.
18567 ($(objpfx)tst-array2.out): Likewise.
18568 ($(objpfx)tst-array3.out): Likewise.
18569 ($(objpfx)tst-array4.out): Likewise.
18570 ($(objpfx)tst-array5.out): Likewise.
18571 ($(objpfx)tst-array5-static.out): Likewise.
18573 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
18575 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
18578 * nss/nsswitch.h (nss_interface_function): Provide new
18579 macro for use with NSS functions.
18580 * grp/initgroups.c: Use new macro.
18581 * nss/getXXbyYY.c: Likewise.
18582 * nss/getXXbyYY_r.c: Likewise.
18583 * nss/getXXent.c: Likewise.
18584 * nss/getXXent_r.c: Likewise.
18585 * sysdeps/posix/getaddrinfo.c: Likewise.
18587 2012-10-30 Andreas Jaeger <aj@suse.de>
18589 * po/ru.po: Update Russion translation from translation project.
18591 2012-10-30 Joseph Myers <joseph@codesourcery.com>
18595 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
18596 result and shift together with sticky bit instead of replicating
18597 round-to-nearest rounding.
18598 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18599 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18600 * math/libm-test.inc (fma_test): Add more tests. Do not permit
18601 missing underflow exceptions.
18602 (fma_test_towardzero): Add more tests.
18603 (fma_test_downward): Likewise.
18604 (fma_test_upward): Likewise.
18607 * sysdeps/generic/tininess.h: New file.
18608 * sysdeps/i386/tininess.h: Likewise.
18609 * sysdeps/sh/tininess.h: Likewise.
18610 * sysdeps/x86_64/tininess.h: Likewise.
18611 * stdlib/tst-strtod-underflow.c: Likewise.
18612 * stdlib/tst-tininess.c: Likewise.
18613 * stdlib/strtod_l.c: Include <tininess.h>.
18614 (round_and_return): Do not set errno for exact underflow cases.
18615 Force an underflow exception when setting errno for underflow.
18616 Determine underflow based on rounding to normal precision if
18617 TININESS_AFTER_ROUNDING.
18618 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
18619 ERANGE for exact underflow cases.
18620 * stdlib/Makefile (tests): Add tst-tininess and
18621 tst-strtod-underflow.
18622 ($(objpfx)tst-tininess): Use $(link-libm).
18623 ($(objpfx)tst-strtod-underflow): Likewise.
18625 2012-10-30 Andreas Jaeger <aj@suse.de>
18628 * elf/Makefile (tests): Remove conditional for have-initfini-array
18629 since this is now always required and the variable does not exist
18631 (tests-static): Likewise.
18632 (modules-names): Likewise.
18634 * po/eo.po: Add Esperanto translation from translation project.
18636 * elf/tst-array1.c (fini_array): Make writeable so that it can be
18637 merged with constructor/destructor.
18638 (init_array): Likewise.
18639 * elf/tst-array2dep.c (fini_array): Likewise.
18640 (init_array): Likewise.
18642 2012-10-29 Mike Frysinger <vapier@gentoo.org>
18644 * manual/message.texi: Delete @cartouche tags.
18646 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
18648 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
18650 * sysdeps/mach/hurd/fsync.c: Likewise.
18652 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
18653 [_POSIX_REALTIME_SIGNALS]: Change condition to
18654 [_POSIX_REALTIME_SIGNALS > 0].
18656 2012-10-27 Andreas Jaeger <aj@suse.de>
18658 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
18659 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
18660 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
18661 [__WORDSIZE != 64]: Likewise.
18663 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
18665 * iconvdata/tst-table.sh: Remove ${SHELL}.
18666 * iconvdata/tst-tables.sh: Likewise.
18668 2012-10-25 David S. Miller <davem@davemloft.net>
18670 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18671 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
18674 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
18676 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18677 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
18678 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
18681 2012-10-25 Roland McGrath <roland@hack.frob.com>
18683 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18684 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
18687 2012-10-25 Joseph Myers <joseph@codesourcery.com>
18688 Jim Blandy <jimb@codesourcery.com>
18690 * scripts/cross-test-ssh.sh: New file.
18691 * manual/install.texi (Configuring and compiling): Document use of
18693 * INSTALL: Regenerated.
18695 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
18697 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
18700 2012-10-25 Joseph Myers <joseph@codesourcery.com>
18702 * Makeconfig (run-program-prefix): Fix comment.
18704 2012-10-24 Joseph Myers <joseph@codesourcery.com>
18705 Jim Blandy <jimb@codesourcery.com>
18707 * Makeconfig (test-wrapper): New variable,
18708 (test-wrapper-env): Likewise.
18709 [$(cross-compiling) = yes && $(test-wrapper) != ""]
18710 (run-built-tests): Define to yes.
18711 (run-program-prefix): Use $(test-wrapper).
18712 (built-program-cmd): Likewise.
18713 * Rules (make-test-out): Use $(test-wrapper-env) and
18714 $(host-built-program-cmd).
18715 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
18716 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
18718 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
18719 $(test-wrapper-env) to tst-rtld-load-self.sh.
18720 ($(objpfx)order2.out): Use $(test-wrapper).
18721 ($(objpfx)tst-initorder.out): Likewise.
18722 ($(objpfx)tst-initorder2.out): Likewise.
18723 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
18724 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
18725 (test_wrapper_env): New variable. Use it to run ld.so.
18726 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
18727 Use it to run ld.so.
18728 (test_wrapper_env): Likewise.
18729 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
18730 $(test-wrapper) to run-iconv-test.sh.
18731 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
18732 (ICONV): Use $test_wrapper.
18733 * posix/Makefile ($(objpfx)globtest.out): Pass
18734 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
18735 globtest.sh, not $(run-program-prefix).
18736 * posix/globtest.sh (run_via_rtld_prefix): New variable.
18737 (test_wrapper): Likewise.
18738 (test_wrapper_env): Likewise. Use it to run globtest with HOME
18739 set together with run_via_rtld_prefix.
18740 (run_program_prefix): Define in terms of test_wrapper and
18741 run_via_rtld_prefix.
18743 2012-10-24 Roland McGrath <roland@hack.frob.com>
18745 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18746 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18750 * include/time.h: Remove librt_hidden_proto (clock_gettime).
18751 Declare __clock_getres, __clock_gettime, __clock_settime,
18752 __clock_nanosleep, and __clock_getcpuclockid.
18753 * rt/clock_gettime.c: Define __clock_gettime as an alias.
18754 Remove librt_hidden_def (clock_gettime).
18755 * sysdeps/unix/clock_gettime.c: Likewise.
18756 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18757 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18758 * rt/clock_getres.c: Define __clock_getres as an alias.
18759 * sysdeps/posix/clock_getres.c: Likewise.
18760 * rt/clock_settime.c: Define __clock_settime as an alias.
18761 * sysdeps/unix/clock_settime.c: Likewise.
18762 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18763 * sysdeps/unix/clock_nanosleep.c: Likewise.
18764 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18765 * rt/clock-compat.c: New file.
18766 * rt/Makefile (librt-routines): Add clock-compat and move
18767 $(clock-routines) to ...
18768 (routines): ... here, new variable.
18769 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18770 Don't add get_clockfreq here.
18771 * rt/Versions (libc: GLIBC_2.17): New version set.
18772 Add clock_* symbols here.
18773 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
18774 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18775 (GLIBC_2.17): Add clock_* symbols.
18776 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18777 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18778 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18783 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18784 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18787 * NEWS: Mention the move.
18789 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18790 Use __open, __read, __close rather than their public counterparts.
18791 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18792 (__get_clockfreq_via_cpuinfo): Likewise.
18793 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18794 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18796 * config.h.in (HAVE_IFUNC): New #undef.
18797 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18799 * configure: Regenerated.
18801 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18803 * configure.in: Move READELF check to start of file.
18804 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18805 libc_cv_asm_gnu_indirect_function in the process.
18806 * configure: Regenerated.
18808 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18810 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18811 send the output to /dev/null.
18812 (libc_cv_cc_with_libunwind): Likewise.
18813 (libc_cv_as_noexecstack): Likewise.
18814 * configure: Regenerate.
18816 2012-10-24 Joseph Myers <joseph@codesourcery.com>
18818 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18820 * posix/globtest.sh (TMPDIR): Do not set.
18821 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18822 (testout): Likewise.
18824 2012-10-24 Andreas Jaeger <aj@suse.de>
18826 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18827 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18828 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18829 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18830 posix_fadvise64, posix_fallocate64.
18832 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18833 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18834 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18836 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18838 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18840 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18841 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18842 <bits/fcntl-linux.h>.
18843 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18845 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18846 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18847 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18848 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18849 [__WORDSIZE != 64]: Likewise.
18851 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18853 * Makeconfig (run-built-tests): New variable.
18854 * Rules [$(cross-compiling) = yes]: Change condition to
18855 [$(run-built-tests) = no].
18856 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18857 to [$(run-built-tests) = yes].
18858 * elf/Makefile [$(cross-compiling) = no]: Likewise
18859 * grp/Makefile [$(cross-compiling) = no]: Likewise.
18860 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18861 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18862 * intl/Makefile [$(cross-compiling) = no]: Likewise.
18863 * io/Makefile [$(cross-compiling) = no]: Likewise.
18864 * libio/Makefile [$(cross-compiling) = no]: Likewise.
18865 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18866 * misc/Makefile [$(cross-compiling) = no]: Likewise.
18867 * posix/Makefile [$(cross-compiling) = no]: Likewise.
18868 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18869 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18870 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18871 * string/Makefile [$(cross-compiling) = no]: Likewise.
18873 * posix/Makefile ($(objpfx)globtest.out): Pass
18874 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18875 $(rtld-installed-name).
18876 * posix/globtest.sh (elf_objpfx): Remove variable.
18877 (rtld_installed_name): Likewise.
18878 (library_path): Likewise.
18879 (run_program_prefix): New variable. Use for running globtest
18882 2012-10-23 Jim Blandy <jimb@codesourcery.com>
18883 Joseph Myers <joseph@codesourcery.com>
18885 * Makeconfig (host-built-program-cmd): New variable.
18886 * elf/Makefile (tst-stackguard1-ARGS): Use
18887 $(host-built-program-cmd).
18888 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18889 (tst-spawn-ARGS): Likewise.
18890 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18892 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18893 Jim Blandy <jimb@codesourcery.com>
18895 * Makeconfig (run-via-rtld-prefix): New variable.
18896 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18897 (built-program-cmd): Likewise.
18899 2012-10-22 Andreas Jaeger <aj@suse.de>
18901 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18902 __O_RSYNC if it exists, otherwise to O_SYNC.
18904 2012-10-22 Jim Blandy <jimb@codesourcery.com>
18905 Joseph Myers <joseph@codesourcery.com>
18907 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18909 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18911 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18914 2012-10-22 Andreas Jaeger <aj@suse.de>
18916 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18918 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18920 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18921 bits/fcntl-linux.h.
18923 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18924 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18926 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18928 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18931 2012-10-21 Jim Blandy <jimb@codesourcery.com>
18932 Joseph Myers <joseph@codesourcery.com>
18934 * config.make.in (NM): New variable.
18936 2012-10-21 Andreas Jaeger <aj@suse.de>
18938 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18939 definitions and declarations that are provided by
18940 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18942 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18945 * elf/Makefile (tests-static): Add tst-leaks1-static.
18946 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18947 ($(objpfx)tst-leaks1-static): New rule.
18948 ($(objpfx)tst-leaks1-static-mem): Likewise.
18949 (tst-leaks1-static-ENV): New macro.
18950 * elf/dl-open.c (dl_open_worker): Check the main application
18951 only if SHARED is defined.
18952 * elf/tst-leaks1-static.c: New file.
18954 2012-10-20 Andreas Jaeger <aj@suse.de>
18956 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18957 generic values for Linux.
18958 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18959 and declarations that are provided by <bits/fcntl-linux.h> and
18960 include <bits/fcntl-linux.h>.
18961 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18962 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18964 2012-10-20 Roland McGrath <roland@hack.frob.com>
18966 * io/fcntl.h: Move include of <bits/types.h> to the top and
18967 include it unconditionally.
18969 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18971 * wcsmbs/Makefile (tests-ifunc): New variable.
18972 (tests): Add $(tests-ifunc).
18973 * wcsmbs/test-wcschr-ifunc.c: New file.
18974 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18975 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18976 * wcsmbs/test-wcslen-ifunc.c: Likewise.
18977 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18978 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18980 * string/Makefile (tests-ifunc): New variable.
18981 (tests): Add $(tests-ifunc).
18982 * string/test-memccpy.c (TEST_NAME): New macro.
18983 * string/test-memchr.c (TEST_NAME): Likewise.
18984 * string/test-memcmp.c (TEST_NAME): Likewise.
18985 * string/test-memcpy.c (TEST_NAME): Likewise.
18986 * string/test-memmem.c (TEST_NAME): Likewise.
18987 * string/test-memmove.c (TEST_NAME): Likewise.
18988 * string/test-memset.c (TEST_NAME): Likewise.
18989 * string/test-rawmemchr.c (TEST_NAME): Likewise.
18990 * string/test-stpcpy.c (TEST_NAME): Likewise.
18991 * string/test-stpncpy.c (TEST_NAME): Likewise.
18992 * string/test-strcasecmp.c (TEST_NAME): Likewise.
18993 * string/test-strcasestr.c (TEST_NAME): Likewise.
18994 * string/test-strcat.c (TEST_NAME): Likewise.
18995 * string/test-strchr.c (TEST_NAME): Likewise.
18996 * string/test-strcmp.c(TEST_NAME): Likewise.
18997 * string/test-strcpy.c (TEST_NAME): Likewise.
18998 * string/test-strcspn.c (TEST_NAME): Likewise.
18999 * string/test-strlen.c (TEST_NAME): Likewise.
19000 * string/test-strncasecmp.c (TEST_NAME): Likewise.
19001 * string/test-strncmp.c (TEST_NAME): Likewise.
19002 * string/test-strncpy.c (TEST_NAME): Likewise.
19003 * string/test-strnlen.c (TEST_NAME): Likewise.
19004 * string/test-strpbrk.c (TEST_NAME): Likewise.
19005 * string/test-strrchr.c (TEST_NAME): Likewise.
19006 * string/test-strspn.c (TEST_NAME): Likewise.
19007 * string/test-strstr.c (TEST_NAME): Likewise.
19008 * string/test-bcopy-ifunc.c: New file.
19009 * string/test-bzero-ifunc.c: Likewise.
19010 * string/test-memccpy-ifunc.c: Likewise.
19011 * string/test-memchr-ifunc.c: Likewise.
19012 * string/test-memcmp-ifunc.c: Likewise.
19013 * string/test-memcpy-ifunc.c: Likewise.
19014 * string/test-memmem-ifunc.c: Likewise.
19015 * string/test-memmove-ifunc.c: Likewise.
19016 * string/test-mempcpy-ifunc.c: Likewise.
19017 * string/test-memset-ifunc.c: Likewise.
19018 * string/test-rawmemchr-ifunc.c: Likewise.
19019 * string/test-stpcpy-ifunc.c: Likewise.
19020 * string/test-stpncpy-ifunc.c: Likewise.
19021 * string/test-strcasecmp-ifunc.c: Likewise.
19022 * string/test-strcasestr-ifunc.c: Likewise.
19023 * string/test-strcat-ifunc.c: Likewise.
19024 * string/test-strchr-ifunc.c: Likewise.
19025 * string/test-strchrnul-ifunc.c: Likewise.
19026 * string/test-strcmp-ifunc.c: Likewise.
19027 * string/test-strcpy-ifunc.c: Likewise.
19028 * string/test-strcspn-ifunc.c: Likewise.
19029 * string/test-strlen-ifunc.c: Likewise.
19030 * string/test-strncasecmp-ifunc.c: Likewise.
19031 * string/test-strncat-ifunc.c: Likewise.
19032 * string/test-strncmp-ifunc.c: Likewise.
19033 * string/test-strncpy-ifunc.c: Likewise.
19034 * string/test-strnlen-ifunc.c: Likewise.
19035 * string/test-strpbrk-ifunc.c: Likewise.
19036 * string/test-strrchr-ifunc.c: Likewise.
19037 * string/test-strspn-ifunc.c: Likewise.
19038 * string/test-strstr-ifunc.c: Likewise.
19040 * debug/Makefile (tests-ifunc): New variable.
19041 (tests): Add $(tests-ifunc).
19042 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19043 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19044 * debug/test-stpcpy_chk-ifunc.c: New file.
19045 * debug/test-strcpy_chk-ifunc.c: Likewise.
19047 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19050 * elf/dl-load.c (open_verify): Retry read if the entire ELF
19051 header is not read in.
19053 2012-10-19 Joseph Myers <joseph@codesourcery.com>
19055 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
19056 script to $(SHELL) as $<. Pass $(common-objpfx) to script
19057 directly. Pass built executable to script as
19058 $(built-program-cmd).
19059 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
19060 $testprogram without using LD_LIBRARY_PATH and $ldso.
19062 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
19063 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
19064 $(rtld-installed-name).
19065 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
19066 (rtld_installed_name): Likewise.
19067 (library_path): Likewise.
19068 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
19069 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
19070 $(run-program-prefix) to tst-tables.sh.
19071 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
19072 it to run tst-table-from and tst-table-to.
19073 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
19074 Pass it to tst-table.sh.
19075 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
19076 $(run-program-prefix) to tst-gettext.sh.
19077 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
19079 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
19081 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
19082 to run tst-gettext.
19083 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
19084 to run tst-gettext2.
19085 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
19086 to run tst-translit.
19087 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
19088 $(run-program-prefix) to tst-mtrace.sh.
19089 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
19091 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
19092 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
19093 $(rtld-installed-name).
19094 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
19095 (rtld_installed_name): Likewise.
19096 (run_program_prefix): New variable. Use it to run wordexp-test.
19098 * Makeconfig (ARCH): Remove all definitions.
19099 (machine): Likewise.
19100 [ARCH]: Remove conditional code.
19101 [!objdir]: Give error.
19102 [!objdir] (objpfx): Remove.
19103 [!objdir] (common-objpfx): Likewise.
19104 [!objdir] (common-objdir): Likewise.
19105 * configure.in (config_makefile): Remove. Hardcode Makefile in
19106 AC_CONFIG_FILES call.
19107 * configure: Regenerated.
19110 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19112 (testout): Likewise.
19114 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
19115 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
19116 $(rtld-installed-name).
19117 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
19118 (rtld_installed_name): Likwise.
19119 (runit): Remove function.
19120 (run_getconf): New variable, Use it for running getconf binary.
19122 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
19125 * string/test-memmem.c (check_result): New function.
19126 (do_one_test): Use it.
19127 (check1): New function.
19128 (test_main): Use it.
19130 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
19132 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
19134 2012-10-18 Joseph Myers <joseph@codesourcery.com>
19136 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
19137 (_G_LSEEK64): Likewise.
19138 (_G_MMAP64): Likewise.
19139 (_G_FSTAT64): Likewise.
19140 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
19141 (_G_LSEEK64): Likewise.
19142 (_G_MMAP64): Likewise.
19143 (_G_FSTAT64): Likewise.
19144 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
19145 unconditional. Call __mmap64 directly.
19146 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
19147 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
19148 __lseek64 directly.
19149 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
19150 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
19152 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
19153 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
19154 __lseek64 directly.
19155 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
19156 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
19157 __lseek64 directly.
19158 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
19159 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
19160 __lseek64 directly.
19161 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
19162 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
19163 __fxstat64 directly.
19164 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
19165 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
19167 (freopen64) [!_G_OPEN64]: Remove conditional code.
19168 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
19170 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
19171 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
19173 (ftello64) [!_G_LSEEK64]: Remove conditional code.
19174 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
19176 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19177 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
19179 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
19180 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
19182 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19183 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
19185 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19186 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
19188 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19190 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19193 * manual/memory.texi (Malloc Tunable Parameters): Add note
19194 about free list pointers overwriting some perturb bytes.
19195 Wording suggested by Roland McGrath.
19197 2012-10-17 Joseph Myers <joseph@codesourcery.com>
19199 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
19200 (lgamma_test): Likewise.
19201 (tgamma_test): Likewise.
19203 2012-10-16 Florian Weimer <fweimer@redhat.com>
19206 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
19207 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
19209 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
19211 * NEWS: Mention BZ #14716.
19212 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
19213 when removing AVAILABLE1_USES_J macro.
19215 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
19217 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
19218 (__bswap_64): __uint64_t for unsigned 64-bit int.
19220 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
19222 * include/string.h (memmem): Declare libc hidden alias.
19223 * string/memmem.c (memmem): Define libc hidden alias.
19224 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
19225 __read, __close instead of open, read, close.
19227 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
19229 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
19230 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
19232 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
19233 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
19234 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
19236 (__rawmemchr_sse2): Likewise.
19237 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
19238 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
19239 (__strchr_sse2): Likewise.
19240 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
19241 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
19242 (__strcasecmp_sse2): Likewise.
19243 (__strncasecmp_sse2): Likewise.
19244 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
19245 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
19246 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
19247 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
19248 (__strrchr_sse2): Likewise.
19249 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
19251 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19252 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19253 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19254 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19255 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19256 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19257 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19258 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19259 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
19260 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
19261 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
19262 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
19263 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
19264 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19265 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19266 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19267 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19268 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19269 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
19270 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
19271 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
19272 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
19273 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
19274 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19275 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
19276 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19277 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19278 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19279 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19280 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19282 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
19284 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
19285 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
19286 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
19287 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
19289 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
19291 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
19292 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
19293 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
19294 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
19296 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19297 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19298 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19299 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19300 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19301 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19302 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19303 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19304 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19305 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19306 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19307 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19308 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19309 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
19310 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
19311 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19312 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
19313 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
19314 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19315 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19316 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19317 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19318 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19319 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19320 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19321 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
19322 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
19323 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
19324 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
19325 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19326 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
19327 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19328 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19329 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
19330 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19331 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19332 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19333 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19334 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19335 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19336 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
19338 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
19339 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
19340 * include/ifunc-impl-list.h: New file.
19341 * misc/ifunc-impl-list.c: Likewise.
19342 * misc/Makefile (routines): Add ifunc-impl-list.
19343 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
19344 * string/test-string.h: Include <ifunc-impl-list.h>.
19345 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
19346 impl_array): New variables.
19347 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
19349 (test_init): Call __libc_ifunc_impl_list to initialize
19350 func_list if TEST_IFUNC and TEST_NAME are defined.
19352 * string/Makefile (strop-tests): Add bcopy and bzero.
19353 * string/test-bcopy.c: New file.
19354 * string/test-bzero.c: Likewise.
19355 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
19357 * string/test-memset.c: Support bzero test if TEST_BZERO is
19359 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
19361 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
19363 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
19366 2012-10-10 Joseph Myers <joseph@codesourcery.com>
19368 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
19369 * configure: Regenerated.
19371 * Makeconfig (+link-static-before-libc): Don't include
19372 $(link-static-libc).
19374 * libio/libio.h (_IO_pos_t): Remove.
19376 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
19378 * NEWS: Add note about FIPS mode. Wording suggested by Roland
19381 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
19383 * crypt/crypt-entry.c: Include fips-private.h.
19384 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
19385 * crypt/md5c-test.c (main): Tolerate disabled MD5.
19386 * sysdeps/unix/sysv/linux/fips-private.h: New file.
19387 * sysdeps/generic/fips-private.h: New file, dummy fallback.
19389 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
19391 * crypt/crypt-private.h: Include stdbool.h.
19392 (_ufc_setup_salt_r): Return bool.
19393 * crypt/crypt-entry.c: Include errno.h.
19394 (__crypt_r): Return NULL with EINVAL for bad salt.
19395 * crypt/crypt_util.c (bad_for_salt): New.
19396 (_ufc_setup_salt_r): Check that salt is long enough and within
19397 the specified alphabet.
19398 * crypt/badsalttest.c: New file.
19399 * crypt/Makefile (tests): Add it.
19400 ($(objpfx)badsalttest): New.
19402 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
19404 * NEWS: Add entry for BZ #14602.
19406 2012-10-09 Joseph Myers <joseph@codesourcery.com>
19408 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
19410 * math/libm-test.inc: Update comment listing what functions and
19412 (isgreater_test): New function.
19413 (isgreaterequal_test): Likewise.
19414 (isless_test): Likewise.
19415 (islessequal_test): Likewise.
19416 (islessgreater_test): Likewise.
19417 (isunordered_test): Likewise.
19418 (main): Call the new functions.
19420 2012-10-09 Roland McGrath <roland@hack.frob.com>
19422 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
19423 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
19424 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
19425 * sysdeps/i386/configure: Regenerated.
19426 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
19427 * sysdeps/mach/configure: Regenerated.
19428 * sysdeps/mach/hurd/configure: Regenerated.
19429 * sysdeps/powerpc/configure: Regenerated.
19430 * sysdeps/powerpc/powerpc32/configure: Regenerated.
19431 * sysdeps/powerpc/powerpc64/configure: Regenerated.
19432 * sysdeps/s390/s390-32/configure: Regenerated.
19433 * sysdeps/s390/s390-64/configure: Regenerated.
19434 * sysdeps/sh/configure: Regenerated.
19435 * sysdeps/sparc/configure: Regenerated.
19436 * sysdeps/unix/sysv/linux/configure: Regenerated.
19437 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19438 * sysdeps/x86_64/configure: Regenerated.
19440 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
19441 defined. Don't check if MAP is NULL.
19443 2012-10-09 Joseph Myers <joseph@codesourcery.com>
19445 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
19446 (_G_stat64): Likewise.
19447 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
19448 (_G_stat64): Likewise.
19449 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
19450 instead of struct _G_stat64.
19451 * libio/fileops.c (mmap_remap_check): Likewise.
19452 (decide_maybe_mmap): Likewise.
19453 (_IO_new_file_seekoff): Likewise.
19454 (_IO_file_stat): Likewise.
19455 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
19457 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
19458 instead of struct _G_stat64.
19459 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19461 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
19464 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19466 (CHECK_EOL): New macro.
19467 (two_way_short_needle): Check beginning of haystack for EOL. Use
19469 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19470 Replace with CHECK_EOL.
19471 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19472 Replace with CHECK_EOL.
19474 2012-10-08 Joseph Myers <joseph@codesourcery.com>
19476 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
19478 * math/libm-test.inc: Update comment listing what functions and
19480 (finite_test): New function.
19481 (isinf_test): Likewise.
19482 (isnan_test): Likewise.
19483 (fpclassify_test): Test subnormal input.
19484 (isfinite_test): Likewise.
19485 (isnormal_test): Likewise.
19486 (main): Call the new functions.
19488 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
19491 * Makerules (%.dynsym): Force C locale when running
19492 $(OBJDUMP) --dynamic-syms.
19494 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
19496 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
19499 2012-10-06 David S. Miller <davem@davemloft.net>
19501 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
19502 upper 32-bits of the length value in %o2 since we use branch-on-register
19503 tests which consider the entire 64-bit register.
19505 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
19507 * string/test-strstr.c (check2): Add a test for page boundary.
19509 2012-10-05 David S. Miller <davem@davemloft.net>
19511 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
19512 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
19514 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19516 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19517 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
19518 and bzero when HWCAP_SPARC_CRYPTO is present.
19520 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
19523 * string/test-strstr.c (check2): New function.
19524 (test_main): Call check2.
19526 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
19528 * string/bug-strcasestr1.c (do_test): Moved to ...
19529 * string/test-strcasestr.c (check1): Here. New function.
19530 (do_one_test): Break out result checking code into ...
19531 (check_result): This. New function.
19532 (do_one_test): Call check_result.
19533 (test_main): Call check1.
19534 * string/bug-strchr1.c (do_test): Moved to ...
19535 * string/test-strchr.c (check1): Here. New function.
19536 (do_one_test): Break out result checking code into ...
19537 (check_result): This. New function.
19538 (do_one_test): Call check_result.
19539 (test_main): Call check1.
19540 * string/bug-strstr1.c (main): Moved to ...
19541 * string/test-strstr.c (check1): Here. New function.
19542 (do_one_test): Break out result checking code into ...
19543 (check_result): This. New function.
19544 (do_one_test): Call check_result.
19545 (test_main): Call check1.
19546 * string/bug-strcasestr1.c: Removed.
19547 * string/bug-strchr1.c: Likewise.
19548 * string/bug-strstr1.c: Likewise.
19550 * elf/Makefile (dl-routines): Add hwcaps.
19551 * elf/dl-support.c (_dl_important_hwcaps): Removed.
19552 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
19553 (_dl_important_hwcaps): Moved to ...
19554 * elf/dl-hwcaps.c: Here. New file.
19555 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
19558 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
19559 if IS_IN_rtld isn't defined.
19561 * elf/dl-support.c (_dl_sysinfo_map): New.
19562 Include "get-dynamic-info.h" and "setup-vdso.h".
19563 (_dl_non_dynamic_init): Call setup_vdso.
19564 * elf/dynamic-link.h: Don't include <assert.h>.
19565 (elf_get_dynamic_info): Moved to ...
19566 * elf/get-dynamic-info.h: Here. New file.
19567 * elf/dynamic-link.h: Include "get-dynamic-info.h".
19568 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
19569 * elf/setup-vdso.h: Here. New file.
19570 * elf/rtld.c: Include "setup-vdso.h".
19571 (dl_main): Call setup_vdso.
19573 2012-10-05 Joseph Myers <joseph@codesourcery.com>
19575 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
19576 creal in comment listing functions tested. List finite, isinf,
19577 isnan, isless, islessequal, isgreater, isgreaterequal,
19578 islessgreater, isunordered, lgamma_r and pow10 as functions and
19579 macros not tested. Mention which functions not tested are aliases
19580 for other functions. Fix typo. Note that signs of NaNs are not
19583 * scripts/config.guess: Update from config.git.
19584 * scripts/config.sub: Likewise.
19586 2012-10-04 Roland McGrath <roland@hack.frob.com>
19588 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
19589 * misc/madvise.c (madvise): Renamed to __madvise.
19590 Make madvise a weak alias.
19591 * include/sys/mman.h: Declare __madvise.
19592 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
19593 * sysdeps/unix/syscalls.list
19594 (madvise): Make __madvise the strong name, and madvise a weak alias.
19595 * sysdeps/unix/sysv/linux/syscalls.list
19596 (madvise, mmap): Remove redundant entries.
19597 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
19598 * malloc/malloc.c (mtrim): Likewise.
19599 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
19601 2012-10-03 Roland McGrath <roland@hack.frob.com>
19603 * sysdeps/mach/hurd/dl-cache.c: File removed.
19604 * config.h.in (USE_LDCONFIG): New #undef.
19605 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
19606 * configure: Regenerated.
19607 * elf/Makefile (dl-routines): Add dl-cache only under
19608 [$(use-ldconfig) = yes].
19609 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
19610 cache on [USE_LDCONFIG].
19611 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
19613 * elf/rtld.c (dl_main): Likewise.
19615 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
19617 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
19618 _SC_LEVEL4_CACHE_LINESIZE.
19620 2012-10-03 Roland McGrath <roland@hack.frob.com>
19622 * sysdeps/unix/bsd/confstr.h: File removed.
19624 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
19626 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
19629 2012-10-02 Roland McGrath <roland@hack.frob.com>
19631 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
19632 Make 'mapoff' field ElfW(Off) rather than off_t.
19634 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
19636 * nscd/Makefile: Remove nscd-cflags and all its users.
19637 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
19638 (CFLAGS-nonlib): Add compiler flags for nscd modules.
19641 * malloc.c (malloc_printerr): Clarify error message.
19643 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
19646 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19647 Set bit_FMA_Usable if FMA is supported.
19648 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
19650 (bit_FMA4_Usable): Updated.
19651 (index_FMA_Usable): New macro.
19652 (CPUID_FMA): Likewise
19653 (HAS_FMA): Defined with bit_FMA_Usable.
19655 2012-10-01 Roland McGrath <roland@hack.frob.com>
19657 * bits/types.h (__swblk_t): Type removed.
19658 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
19659 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
19660 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19661 (__SWBLK_T_TYPE): Likewise.
19662 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19663 (__SWBLK_T_TYPE): Likewise.
19664 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19665 (__SWBLK_T_TYPE): Likewise.
19666 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19667 (__SWBLK_T_TYPE): Likewise.
19669 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
19670 Honza Horak <hhorak@redhat.com>
19672 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
19673 (xdr_mapname): Use YPMAXMAP as maxsize.
19674 (xdr_peername): Use YPMAXPEER as maxsize.
19675 (xdr_keydat): Use YPAXRECORD as maxsize.
19676 (xdr_valdat): Use YPMAXRECORD as maxsize.
19678 2012-10-01 Roland McGrath <roland@hack.frob.com>
19680 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
19682 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
19683 * csu/init-first.c: ... here.
19684 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
19685 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19686 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19687 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19688 * sysdeps/i386/init-first.c: File removed.
19689 * sysdeps/sh/init-first.c: File removed.
19691 2012-10-01 Joseph Myers <joseph@codesourcery.com>
19694 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
19695 if x * y might underflow to zero and z is zero.
19696 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19697 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19698 * math/libm-test.inc (min_subnorm_value): New variable.
19699 (fma_test): Add more tests.
19700 (fma_test_towardzero): Likewise.
19701 (fma_test_downward): Likewise
19702 (fma_test_upward): Likewise.
19703 (initialize): Set min_subnorm_value.
19705 2012-09-29 Joseph Myers <joseph@codesourcery.com>
19708 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
19710 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
19711 mode for addition resulting in exact zero.
19712 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
19713 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
19715 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19716 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19717 * math/libm-test.inc (fma_test): Add more tests.
19718 (fma_test_towardzero): New function.
19719 (fma_test_downward): Likewise.
19720 (fma_test_upward): Likewise.
19721 (main): Call the new functions.
19723 2012-09-28 David S. Miller <davem@davemloft.net>
19725 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
19727 2012-09-28 Roland McGrath <roland@hack.frob.com>
19729 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19730 instead of SIGALRM.
19732 * sysdeps/gnu/_G_config.h: Moved to ...
19733 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
19734 * sysdeps/mach/hurd/_G_config.h: Moved to ...
19735 * sysdeps/generic/_G_config.h: ... here.
19737 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
19739 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19741 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19742 Conditionalize target on [libnss_test1.so-version].
19744 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19746 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19747 (elfobjdir): Move out of conditionals.
19749 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19750 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19751 (__nss_lookup_function): Conditionalize label remove_from_tree on
19752 [!DO_STATIC_NSS || SHARED], matching its only use.
19754 2012-09-28 David S. Miller <davem@davemloft.net>
19756 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19757 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19759 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19761 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19762 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19763 when HWCAP_SPARC_CRYPTO is present.
19765 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19767 * io/tst-mknodat.c: Create a FIFO instead of a socket.
19769 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
19772 * stdio-common/vfprintf.c (process_string_arg): Revert
19775 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
19777 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19779 * stdio-common/tst-sprintf.c: Include <locale.h>
19780 (main): Test sprintf's handling of incomplete multibyte
19783 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
19785 * elf/dl-runtime.c (VERSYMIDX): Removed.
19786 * elf/dl-version.c (VERSYMIDX): Likewise.
19787 * elf/do-rel.h (VERSYMIDX): Likewise.
19788 (VALIDX): Likewise.
19789 * elf/dynamic-link.h (VERSYMIDX): Likewise.
19790 * elf/rtld.c (VALIDX): Likewise.
19791 (ADDRIDX): Likewise.
19792 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19793 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19794 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
19795 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19796 (VALIDX): Likewise.
19797 (ADDRIDX): Likewise.
19799 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19801 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19803 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
19806 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19808 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19809 addresses are in the same scope as 192.0.2/24.
19810 * posix/gai.conf: Document new scope table defaults.
19812 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19815 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19816 for ftell. Compute offsets from write pointers instead.
19817 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19819 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19822 * libio/Makefile (tests): New test case tst-fseek.
19823 * libio/tst-fseek.c: New test case to verify that fseek/ftell
19824 combination works in wide mode.
19825 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19826 state when the external buffer state changes.
19828 2012-09-27 David S. Miller <davem@davemloft.net>
19831 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19832 pass reloc->r_addend in as the 'high' argument to
19833 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19837 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19839 * rt/tst-aio2.c: Include <pthread.h>.
19840 * rt/tst-aio3.c: Likewise.
19842 2012-09-27 Steve Ellcey <sellcey@mips.com>
19844 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19846 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
19848 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19849 contents on [SHARED].
19851 2012-09-26 Marek Polacek <polacek@redhat.com>
19855 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19856 for C++ and GCC <4.3 as well as for non GCC compilers.
19858 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19860 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19862 2012-09-25 Roland McGrath <roland@hack.frob.com>
19864 * Makefile.in (all, install): Declare with .PHONY.
19865 Reported by Michael Hope <michael.hope@linaro.org>.
19867 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19869 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19870 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19872 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19874 (sydep_routines): Add the new and the internal functions.
19875 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19876 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19878 (GLIBC_2.17): Add the new function.
19879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19880 (GLIBC_2.17): Likewise.
19881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19882 (GLIBC_2.17): Likewise.
19883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19884 (GLIBC_2.17): Likewise.
19885 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19887 2012-09-25 Alan Modra <amodra@gmail.com>
19889 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19890 Add release barrier before setting once_control to say
19891 initialisation is done. Add hints on lwarx. Use macro in
19893 (clear_once_control): Add release barrier.
19895 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19898 * math/s_clog.c (__clog): Handle more values close to |z| = 1
19900 * math/s_clog10.c (__clog10): Likewise.
19901 * math/s_clog10f.c (__clog10f): Likewise.
19902 * math/s_clog10l.c (__clog10l): Likewise.
19903 * math/s_clogf.c (__clogf): Likewise.
19904 * math/s_clogl.c (__clogl): Likewise.
19905 * math/Makefile (libm-calls): Add x2y2m1.
19906 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19907 (__x2y2m1): Likewise.
19908 (__x2y2m1l): Likewise.
19909 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19910 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19911 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19912 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19913 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19914 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19915 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19916 * sysdeps/i386/fpu/libm-test-ulps: Update.
19917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19920 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19921 int as type of variable DEPTH.
19922 (glob): Use size_t instead of int as type of variables NEWCOUNT
19925 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19927 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19928 Add s_sincosf-sse2.
19929 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19930 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19931 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19932 macros for using routine as __sincosf_ia32.
19933 Use macro for function declaration and weak_alias.
19934 * sysdeps/i386/fpu/libm-test-ulps: Update.
19936 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19937 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19939 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19940 subnormal argument.
19941 * math/s_cexpf.c (__cexpf): Likewise.
19942 * math/s_csinf.c (__csinf): Likewise.
19943 * math/s_csinhf.c (__csinhf): Likewise.
19944 * math/s_ctanf.c (__ctanf): Likewise.
19945 * math/s_ctanhf.c (__ctanhf): Likewise.
19946 * math/s_ccosh.c (__ccoshf): Likewise.
19947 * math/s_cexp.c (__cexpl): Likewise.
19948 * math/s_csin.c (__csin): Likewise.
19949 * math/s_csinh.c (__csinh): Likewise.
19950 * math/s_ctan.c (__ctan): Likewise.
19951 * math/s_ctanh.c (ctanh): Likewise.
19952 * math/s_ccoshl.c (__ccoshl): Likewise.
19953 * math/s_cexpl.c (__cexpl): Likewise.
19954 * math/s_csinl.c (__csinl): Likewise.
19955 * math/s_csinhl.c (__csinhl): Likewise.
19956 * math/s_ctanl.c (__ctanl): Likewise.
19957 * math/s_ctanhl.c (__ctanhl): Likewise.
19959 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19961 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19962 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19963 (_IO_off_t): Define to __off_t, not _G_off_t.
19964 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19965 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19966 (_IO_wint_t): Define to wint_t, not _G_wint_t.
19967 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19968 type of __dummy and __dummy2 fields.
19969 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19970 (_G_ssize_t): Likewise.
19971 (_G_off_t): Likewise.
19972 (_G_pid_t): Likewise.
19973 (_G_uid_t): Likewise.
19974 (_G_wchar_t): Likewise.
19975 (_G_wint_t): Likewise.
19976 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19977 (_G_ssize_t): Likewise.
19978 (_G_off_t): Likewise.
19979 (_G_pid_t): Likewise.
19980 (_G_uid_t): Likewise.
19981 (_G_wchar_t): Likewise.
19982 (_G_wint_t): Likewise.
19983 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19984 (_G_ssize_t): Likewise.
19985 (_G_off_t): Likewise.
19986 (_G_pid_t): Likewise.
19987 (_G_uid_t): Likewise.
19988 (_G_wchar_t): Likewise.
19989 (_G_wint_t): Likewise.
19991 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19993 * malloc/arena.c: Include malloc-sysdep.h.
19994 (shrink_heap): Use check_may_shrink_heap to decide if madvise
19995 is sufficient to shrink the heap or an unmap is needed.
19996 * sysdeps/generic/malloc-sysdep.h: New file. Define
19997 new function check_may_shrink_heap.
19998 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
19999 new function check_may_shrink_heap.
20001 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20003 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
20006 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
20008 * catgets/test-gencat.sh: Add "set -e".
20009 * elf/tst-pathopt.sh: Likewise.
20010 * grp/tst_fgetgrent.sh: Likewise.
20011 * iconvdata/run-iconv-test.sh: Likewise.
20012 * intl/tst-gettext.sh: Likewise.
20013 * intl/tst-gettext2.sh: Likewise.
20014 * intl/tst-gettext4.sh: Likewise.
20015 * intl/tst-gettext6.sh: Likewise.
20016 * intl/tst-translit.sh: Likewise.
20017 * io/ftwtest-sh: Likewise.
20018 * libio/test-freopen.sh: Likewise.
20019 * malloc/tst-mtrace.sh: Likewise.
20020 * posix/globtest.sh: Likewise.
20021 * posix/tst-getconf.sh: Likewise.
20022 * posix/wordexp-tst.sh: Likewise.
20023 * stdio-common/tst-printf.sh: Likewise.
20024 * stdio-common/tst-unbputc.sh: Likewise.
20025 * stdlib/tst-fmtmsg.sh: Likewise.
20026 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20027 * catgets/Makefile: Do not specify -e option when running
20028 testsuite shell scripts.
20029 * elf/Makefile: Likewise.
20030 * grp/Makefile: Likewise.
20031 * iconvdata/Makefile: Likewise.
20032 * intl/Makefile: Likewise.
20033 * io/Makefile: Likewise.
20034 * libio/Makefile: Likewise.
20035 * malloc/Makefile: Likewise.
20036 * posix/Makefile: Likewise.
20037 * stdio-common/Makefile: Likewise.
20038 * stdlib/Makefile: Likewise.
20039 * sysdeps/x86_64/Makefile: Likewise.
20041 * io/ftwtest-sh: Add copyright header.
20042 * posix/globtest.sh: Likewise.
20043 * posix/tst-getconf.sh: Likewise.
20044 * posix/wordexp-tst.sh: Likewise.
20045 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20047 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
20050 * Makeconfig (+link): Defined as $(+link-static) if
20051 $(build-shared) isn't yes.
20052 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20054 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20056 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20059 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20060 new chunk size with MALLOC_ALIGN_MASK.
20062 2012-09-24 Joseph Myers <joseph@codesourcery.com>
20065 * stdio-common/printf_fphex.c: Include <stdbool.h> and
20067 (__printf_fphex): Determine rounding using get_rounding_mode and
20069 * stdio-common/tst-printf-round.c (struct hex_test): New
20071 (hex_tests): New variable.
20072 (test_hex_in_one_mode): New function.
20073 (do_test): Also run tests for hex float output.
20075 2012-09-21 Joseph Myers <joseph@codesourcery.com>
20077 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20078 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20079 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
20080 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20081 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20082 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
20083 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20084 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20086 2012-09-20 Joseph Myers <joseph@codesourcery.com>
20088 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
20089 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
20090 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
20091 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
20093 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
20096 * elf/rtld.c (dl_main): Limit the check for self loading to normal
20098 * elf/tst-rtld-load-self.sh: New test.
20099 * elf/Makefile: Run it.
20101 2012-09-18 Joseph Myers <joseph@codesourcery.com>
20103 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
20104 (tst-writev-ENV): Remove.
20105 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
20107 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
20109 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
20111 2012-09-17 Joseph Myers <joseph@codesourcery.com>
20113 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
20115 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
20117 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
20118 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
20119 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
20122 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
20125 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
20126 * config.make.in (have-cpp-asm-debuginfo): Removed.
20127 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
20128 * configure: Regenerated.
20130 2012-09-14 Joseph Myers <joseph@codesourcery.com>
20133 * stdio-common/printf_fp.c: Include <stdbool.h> and
20135 (___printf_fp): Determine rounding using get_rounding_mode and
20137 * stdio-common/tst-printf-round.c: New file.
20138 * stdio-common/Makefile (tests): Add tst-printf-round.
20139 (link-libm): New variable.
20140 ($(objpfx)tst-printf-round): Depend in $(link-libm).
20142 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
20145 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
20146 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
20148 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
20151 2012-09-13 Joseph Myers <joseph@codesourcery.com>
20153 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
20154 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20155 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20156 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20158 2012-09-12 Joseph Myers <joseph@codesourcery.com>
20161 * include/rounding-mode.h: New file.
20162 * sysdeps/generic/get-rounding-mode.h: Likewise.
20163 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
20164 * stdlib/strtod_l.c: Include <rounding-mode.h>.
20165 (MAX_VALUE): New macro.
20166 (MIN_VALUE): Likewise.
20167 (overflow_value): New function.
20168 (underflow_value): Likewise.
20169 (round_and_return): Use overflow_value and underflow_value to
20170 determine return values in overflow and underflow cases. Use
20171 round_away to determine rounding depending on rounding mode.
20172 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
20173 determine return values in overflow and underflow cases.
20174 * stdlib/tst-strtod-round.c: Include <fenv.h>.
20175 (struct test_results): New structure.
20176 (struct test): Use struct test_results to store expected results
20177 for all rounding modes.
20178 (TEST): Include expected results for all rounding modes.
20179 (test_in_one_mode): New function.
20180 (do_test): Use test_in_one_mode to compute and check results.
20181 Check results for all rounding modes.
20182 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
20185 2012-12-09 Allan McRae <allan@archlinux.org>
20187 * sysdeps/i386/fpu/libm-test-ulps: Update
20189 2012-09-11 Joseph Myers <joseph@codesourcery.com>
20191 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
20192 (_G_int32_t): Likewise.
20193 (_G_uint16_t): Likewise.
20194 (_G_uint32_t): Likewise.
20195 (_G_HAVE_BOOL): Likewise.
20196 (_G_HAVE_ATEXIT): Likewise.
20197 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20198 (_G_HAVE_IO_FILE_OPEN): Likewise.
20199 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
20200 (_G_int32_t): Likewise.
20201 (_G_uint16_t): Likewise.
20202 (_G_uint32_t): Likewise.
20203 (_G_HAVE_BOOL): Likewise.
20204 (_G_HAVE_ATEXIT): Likewise.
20205 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20206 (_G_HAVE_IO_FILE_OPEN): Likewise.
20207 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
20208 (_G_int32_t): Likewise.
20209 (_G_uint16_t): Likewise.
20210 (_G_uint32_t): Likewise.
20211 (_G_HAVE_BOOL): Likewise.
20212 (_G_HAVE_ATEXIT): Likewise.
20213 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20214 (_G_HAVE_IO_FILE_OPEN): Likewise.
20216 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
20218 * csu/libc-tls.c: Update copyright years.
20220 2012-09-10 Joseph Myers <joseph@codesourcery.com>
20222 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
20223 [!_G_USING_THUNKS]: Remove conditional code.
20224 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
20225 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
20227 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
20228 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
20229 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20230 (_G_VTABLE_LABEL_PREFIX): Likewise.
20231 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20232 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20233 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20234 (_G_VTABLE_LABEL_PREFIX): Likewise.
20235 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20236 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20237 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20238 (_G_VTABLE_LABEL_PREFIX): Likewise.
20239 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20241 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
20243 * libio/Makefile: Include ../Makeconfig before tests.
20244 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
20245 only if $(build-shared) is yes.
20247 * iconv/gconv_db.c: Update copyright years.
20249 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20251 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
20252 unwind info if defined PIC. Fix special cases description.
20253 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
20255 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
20257 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
20259 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
20261 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
20263 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
20266 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
20267 (LDLIBS-tst-chk4): This.
20268 (LDFLAGS-tst-chk5): Renamed to ...
20269 (LDLIBS-tst-chk5): This.
20270 (LDFLAGS-tst-chk6): Renamed to ...
20271 (LDLIBS-tst-chk6): This.
20272 (LDFLAGS-tst-lfschk4): Renamed to ...
20273 (LDLIBS-tst-lfschk4): This.
20274 (LDFLAGS-tst-lfschk5): Renamed to ...
20275 (LDLIBS-tst-lfschk5): This.
20276 (LDFLAGS-tst-lfschk6): Renamed to ...
20277 (LDLIBS-tst-lfschk6): This.
20279 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
20280 on $(common-objpfx)soversions.mk.
20282 2012-09-07 Joseph Myers <joseph@codesourcery.com>
20285 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
20288 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20290 * malloc/arena.c (arena_get_retry): New function that gets
20291 another arena for the caller to try its request on.
20292 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
20293 current arena cannot fulfill the request.
20294 (__libc_memalign): Likewise.
20295 (__libc_memalign): Likewise.
20296 (__libc_pvalloc): Likewise.
20297 (__libc_calloc): Likewise.
20299 2012-09-05 John Tobey <john.tobey@gmail.com>
20302 * manual/arith.texi (Operations on Complex): Fix description
20303 of carg branch cut.
20305 2012-09-06 Joseph Myers <joseph@codesourcery.com>
20308 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
20312 * manual/memory.texi (Memory): Make order of menu items match
20315 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20317 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
20318 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
20319 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
20321 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20323 * csu/libc-tls.c (static_dtv): Renamed to ...
20324 (_dl_static_dtv): This. Make it global.
20325 (_dl_initial_dtv): Removed.
20326 (__libc_setup_tls): Updated.
20327 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
20328 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
20331 2012-09-06 Petr Machata <pmachata@redhat.com>
20333 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
20334 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
20335 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
20336 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
20338 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20341 * csu/libc-tls.c (_dl_initial_dtv): New variable.
20342 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
20345 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20348 * Makeconfig (link-static-before-libc): Replace $(+prector)
20350 (link-static-after-libc): Replace $(+postctor) with
20352 (link-bounded): Replace $(+prector)/$(+postctor) with
20353 $(+prectorT)/$(+postctorT).
20354 (+prectorT): New macro.
20355 (+postctorT): Likewise.
20357 2012-09-06 Joseph Myers <joseph@codesourcery.com>
20359 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
20360 (round_str): Handle values above the maximum for IBM long double
20362 * stdlib/tst-strtod-round.c (tests): Regenerated.
20364 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20366 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
20368 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
20369 zarch_nohighgprs around the zarch optimized routines.
20370 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20371 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20372 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
20375 2012-09-05 David S. Miller <davem@davemloft.net>
20377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20379 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
20380 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
20381 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
20382 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20385 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20387 * malloc/arena.c: Fold copyright years.
20388 * malloc/mcheck.c, malloc/memusage.c: Likewise.
20390 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20392 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
20394 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20396 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
20398 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20400 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
20401 change internal state upon failure.
20403 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20405 * malloc/mcheck.c (mcheck_check_all): Fix typo.
20406 * malloc/memusage.c (mmap): Likewise.
20407 (mmap64, mremap): Likewise. Adjust name in comment.
20409 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20411 * libio/fileops.c: Fix typos in comments.
20412 * libio/oldfileops.c: Likewise.
20413 * libio/wfileops.c: Likewise.
20415 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20418 * malloc/Makefile (tests): Add tst-malloc-usable test case.
20419 (tst-malloc-usable-ENV): Set environment for test case.
20420 * malloc/hooks.c (malloc_check_get_size): New function to get
20422 * malloc/malloc.c (musable): Use malloc_check_get_size.
20423 * malloc/tst-malloc-usable.c: New test case.
20425 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20427 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
20429 2012-09-05 Allan McRae <allan@archlinux.org>
20432 * configure.in (CXX_SYSINCLUDES): Use compiler output to
20433 determine header location.
20434 * configure: Regenerated.
20436 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20438 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
20440 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
20441 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
20443 (test): Regenerate.
20445 2012-09-04 David S. Miller <davem@davemloft.net>
20447 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
20448 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
20449 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
20451 2012-09-04 Florian Weimer <fweimer@redhat.com>
20453 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
20456 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
20458 2012-09-04 Joseph Myers <joseph@codesourcery.com>
20461 * libio/iogetdelim.c: Include <limits.h>.
20462 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
20463 + len + 1 would overflow.
20465 2012-09-03 Andreas Jaeger <aj@suse.de>
20467 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20468 * sysdeps/i386/fpu/libm-test-ulps: Update.
20470 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20472 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20473 Add s_sinf-sse2, s_conf-sse2.
20475 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
20476 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
20477 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
20478 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
20480 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
20481 for using routine as __sinf_ia32.
20482 Use macro for function declaration and weak_alias.
20483 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
20484 for using routine as __cosf_ia32.
20485 Use macro for function declaration and weak_alias.
20487 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
20488 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
20490 * sysdeps/x86_64/fpu/s_sinf.S: New file.
20491 * sysdeps/x86_64/fpu/s_cosf.S: New file.
20492 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20494 * math/libm-test.inc (cos_test): Add more test cases.
20495 (sin_test): Likewise.
20496 (sincos_test): Likewise.
20498 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20500 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20501 (IFUNC_RESOLVE): Make pointers to the specialized implementations
20503 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20505 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
20508 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
20509 first element of the GOT.
20510 (elf_machine_load_address): Return the difference between
20511 the runtime address of _DYNAMIC and elf_machine_dynamic ().
20513 2012-09-01 Allan McRae <allan@archlinux.org>
20516 * configure.in (AWK): Require gawk version 3.0 or later.
20517 * configure: Regenerated.
20519 2012-09-01 Joseph Myers <joseph@codesourcery.com>
20521 * sysdeps/unix/sysv/linux/kernel-features.h
20522 (__ASSUME_POSIX_CPU_TIMERS): Remove.
20523 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20524 [__NR_clock_getres]: Make code unconditional.
20525 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
20526 (clock_getcpuclockid): Remove code left unreachable by removal of
20528 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
20529 code unconditional.
20530 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20531 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20532 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
20533 Make code unconditional.
20534 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20535 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20536 * sysdeps/unix/sysv/linux/clock_settime.c
20537 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
20539 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
20540 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20542 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
20545 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
20546 scripts/test-installation.pl.
20548 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
20549 and $ld_so_version if it is set.
20551 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20554 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
20555 failure if reading from procfs failed.
20556 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
20558 2012-08-27 Joseph Myers <joseph@codesourcery.com>
20560 * sysdeps/unix/sysv/linux/kernel-features.h
20561 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
20562 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20563 Remove conditional code.
20564 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20565 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
20566 Remove conditional code.
20567 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20568 * sysdeps/unix/sysv/linux/i386/fxstat.c
20569 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20570 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20571 * sysdeps/unix/sysv/linux/i386/fxstatat.c
20572 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20573 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20574 * sysdeps/unix/sysv/linux/i386/lxstat.c
20575 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20576 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20577 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
20578 Remove conditional code.
20579 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20580 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20581 Remove conditional code.
20582 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20583 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
20584 <kernel-features.h>.
20585 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
20587 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
20588 Remove conditional code.
20589 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20590 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
20591 Remove conditional.
20593 2012-08-27 Mike Frysinger <vapier@gentoo.org>
20596 * NEWS: Add fixed bug number.
20598 2012-08-27 Joseph Myers <joseph@codesourcery.com>
20601 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
20602 underflowing exponent in case of negative sign.
20603 * stdlib/tst-strtod-round-data: Add more tests.
20604 * stdlib/tst-strtod-round.c (tests): Regenerated.
20607 * stdlib/strtod_l.c (NDIG): Remove.
20608 (HEXNDIG): Likewise.
20609 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
20610 smallest representable value.
20611 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
20612 lie within an exact representation of 1/2 ulp of the result.
20613 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
20615 (TENS_P9_IDX): Define unconditionally.
20616 (TENS_P9_SIZE): Likewise.
20617 (TENS_P10_IDX): Likewise.
20618 (TENS_P10_SIZE): Likewise.
20619 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
20620 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
20621 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
20622 entries for 10^2^13 and 10^2^14.
20623 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
20624 (TENS_P13_IDX): Define.
20625 (TENS_P13_SIZE): Likewise.
20626 (TENS_P14_IDX): Likewise.
20627 (TENS_P14_SIZE): Likewise.
20628 (_fpioconst_pow10): Change array size to
20629 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
20631 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
20632 1024]: Add entries for 10^2^13 and 10^2^14.
20633 [LAST_POW10 > _LAST_POW10]: Remove #error.
20634 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
20635 (_fpioconst_pow10): Change array size to
20636 FPIOCONST_POW10_ARRAY_SIZE.
20637 * stdlib/gen-fpioconst.c: New file.
20638 * stdlib/gen-tst-strtod-round.c: Likewise.
20639 * stdlib/tst-strtod-round-data: Likewise.
20640 * stdlib/tst-strtod-round.c: Likewise.
20641 * stdlib/Makefile (tests): Add tst-strtod-round.
20644 * stdlib/strtod_l.c: Include <stdint.h>.
20645 (NDEBUG): Do not define.
20646 (round_and_return): Change EXPONENT parameter to type intmax_t.
20647 Rearrange calculations to avoid internal overflow possibilities.
20648 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
20649 Rearrange calculations to avoid internal overflow possibilities.
20650 Assert that number fits inside MPNSIZE limbs.
20651 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
20652 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
20653 calculations and add assertions to avoid internal overflow
20654 possibilities. Add casts to avoid signed/unsigned operations.
20655 * stdlib/tst-strtod-overflow.c: New file.
20656 * stdlib/Makefile (tests): Add tst-strtod-overflow.
20658 2012-08-25 Marek Polacek <polacek@redhat.com>
20660 * time/time.h: Fix some typos in comments.
20662 2012-08-23 Roland McGrath <roland@hack.frob.com>
20664 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
20665 * posix/tst-rfc3484-2.c: Likewise.
20666 * posix/tst-rfc3484-3.c: Likewise.
20668 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
20670 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
20671 (EF_ARM_ABI_FLOAT_HARD): Likewise.
20673 2012-08-23 Joseph Myers <joseph@codesourcery.com>
20675 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
20676 #include of fxstatat64.c.
20678 2012-08-22 Roland McGrath <roland@hack.frob.com>
20680 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
20681 * shadow/getspent_r.c: Likewise.
20682 * shadow/getspnam.c: Likewise.
20683 * shadow/getspnam_r.c: Likewise.
20684 * gshadow/getsgent.c: Likewise.
20685 * gshadow/getsgent_r.c: Likewise.
20686 * gshadow/getsgnam.c: Likewise.
20687 * gshadow/getsgnam_r.c: Likewise.
20688 * inet/getnetbyad.c: Likewise.
20689 * inet/getnetbyad_r.c: Likewise.
20690 * inet/getnetbynm.c: Likewise.
20691 * inet/getnetbynm_r.c: Likewise.
20692 * inet/getnetent.c: Likewise.
20693 * inet/getnetent_r.c: Likewise.
20694 * inet/getproto.c: Likewise.
20695 * inet/getproto_r.c: Likewise.
20696 * inet/getprtent.c: Likewise.
20697 * inet/getprtent_r.c: Likewise.
20698 * inet/getprtname.c: Likewise.
20699 * inet/getprtname_r.c: Likewise.
20700 * inet/getrpcbyname.c: Likewise.
20701 * inet/getrpcbyname_r.c: Likewise.
20702 * inet/getrpcbynumber.c: Likewise.
20703 * inet/getrpcbynumber_r.c: Likewise.
20704 * inet/getrpcent.c: Likewise.
20705 * inet/getrpcent_r.c: Likewise.
20706 * inet/getaliasent.c: Likewise.
20707 * inet/getaliasent_r.c: Likewise.
20708 * inet/getaliasname.c: Likewise.
20709 * inet/getaliasname_r.c: Likewise.
20710 * nscd/getgrgid_r.c: Likewise.
20711 * nscd/getgrnam_r.c: Likewise.
20712 * nscd/gethstbyad_r.c: Likewise.
20713 * nscd/gethstbynm3_r.c: Likewise.
20714 * nscd/getpwnam_r.c: Likewise.
20715 * nscd/getpwuid_r.c: Likewise.
20716 * nscd/getsrvbynm_r.c: Likewise.
20717 * nscd/getsrvbypt_r.c: Likewise.
20718 * nscd/gai.c: Likewise.
20720 * configure.in (build_nscd): New substituted variable, set
20721 by --disable-build-nscd and defaults to $use_nscd.
20722 * configure: Regenerated.
20723 * config.make.in (build-nscd): New substituted variable.
20724 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
20725 Change conditional to require [$(build-nscd) = yes] as well.
20726 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
20729 * configure.in (use_nscd): New substituted variable, set by
20730 --disable-nscd. If enabled, define USE_NSCD.
20731 * configure: Regenerated.
20732 * config.h.in: Add USE_NSCD.
20733 * config.make.in (use-nscd): New substituted variable.
20734 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20735 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20736 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20737 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20738 (CFLAGS-getgrnam_r.c): Likewise.
20739 (CFLAGS-initgroups.c): Likewise.
20740 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20741 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20743 * inet/getnetgrent_r.c
20744 (nscd_setnetgrent): New function, broken out of ...
20745 (setnetgrent): ... here. Call it.
20746 (innetgr): Conditionalize nscd bits on [USE_NSCD].
20747 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20748 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20749 * nscd/Makefile (routines, aux): Move definitions after include of
20750 Makeconfig. Conditionalize on [$(use-nscd) != no].
20751 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20752 Conditionalize on [USE_NSCD].
20753 (is_nscd, nscd_init_cb): Likewise.
20754 (nss_load_library): Conditionalize init callback on [USE_NSCD].
20755 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20756 * nss/nss_db/db-init.c: Likewise.
20757 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20759 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20760 (make_request): Use it.
20761 (cache_valid_p): New function.
20762 (__check_pf): Use it.
20763 * NEWS: Add item for --disable-nscd.
20765 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
20767 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20768 to support sed >= 4.2.1-20-ga9bf076.
20769 * configure: Regenerated.
20771 2012-08-22 Roland McGrath <roland@hack.frob.com>
20773 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20774 Conditionalize whole body on [IREL].
20776 2012-08-22 Jeff Law <law@redhat.com>
20779 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20780 if the family is PF_UNSPEC.
20782 2012-08-22 Mike Frysinger <vapier@gentoo.org>
20784 * Makerules (lib-version): Rename from V.
20785 (install-lib-nosubdir): Change V to lib-version.
20787 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
20790 * powerpc32/power6/wcschr.c: New file.
20791 * powerpc32/power6/wcscpy.c: New file.
20792 * powerpc32/power6/wcsrchr.c: New file.
20793 * powerpc64/power6/wcschr.c: New file.
20794 * powerpc64/power6/wcscpy.c: New file.
20795 * powerpc64/power6/wcsrchr.c: New file.
20797 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20799 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20800 (two_way_short_needle): Use it.
20801 * string/strstr.c (AVAILABLE1_USES_J): Define.
20802 * string/strcasestr.c: Likewise.
20804 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20806 * string/strcasestr.c (TOLOWER): Make side-effect safe.
20809 * NEWS: Add an entry.
20810 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20811 define their defaults.
20812 (two_way_short_needle): Detect end-of-string on-the-fly.
20813 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20814 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20815 * string/bug-strcasestr1.c: New test.
20816 * string/Makefile: Run it.
20818 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20821 * string/str-two-way.h (two_way_short_needle): Optimize matching of
20822 the first character.
20824 2012-08-21 Roland McGrath <roland@hack.frob.com>
20826 * csu/elf-init.c (__libc_csu_irel): Function removed.
20827 * csu/libc-start.c (apply_irel): New function.
20828 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20830 2012-08-21 Joseph Myers <joseph@codesourcery.com>
20832 * sysdeps/unix/sysv/linux/kernel-features.h
20833 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20834 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20835 <kernel-features.h>.
20836 [__NR_fadvise64_64]: Make code unconditional.
20837 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20838 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20839 !__NR_fadvise64_64)]: Likewise.
20840 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20841 !__NR_fadvise64_64))]: Likewise.
20842 [__NR_fadvise64]: Make code unconditional.
20843 [!__NR_fadvise64]: Remove conditional code.
20844 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20845 <kernel-features.h>.
20846 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20848 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20851 not include <kernel-features.h>.
20852 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20854 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20856 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20857 include <kernel-features.h>.
20858 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20860 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20863 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20865 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20866 slight instruction rearrangements per scrollpipe analysis.
20867 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20869 2012-08-20 Roland McGrath <roland@hack.frob.com>
20871 * manual/syslog.texi (syslog; vsyslog, closelog):
20872 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20873 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20875 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20876 DSOCAPS to match condition on defining it.
20878 2012-08-20 Joseph Myers <joseph@codesourcery.com>
20880 * sysdeps/unix/sysv/linux/kernel-features.h
20881 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20883 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20884 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20886 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20887 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20889 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20890 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20892 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20893 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20895 * sysdeps/unix/sysv/linux/kernel-features.h
20896 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20897 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20899 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20900 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20901 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20902 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20903 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20904 Make code unconditional.
20905 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20906 (__mmap64) [!__NR_mmap2]: Likewise.
20907 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20908 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20909 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20910 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20911 [__NR_mmap2]: Make code unconditional.
20912 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20913 (__mmap64) [!__NR_mmap2]: Likewise.
20915 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20917 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20919 2012-08-18 Andreas Jaeger <aj@suse.de>
20921 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20923 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20925 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20926 * include/unistd.h (__have_sock_cloexec): Likewise.
20927 (__have_pipe2): Likewise.
20928 (__have_dup3): Likewise.
20930 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20933 * include/unistd.h (__have_pipe2): Change define into an extern int.
20934 (__have_dup3): Likewise.
20935 * socket/have_sock_cloexec.c: Include fcntl.h.
20936 (__have_pipe2): New variable.
20937 (__have_dup3): Likewise.
20939 2012-08-17 Mike Frysinger <vapier@gentoo.org>
20941 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20943 2012-08-17 Marek Polacek <polacek@redhat.com>
20945 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20946 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20948 2012-08-17 Roland McGrath <roland@hack.frob.com>
20950 * configure.in: Add AC_SUBST for sysheaders.
20951 * configure: Regenerated.
20952 * config.make.in (sysheaders): New substituted variable.
20954 * sysdeps/unix/mkfifo.c: Moved ...
20955 * sysdeps/posix/mkfifo.c: ... here.
20956 * sysdeps/unix/mkfifoat.c: Moved ...
20957 * sysdeps/posix/mkfifoat.c: ... here.
20959 * sysdeps/unix/utime.c: Moved ...
20960 * sysdeps/posix/utime.c: ... here.
20962 * sysdeps/unix/time.c: Moved ...
20963 * sysdeps/posix/time.c: ... here.
20964 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20965 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
20967 * sysdeps/unix/nice.c: Moved ...
20968 * sysdeps/posix/nice.c: ... here.
20970 * sysdeps/unix/alarm.c: Moved ...
20971 * sysdeps/posix/alarm.c: ... here.
20973 * intl/Makefile ($(codeset_mo)): Depend on the input file.
20975 2012-08-17 Jeff Law <law@redhat.com>
20977 * intl/Makefile (codeset_mo): New variable.
20978 ($(codeset_mo)): New target.
20979 (tst-codeset.out): Depend on that. Remove explicit rule.
20980 (tst-gettext3.out, tst-gettext5.out): Likewise.
20981 (LOCPATH-ENV, tst-codeset-ENV): New variables.
20982 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20983 * intl/tst-codeset.sh: Remove.
20984 * intl/tst-gettext3.sh: Likewise.
20985 * intl/tst-gettext5.sh: Likewise.
20987 2012-08-17 Roland McGrath <roland@hack.frob.com>
20989 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
20990 * sysdeps/unix/syscalls.list: ... here.
20992 * sysdeps/posix/getaddrinfo.c
20993 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20994 (gaiconf_init, gaiconf_reload): Use them.
20995 [!_STATBUF_ST_NSEC]
20996 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20997 Define using time_t rather than struct timespec.
20999 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
21000 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
21002 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
21004 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
21005 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
21008 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
21009 __libc_cleanup_push argument.
21011 * bits/param.h: New file.
21012 * misc/sys/param.h: New file.
21013 * include/sys/param.h: New file.
21014 * misc/Makefile (headers): Add bits/param.h.
21015 * sysdeps/generic/sys/param.h: File removed.
21016 * sysdeps/unix/sysv/linux/bits/param.h: New file.
21017 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
21018 * sysdeps/mach/hurd/bits/param.h: New file.
21019 * sysdeps/mach/hurd/sys/param.h: File removed.
21021 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21024 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21026 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21027 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21030 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
21031 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
21032 rather than -D_IO_MTSAFE_IO conditionally.
21033 * stdio-common/Makefile (CPPFLAGS): Likewise.
21034 * wcsmbs/Makefile (CPPFLAGS): Likewise.
21035 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21036 Use $(libio-mtsafe).
21037 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21038 of -D_IO_MTSAFE_IO.
21039 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21040 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21041 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21042 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21043 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21044 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21045 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21046 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21047 (CFLAGS-fread_u_chk.c): Likewise.
21048 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21049 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21050 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21051 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21052 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21053 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21054 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21055 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21056 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21058 * libio/Makefile: Test [$(libc-reentrant) = yes]
21059 instead of [$(filter %REENTRANT, $(defines)) nonempty].
21062 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
21063 * sysdeps/pthread/configure: File removed.
21064 * sysdeps/pthread/Makeconfig: New file.
21065 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
21066 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
21068 2012-08-16 Gary Benson <gbenson@redhat.com>
21070 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21071 unmapping the first object in a namespace.
21073 2012-08-16 Roland McGrath <roland@hack.frob.com>
21075 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
21076 (__internal_setnetgrent): ... this. Add internal_function to
21077 definition. Add libc_hidden_def.
21078 (setnetgrent): Update caller.
21079 (internal_endnetgrent): Renamed to ...
21080 (__internal_endnetgrent): ... this. Add internal_function to
21081 definition. Add libc_hidden_def.
21082 (endnetgrent): Update caller.
21083 (internal_getnetgrent_r): Renamed to ...
21084 (__internal_getnetgrent_r): ... this. Add internal_function to
21085 definition. Add libc_hidden_def.
21086 (__getnetgrent_r): Update caller.
21087 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
21089 2012-08-16 Joseph Myers <joseph@codesourcery.com>
21091 * stdlib/longlong.h: Update from GCC.
21093 2012-08-16 Roland McGrath <roland@hack.frob.com>
21095 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
21096 on _QL, which is set by umul_ppmm but never used.
21097 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
21098 variables, which are set by GMP macros but never used.
21099 * stdio-common/_itowa.c (_itowa): Likewise.
21100 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
21101 * stdlib/mod_1.c (mpn_mod_1): Likewise.
21103 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
21105 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
21106 struct La_sh_regs is not constant.
21107 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
21108 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
21109 and struct La_sparc64_regs are not constant.
21111 2012-08-16 Joseph Myers <joseph@codesourcery.com>
21113 * sysdeps/unix/sysv/linux/kernel-features.h
21114 (__ASSUME_POSIX_TIMERS): Remove.
21115 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21116 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21117 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
21118 Make code unconditional.
21119 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21120 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
21121 Make code unconditional.
21122 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21123 * sysdeps/unix/sysv/linux/clock_nanosleep.c
21124 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
21125 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21126 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
21127 Make code unconditional.
21128 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21129 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
21130 (__libc_missing_posix_timers): Remove.
21132 2012-08-15 Roland McGrath <roland@hack.frob.com>
21134 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
21135 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
21137 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
21139 * elf/dl-sym.c: Include <stdlib.h>.
21141 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
21142 constants, which avoids warnings in 32-bit builds.
21144 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
21145 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
21147 * misc/lseek.c: File moved to ...
21148 * io/lseek.c: ... here.
21150 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
21152 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
21153 shifting LEN more than 31 bits at once.
21155 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21158 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
21159 segmentation fault for a case of two empty input strings.
21160 * string/test-strncasecmp.c (check1): Renamed to...
21161 (bz12205): ...this.
21162 (bz14195): Add new testcase for two empty input strings and N > 0.
21163 (test_main): Call new testcase, adapt for renamed function.
21165 2012-08-15 Andreas Jaeger <aj@suse.de>
21168 * crypt/md5test2.c: New test, based on test supplied by Serge
21169 Belyshev <belyshev@depni.sinp.msu.ru>.
21170 * crypt/Makefile (xtests): Add md5test-giant..
21171 * crypt/Makefile ($(objpfx)md5test-giant): Add.
21173 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
21176 * crypt/md5.c (md5_process_block): Don't assume the buffer
21177 length is less than 2**32.
21178 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
21179 length is less than 2**64.
21181 2012-08-15 Roland McGrath <roland@hack.frob.com>
21183 * string/str-two-way.h: Include <sys/param.h>.
21184 (MAX): Macro removed.
21186 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
21187 Move #define and #undef of memmove to just before and after
21188 including <string.h>.
21190 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
21191 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
21192 and after including <string.h>. Move declarations of
21193 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
21194 to before #include "string/memmove.c".
21196 * include/dirent.h: Declare __getdirentries.
21198 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
21199 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
21201 2012-08-14 Mike Frysinger <vapier@gentoo.org>
21203 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
21204 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
21205 * sysdeps/i386/configure: Regenerated.
21206 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
21207 STABS_CURRENT_FILE, and STABS_FUN.
21208 (END): Remove call to STABS_FUN_END.
21209 (STABS_CURRENT_FILE1): Delete.
21210 (STABS_CURRENT_FILE): Likewise.
21211 (STABS_FUN): Likewise.
21212 (STABS_FUN_END): Likewise.
21213 (STABS_FUN2): Likewise.
21214 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
21215 * sysdeps/x86_64/configure: Regenerated.
21217 2012-08-14 Roland McGrath <roland@hack.frob.com>
21219 * elf/dl-open.c: Include <atomic.h>.
21220 * elf/dl-lookup.c: Likewise.
21222 2012-08-14 Joseph Myers <joseph@codesourcery.com>
21224 * sysdeps/unix/sysv/linux/kernel-features.h
21225 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
21226 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
21228 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
21230 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
21231 condition on __ASSUME_CLONE_THREAD_FLAGS.
21233 2012-08-14 Andreas Jaeger <aj@suse.de>
21235 * sysdeps/i386/fpu/libm-test-ulps: Update.
21237 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
21239 * include/atomic.h (atomic_exchange_and_add): Split into ...
21240 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
21243 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
21245 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21247 2012-08-13 Jeff Law <law@redhat.com>
21249 * manual/stdio.texi (snprintf): Clarify handling of the trailing
21250 null byte in the output string.
21252 2012-08-10 Joseph Myers <joseph@codesourcery.com>
21254 * sysdeps/unix/sysv/linux/kernel-features.h
21255 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
21256 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
21257 (__ASSUME_ARG_MAX_STACK_BASED): Define.
21258 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21259 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
21260 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
21261 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
21263 2012-08-09 Jeff Law <law@redhat.com>
21266 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
21267 When avoid_arena is set, don't retry in the that arena. Pick the
21268 next one, whatever it might be.
21269 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
21270 (arena_lock): Pass in new parameter to arena_get2.
21271 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
21273 (__libc_malloc): Unify retrying after main arena failure with
21274 __libc_memalign version.
21275 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
21277 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
21280 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
21281 to __redirect_strstr.
21282 (__strstr_sse42): Use typeof __redirect_strstr.
21283 (__strstr_ia32): Likewise.
21284 (__libc_strstr): New prototype.
21285 (strstr): Renamed to ...
21286 (__libc_strstr): This.
21287 (strstr): New strong alias of __libc_strstr.
21288 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21289 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
21292 (__libc_time): New prototype.
21293 (time_ifunc): Replace time with __libc_time.
21294 (time): New strong alias and hidden definition of __libc_time.
21295 (__GI_time): Remove strong alias.
21296 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
21297 Include <stddef.h>.
21298 (memmove): Redefined to __redirect_memmove.
21299 (__memmove_sse2): Use typeof __redirect_memmove.
21300 (__memmove_ssse3): Likewise.
21301 (__memmove_ssse3_back): Likewise.
21302 (__libc_memmove): New prototype.
21303 (memmove): Renamed to ...
21304 (__libc_memmove): This.
21305 (memmove): New strong alias of __libc_memmove.
21307 2012-08-08 Mark Salter <msalter@redhat.com>
21310 (R_MN10300_TLS_GD): Define.
21311 (R_MN10300_TLS_LD): Likewise.
21312 (R_MN10300_TLS_LDO): Likewise.
21313 (R_MN10300_TLS_GOTIE): Likewise.
21314 (R_MN10300_TLS_IE): Likewise.
21315 (R_MN10300_TLS_LE): Likewise.
21316 (R_MN10300_TLS_DTPMOD): Likewise.
21317 (R_MN10300_TLS_DTPOFF): Likewise.
21318 (R_MN10300_TLS_TPOFF): Likewise.
21319 (R_MN10300_SYM_DIFF): Likewise.
21320 (R_MN10300_ALIGN): Likewise.
21321 (R_MN10300_NUM): Update.
21323 2012-08-08 Joseph Myers <joseph@codesourcery.com>
21325 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
21328 2012-08-08 Roland McGrath <roland@hack.frob.com>
21330 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
21332 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
21333 sysdeps/unix -> sysdeps/posix move.
21334 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21336 2012-08-07 Allan McRae <allan@archlinux.org>
21339 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
21340 (SUNOS_CPP): Likewise.
21341 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
21343 (open_input): Call CPP using execvp.
21345 2012-08-07 Joseph Myers <joseph@codesourcery.com>
21347 * sysdeps/unix/sysv/linux/kernel-features.h
21348 (__ASSUME_PROT_GROWSUPDOWN): Remove.
21349 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21350 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21351 (__ASSUME_WAITID_SYSCALL): Likewise.
21352 * sysdeps/unix/sysv/linux/dl-execstack.c
21353 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
21354 code unconditional.
21355 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
21357 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
21358 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
21359 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
21361 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
21363 [__ASSUME_WAITID_SYSCALL]: Likewise.
21364 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
21366 2012-08-07 Roland McGrath <roland@hack.frob.com>
21368 * sysdeps/unix/closedir.c: Renamed to ...
21369 * sysdeps/posix/closedir.c: ... here.
21370 * sysdeps/unix/dirfd.c: Renamed to ...
21371 * sysdeps/posix/dirfd.c: ... here.
21372 * sysdeps/unix/dirstream.h: Renamed to ...
21373 * sysdeps/posix/dirstream.h: ... here.
21374 * sysdeps/unix/fdopendir.c: Renamed to ...
21375 * sysdeps/posix/fdopendir.c: ... here.
21376 * sysdeps/unix/opendir.c: Renamed to ...
21377 * sysdeps/posix/opendir.c: ... here.
21378 * sysdeps/unix/readdir.c: Renamed to ...
21379 * sysdeps/posix/readdir.c: ... here.
21380 * sysdeps/unix/readdir_r.c: Renamed to ...
21381 * sysdeps/posix/readdir_r.c: ... here.
21382 * sysdeps/unix/rewinddir.c: Renamed to ...
21383 * sysdeps/posix/rewinddir.c: ... here.
21384 * sysdeps/unix/seekdir.c: Renamed to ...
21385 * sysdeps/posix/seekdir.c: ... here.
21386 * sysdeps/unix/telldir.c: Renamed to ...
21387 * sysdeps/posix/telldir.c: ... here.
21388 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
21389 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
21390 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
21391 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
21393 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
21394 * bits/fcntl.h: ... here.
21396 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
21398 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
21399 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
21400 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
21401 (struct flock): Move l_start, l_len to the beginning.
21402 Use __pid_t for l_pid.
21403 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
21404 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
21405 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
21406 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
21407 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
21408 [__USE_LARGEFILE64] (struct flock64): New type.
21409 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
21411 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
21412 * bits/dirent.h: ... here.
21414 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
21415 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
21417 2012-08-07 Joseph Myers <joseph@codesourcery.com>
21419 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21420 Change from 2.6.0 to 2.6.16.
21421 * sysdeps/unix/sysv/linux/configure: Regenerated.
21422 * sysdeps/unix/sysv/linux/kernel-features.h
21423 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
21424 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
21426 (__ASSUME_UTIMES): Likewise.
21427 (__ASSUME_CLONE_STOPPED): Remove.
21428 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
21429 architectures, not kernel version.
21430 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
21431 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21432 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21433 (__ASSUME_WAITID_SYSCALL): Likewise.
21434 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
21435 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
21436 * README: State 2.6.16 as minimum Linux kernel version. Do not
21437 refer to older versions.
21439 2012-08-06 Roland McGrath <roland@hack.frob.com>
21441 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
21442 Define alphasort64 as an alias.
21443 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
21444 Define versionsort64 as an alias.
21445 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
21446 Define scandir64 as an alias.
21447 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
21448 Define scandirat64 as an alias.
21449 * dirent/alphasort64.c (alphasort64):
21450 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
21451 * dirent/versionsort64.c: Likewise.
21452 * dirent/scandir64.c: Likewise.
21453 * dirent/scandirat64.c: Likewise.
21454 * sysdeps/wordsize-64/alphasort.c: File removed.
21455 * sysdeps/wordsize-64/alphasort64.c: File removed.
21456 * sysdeps/wordsize-64/scandir.c: File removed.
21457 * sysdeps/wordsize-64/scandir64.c: File removed.
21458 * sysdeps/wordsize-64/scandirat.c: File removed.
21459 * sysdeps/wordsize-64/scandirat64.c: File removed.
21460 * sysdeps/wordsize-64/versionsort.c: File removed.
21461 * sysdeps/wordsize-64/versionsort64.c: File removed.
21462 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
21463 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
21464 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
21465 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
21466 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
21467 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
21468 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
21469 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
21471 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
21472 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21473 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
21474 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21475 [defined __arch64__ || defined __sparcv9]
21476 (__INO_T_MATCHES_INO64_T): New macro.
21477 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21478 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
21479 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
21480 * sysdeps/unix/sysv/linux/bits/dirent.h
21481 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
21482 (_DIRENT_MATCHES_DIRENT64): New macro.
21484 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
21485 Define lockf64 as an alias.
21486 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
21487 Define fseeko64 as an alias.
21488 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
21489 Define ftello64 as an alias.
21490 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
21491 Define _IO_fgetpos64 and fgetpos64 as aliases.
21492 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
21493 Define _IO_fsetpos64 and fsetpos64 as aliases.
21494 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
21495 Conditionalize body on this.
21496 * libio/fseeko64.c: Likewise.
21497 * libio/ftello64.c: Likewise.
21498 * libio/iofgetpos64.c: Likewise.
21499 * libio/iofsetpos64.c: Likewise.
21500 * sysdeps/wordsize-64/lockf.c: File removed.
21501 * sysdeps/wordsize-64/lockf64.c: File removed.
21502 * sysdeps/wordsize-64/fseeko.c: File removed.
21503 * sysdeps/wordsize-64/fseeko64.c: File removed.
21504 * sysdeps/wordsize-64/ftello.c: File removed.
21505 * sysdeps/wordsize-64/ftello64.c: File removed.
21506 * sysdeps/wordsize-64/iofgetpos.c: File removed.
21507 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
21508 * sysdeps/wordsize-64/iofsetpos.c: File removed.
21509 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
21510 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
21511 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
21512 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
21513 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
21514 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
21515 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
21516 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
21517 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
21518 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
21519 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
21521 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21522 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21523 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
21524 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21525 [defined __arch64__ || defined __sparcv9]
21526 (__OFF_T_MATCHES_OFF64_T): New macro.
21527 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21528 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21529 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21530 (__OFF_T_MATCHES_OFF64_T): New macro.
21532 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
21534 * stdlib/secure-getenv.c (__secure_getenv): Replace
21535 GLIBC_2_16 with GLIBC_2_17.
21537 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
21539 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
21540 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21542 2012-08-03 David S. Miller <davem@davemloft.net>
21544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21546 2012-08-03 Joseph Myers <joseph@codesourcery.com>
21548 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
21550 (__ASSUME_CORRECT_SI_PID): Likewise.
21551 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
21552 (__ASSUME_TMPFS_NAME): Likewise.
21553 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
21554 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
21555 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
21556 (HAVE_AUX_SECURE): Make definition unconditional.
21557 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
21558 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
21560 2012-08-03 Roland McGrath <roland@hack.frob.com>
21562 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
21563 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
21564 * sysdeps/mach/hurd/eloop-threshold.h: New file.
21565 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21566 __eloop_threshold instead of SYMLOOP_MAX.
21568 * sysdeps/generic/eloop-threshold.h: New file.
21569 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
21571 * elf/chroot_canon.c (chroot_canon): Likewise.
21573 2012-08-03 Joseph Myers <joseph@codesourcery.com>
21576 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21577 Change to 2.6.0 everywhere.
21578 * sysdeps/unix/sysv/linux/configure: Regenerated.
21579 * sysdeps/unix/sysv/linux/kernel-features.h
21580 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
21581 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
21583 (__ASSUME_POSIX_TIMERS): Define unconditionally.
21584 (__ASSUME_FUTEX_REQUEUE): Remove.
21585 (__ASSUME_STATFS64): Define unconditionally.
21586 (__ASSUME_AT_SECURE): Likewise.
21587 (__ASSUME_CORRECT_SI_PID): Likewise.
21588 (__ASSUME_TGKILL): Define without depending on kernel version for
21590 (__ASSUME_UTIMES): Likewise.
21591 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
21593 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
21594 (__ASSUME_TMPFS_NAME): Likewise.
21595 * README: Update reference to Linux kernel versions.
21597 2012-08-02 Marek Polacek <polacek@redhat.com>
21600 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
21601 libc_cv_asm_type_prefix with %.
21602 * configure: Regenerated.
21603 * include/libc-symbols.h: Remove comment about
21604 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21605 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
21606 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
21607 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
21608 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
21609 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21610 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
21611 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
21612 * elf/tst-unique2mod1.c: Likewise.
21613 * elf/tst-unique1mod2.c: Likewise.
21614 * elf/tst-unique1mod1.c: Likewise.
21615 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
21616 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
21617 Replace ASM_TYPE_DIRECTIVE with .type.
21618 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21619 * sysdeps/i386/sysdep.h: Likewise.
21620 * sysdeps/x86_64/sysdep.h: Likewise.
21621 * sysdeps/sh/sysdep.h: Likewise.
21622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21623 Do not define ASM_TYPE_DIRECTIVE.
21624 * sysdeps/powerpc/sysdep.h: Likewise.
21625 * sysdeps/powerpc/powerpc32/sysdep.h:
21626 Replace ASM_TYPE_DIRECTIVE with .type.
21627 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21628 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21629 * sysdeps/i386/fpu/e_powf.S: Likewise.
21630 * sysdeps/i386/fpu/e_expl.S: Likewise.
21631 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21632 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21633 * sysdeps/i386/fpu/e_pow.S: Likewise.
21634 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21635 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21636 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21637 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21638 * sysdeps/i386/fpu/e_log2.S: Likewise.
21639 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21640 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21641 * sysdeps/i386/fpu/e_powl.S: Likewise.
21642 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21643 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21644 * sysdeps/i386/fpu/e_logl.S: Likewise.
21645 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21646 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21647 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21648 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21649 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21650 * sysdeps/i386/fpu/e_log.S: Likewise.
21651 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21652 * sysdeps/i386/fpu/e_logf.S: Likewise.
21653 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21654 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21655 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21656 * sysdeps/i386/fpu/e_log10.S: Likewise.
21657 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21658 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21659 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21660 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21661 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21662 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
21663 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21664 * sysdeps/i386/i686/strtok.S: Likewise.
21665 * sysdeps/i386/i386-mcount.S: Likewise.
21666 * sysdeps/i386/strtok.S: Likewise.
21667 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
21668 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21669 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21670 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21671 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21672 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21673 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21674 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21675 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21676 * sysdeps/x86_64/_mcount.S: Likewise.
21677 * sysdeps/x86_64/strtok.S: Likewise.
21678 * sysdeps/sh/_mcount.S: Likewise.
21680 2012-08-01 Roland McGrath <roland@hack.frob.com>
21682 * libio/iofopen.c: Include <fcntl.h>.
21683 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
21684 (_IO_fopen64, fopen64): Define as aliases.
21685 * libio/iofopen64.c: Include <fcntl.h>.
21686 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
21687 Conditionalize body on this.
21688 * sysdeps/wordsize-64/iofopen.c: File removed.
21689 * sysdeps/wordsize-64/iofopen64.c: File removed.
21691 2012-08-01 Marek Polacek <polacek@redhat.com>
21693 * libc/Makeconfig: Use elf in place of binfmt-subdir.
21694 Use dlfcn directly instead of a variable.
21695 (binfmt-subdir): Do not define.
21698 2012-08-01 Joseph Myers <joseph@codesourcery.com>
21700 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
21701 Remove all definitions.
21702 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
21703 <kernel-features.h>.
21704 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21705 (miss_F_GETOWN_EX): Remove all definitions.
21706 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
21708 [!__ASSUME_FCNTL64]: Remove conditional code.
21709 [__ASSUME_FCNTL64]: Make code unconditional.
21710 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
21711 <kernel-features.h>.
21712 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21713 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
21714 (lockf64) [__NR_fcntl64]: Make code unconditional.
21715 (lockf64) [__ASSUME_FCNTL64]: Likewise.
21717 * sysdeps/unix/sysv/linux/kernel-features.h
21718 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
21719 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
21720 Make code unconditional.
21721 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21722 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
21724 [__NR_vfork]: Make code unconditional.
21725 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21726 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
21728 [__NR_vfork]: Make code unconditional.
21729 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21730 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21732 2012-08-01 Roland McGrath <roland@hack.frob.com>
21734 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21735 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21737 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21738 Define mkstemp64 as an alias.
21739 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21740 Define mkstemps64 as an alias.
21741 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21742 Define mkostemp64 as an alias.
21743 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21744 Define mkostemps64 as an alias.
21745 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21746 Conditionalize body on this.
21747 * misc/mkostemp64.c: Likewise.
21748 * misc/mkostemps64.c: Likewise.
21749 * misc/mkstemps64.c: Likewise.
21750 * sysdeps/wordsize-64/mkstemp64.c: File removed.
21751 * sysdeps/wordsize-64/mkostemp64.c: File removed.
21752 * sysdeps/wordsize-64/mkostemp.c: File removed.
21753 * sysdeps/wordsize-64/mkstemp.c: File removed.
21754 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21755 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21756 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21757 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21760 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21761 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21762 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21763 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21765 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21766 compat_symbol macros from <shlib-compat.h> rather than the underlying
21767 default_symbol_version and symbol_version macros, so that DEFAULT
21768 lines in shlib-versions are respected.
21769 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21771 2012-08-01 Florian Weimer <fweimer@redhat.com>
21773 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21774 Declare with warn_unused_result.
21775 (setgid, setregid, setegid, setresgid): Likewise.
21776 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21778 * WUR-REPORT: Remove set*id functions.
21780 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
21782 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21784 2012-07-31 Roland McGrath <roland@hack.frob.com>
21787 * include/sys/socket.h (__libc_accept, __libc_accept4):
21788 Add attribute_hidden.
21789 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21791 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21793 * inet/getnetgrent_r.c (setup): Likewise.
21795 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21797 2012-07-31 David S. Miller <davem@davemloft.net>
21799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21801 2012-07-31 Joseph Myers <joseph@codesourcery.com>
21804 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21805 value between 1.0 and 2.0 and smaller part has absolute value less
21807 * math/s_clog10.c (__clog10): Likewise.
21808 * math/s_clog10f.c (__clog10f): Likewise.
21809 * math/s_clog10l.c (__clog10l): Likewise.
21810 * math/s_clogf.c (__clogf): Likewise.
21811 * math/s_clogl.c (__clogl): Likewise.
21812 * math/libm-test.inc (clog_test): Add more tests.
21813 (clog10_test): Likewise.
21814 * sysdeps/i386/fpu/libm-test-ulps: Update.
21815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21817 2012-07-31 Florian Weimer <fweimer@redhat.com>
21819 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21820 Exit with zero in case no suitable GID is found, and write a
21821 message to standard error.
21823 2012-07-30 Roland McGrath <roland@hack.frob.com>
21825 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21827 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21828 (MAXPATHLEN): Removed.
21829 (NOGROUP, NODEV): New macros.
21830 (setbit, clrbit, isset, isclr): New macros.
21831 (howmany, roundup, powerof2): New macros.
21832 (DEV_BSIZE): New macro.
21834 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21835 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21837 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21838 definition on [!__NO_LONG_DOUBLE_MATH].
21840 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21841 PTR_MANGLE and PTR_DEMANGLE.
21843 * socket/accept4.c (accept4): Rename to __libc_accept4.
21844 Define accept4 as a weak alias.
21846 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21847 on [_DIRENT_HAVE_D_TYPE].
21848 * io/ftw.c (ftw_dir): Likewise.
21850 * io/xmknod.c (__xmknod): Don't check PATH for being null.
21852 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21854 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21855 Use the BSD numbers rather than the arbitrary ones we had.
21856 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21857 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21858 (SIGXCPU, SIGXFSZ): New macros.
21861 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21862 initializer on [_LIBC_REENTRANT].
21864 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21865 definitions inside [_POSIX_MAPPED_FILES].
21867 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21869 * dirent/opendir.c: Include <fcntl.h>.
21871 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21872 (__libc_getspecific): Likewise.
21873 (__libc_key_create): Likewise.
21875 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21876 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21877 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21878 (tmpfile64): Define as alias.
21879 * sysdeps/wordsize-64/tmpfile.c: File removed.
21880 * sysdeps/wordsize-64/tmpfile64.c: File removed.
21881 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21882 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21884 * stdio-common/vfscanf.c: Include <stdbool.h>.
21885 * nss/makedb.c: Likewise.
21886 * stdio-common/_i18n_number.h: Likewise.
21887 * argp/argp-help.c: Likewise.
21888 * posix/wordexp.c: Likewise.
21889 * sysdeps/posix/spawni.c: Likewise.
21890 * nss/nss_files/files-initgroups.c: Likewise.
21891 * stdio-common/reg-modifier.c: Include <stdlib.h>.
21892 * nss/nss_files/files-initgroups.c: Likewise.
21893 * nss/nss_db/db-netgrp.c: Likewise.
21894 * nss/nss_db/db-initgroups.c: Likewise.
21895 * io/fchmodat.c: Include <sys/stat.h>.
21897 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21898 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21900 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21903 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21904 Add multiple inclusion protection.
21906 2012-07-27 David S. Miller <davem@davemloft.net>
21908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21910 2012-07-27 Gary Benson <gbenson@redhat.com>
21913 * elf/rtld.c: Include <stap-probe.h>.
21914 (dl_main): Added static probes "init_start" and "init_complete".
21915 * elf/dl-load.c: Include <stap-probe.h>.
21916 (lose): Take new parameter "nsid".
21917 Added static probe "map_failed".
21918 (_dl_map_object_from_fd): Pass namespace id to lose.
21919 Added static probe "map_start".
21920 (open_verify): Pass namespace id to lose.
21921 * elf/dl-open.c: Include <stap-probe.h>.
21922 (dl_open_worker) Added static probes "map_complete", "reloc_start"
21923 and "reloc_complete".
21924 * elf/dl-close.c: Include <stap-probe.h>.
21925 (_dl_close_worker): Added static probes "unmap_start" and
21927 * elf/rtld-debugger-interface.txt: New file documenting the above.
21929 2012-07-26 Roland McGrath <roland@hack.frob.com>
21931 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21932 rather than a string variable.
21933 * sunrpc/rpc_main.c (h_output): Likewise.
21934 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21936 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
21938 * inet/check_native.c: New file.
21940 2012-07-26 Joseph Myers <joseph@codesourcery.com>
21943 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21944 if larger part has absolute value 1.0.
21945 * math/s_clog10.c (__clog10): Likewise.
21946 * math/s_clog10f.c (__clog10f): Likewise.
21947 * math/s_clog10l.c (__clog10l): Likewise.
21948 * math/s_clogf.c (__clogf): Likewise.
21949 * math/s_clogl.c (__clogl): Likewise.
21950 * math/libm-test.inc (clog_test): Add more tests.
21951 (clog10_test): Likewise.
21952 * sysdeps/i386/fpu/libm-test-ulps: Update.
21953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21955 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21956 (pltexit): Likewise.
21957 (La_regs): Likewise.
21958 (La_retval): Likewise.
21959 (int_retval): Likewise.
21960 Update #error for removed macros to refer only to definitions in
21962 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21964 (pltexit): Likewise.
21965 (La_regs): Likewise.
21966 (La_retval): Likewise.
21967 (int_retval): Likewise.
21968 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21970 (pltexit): Likewise.
21971 (La_regs): Likewise.
21972 (La_retval): Likewise.
21973 (int_retval): Likewise.
21974 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21976 (pltexit): Likewise.
21977 (La_regs): Likewise.
21978 (La_retval): Likewise.
21979 (int_retval): Likewise.
21980 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21982 (pltexit): Likewise.
21983 (La_regs): Likewise.
21984 (La_retval): Likewise.
21985 (int_retval): Likewise.
21986 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21988 (pltexit): Likewise.
21989 (La_regs): Likewise.
21990 (La_retval): Likewise.
21991 (int_retval): Likewise.
21992 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21994 (pltexit): Likewise.
21995 (La_regs): Likewise.
21996 (La_retval): Likewise.
21997 (int_retval): Likewise.
21998 * sysdeps/generic/tst-audit.h: Update comment to refer only to
21999 macro definitions in tst-audit.h.
22000 * sysdeps/i386/tst-audit.h: New file.
22001 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
22002 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
22003 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
22004 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
22005 * sysdeps/sh/tst-audit.h: Likewise.
22006 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
22007 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
22008 * sysdeps/x86_64/tst-audit.h: Likewise.
22010 2012-07-26 Andreas Jaeger <aj@suse.de>
22012 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
22015 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
22016 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
22017 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
22019 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
22020 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
22021 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
22023 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22026 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22028 (si_call_addr, si_syscall, si_arch): Define new macro.
22029 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22031 (si_call_addr, si_syscall, si_arch): Define new marcro.
22032 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22034 (si_call_addr, si_syscall, si_arch): Define new macro.
22035 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22037 (si_call_addr, si_syscall, si_arch): Define new macro.
22039 2012-07-25 Joseph Myers <joseph@codesourcery.com>
22042 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22043 Change to 2.4.21 where previously 2.4.1.
22044 * sysdeps/unix/sysv/linux/configure: Regenerated.
22045 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22046 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22047 Linux kernel version.
22048 (__ASSUME_STD_AUXV): Remove.
22049 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22051 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22052 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22053 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22054 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22055 (__ASSUME_NETLINK_SUPPORT): Likewise.
22056 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22057 (__no_netlink_support): Remove conditional definition.
22058 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22060 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22061 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
22062 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
22063 (if_nameindex_ioctl): Remove.
22064 (if_nameindex_netlink): Do not handle __no_netlink_support.
22065 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22067 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22068 Remove conditional code.
22069 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22071 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
22073 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22074 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
22075 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
22077 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
22078 [!__ASSUME_STD_AUXV]: Remove conditional code.
22079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
22080 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
22081 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
22082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
22083 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
22084 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22086 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22088 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
22089 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22091 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22093 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22096 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
22099 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22100 code unconditional.
22101 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22103 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22105 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22108 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22110 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22113 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22114 code unconditional.
22115 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22117 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22119 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22122 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22123 code unconditional.
22124 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22126 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22128 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22131 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
22133 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
22134 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
22135 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22136 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
22137 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
22138 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22139 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22140 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22141 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
22142 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22143 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
22144 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
22145 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
22146 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22147 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
22148 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
22149 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
22150 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
22151 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22152 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
22153 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
22154 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
22155 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22157 2012-07-25 Florian Weimer <fweimer@redhat.com>
22159 * Versions.def: Add GLIBC_2.17.
22160 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
22161 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
22162 Introduce __libc_secure_getenv.
22163 * stdlib/Versions (2.17): Add secure_getenv
22164 (GLIBC_PRIVATE): Add __libc_secure_getenv.
22165 * stdlib/secure-getenv.c: Rename __secure_getenv to
22166 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
22167 symbol __secure_getenv for GLIBC_2.0.
22168 * stdlib/tst-secure-getenv.c: New.
22169 * stdlib/Makefile (tests): Add testcase.
22170 * manual/startup.texi (Environment Access): Document
22172 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
22173 __libc_secure_getenv.
22174 * inet/ruserpass.c (ruserpass): Likewise.
22175 * malloc/mtrace.c (mtrace): Likewise.
22176 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
22177 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
22178 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
22179 * sysdeps/posix/tempname.c: Likewise. Evaluate
22180 HAVE_SECURE_GETENV.
22181 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
22182 __secure_getenv to __libc_secure_getenv.
22183 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
22184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22190 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22196 2012-07-25 Joseph Myers <joseph@codesourcery.com>
22198 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
22199 (struct La_i86_retval): Likewise.
22200 (struct La_x86_64_regs): Likewise.
22201 (struct La_x86_64_retval): Likewise.
22202 (struct La_x32_regs): Likewise.
22203 (struct La_x32_retval): Likewise.
22204 (struct La_ppc32_regs): Likewise.
22205 (struct La_ppc32_retval): Likewise.
22206 (struct La_ppc64_regs): Likewise.
22207 (struct La_ppc64_retval): Likewise.
22208 (struct La_sh_regs): Likewise.
22209 (struct La_sh_retval): Likewise.
22210 (struct La_s390_32_regs): Likewise.
22211 (struct La_s390_32_retval): Likewise.
22212 (struct La_s390_64_regs): Likewise.
22213 (struct La_s390_64_retval): Likewise.
22214 (struct La_sparc32_regs): Likewise.
22215 (struct La_sparc32_retval): Likewise.
22216 (struct La_sparc64_regs): Likewise.
22217 (struct La_sparc64_retval): Likewise.
22218 (struct audit_ifaces): Remove architecture-specific pltenter and
22220 * sysdeps/i386/ldsodefs.h: New file.
22221 * sysdeps/powerpc/ldsodefs.h: Likewise.
22222 * sysdeps/s390/ldsodefs.h: Likewise.
22223 * sysdeps/sh/ldsodefs.h: Likewise.
22224 * sysdeps/sparc/ldsodefs.h: Likewise.
22225 * sysdeps/x86_64/ldsodefs.h: Likewise.
22227 2012-07-25 Marek Polacek <polacek@redhat.com>
22230 * math/libm-test.inc (yn_test): Add another test.
22231 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
22232 to ERANGE when the result is +-Inf.
22233 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22234 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
22235 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
22236 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
22238 2012-07-24 Joseph Myers <joseph@codesourcery.com>
22240 * conform/data/time.h-data (NULL): Use macro-constant. Require
22242 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
22244 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
22246 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
22248 * configure.in <sysdeps resolving>: Correct printing
22250 * configure: Regenerate.
22252 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
22254 * math/w_ilogb.c: Include <limits.h>.
22255 * math/w_ilogbl.c: Likewise.
22257 2012-07-20 Joseph Myers <joseph@codesourcery.com>
22259 * manual/lang.texi (__va_copy): Document primarily as ISO C99
22260 va_copy. Document allowing for unavailable va_copy only as
22261 pre-C99 compatibility.
22262 * manual/string.texi (Copying and Concatenation): Use va_copy
22263 instead of __va_copy in concat example.
22265 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
22267 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
22268 (__sendto): Use create_address_port. Initialize APORT and deallocate
22271 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
22272 with O_NOLINK passed to __file_name_lookup.
22274 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
22275 with O_NOLINK passed to __file_name_lookup.
22277 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
22278 negative N or less than NGIDS.
22280 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
22281 type to string_t. Set ERANGE as errno and return it if NAME is not big
22282 enough. Use memcpy instead of strncpy.
22284 2012-07-20 Joseph Myers <joseph@codesourcery.com>
22286 * elf/Makefile (check-data): Remove.
22287 (localplt.data): New vpath directive.
22288 ($(objpfx)check-localplt.out): Use localplt.data from vpath
22289 instead of $(check-data).
22290 * scripts/data/localplt-generic.data: Move to ...
22291 * sysdeps/generic/localplt.data: ... here.
22292 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
22293 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
22294 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
22295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22297 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
22298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22300 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
22301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
22303 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
22304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22306 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
22307 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
22309 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
22310 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
22313 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22315 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
22316 PPC32 and PPC64 files.
22317 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
22318 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
22320 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22322 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
22323 __makecontext_ret to ...
22324 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
22325 ... here and call exit if uc_link is NULL. New file.
22326 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
22327 __makecontext_ret.S.
22328 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
22329 __makecontext_ret to ...
22330 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
22331 ... here and call exit if uc_link is NULL. New file.
22332 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
22333 __makecontext_ret.S.
22335 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22337 * elf/elf.h (R_390_IRELATIVE): New definition.
22338 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
22339 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
22340 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
22341 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22342 (elf_machine_lazy_rel): Likewise.
22343 * sysdeps/s390/dl-irel.h: New file.
22344 * sysdeps/s390/s390-64/memcpy.S: New asm code.
22345 * sysdeps/s390/s390-64/memset.S: New asm code.
22346 * sysdeps/s390/s390-64/memcmp.S: New asm code.
22347 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
22348 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
22349 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
22350 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
22351 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
22352 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
22353 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
22354 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
22355 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
22356 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
22357 * sysdeps/s390/s390-32/memcpy.S: New asm code.
22358 * sysdeps/s390/s390-32/memset.S: New asm code.
22359 * sysdeps/s390/s390-32/memcmp.S: New asm code.
22361 2012-07-17 Marek Polacek <polacek@redhat.com>
22364 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
22365 * sysdeps/s390/s390-64/configure.in: Likewise.
22366 * sysdeps/sparc/configure.in: Likewise.
22367 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
22368 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
22369 * sysdeps/i386/configure.in: Likewise.
22370 * sysdeps/x86_64/configure.in: Likewise.
22371 * sysdeps/sh/configure.in: Likewise.
22372 * sysdeps/s390/s390-32/configure: Regenerated.
22373 * sysdeps/s390/s390-64/configure: Likewise.
22374 * sysdeps/x86_64/configure: Likewise.
22375 * sysdeps/sh/configure: Likewise.
22376 * sysdeps/powerpc/powerpc64/configure: Likewise.
22377 * sysdeps/powerpc/powerpc32/configure: Likewise.
22378 * sysdeps/sparc/configure: Likwise.
22379 * sysdeps/i386/configure: Likewise.
22381 * elf/dl-open.c: Comment fixes.
22383 2012-07-17 Joseph Myers <joseph@codesourcery.com>
22385 * Makefile [CXX] (check-data): Remove.
22386 [CXX] (c++-types.data): New vpath directive.
22387 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
22388 vpath. Do not allow for C++ type data being missing.
22389 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
22390 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
22391 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
22392 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
22393 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
22394 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
22395 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
22396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22398 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
22399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22401 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
22402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
22404 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
22405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
22407 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
22408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
22410 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
22411 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
22413 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
22414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
22416 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
22417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
22419 * elf/tls-macros.h (TLS_LE): Move architecture-specific
22420 definitions to architecture-specific files.
22421 (TLS_IE): Likewise.
22422 (TLS_LD): Likewise.
22423 (TLS_GD): Likewise.
22424 * sysdeps/i386/tls-macros.h: New file.
22425 * sysdeps/powerpc/tls-macros.h: Likewise.
22426 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22427 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22428 * sysdeps/sh/tls-macros.h: Likewise.
22429 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
22430 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
22431 * sysdeps/x86_64/tls-macros.h: Likewise.
22433 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22435 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
22436 zero value for regular exit case.
22438 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22439 (__start_context): Preserve zero value for regular exit case.
22441 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22442 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22444 * manual/setjmp.texi (setcontext): Clarify normal process
22445 termination when uc_link is the null pointer.
22446 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
22449 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
22451 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
22452 preprocessor. Test for each exception mask separately.
22454 2012-07-16 Andreas Jaeger <aj@suse.de>
22456 * po/ru.po: Update from translation team.
22458 2012-07-15 Joseph Myers <joseph@codesourcery.com>
22460 * conform/data/string.h-data (NULL): Use macro-constant. Require
22462 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22463 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22464 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
22465 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
22466 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22468 2012-07-13 Andreas Jaeger <aj@suse.de>
22470 * po/fr.po: Update from translation team.
22472 2012-07-12 Marek Polacek <polacek@redhat.com>
22475 * math/libm-test.inc (yn_test): Add test for BZ #14173.
22476 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
22479 2012-07-12 Joseph Myers <joseph@codesourcery.com>
22482 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22483 Change to 2.4.1 where previously 2.4.0.
22484 * sysdeps/unix/sysv/linux/configure: Regenerated.
22485 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
22486 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
22488 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
22489 (__ASSUME_AT_CLKTCK): Remove.
22490 (__ASSUME_AT_PAGESIZE): Likewise.
22491 (__ASSUME_AT_XID): Likewise.
22492 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
22493 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
22494 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
22496 (HAVE_AUX_PAGESIZE): Likewise.
22497 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
22498 [__ASSUME_AT_CLKTCK]: Make code unconditional.
22499 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
22501 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
22504 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
22505 the temporary buffer used to invoke __gethostbyname2_r,
22506 __gethostbyaddr_r and gethostbyname4_r to make room for struct
22507 host_data / struct gaih_addrtuple.
22508 * resolv/nss_dns/dns-host.c (global scope): Move definition of
22509 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
22510 header file nss/nsswitch.h.
22511 * nss/nsswitch.h (global scope): Add definition of implementation
22512 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
22513 resolv/nss_dns/dns-host.c).
22515 2012-07-11 Andreas Jaeger <aj@suse.de>
22517 * po/fr.po: Update from translation team.
22519 * po/sv.po: Update from translation team
22520 * po/fr.po: Another update from translation team.
22522 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22524 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
22525 for subnormals or multiply small sinh result by itself.
22526 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22529 2012-07-11 David S. Miller <davem@davemloft.net>
22531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22533 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
22536 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
22537 (INTERNAL_MARK): Shift it here.
22539 2012-07-10 Marek Polacek <polacek@redhat.com>
22542 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
22543 libc_cv_asm_global_directive with .globl.
22544 * configure: Regenerated.
22545 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
22547 * sysdeps/i386/configure: Regenerated.
22548 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
22550 * sysdeps/x86_64/configure: Regenerated.
22551 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
22552 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
22553 * elf/tst-unique2mod2.c: Likewise.
22554 * elf/tst-unique2mod1.c: Likewise.
22555 * elf/tst-unique1mod2.c: Likewise.
22556 * elf/tst-unique1mod1.c: Likewise.
22557 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22558 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22559 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22560 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22561 * sysdeps/mach/sysdep.h: Likewise.
22562 * sysdeps/i386/sysdep.h: Likewise.
22563 * sysdeps/i386/i386-mcount.S: Likewise.
22564 * sysdeps/x86_64/_mcount.S: Likewise.
22565 * sysdeps/x86_64/sysdep.h: Likewise.
22566 * sysdeps/sh/_mcount.S: Likewise.
22567 * sysdeps/sh/sysdep.h: Likewise.
22568 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
22569 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
22570 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
22571 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22572 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
22573 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
22574 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
22575 * locale/localeinfo.h: Likewise.
22576 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
22577 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
22579 2012-07-09 Roland McGrath <roland@hack.frob.com>
22582 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
22584 * manual/message.texi (The Uniforum approach): Likewise.
22585 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
22586 (glibc iconv Implementation): Likewise.
22588 2012-07-09 Joseph Myers <joseph@codesourcery.com>
22591 * math/s_clog.c (__clog): Avoid scaling a value down where that
22592 could result in underflow.
22593 * math/s_clog10.c (__clog10): Likewise.
22594 * math/s_clog10f.c (__clog10f): Likewise.
22595 * math/s_clog10l.c (__clog10l): Likewise.
22596 * math/s_clogf.c (__clogf): Likewise.
22597 * math/s_clogl.c (__clogl): Likewise.
22598 * math/libm-test.inc (clog_test): Add more tests.
22599 (clog10_test): Likewise.
22600 * sysdeps/i386/fpu/libm-test-ulps: Update.
22601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22603 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
22606 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
22607 by 7 not 8 to examine high bit of fractional part.
22610 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
22611 for call to __mcount_internal.
22612 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
22613 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
22614 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
22616 2012-07-06 Joseph Myers <joseph@codesourcery.com>
22619 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
22620 approximation for values within 0x1p-13f of an odd multiple of
22622 * math/libm-test.inc (tan_test): Do not allow spurious underflow
22623 exception. Add more tests.
22624 * sysdeps/i386/fpu/libm-test-ulps: Update.
22627 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
22628 inputs and return -1 for them. Do not check for +Inf in case not
22629 reachable for +Inf.
22630 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22631 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
22632 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22633 and return -1 for them. Do not check for +Inf in case not
22634 reachable for +Inf.
22635 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
22637 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22638 and return -1 for them. Do not check for +Inf in case not
22639 reachable for +Inf.
22640 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
22641 spurious underflow.
22642 * sysdeps/i386/fpu/libm-test-ulps: Update.
22643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22645 2012-07-06 Mike Frysinger <vapier@gentoo.org>
22647 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
22649 2012-07-05 Joseph Myers <joseph@codesourcery.com>
22653 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
22654 could result in spurious underflow. Scale down values above
22655 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
22656 * math/s_csqrtf.c (__csqrtf): Likewise.
22657 * math/s_csqrtl.c (__csqrtl): Likewise.
22658 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
22659 spurious underflow.
22660 * sysdeps/i386/fpu/libm-test-ulps: Update.
22661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22663 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
22665 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
22667 * catgets/xopen-msg.awk: New file.
22668 * catgets/xopen-msg.sed: Removed.
22670 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
22672 * intl/po2test.awk: New file.
22673 * intl/po2test.sed: Removed.
22675 2012-07-04 Joseph Myers <joseph@codesourcery.com>
22678 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
22679 or multiply small sinh result by itself.
22680 * math/s_ctanf.c (__ctanf): Likewise.
22681 * math/s_ctanh.c (__ctanh): Likewise.
22682 * math/s_ctanhf.c (__ctanhf): Likewise.
22683 * math/s_ctanhl.c (__ctanhl): Likewise.
22684 * math/s_ctanl.c (__ctanl): Likewise.
22685 * math/libm-test.inc (ctan_test_tonearest): New function.
22686 (ctan_test_towardzero): Likewise.
22687 (ctan_test_downward): Likewise.
22688 (ctan_test_upward): Likewise.
22689 (ctanh_test_tonearest): Likewise.
22690 (ctanh_test_towardzero): Likewise.
22691 (ctanh_test_downward): Likewise.
22692 (ctanh_test_upward): Likewise.
22693 (main): Call these new functions.
22694 * sysdeps/i386/fpu/libm-test-ulps: Update.
22695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22697 2012-07-03 Mike Frysinger <vapier@gentoo.org>
22699 * .gitignore: Delete /ports entry.
22701 2012-07-03 Andreas Jaeger <aj@suse.de>
22703 * po/bg.po: Update from translation team.
22704 * po/cs.po: Likewise.
22705 * po/de.po: Likewise.
22706 * po/hr.po: Likewise.
22707 * po/nl.pl: Likewise.
22708 * po/pl.po: Likewise.
22709 * po/vi.po: Likewise.
22711 2012-07-03 Joseph Myers <joseph@codesourcery.com>
22713 * Makeconfig [!+link] (+link-before-libc): New variable.
22714 [!+link] (+link-after-libc): Likewise.
22715 [!+link] (+link-tests): Likewise.
22716 [!+link] (+link): Define in terms of $(+link-before-libc) and
22717 $(+link-after-libc).
22718 [!+link-static] (+link-static-before-libc): New variable.
22719 [!+link-static] (+link-static-after-libc): Likewise.
22720 [!+link-static] (+link-static-tests): Likewise.
22721 [!+link-static] (+link-static): Define in terms of
22722 $(+link-static-before-libc) and $(+link-static-after-libc).
22723 [build-shared] (link-libc-before-gnulib): New variable.
22724 [build-shared] (link-libc-tests): Likewise.
22725 [build-shared] (link-libc): Define in terms of
22726 $(link-libc-before-gnulib).
22727 [!build-shared] (link-libc-tests): New variable.
22728 (link-libc-static-tests): New variable.
22729 [!gnulib] (gnulib-arch): New variable.
22730 [!gnulib] (gnulib-tests): Likewise.
22731 [!gnulib] (static-gnulib-arch): Likewise.
22732 [!gnulib] (static-gnulib-tests): Likewise.
22733 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
22734 Define with "=" instead of ":=".
22735 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
22736 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
22737 * Rules (binaries-all-notests): New variable.
22738 (binaries-all-tests): Likewise.
22739 (binaries-static-notests): Likewise.
22740 (binaries-static-tests): Likewise.
22741 (binaries-all): Define using $(binaries-all-notests) and
22742 $(binaries-all-tests).
22743 (binaries-static): Define using $(binaries-static-notests) and
22744 $(binaries-static-tests).
22745 (binaries-shared-tests): New variable.
22746 (binaries-shared-notests): Likewise.
22747 (binaries-shared): Remove variable.
22748 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22749 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22750 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22751 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22752 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22753 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22754 * elf/Makefile (sln-modules): New variable.
22755 (extra-objs): Add $(sln-modules:=.o).
22756 (ldconfig-modules): Add static-stubs.
22757 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22758 * elf/static-stubs.c: New file.
22761 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22762 by 7 not 8 to examine high bit of fractional part. Use volatile
22763 variables when splitting into final array of floats if
22764 __FLT_EVAL_METHOD__ != 0.
22765 * math/libm-test.inc (cos_test): Add another test.
22766 (sin_test): Likewise.
22767 * sysdeps/i386/fpu/libm-test-ulps: Update.
22770 * math/libm-test.inc (cosh_test): Add more tests.
22772 * version.h (RELEASE): Set to "development".
22773 (VERSION): Set to "2.16.90".
22775 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
22777 * NEWS: Update copyright. Remove last-updated date.
22778 Mention math library bug fixes and timezone data changes.
22779 * README: Mention GNU/Hurd, x32, and HPPA support status.
22781 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
22783 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22785 2012-06-27 Andreas Jaeger <aj@suse.de>
22787 * manual/contrib.texi (Contributors): Add Samuel Thibault.
22789 2012-06-25 Andreas Jaeger <aj@suse.de>
22791 * sysdeps/s390/fpu/libm-test-ulps: Update.
22793 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
22794 Thomas Schwinge <thomas@codesourcery.com>
22796 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22797 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22798 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22801 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
22803 * sysdeps/mach/start.c: Remove file.
22804 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22805 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22806 * sysdeps/sh/init-first.c: Likewise.
22808 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22809 registers for frame unwinding purposes, add CFI directives.
22810 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22811 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22812 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22815 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22816 __fortify_fail returning.
22817 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22819 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22820 sysdeps/sh/____longjmp_chk.S.
22821 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22822 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22823 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22824 (gen-as-const-headers): Append sigaltstack-offsets.sym.
22826 * sysdeps/sh/abort-instr.h: New file.
22827 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22828 process in case exit returns.
22830 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22831 initialize the GOT register before use.
22833 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22834 calculation of ARGC > 4.
22836 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22837 meaningful names to some local labels.
22839 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22840 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22842 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22843 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22844 (__arch_compare_and_exchange_val_16_acq): Likewise.
22845 (__arch_compare_and_exchange_val_32_acq): Likewise.
22846 (atomic_exchange_and_add): Fix gUSA sequence.
22847 (atomic_add): Likewise.
22848 (atomic_add_negative): Likewise.
22849 (atomic_add_zero): Likewise.
22850 (atomic_bit_test_set): Likewise.
22852 2012-06-22 Andreas Schwab <schwab@redhat.com>
22855 * include/link.h (struct link_map): Add l_free_initfini.
22856 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22858 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22859 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22860 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22863 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
22865 * configure.in: Use AC_LANG_SOURCE.
22866 * configure: Regenerate.
22868 2012-06-22 Roland McGrath <roland@hack.frob.com>
22870 * configure.in (libc_cv_localstatedir): New substituted variable.
22871 * configure: Regenerated.
22872 * config.make.in (localstatedir): New variable, substituted from
22873 libc_cv_localstatedir.
22874 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22875 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22876 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22877 * sysdeps/gnu/configure: Regenerated.
22879 2012-06-21 Jeff Law <law@redhat.com>
22882 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22883 free. Simplify list management for _LIBC case.
22885 2012-06-21 Joseph Myers <joseph@codesourcery.com>
22888 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22889 Clear sign bit of 64-bit integer value before comparing against
22892 * sysdeps/mach/configure: Regenerated.
22894 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
22897 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22899 2012-06-21 Jeff Law <law@redhat.com>
22902 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
22903 uint16_t for elements in the "seen" array to avoid char overflows.
22904 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22905 * elf/dl-open.c (dl_open_worker): Likewise.
22907 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
22909 * scripts/list-sources.sh: Scan PORTS for translations.
22910 * po/libc.pot: Regenerated.
22912 2012-06-21 Andreas Jaeger <aj@suse.de>
22915 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22917 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22918 * bits/byteswap-16.h (__bswap_16): Likewise.
22919 * bits/byteswap.h (__bswap_constant_16): Likewise.
22921 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
22924 * sysdeps/i386/fpu_control.h: Removed.
22925 * sysdeps/x86_64/fpu_control.h: Moved to ...
22926 * sysdeps/x86/fpu_control.h: Here.
22928 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22929 (_FPU_SETCW): Likewise.
22931 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
22934 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22935 * sysdeps/x86/fpu/bits/mathinline.h: This.
22936 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22940 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22941 functions if __x86_64__ is defined.
22943 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
22945 * string/endian.h: Add !__ASSEMBLER__ condition for including
22946 conversion interfaces.
22948 2012-06-15 Joseph Myers <joseph@codesourcery.com>
22951 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22952 of ABS(x) in calculating zero to negative powers other than odd
22954 * math/libm-test.inc (pow_test): Add more tests.
22956 2012-06-15 Andreas Jaeger <aj@suse.de>
22958 * manual/contrib.texi (Contributors): Update entry of Liubov
22959 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22962 2012-06-15 Cyril Hrubis <metan@ucw.cz>
22964 * string/string.h: Add __wur to GNU version of strerror_r.
22966 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
22969 * string/Makefile (tests): Add tst-strtok_r.
22970 * string/tst-strtok_r.c: New file.
22971 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22972 RAX_LP/RDX_LP on SAVE_PTR.
22974 2012-06-14 Roland McGrath <roland@hack.frob.com>
22976 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22978 2012-06-14 Joseph Myers <joseph@codesourcery.com>
22980 * libm_test.inc (csqrt_test): Allow more spurious underflow
22982 (j0_test): Likewise.
22983 (j1_test): Likewise.
22984 (y0_test): Likewise.
22985 (y1_test): Likewise.
22987 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
22989 * po/Makefile (libc.pot): Use UTF-8 charset.
22991 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
22994 Suppress sign-conversion warning from FD_SET.
22995 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22996 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22997 not unsigned long int.
22998 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
23000 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
23004 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
23005 __extern_always_inline instead of __extern_inline.
23006 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
23007 (__signbit): Likewise.
23008 (__signbitl): Support C++ namespace.
23009 (lrintf): New inline function.
23011 (llrintf): Likewise.
23012 (llrint): Likewise.
23022 (floorf): Likewise.
23023 (nearbyint): Likewise.
23024 (nearbyintf): Likewise.
23026 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
23028 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23029 non-default versions.
23031 2012-06-11 Roland McGrath <roland@hack.frob.com>
23034 * manual/argp.texi (Argp): Reword argp_parse description slightly.
23036 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
23038 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23039 (FE_UPWARD, FE_DOWNWARD): Don't define.
23040 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23041 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23043 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23045 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23046 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23048 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23050 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23051 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23052 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23053 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23055 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
23058 * sysdeps/i386/fpu/bits/fenv.h: Removed.
23059 * sysdeps/i386/fpu/Implies: New file.
23060 * sysdeps/x86_64/fpu/Implies: Likewise.
23061 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
23062 * sysdeps/x86/fpu/bits/fenv.h: This.
23064 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23067 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23070 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23071 character 0xffff that matches the last element of the
23074 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23076 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23079 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23081 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
23082 values higher than 25.6283.
23084 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23086 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
23087 subnormal exponent extraction and add some __builtin_expect.
23088 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
23089 Fix for subnormal mantissa calculation.
23091 2012-06-04 Mike Frysinger <vapier@gentoo.org>
23093 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
23094 cpu2 is -1 and errno is not ENOSYS.
23096 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
23099 * sysdeps/i386/i486/bits/string.h: Renamed to ...
23100 * sysdeps/x86/bits/string.h: This.
23101 * sysdeps/x86_64/bits/string.h: Removed.
23103 * sysdeps/i386/i486/bits/string.h: Define inline functions only
23104 if not compiling for x86-64, but compiling for >= i486.
23106 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
23107 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
23109 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
23110 New macro from Linux kernel 3.4.0.
23111 (FP_XSTATE_MAGIC2): Likewise.
23112 (FP_XSTATE_MAGIC2_SIZE): Likewise.
23113 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
23114 (struct _fpx_sw_bytes): New struct.
23115 (struct _xsave_hdr): Likewise.
23116 (struct _ymmh_state): Likewise.
23117 (struct _xstate): Likewise.
23119 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
23120 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
23121 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
23122 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
23123 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
23124 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
23126 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
23127 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
23128 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
23129 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
23130 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
23131 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
23133 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23136 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
23137 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
23138 (sysdep_headers): Include sys/platform/ppc.h.
23139 * sysdeps/powerpc/test-gettimebase.c: Test for
23140 __ppc_get_timebase() to catch future ISA opcode/insn changes.
23141 * manual/Makefile (appendices): Include platform.texi.
23142 * manual/contrib.texi (Contributors): Update @node pointers.
23143 * manual/maint.texi (Maintenance): Likewise.
23144 (Platform): New node.
23145 * manual/platform.texi: New file. Document the new features.
23147 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23148 Jakub Jelinek <jakub@redhat.com>
23151 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
23152 where __builtin_expect is unavailable.
23154 2012-06-03 David S. Miller <davem@davemloft.net>
23156 * stdlib/longlong.h: Updated from GCC.
23158 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
23161 * sysdeps/powerpc/powerpc32/mcount.c: New file.
23162 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
23164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23165 (GLIBC_2.16): Likewise.
23167 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23169 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
23171 2012-06-01 Joseph Myers <joseph@codesourcery.com>
23173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
23174 (default-abi): New variable.
23175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
23176 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
23178 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
23180 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
23182 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
23185 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
23186 definition. Document in comment.
23188 2012-06-01 David S. Miller <davem@davemloft.net>
23190 * stdlib/longlong.h: Updated from GCC.
23192 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23195 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
23196 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
23197 sys/debugreg.h sys/io.h here.
23198 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
23199 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
23201 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
23202 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
23203 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
23204 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
23205 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
23206 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
23208 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
23209 Define only if __x86_64__ is defined.
23211 2012-06-01 Joseph Myers <joseph@codesourcery.com>
23214 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
23215 Use int64_t for variable i.
23216 * math/libm-test.inc (fmod_test): Add more tests.
23218 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
23219 z computation is not scheduled after fetestexcept.
23220 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
23221 Use math_force_eval instead of asm to ensure calculation scheduled
23222 before exception test.
23223 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
23224 Ensure a1 + u.d computation is not scheduled after fetestexcept.
23226 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
23228 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
23229 computation is not scheduled after fetestexcept.
23231 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23234 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
23235 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
23237 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23239 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
23240 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23242 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23245 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
23247 (__WCHAR_MIN): Support __WORDSIZE == 64.
23248 (__WCHAR_MAX): Likewise.
23250 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
23251 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
23254 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
23255 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
23258 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
23259 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
23261 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
23262 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
23264 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
23265 Defined to 1 if __x86_64__ isn't defined.
23266 (_STAT_VER_LINUX_OLD): New.
23267 (st_atime): Remove duplicate.
23268 (st_mtime): Likewise.
23269 (st_ctime): Likewise.
23271 2012-05-31 David S. Miller <davem@davemloft.net>
23273 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
23276 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
23278 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
23282 * elf/dl-reloc.c: Include <_itoa.h>.
23283 (_dl_reloc_bad_type): Remove use of INTUSE.
23284 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
23285 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
23286 * stdio-common/psiginfo.c (psiginfo): Likewise.
23287 * stdio-common/psignal.c (psignal): Likewise.
23288 * string/strsignal.c (strsignal): Likewise.
23289 * include/signal.h (_sys_siglist): Declare hidden proto.
23290 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
23291 INTVARDEF with libc_hidden_data_def.
23292 * stdio-common/itoa-udigits.c: Likewise.
23293 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
23294 (_itoa_lower_digits_internal): Remove declaration.
23295 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
23296 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
23297 (_sys_sigabbrev_internal): Remove aliases.
23298 (_sys_siglist): Define hidden alias.
23300 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
23302 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23305 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23308 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
23309 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
23311 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
23312 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
23313 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
23314 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
23315 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
23316 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
23318 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
23319 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
23320 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
23322 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
23330 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
23331 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
23332 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
23334 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
23335 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
23336 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
23337 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
23338 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
23339 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
23341 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
23342 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
23344 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
23345 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
23347 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
23348 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
23349 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
23351 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
23352 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
23354 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
23356 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
23357 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
23358 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
23360 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
23362 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
23364 2012-05-31 Joseph Myers <joseph@codesourcery.com>
23366 * math/math.h (M_El): Use two more decimal places.
23367 (M_LOG2El): Likewise.
23368 (M_LOG10El): Likewise.
23369 (M_LN2l): Likewise.
23370 (M_LN10l): Likewise.
23372 (M_PI_2l): Likewise.
23373 (M_PI_4l): Likewise.
23374 (M_1_PIl): Likewise.
23375 (M_2_PIl): Likewise.
23376 (M_2_SQRTPIl): Likewise.
23377 (M_SQRT2l): Likewise.
23378 (M_SQRT1_2l): Likewise.
23380 2012-05-31 David S. Miller <davem@davemloft.net>
23382 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
23383 values between float registers.
23384 * sysdeps/sparc/sparc64/memset.S: Likewise.
23385 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23387 2012-05-31 Mike Frysinger <vapier@gentoo.org>
23389 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
23390 -D_FORTIFY_SOURCE=1.
23391 (CPPFLAGS-tst-longjmp_chk.c): Define.
23392 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
23393 (CPPFLAGS-tst-longjmp_chk2.c): Define.
23394 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
23395 CFLAGS-tst-wchar-h.c.
23397 2012-05-31 Marek Polacek <polacek@redhat.com>
23400 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
23401 __endmntent_internal): Remove declaration.
23402 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
23403 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
23404 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
23406 2012-05-30 David S. Miller <davem@davemloft.net>
23408 * sysdeps/sparc/sparc32/soft-fp/q_util.c
23409 (___Q_simulate_exceptions): Use real FP ops rather than writing
23411 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
23414 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23417 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
23418 * sysdeps/x86/bits/xtitypes.h: This.
23420 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
23421 * sysdeps/x86/bits/wordsize.h: This.
23423 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
23424 * sysdeps/x86/bits/huge_vall.h: This.
23426 * sysdeps/i386/bits/select.h: Removed.
23427 * sysdeps/x86_64/bits/select.h: Renamed to ...
23428 * sysdeps/x86/bits/select.h: This.
23430 * sysdeps/i386/bits/setjmp.h: Removed.
23431 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
23432 * sysdeps/x86/bits/setjmp.h: This.
23434 * sysdeps/i386/bits/mathdef.h: Removed.
23435 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
23436 * sysdeps/x86/bits/mathdef.h: This.
23438 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
23441 * include/sys/socket.h (__connect_internal)
23442 (__libc_sa_len_internal): Remove declaration.
23443 (__connect, __libc_sa_len): Declare hidden_proto.
23444 (SA_LEN): Remove use of INTUSE.
23445 * socket/connect.c: Add libc_hidden_def.
23446 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
23447 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
23448 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
23450 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23451 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
23452 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
23453 of adding _internal alias.
23455 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23458 * sysdeps/i386/bits/link.h: Removed.
23459 * sysdeps/i386/bits/linkmap.h: Likewise.
23460 * sysdeps/x86_64/bits/link.h: Renamed to ...
23461 * sysdeps/x86/bits/link.h: This.
23462 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
23463 * sysdeps/x86/bits/linkmap.h: This.
23465 * sysdeps/i386/bits/endian.h: Removed.
23466 * sysdeps/x86_64/bits/endian.h: Renamed to ...
23467 * sysdeps/x86/bits/endian.h: This.
23469 * sysdeps/i386/bits/byteswap.h: Removed.
23470 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23471 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
23472 * sysdeps/x86/bits/byteswap.h: This.
23473 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
23474 * sysdeps/x86/bits/byteswap-16.h: This.
23475 * sysdeps/i386/Implies: Add x86.
23476 * sysdeps/x86_64/Implies: Likewise.
23478 2012-05-30 David S. Miller <davem@davemloft.net>
23480 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
23481 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
23482 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23483 (FP_TRAPPING_EXCEPTIONS): Define.
23484 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23485 (FP_TRAPPING_EXCEPTIONS): Define.
23486 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
23487 subnormals only when inexact has been signalled or underflow
23488 exceptions are enabled.
23489 (_FP_PACK_CANONICAL): Likewise.
23491 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23494 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
23495 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
23497 2012-05-30 Richard Henderson <rth@twiddle.net>
23499 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
23500 with #ifndef NOT_IN_libc.
23502 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
23503 marked to avoid plt entry.
23505 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23508 * Makeconfig (default-abi): New macro.
23509 (abi-includes): Likewise.
23510 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
23511 $(abi-$(default-abi)-lib-soname) for soname if defined.
23512 ($(common-objpfx)gnu/lib-names.stmp): Generate from
23514 * Makefile (installed-stubs): Likewise.
23515 * include/stubs-biarch.h: Removed.
23516 * scripts/lib-names.awk: Only handle one library at a time.
23517 * scripts/soversions.awk: Remove WORDSIZE support.
23518 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
23520 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
23522 (syscall-list-default-condition): Likewise.
23523 (syscall-list-default-condition): Likewise.
23524 (syscall-list-includes): Likewise.
23525 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
23526 syscall-list-* with abi-*. Handle undefined abi-variants.
23527 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
23528 * sysdeps/unix/sysv/linux/i386/Implies: New file.
23529 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
23530 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
23531 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
23532 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
23534 (syscall-list-32-options): Likewise.
23535 (syscall-list-32-condition): Likewise.
23536 (syscall-list-64-options): Likewise.
23537 (syscall-list-64-condition): Likewise.
23538 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
23540 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
23543 (abi-64-ld-soname): New macro.
23544 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
23545 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
23548 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
23549 * sysdeps/x86_64/x32/shlib-versions: Likewise.
23551 2012-05-30 Joseph Myers <joseph@codesourcery.com>
23553 * sysdeps/unix/sysv/linux/kernel-features.h
23554 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
23555 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
23556 include <kernel-features.h>.
23557 [!__NR_ftruncate64]: Remove conditional code.
23558 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23559 [__NR_ftruncate64]: Make code unconditional.
23560 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23561 * sysdeps/unix/sysv/linux/truncate64.c: Do not
23562 include <kernel-features.h>.
23563 [!__NR_ftruncate64]: Remove conditional code.
23564 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23565 [__NR_ftruncate64]: Make code unconditional.
23566 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
23568 include <kernel-features.h>.
23569 [!__NR_ftruncate64]: Remove conditional code.
23570 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23571 [__NR_ftruncate64]: Make code unconditional.
23572 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23574 include <kernel-features.h>.
23575 [!__NR_ftruncate64]: Remove conditional code.
23576 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23577 [__NR_ftruncate64]: Make code unconditional.
23578 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23580 * configure.in (libc_cv_fpie): Weaken to a compile test using
23581 LIBC_TRY_CC_OPTION.
23582 * configure: Regenerated.
23584 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
23587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
23588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
23589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
23592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
23593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
23594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
23595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
23596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23599 2012-05-27 David S. Miller <davem@davemloft.net>
23601 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
23603 (__Q_simulate_exceptions): Return void. Change to simulate
23604 exceptions by writing into the %fsr.
23605 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
23606 (__Qp_handle_exceptions): Likewise.
23608 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
23609 __Qp_handle_exceptions.
23610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
23611 __Qp_handle_exceptions.
23612 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23613 as unused and give dummy FP_RND_NEAREST initializer.
23614 (FP_INHIBIT_RESULTS): Define.
23615 (___Q_simulate_exceptions): Update declaration.
23616 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
23618 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23619 as unused and give dummy FP_RND_NEAREST initializer.
23620 (__Qp_handle_exceptions): Update declaration.
23621 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
23624 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
23626 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
23627 the temporary FPU control word.
23628 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23629 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
23630 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23631 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23632 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23633 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23634 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23635 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23636 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23637 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23638 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23640 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23642 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
23645 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
23647 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
23648 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
23649 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
23650 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
23652 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
23653 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
23656 2012-05-27 Ulrich Drepper <drepper@gmail.com>
23658 * po/h.po: Update from translation team.
23660 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
23662 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
23664 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
23665 handling of denormals.
23666 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23667 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23668 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23669 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23670 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23671 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
23672 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
23675 2012-05-26 Marek Polacek <polacek@redhat.com>
23678 * math/libm-test.inc (fma_test): Don't always expect underflow
23681 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23684 * elf/tst-execstack.c: Include stackinfo.h.
23685 (do_test): Adjust test case to ensure that pthread_getattr_np
23686 behaviour remains the same after marking stack executable.
23688 2012-05-25 Joseph Myers <joseph@codesourcery.com>
23690 * sysdeps/unix/sysv/linux/kernel-features.h
23691 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
23692 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
23694 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23695 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23696 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
23698 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23699 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23701 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
23703 * configure.in: Define the default includes to being none.
23704 * configure: Regenerated.
23706 2012-05-25 Roland McGrath <roland@hack.frob.com>
23708 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
23709 * sysdeps/x86_64/setjmp.S: Likewise.
23710 * sysdeps/i386/bsd-setjmp.S: Likewise.
23711 * sysdeps/i386/bsd-_setjmp.S: Likewise.
23712 * sysdeps/i386/setjmp.S: Likewise.
23713 * sysdeps/i386/__longjmp.S: Likewise.
23714 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23715 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
23717 * include/stap-probe.h: New file.
23718 * configure.in: Handle --enable-systemtap.
23719 * configure: Regenerated.
23720 * config.h.in (USE_STAP_PROBE): New #undef.
23721 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
23722 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
23723 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23725 2012-05-25 Joseph Myers <joseph@codesourcery.com>
23728 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23729 to 2.4.0 where earlier.
23730 * sysdeps/unix/sysv/linux/configure: Regenerated.
23731 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23732 <kernel-features.h>.
23733 [__ASSUME_32BITUIDS]: Make code unconditional.
23734 [!__ASSUME_32BITUIDS]: Remove conditional code.
23735 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
23736 <kernel-features.h>.
23737 [__ASSUME_32BITUIDS]: Make code unconditional.
23738 [!__ASSUME_32BITUIDS]: Remove conditional code.
23739 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
23740 [__ASSUME_32BITUIDS]: Make code unconditional.
23741 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23742 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
23743 <kernel-features.h>.
23744 [__ASSUME_32BITUIDS]: Make code unconditional.
23745 [!__ASSUME_32BITUIDS]: Remove conditional code.
23746 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
23747 <kernel-features.h>.
23748 [__ASSUME_32BITUIDS]: Make code unconditional.
23749 [!__ASSUME_32BITUIDS]: Remove conditional code.
23750 * sysdeps/unix/sysv/linux/i386/getgid.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/getgroups.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/getresgid.c: Do not include
23759 <kernel-features.h>.
23760 [__ASSUME_32BITUIDS]: Make code unconditional.
23761 [!__ASSUME_32BITUIDS]: Remove conditional code.
23762 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23763 <kernel-features.h>.
23764 [__ASSUME_32BITUIDS]: Make code unconditional.
23765 [!__ASSUME_32BITUIDS]: Remove conditional code.
23766 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
23767 <kernel-features.h>.
23768 [__ASSUME_32BITUIDS]: Make code unconditional.
23769 [!__ASSUME_32BITUIDS]: Remove conditional code.
23770 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23771 <kernel-features.h>.
23772 [__ASSUME_32BITUIDS]: Make code unconditional.
23773 [!__ASSUME_32BITUIDS]: Remove conditional code.
23774 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23775 <kernel-features.h>.
23776 [__ASSUME_32BITUIDS]: Make code unconditional.
23777 [!__ASSUME_32BITUIDS]: Remove conditional code.
23778 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
23779 <kernel-features.h>.
23780 [__ASSUME_32BITUIDS]: Make code unconditional.
23781 [!__ASSUME_32BITUIDS]: Remove conditional code.
23782 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
23783 <kernel-features.h>.
23784 [__NR_setresgid] (__setresgid): Do not declare.
23785 [__ASSUME_32BITUIDS]: Make code unconditional.
23786 [!__ASSUME_32BITUIDS]: Remove conditional code.
23787 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23788 <kernel-features.h>.
23789 [__NR_setresuid] (__setresuid): Do not declare.
23790 [__ASSUME_32BITUIDS]: Make code unconditional.
23791 [!__ASSUME_32BITUIDS]: Remove conditional code.
23792 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23793 <kernel-features.h>.
23794 [__ASSUME_32BITUIDS]: Make code unconditional.
23795 [!__ASSUME_32BITUIDS]: Remove conditional code.
23796 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23797 <kernel-features.h>.
23798 [__ASSUME_32BITUIDS]: Make code unconditional.
23799 [!__ASSUME_32BITUIDS]: Remove conditional code.
23800 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23801 <kernel-features.h>.
23802 [__ASSUME_32BITUIDS]: Make code unconditional.
23803 [!__ASSUME_32BITUIDS]: Remove conditional code.
23804 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23805 <kernel-features.h>.
23806 [__ASSUME_32BITUIDS]: Make code unconditional.
23807 [!__ASSUME_32BITUIDS]: Remove conditional code.
23808 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23809 <kernel-features.h>.
23810 [__ASSUME_32BITUIDS]: Make code unconditional.
23811 [!__ASSUME_32BITUIDS]: Remove conditional code.
23812 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23813 <kernel-features.h>.
23814 [__ASSUME_32BITUIDS]: Make code unconditional.
23815 [!__ASSUME_32BITUIDS]: Remove conditional code.
23816 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23817 <kernel-features.h>.
23818 [__ASSUME_32BITUIDS]: Make code unconditional.
23819 [!__ASSUME_32BITUIDS]: Remove conditional code.
23820 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23821 <kernel-features.h>.
23822 [__ASSUME_32BITUIDS]: Make code unconditional.
23823 [!__ASSUME_32BITUIDS]: Remove conditional code.
23824 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23825 <kernel-features.h>.
23826 [__ASSUME_32BITUIDS]: Make code unconditional.
23827 [!__ASSUME_32BITUIDS]: Remove conditional code.
23828 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23829 <kernel-features.h>.
23830 [__ASSUME_32BITUIDS]: Make code unconditional.
23831 [!__ASSUME_32BITUIDS]: Remove conditional code.
23832 * sysdeps/unix/sysv/linux/kernel-features.h
23833 (__ASSUME_SETRESUID_SYSCALL): Remove.
23834 (__ASSUME_SETRESGID_SYSCALL): Likewise.
23835 (__ASSUME_32BITUIDS): Likewise.
23836 (__ASSUME_LDT_WORKS): Likewise.
23837 (__ASSUME_O_DIRECTORY): Likewise.
23838 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23839 architecture but not kernel version.
23840 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23841 (__ASSUME_MMAP2_SYSCALL): Likewise.
23842 (__ASSUME_STAT64_SYSCALL): Likewise.
23843 (__ASSUME_IPC64): Likewise.
23844 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23845 <kernel-features.h>.
23846 [__ASSUME_32BITUIDS]: Make code unconditional.
23847 [!__ASSUME_32BITUIDS]: Remove conditional code.
23848 * sysdeps/unix/sysv/linux/opendir.c: Do not include
23849 <kernel-features.h>.
23850 [__ASSUME_O_DIRECTORY]: Make code unconditional.
23851 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23852 132096]: Remove conditional code.
23853 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23854 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23855 <kernel-features.h>.
23856 [__ASSUME_32BITUIDS]: Make code unconditional.
23857 [!__ASSUME_32BITUIDS]: Remove conditional code.
23858 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23859 <kernel-features.h>.
23860 [__ASSUME_32BITUIDS]: Make code unconditional.
23861 [!__ASSUME_32BITUIDS]: Remove conditional code.
23862 * sysdeps/unix/sysv/linux/setegid.c: Do not include
23863 <kernel-features.h>.
23864 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23866 (__setresgid): Do not declare.
23867 [__ASSUME_32BITUIDS]: Make code unconditional.
23868 [!__ASSUME_32BITUIDS]: Remove conditional code.
23869 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23870 <kernel-features.h>.
23871 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23873 (__setresuid): Do not declare.
23874 [__ASSUME_32BITUIDS]: Make code unconditional.
23875 [!__ASSUME_32BITUIDS]: Remove conditional code.
23876 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23877 <kernel-features.h>.
23878 [__ASSUME_32BITUIDS]: Make code unconditional.
23879 [!__ASSUME_32BITUIDS]: Remove conditional code.
23880 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23881 <kernel-features.h>.
23882 [__ASSUME_32BITUIDS]: Make code unconditional.
23883 [!__ASSUME_32BITUIDS]: Remove conditional code.
23885 2012-05-25 Richard Henderson <rth@twiddle.net>
23887 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23888 dl_hwcap to ifunc resolver.
23889 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23891 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23892 dl_hwcap to ifunc resolver.
23893 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23895 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23898 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23899 for |x| <= 2**-26, not 2**-57.
23900 * math/libm-test.inc (acos_test): Do not allow spurious underflow
23903 2012-05-24 Jeff Law <law@redhat.com>
23905 * stdio-common/Makefile (tests): Add bug25.
23906 * stdio-common/bug25.c: New test.
23908 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23911 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23912 multiple of MALLOC_ALIGNMENT in size.
23913 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23915 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23917 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23919 (FILENAME_MAX): Use macro-int-constant.
23920 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
23921 (_IOFBF): Use macro-int-constant.
23922 (_IOLBF): Likewise.
23923 (_IONBF): Likewise.
23924 (SEEK_CUR): Likewise.
23925 (SEEK_END): Likewise.
23926 (SEEK_SET): Likewise.
23927 (TMP_MAX): Likewise.
23928 (EOF): Use macro-int-constant. Require < 0.
23929 (NULL): Use macro-constant. Require == 0.
23930 (stdin): Require type to be FILE *.
23931 (stdout): Likewise.
23932 (stderr): Likewise.
23933 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23934 macro-int-constant.
23935 (EXIT_SUCCESS): Likewise.
23936 (NULL): Use macro-constant. Require == 0.
23937 (RAND_MAX): Use macro-int-constant.
23938 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23939 [C99-based standards] (strtof): Require function.
23940 [C99-based standards] (strtold): Likewise.
23941 [C99-based standards] (strtoll): Likewise.
23942 [C99-based standards] (strtoull): Likewise.
23943 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23944 [ISO || ISO99 || ISO11] (limits.h): Likewise.
23945 [ISO || ISO99 || ISO11] (math.h): Likewise.
23946 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23947 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23948 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23950 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
23953 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23954 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23955 * intl/dgettext.c (DCGETTEXT): Likewise.
23956 * intl/gettext.c (DCGETTEXT): Likewise.
23957 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23958 * posix/regex_internal.h (gettext): Likewise.
23959 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23960 Remove declaration.
23961 * include/argz.h (__argz_count_internal)
23962 (__argz_stringify_internal): Remove declaration.
23963 (__argz_count, __argz_stringify): Declare hidden proto.
23964 * intl/dcgettext.c: Remove use of INTDEF.
23965 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23966 * string/argz-stringify.c: Likewise.
23967 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23968 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23969 Declare hidden proto.
23970 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23971 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23972 Declare hidden proto.
23973 * include/stdio.h (__asprintf_internal): Don't declare.
23974 (__asprintf): Don't define as macro. Declare hidden proto.
23975 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23976 (__fsetlocking): Declare hidden proto.
23977 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23978 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23980 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23981 (_IO_setlinebuf): Remove use of INTUSE.
23982 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23983 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23984 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23985 Remove declaration.
23986 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23987 (_IO_do_flush): Remove use of INTUSE.
23988 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23989 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23990 (_IO_adjust_column, _IO_least_wmarker)
23991 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23992 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23993 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23994 (_IO_default_doallocate, _IO_wdefault_doallocate)
23995 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23996 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23997 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23998 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23999 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
24000 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
24001 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
24002 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
24003 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
24004 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
24005 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
24006 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
24007 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
24009 (_IO_flush_all_internal, _IO_adjust_column_internal)
24010 (_IO_default_uflow_internal, _IO_default_finish_internal)
24011 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
24012 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
24013 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
24014 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
24015 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
24016 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
24017 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
24018 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
24019 (_IO_file_close_internal, _IO_file_close_it_internal)
24020 (_IO_file_underflow_internal, _IO_file_overflow_internal)
24021 (_IO_file_init_internal, _IO_file_attach_internal)
24022 (_IO_file_fopen_internal, _IO_file_read_internal)
24023 (_IO_file_sync_internal, _IO_file_seek_internal)
24024 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
24025 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
24026 (_IO_str_underflow_internal, _IO_str_overflow_internal)
24027 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
24028 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
24029 (_IO_list_all_internal, _IO_link_in_internal)
24030 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
24031 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
24032 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24033 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24034 (_IO_do_write_internal, _IO_padn_internal)
24035 (_IO_getline_info_internal, _IO_getline_internal)
24036 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24037 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24038 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24039 (_IO_vfscanf_internal, _IO_vfprintf_internal)
24040 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24041 (_IO_init_internal, _IO_un_link_internal): Don't declare.
24042 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24043 with libc_hidden_ver, remove use of INTUSE.
24044 * libio/genops.c: Likewise.
24045 * libio/freopen.c: Likewise.
24046 * libio/freopen64.c: Likewise.
24047 * libio/iofclose.c: Likewise.
24048 * libio/iofdopen.c: Likewise.
24049 * libio/iofflush.c: Likewise.
24050 * libio/iofflush_u.c: Likewise.
24051 * libio/iofgets.c: Likewise.
24052 * libio/iofgets_u.c: Likewise.
24053 * libio/iofopen.c: Likewise.
24054 * libio/iofopncook.c: Likewise.
24055 * libio/iofread.c: Likewise.
24056 * libio/iofread_u.c: Likewise.
24057 * libio/ioftell.c: Likewise.
24058 * libio/iofwrite.c: Likewise.
24059 * libio/iogetline.c: Likewise.
24060 * libio/iogets.c: Likewise.
24061 * libio/iogetwline.c: Likewise.
24062 * libio/iopadn.c: Likewise.
24063 * libio/iopopen.c: Likewise.
24064 * libio/ioseekoff.c: Likewise.
24065 * libio/ioseekpos.c: Likewise.
24066 * libio/iosetbuffer.c: Likewise.
24067 * libio/iosetvbuf.c: Likewise.
24068 * libio/ioungetc.c: Likewise.
24069 * libio/ioungetwc.c: Likewise.
24070 * libio/iovdprintf.c: Likewise.
24071 * libio/iovsprintf.c: Likewise.
24072 * libio/iovsscanf.c: Likewise.
24073 * libio/memstream.c: Likewise.
24074 * libio/obprintf.c: Likewise.
24075 * libio/oldfileops.c: Likewise.
24076 * libio/oldiofclose.c: Likewise.
24077 * libio/oldiofdopen.c: Likewise.
24078 * libio/oldiofopen.c: Likewise.
24079 * libio/oldiopopen.c: Likewise.
24080 * libio/oldstdfiles.c: Likewise.
24081 * libio/putc.c: Likewise.
24082 * libio/setbuf.c: Likewise.
24083 * libio/setlinebuf.c: Likewise.
24084 * libio/stdfiles.c: Likewise.
24085 * libio/strops.c: Likewise.
24086 * libio/vasprintf.c: Likewise.
24087 * libio/vscanf.c: Likewise.
24088 * libio/vsnprintf.c: Likewise.
24089 * libio/vswprintf.c: Likewise.
24090 * libio/wfiledoalloc.c: Likewise.
24091 * libio/wfileops.c: Likewise.
24092 * libio/wgenops.c: Likewise.
24093 * libio/wmemstream.c: Likewise.
24094 * libio/wstrops.c: Likewise.
24095 * libio/__fpurge.c: Likewise.
24096 * libio/__fsetlocking.c: Likewise.
24097 * assert/assert.c: Likewise.
24098 * debug/fgets_chk.c: Likewise.
24099 * debug/fgets_u_chk.c: Likewise.
24100 * debug/fread_chk.c: Likewise.
24101 * debug/fread_u_chk.c: Likewise.
24102 * debug/gets_chk.c: Likewise.
24103 * debug/obprintf_chk.c: Likewise.
24104 * debug/vasprintf_chk.c: Likewise.
24105 * debug/vdprintf_chk.c: Likewise.
24106 * debug/vsnprintf_chk.c: Likewise.
24107 * debug/vsprintf_chk.c: Likewise.
24108 * malloc/mtrace.c: Likewise.
24109 * misc/error.c: Likewise.
24110 * misc/syslog.c: Likewise.
24111 * stdio-common/asprintf.c: Likewise.
24112 * stdio-common/fxprintf.c: Likewise.
24113 * stdio-common/getw.c: Likewise.
24114 * stdio-common/isoc99_fscanf.c: Likewise.
24115 * stdio-common/isoc99_scanf.c: Likewise.
24116 * stdio-common/isoc99_vfscanf.c: Likewise.
24117 * stdio-common/isoc99_vscanf.c: Likewise.
24118 * stdio-common/isoc99_vsscanf.c: Likewise.
24119 * stdio-common/printf-prs.c: Likewise.
24120 * stdio-common/printf_fp.c: Likewise.
24121 * stdio-common/printf_fphex.c: Likewise.
24122 * stdio-common/printf_size.c: Likewise.
24123 * stdio-common/putw.c: Likewise.
24124 * stdio-common/scanf.c: Likewise.
24125 * stdio-common/sprintf.c: Likewise.
24126 * stdio-common/tmpfile.c: Likewise.
24127 * stdio-common/vfprintf.c: Likewise.
24128 * stdio-common/vfscanf.c: Likewise.
24129 * stdlib/strfmon_l.c: Likewise.
24130 * sunrpc/openchild.c: Likewise.
24131 * sunrpc/xdr_stdio.c: Likewise.
24132 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24133 * sysdeps/mach/hurd/tmpfile.c: Likewise.
24135 2012-05-24 Roland McGrath <roland@hack.frob.com>
24137 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24139 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
24140 in the third column, to generate for the shared library an IFUNC
24141 that uses _dl_vdso_vsym.
24142 * Makerules (COMPILE.c, compile-stdin.c): New variables.
24143 * Makeconfig (object-suffixes-noshared): New variable.
24145 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
24146 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
24147 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
24148 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
24151 * include/sys/time.h (__gettimeofday): Remove macro.
24152 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
24153 * time/gettimeofday.c (__gettimeofday): Remove #undef.
24155 (__gettimeofday): Add libc_hidden_def.
24156 (gettimeofday): Add libc_hidden_weak.
24157 * sysdeps/mach/gettimeofday.c: Likewise.
24158 * sysdeps/posix/gettimeofday.c: Likewise.
24159 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24160 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24161 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
24162 (__gettimeofday_internal): Remove strong_alias.
24163 (__gettimeofday): Add libc_hidden_def.
24164 (gettimeofday): Add libc_hidden_weak.
24165 * sysdeps/unix/syscalls.list (gettimeofday):
24166 Remove __gettimeofday_internal alias.
24168 2012-05-24 Daniel Jacobowitz <drow@false.org>
24169 H.J. Lu <hongjiu.lu@intel.com>
24172 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
24173 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
24174 (largebin_index_32_big): New.
24175 (largebin_index): Use it for 16-byte alignment.
24176 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
24177 correction with front_misalign.
24179 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
24182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
24186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
24190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
24192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
24194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
24196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24198 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
24200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
24202 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
24207 * scripts/data/c++-types-x32-linux-gnu.data: New file.
24208 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
24210 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24214 * math/libm-test.inc (exp_test): Add test from bug 14036.
24215 (pow_test): Add test from bug 10846.
24217 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
24219 (special_function): Do not include flags in test name.
24220 (parse_args): Likewise.
24221 * sysdeps/i386/fpu/libm-test-ulps: Update.
24222 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24223 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24224 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24227 * math/gen-libm-test.pl (%beautify): Add entries for underflow
24229 * math/libm-test.inc ("Philosophy"): Update comment about
24231 (UNDERFLOW_EXCEPTION): New macro.
24232 (UNDERFLOW_EXCEPTION_OK): Likewise.
24233 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
24234 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
24235 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
24236 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
24237 (INVALID_EXCEPTION_OK): Update value.
24238 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24239 (OVERFLOW_EXCEPTION_OK): Likewise.
24240 (IGNORE_ZERO_INF_SIGN): Likewise.
24241 (test_exceptions): Handle underflow exceptions.
24242 (acos_test): Update for underflow exception expectations.
24243 (cexp_test): Likewise.
24244 (clog_test): Likewise.
24245 (clog10_test): Likewise.
24246 (csqrt_test): Likewise.
24247 (ctan_test): Likewise.
24248 (ctanh_test): Likewise.
24249 (exp_test): Likewise.
24250 (exp10_test): Likewise.
24251 (exp2_test): Likewise.
24252 (expm1_test): Likewise.
24253 (fma_test): Likewise.
24254 (j0_test): Likewise.
24255 (jn_test): Likewise.
24256 (nexttoward_test): Likewise.
24257 (pow_test): Likewise.
24258 (scalbn_test): Likewise.
24259 (scalbln_test): Likewise.
24260 (tan_test): Likewise.
24261 (y1_test): Likewise.
24262 * sysdeps/i386/fpu/libm-test-ulps: Update.
24263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24265 2012-05-23 David S. Miller <davem@davemloft.net>
24267 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24268 (__libc_sigaction): Remove unused local variables.
24270 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24272 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
24274 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
24276 mktime: avoid signed integer overflow
24277 * time/mktime.c (__mktime_internal): Do not mishandle the case
24278 where diff == INT_MIN.
24280 mktime: simplify computation of average
24281 * time/mktime.c (ranged_convert): Use new time_t_avg function
24282 instead of rolling our own (probably-slower) code.
24284 mktime: do not assume signed right shift propagates sign bit
24285 * time/mktime.c (isdst_differ): New static function.
24286 (__mktime_internal): No need to normalize tm_isdst now.
24287 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
24290 mktime: merge another wrapv change from gnulib
24291 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
24292 from some compilers.
24294 mktime: remove incorrect attempt at unusual arithmetics
24295 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
24296 The code didn't really work on such machines anyway.
24297 (TYPE_MINIMUM): Assume two's complement.
24298 (twos_complement_arithmetic): Verify that long_int and time_t
24299 are two's complement (or unsigned, in the latter case).
24301 mktime: check signed shifts on long_int and time_t, too
24302 * time/mktime.c (SHR): Check that shifts work as desired
24303 on the types long_int and time_t too, as SHR is used on
24306 mktime: do not assume 'long' is wide enough
24307 * time/mktime.c (verify): Move decl up.
24308 (long_int): New type.
24309 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
24310 to remove assumption in the code that 'long' is wide enough to
24311 store year values. This assumption is not true on x32 and on
24312 some non-glibc platforms.
24314 mktime: merge wrapv change from gnulib
24315 * time/mktime.c (WRAPV): New macro.
24316 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
24317 (guess_time_tm, __mktime_internal): Do not assume that signed
24318 integer overflow wraps around; modern compilers generate code
24319 where this assumption is no longer valid.
24321 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24323 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24324 Replace "jmp L(pseudo_end)" with "ret".
24325 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
24328 2012-05-23 Andreas Jaeger <aj@suse.de>
24330 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
24331 * sysdeps/unix/sysv/linux/poll.c: Remove file.
24333 2012-05-23 Andreas Jaeger <aj@suse.de>
24334 Maximilian Attems <max@stro.at>
24336 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
24339 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24341 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
24342 code so that pseudo_end is just ret and the stack pointer is
24343 correct also for static library in error case.
24345 2012-05-23 Joseph Myers <joseph@codesourcery.com>
24347 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
24348 move to syscalls.list.
24349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24354 * manual/install.texi (Running make install): Do not mention Linux
24355 kernel version for which pt_chown is not needed.
24356 (Linux): Do not mention problems with nscd with 2.0 kernels.
24357 * INSTALL: Regenerated.
24359 2012-05-23 Andreas Jaeger <aj@suse.de>
24361 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
24362 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
24364 * sysdeps/unix/sysv/linux/s390/bits/mman.h
24365 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24366 * sysdeps/unix/sysv/linux/sh/bits/mman.h
24367 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24368 * sysdeps/unix/sysv/linux/i386/bits/mman.h
24369 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24370 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
24371 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24372 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
24373 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24374 * sysdeps/unix/sysv/linux/bits/in.h
24375 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
24377 2012-05-22 Roland McGrath <roland@hack.frob.com>
24379 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
24380 (PREPARE_VERSION): Just use assert instead, it will be elided
24381 under [NDEBUG] anyway.
24383 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24385 * sysdeps/unix/sysv/linux/Makefile: Include
24386 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
24387 (sysdep_routines): Remove sysctl.
24388 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
24389 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
24390 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
24391 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
24392 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
24394 2012-05-22 Andreas Jaeger <aj@suse.de>
24396 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
24397 that pseudo_end is just ret and the stack pointer is correct also
24398 for static library in error case.
24400 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
24403 * nss/nsswitch.c (defconfig_entries): New variable.
24404 (__nss_database_lookup): Don't leak defconfig entries.
24405 (nss_parse_service_list): Don't leak on error paths.
24406 (free_database_entries): New function.
24407 (free_defconfig): New function.
24408 (free_mem): Move common code to free_database_entries.
24410 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24412 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
24414 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
24416 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24417 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
24418 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
24420 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
24421 (INTERNAL_SYSCALL_TYPES): Likewise.
24422 (LOAD_ARGS_TYPES_[1-6]): Likewise.
24423 (LOAD_REGS_TYPES_[1-6]): Likewise.
24424 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
24425 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
24427 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24429 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
24430 copysignl for GLIBC_2_0.
24431 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
24432 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
24433 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
24434 logbl for GLIBC_2_0.
24435 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24436 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24438 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24440 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
24441 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24443 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24446 * time/mktime.c: Update copyright years.
24448 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
24450 mktime: merge comment-quoting-style change from gnulib
24451 * time/mktime.c: Quote 'like this' in comments.
24452 The GNU coding standards suggest that we no longer quote `like this',
24453 as "`" and "'" are typically rendered asymmetrically nowadays.
24454 The typical gnulib style is to quote 'like this' when quoting
24455 code, and "like this" when quoting English.
24457 * time/mktime.c (compile-command): Add "-I.".
24459 mktime: merge mktime-internal.h change from gnulib
24460 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
24462 mktime: merge time_r change from gnulib
24463 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
24465 mktime: merge DEBUG change from gnulib
24466 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
24467 case system <time.h> has a #define.
24469 mktime: merge <sys/types.h> change from gnulib
24470 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
24471 since <time.t> is now guaranteed to define time_t.
24473 mktime: merge HAVE_CONFIG_H change from gnulib
24474 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
24476 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24478 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24481 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
24483 (struct rusage): Use anonymous union to pad each field to
24486 2012-05-21 David S. Miller <davem@davemloft.net>
24488 * Makefules (o-iterator): Remove .s cases.
24489 (compile-command.s): Delete.
24490 (COMPILE.s): Delete.
24491 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
24493 2012-05-21 Joseph Myers <joseph@codesourcery.com>
24495 * configure.in (libc_cv_predef_stack_protector): Only consider
24496 "foobar" and "__stack_chk_fail" lines in libc_undefs.
24497 * configure: Regenerated.
24499 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24501 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24502 New macro. Use R*LP on int and pointer.
24503 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
24504 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
24505 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
24506 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
24508 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
24509 [__WORDSIZE_TIME64_COMPAT32] instead of
24510 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
24511 (struct utmp): Likewise.
24512 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
24513 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
24515 (__WORDSIZE_TIME64_COMPAT32): This.
24516 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
24517 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
24518 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
24519 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
24520 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
24521 (__WORDSIZE_TIME64_COMPAT32): New macro.
24523 2012-05-21 Andreas Jaeger <aj@suse.de>
24525 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
24526 only if [SHARED]. Add prototype for __wcschr_ia32.
24528 2012-05-21 Roland McGrath <roland@hack.frob.com>
24530 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
24531 of %rbp unmolested in the jmp_buf while mangling the low bits.
24532 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
24533 unmolested high bits of %rbp while demangling the low bits.
24534 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24536 2012-05-21 Andreas Jaeger <aj@suse.de>
24538 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
24539 * sunrpc/svc_simple.c: Use it for registerrpc.
24540 * sunrpc/xcrypt.c: Use it for passwd2des.
24542 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
24544 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24546 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
24547 Don't define if [__SYSCALL_WORDSIZE != 32].
24548 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
24551 2012-05-21 Bruno Haible <bruno@clisp.org>
24552 Andreas Jaeger <aj@suse.de>
24554 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
24555 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
24556 inptr and inend for must_buffer_ch.
24557 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
24558 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
24559 * stdio-common/Makefile (tests): Remove bug15.
24560 (bug15-ENV): Remove macro.
24561 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
24564 2012-05-19 Andreas Jaeger <aj@suse.de>
24565 Roland McGrath <roland@hack.frob.com>
24567 * manual/contrib.texi: Completely rewritten. It contains now an
24568 alphabetical list of contributors and their contributions.
24570 2012-05-21 Richard Henderson <rth@twiddle.net>
24572 * misc/getauxval.c (__getauxval): Use unsigned long int.
24573 * misc/sys/auxv.h: Include <sys/cdefs.h>.
24574 (getauxval): Use unsigned long int.
24576 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24578 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24580 2012-05-21 Roland McGrath <roland@hack.frob.com>
24582 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
24583 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
24584 __alignof__ (long double).
24586 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24590 2012-05-20 Richard Henderson <rth@twiddle.net>
24592 * misc/getauxval.c: New file.
24593 * misc/sys/auxv.h: New file.
24594 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
24595 (routines): Add getauxval.
24596 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
24597 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
24598 * elf/dl-sysdep.c (_dl_auxv): Remove.
24599 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
24600 * elf/dl-support.c (_dl_auxv): New variable.
24601 (_dl_aux_init): Initialize it.
24602 * manual/startup.texi (Auxiliary Vector): New node.
24603 * sysdeps/generic/bits/hwcap.h: New file.
24604 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
24605 * sysdeps/powerpc/sysdep.h: ... here. Include it.
24606 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
24607 * sysdeps/sparc/sysdep.h: ... here. Include it.
24608 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
24609 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
24610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
24613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
24614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
24615 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
24616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
24619 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
24621 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24625 2012-05-19 David S. Miller <davem@davemloft.net>
24627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24629 2012-05-19 Joseph Myers <joseph@codesourcery.com>
24632 * math/s_ccosh.c: Include <float.h>
24633 (__ccosh): Avoid internal overflow calculating sinh and cosh
24634 values before multiplying by sin and cos values.
24635 * math/s_ccoshf.c: Likewise.
24636 * math/s_ccoshl.c: Likewise.
24637 * math/s_csin.c: Likewise.
24638 * math/s_csinf.c: Likewise.
24639 * math/s_csinl.c: Likewise.
24640 * math/s_csinh.c: Likewise.
24641 * math/s_csinhf.c: Likewise.
24642 * math/s_csinhl.c: Likewise.
24643 * math/libm-test.inc (ccos_test): Add more tests.
24644 (ccosh_test): Likewise.
24645 (csin_test): Likewise.
24646 (csinh_test): Likewise.
24647 * sysdeps/i386/fpu/libm-test-ulps: Update.
24648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24650 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
24652 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
24653 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
24655 * sysdeps/x86_64/x32/_itoa.h: Add comment.
24657 2012-05-19 Joseph Myers <joseph@codesourcery.com>
24659 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
24660 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
24661 * sysdeps/powerpc/soft-fp/Versions: Likewise.
24662 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
24663 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
24664 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
24665 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
24666 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
24667 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
24668 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
24669 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
24670 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
24671 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
24672 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
24673 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
24674 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
24675 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
24676 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
24677 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
24678 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
24679 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
24680 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
24681 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
24682 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
24683 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
24684 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
24685 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
24686 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
24687 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
24688 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
24689 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
24691 2012-05-18 Andreas Jaeger <aj@suse.de>
24693 * csu/.gitignore: Delete.
24695 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24697 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
24698 (timex): Use __syscall_slong_t.
24700 2012-05-18 Andreas Jaeger <aj@suse.de>
24701 Carlos O'Donell <carlos_odonell@mentor.com>
24703 * manual/install.texi (Configuring and compiling): Update
24704 description about files modified in the source directory.
24705 * INSTALL: Regenerated.
24707 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24709 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
24710 value. Use "or" to set return value to -1.
24711 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
24712 negate return value.
24714 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24716 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
24717 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
24718 failure if the compiler has Graphite support disabled.
24719 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
24721 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
24722 CFLAGS-memmove.c): Likewise.
24723 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
24726 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24728 * sysdeps/x86_64/x32/_itoa.h: New file.
24730 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
24731 getdents system call only if kernel and user dirents have the
24732 same d_ino and d_off.
24734 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24735 LLONG_MAX != LONG_MAX.
24736 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24737 (_fitoa_word): Likewise.
24739 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24741 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24742 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24743 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24745 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24746 include <bits/wordsize.h>. Check __x86_64__ instead of
24748 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24749 if __x86_64__ is defined. Use anonymous union on fpstate.
24751 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24754 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
24756 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24757 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24758 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24759 Refer to _rtld_local_ro instead of _rtld_global_ro.
24760 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24762 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24764 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24766 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24767 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24768 of _rtld_global, and rtld_progname instead of _dl_argv[0].
24770 * sysdeps/powerpc/powerpc32/dl-machine.c
24771 (__elf_machine_runtime_setup) [PROF]: Don't reference
24774 2012-05-18 Andreas Jaeger <aj@suse.de>
24776 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24777 function only available for GCCs before 3.4 since GCC 3.4
24778 introduced a builtin.
24780 (llrintf): Likewise.
24781 (llrint): Likewise.
24788 (nearbyint): Likewise.
24789 (nearbyintf): Likewise.
24793 (floorf): Likewise.
24795 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24797 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24798 on both fields and cast pointer to __syscall_ulong_t.
24800 * bits/types.h (__fsword_t): New type.
24801 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24802 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24803 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24804 (__FSWORD_T_TYPE): Likewise.
24805 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24806 (__FSWORD_T_TYPE): Likewise.
24807 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24808 (__FSWORD_T_TYPE): Likewise.
24809 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24810 (__FSWORD_T_TYPE): Likewise.
24811 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24812 __SWORD_TYPE with __fsword_t.
24813 (statfs64): Likewise.
24815 2012-05-17 David S. Miller <davem@davemloft.net>
24817 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24819 2012-05-17 Andreas Jaeger <aj@suse.de>
24821 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24824 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24826 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24828 2012-05-17 Andreas Jaeger <aj@suse.de>
24830 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24833 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24835 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24837 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24839 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24840 * sysdeps/x86_64/tst-mallocalign1.c: New file.
24842 2012-05-17 Andreas Jaeger <aj@suse.de>
24843 Carlos O'Donell <carlos_odonell@mentor.com>
24846 * sysdeps/x86_64/multiarch/init-arch.h
24847 (bit_YMM_Usable): Rename to...
24848 (bit_AVX_Usable): ... this.
24849 (bit_FMA4_Usable): New macro.
24850 (bit_XMM_state): New macro.
24851 (bit_YMM_state): New macro.
24852 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24853 [__ASSEMBLER__] (index_AVX_Usable): ... this.
24854 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24855 (CPUID_OSXSAVE): New macro.
24856 (CPUID_AVX): New macro.
24857 (CPUID_FMA4): New macro.
24858 (index_YMM_Usable): Rename to...
24859 (index_AVX_Usable): ... this.
24860 (HAS_AVX): Use HAS_ARCH_FEATURE.
24861 (HAS_FMA4): Likewise.
24862 (HAS_YMM_USABLE): Remove.
24863 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24864 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24866 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24867 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24868 * sysdeps/x86_64/multiarch/Makefile: Likewise.
24869 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24870 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24872 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24874 * math/libm-test.c: Support platforms without multiple rounding modes.
24875 * math/bug-nextafter.c: Support platforms without FP exceptions.
24876 * math/bug-nexttoward.c: Likewise.
24877 * math/test-fenv.c: Likewise.
24878 * math/test-misc.c: Likewise.
24879 * stdlib/bug-getcontext.c: Likewise.
24881 2012-05-17 Andreas Jaeger <aj@suse.de>
24883 * manual/examples/search.c (critter_cmp): Change signature to
24885 * manual/string.texi (Collation Functions): Likewise.
24887 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24889 * bits/types.h: Fold copyright years.
24890 * bits/typesizes.h: Likewise.
24891 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24892 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24893 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24894 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24895 * time/time.h: Likewise.
24897 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
24900 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24901 in instead of returning them. Return void.
24902 (__libc_mallinfo): Accumulate over all arenas.
24903 (__malloc_stats): Adjust for change in int_mallinfo interface.
24905 2012-05-16 Roland McGrath <roland@hack.frob.com>
24908 * configure.in (NM): Add AC_CHECK_TOOL for it.
24909 (libc_extra_cflags): New substituted variable.
24910 Check for -fstack-protector being used implicitly.
24911 * configure: Regenerated.
24912 * config.make.in (config-extra-cflags): New variable,
24913 gets @libc_extra_cflags@.
24914 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24917 * configure.in: Check for _FORTIFY_SOURCE being predefined.
24918 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24919 * configure: Regenerated.
24920 * config.make.in (CPPUNDEFS): New substituted variable.
24921 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24922 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24923 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24925 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24927 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24928 (mq_attr): Use __syscall_slong_t.
24930 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24932 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24933 Check __x86_64__ instead of __WORDSIZE.
24934 (_STAT_VER_LINUX): Likewise.
24935 (stat): Check __x86_64__ instead of __WORDSIZE. Use
24936 __syscall_ulong_t and __syscall_slong_t.
24937 (stat64): Likewise.
24939 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24941 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24943 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24945 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24947 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24949 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24952 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24953 include <bits/wordsize.h>. Check __x86_64__ instead of
24955 (greg_t): Use "__extension__ long long int" if __x86_64__ is
24957 (mcontext_t): Replace "unsigned long" with "unsigned long long".
24959 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24960 include <bits/wordsize.h>. Check __x86_64__ instead of
24962 (user_regs_struct): Use "__extension__ unsigned long long"
24963 instead of "unsigned long" if __x86_64__ is defined.
24964 (user): Likewise. Pad after pointer field if __ILP32__ is
24967 2012-05-16 Joseph Myers <joseph@codesourcery.com>
24969 * configure.in (makeinfo): Require version 4.5 or later. Allow
24971 * configure: Regenerated.
24972 * manual/install.texi (texinfo): Increase version requirement to
24974 * INSTALL: Regenerated.
24976 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24978 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24980 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24982 * sysdeps/x86_64/x32/ffs.c: New file.
24984 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24986 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24987 defined. Use __syscall_ulong_t.
24988 (shminfo): Use __syscall_ulong_t.
24989 (shm_info): Likewise.
24991 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24994 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24996 (msgqnum_t): Use __syscall_ulong_t.
24997 (msglen_t): Likewise.
24998 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
25001 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
25002 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25004 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
25006 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
25007 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
25009 * sysvipc/sys/msg.h (msgbuf): Replace long int with
25012 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
25013 include <bits/wordsize.h>. Check __x86_64__ instead of
25016 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
25017 "unsigned long long int" if __x86_64__ is defined.
25018 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
25020 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
25021 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25022 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
25024 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25026 (GET_PC): Cast to uintptr_t first.
25027 (GET_FRAME): Likewise.
25028 (GET_STACK): Likewise.
25030 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
25031 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
25032 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25033 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25034 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25035 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25036 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25037 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25038 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25039 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25040 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25041 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25042 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25043 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25044 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25045 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25046 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25047 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25048 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25049 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25050 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25051 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25052 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25053 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25054 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25055 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25056 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25057 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25058 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
25060 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
25062 * Makerules (+depfiles): Also collect depfiles from .oS in
25064 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25065 .oS, $(libnldbl-routines)).
25067 * Makerules (native-compile-mkdep-flags): Define.
25068 * sunrpc/Makefile (extra-objs): Add $(addprefix
25069 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
25070 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
25071 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
25072 calling $(make-target-directory).
25074 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25076 * bits/types.h (__snseconds_t): Removed.
25077 * time/time.h (struct timespec): Replace __snseconds_t with
25079 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
25080 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
25082 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25083 (__SNSECONDS_T_TYPE): Likewise.
25084 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25085 (__SNSECONDS_T_TYPE): Likewise.
25086 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25087 (__SNSECONDS_T_TYPE): Likewise.
25089 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25091 * sysdeps/mach/hurd/bits/typesizes.h
25092 (__SYSCALL_SLONG_TYPE): New macro.
25093 (__SYSCALL_ULONG_TYPE): Likewise.
25095 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25097 * bits/types.h (__syscall_slong_t): New type.
25098 (__syscall_ulong_t): Likewise.
25100 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
25101 (__SYSCALL_ULONG_TYPE): Likewise.
25102 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25103 (__SYSCALL_SLONG_TYPE): Likewise.
25104 (__SYSCALL_ULONG_TYPE): Likewise.
25105 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25106 (__SYSCALL_SLONG_TYPE): Likewise.
25107 (__SYSCALL_ULONG_TYPE): Likewise.
25108 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25109 (__SYSCALL_SLONG_TYPE): Likewise.
25110 (__SYSCALL_ULONG_TYPE): Likewise.
25112 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25114 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
25115 Add sigaltstack-offsets.sym.
25116 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
25117 <sigaltstack-offsets.h>.
25118 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
25119 longjmp_msg pointer.
25120 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
25121 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
25123 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
25125 2012-05-15 Joseph Myers <joseph@codesourcery.com>
25127 * elf/stackguard-macros.h: Remove file.
25128 * sysdeps/generic/stackguard-macros.h: New file.
25129 * sysdeps/i386/stackguard-macros.h: Likewise.
25130 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25131 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25132 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25133 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25134 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25135 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25136 * sysdeps/x86_64/stackguard-macros.h: Likewise.
25137 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
25138 <elf/stackguard-macros.h>.
25141 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
25142 __aligned__ in attribute.
25143 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
25144 (gregset_t): Likewise.
25146 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25148 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
25149 * sysdeps/x86_64/64/Implies-after: Here. New file.
25150 * sysdeps/x86_64/x32/Implies-after: New file.
25152 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25154 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
25155 and access return value for _dl_profile_fixup. Use R10_LP to
25158 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25160 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
25162 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25164 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
25165 * sysdeps/x86_64/x32/sysdep.h: New file.
25167 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25169 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
25170 * sysdeps/x86_64/setjmp.S: Likewise.
25172 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25174 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
25175 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
25176 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
25177 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
25178 remove unused global constant.
25180 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
25182 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
25183 include of <not-cancel.h>.
25185 2012-05-15 Roland McGrath <roland@hack.frob.com>
25187 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
25189 2012-05-15 Jeff Law <law@redhat.com>
25190 Andreas Jaeger <aj@suse.de>
25193 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
25195 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
25196 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
25197 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
25198 code changing __hst_map_handle.map.
25200 2012-05-15 Roland McGrath <roland@hack.frob.com>
25202 * configure.in (sysnames): Look for Implies-before and Implies-after
25204 * configure: Regenerated.
25206 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25208 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
25209 8-byte data alignment with LP_SIZE alignment.
25211 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25213 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
25216 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25218 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
25220 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25222 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
25223 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
25224 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
25226 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25228 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25230 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
25231 (stackinfo_sub_sp): Likewise.
25233 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25235 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
25238 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25240 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
25243 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25245 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
25248 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25250 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
25252 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25254 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
25255 into R11_LP and load __x86_64_shared_cache_size_half into
25258 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25260 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
25263 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25265 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
25267 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
25269 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
25271 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
25272 powerpc32/power7/fpu/s_logb.c via #include.
25273 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
25274 powerpc32/power7/fpu/s_logbf.c via #include.
25275 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
25276 powerpc32/power7/fpu/s_logbl.c via #include.
25278 2012-05-15 Joseph Myers <joseph@codesourcery.com>
25280 * README.libm: Remove file.
25282 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25284 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
25285 count for x32. Use R*_LP and omit operand-size suffix.
25287 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25289 * shlib-versions: Move x86_64-.*-linux.* entries to ...
25290 * sysdeps/x86_64/64/shlib-versions: Here. New file.
25291 * sysdeps/x86_64/x32/shlib-versions: New file.
25293 2012-05-14 Roland McGrath <roland@hack.frob.com>
25295 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
25296 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
25297 Use _dl_fatal_printf instead.
25299 2012-05-14 Joseph Myers <joseph@codesourcery.com>
25301 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
25302 set if not set by the user. Do not allow for being unset.
25303 * sysdeps/unix/sysv/linux/configure: Regenerated.
25305 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25307 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
25308 the `q' suffix from lea and replace .quad with ASM_ADDR.
25310 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25312 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
25313 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
25315 (PTR_DEMANGLE): Likewise.
25317 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25319 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
25321 (ASM_ADDR): Likewise.
25322 (RAX_LP): Likewise.
25323 (RBP_LP): Likewise.
25324 (RBX_LP): Likewise.
25325 (RCX_LP): Likewise.
25326 (RDI_LP): Likewise.
25327 (RSI_LP): Likewise.
25328 (RSP_LP): Likewise.
25331 (R10_LP): Likewise.
25332 (R10_LP): Likewise.
25333 (R11_LP): Likewise.
25334 (R12_LP): Likewise.
25335 (R13_LP): Likewise.
25336 (R14_LP): Likewise.
25337 (R15_LP): Likewise.
25339 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25341 * sysdeps/x86_64/x32/dl-machine.h: New file.
25343 2012-05-14 Andreas Jaeger <aj@suse.de>
25345 * manual/Makefile (subdir): Remove export of subdir.
25346 (all): Remove target.
25347 (.PHONY): Remove all from list.
25348 (mkinstalldirs): Remove.
25349 (.PHONY): Remove installdirs from list.
25350 ($(inst_infodir)/libc.info): Use make-target-directory.
25351 (installdirs): Remove.
25352 (subdir_%): Remove.
25353 (glibc-targets): Remove.
25356 ($(objpfx)stubs ../po/manual.pot): Remove.
25357 ($(objpfx)stamp%): Remove.
25358 (make-target-directory): Remove.
25359 (subdir_install): Remove.
25360 (routines): Remove.
25367 * manual/.gitignore: Remove, it's not needed anymore.
25368 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
25370 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
25372 (texis): Renamed to $(objpfx)texis.
25373 (texis-path): New, contains path to generated files.
25374 (chapters.%): Use texis-path for complete path, add extra argument
25376 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
25377 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
25378 (summary,texi, stamp-summary): Use complete path of
25379 files. Generate files in build dir.
25380 (dir-add.texi): Build in build dir.
25381 (libm-err.texi,stamp-libm-err): Likewise.
25382 (version.texi, stamp-version): Likewise.
25383 (.%c.texi): Likewise.
25384 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
25385 (mostlyclean): Remove target.
25386 (realclean): Remove target.
25387 (generated): Add new variable with contents from mostlyclean and
25388 realclean, remove entries duplicated in common-mostlyclean, add
25389 stamp-libm-err and stamp-version.
25390 (generated-dirs): Add libc directory.
25391 ($(inst_infodir)/libc.info): Install files from build dir.
25393 * manual/install.texi (Configuring and compiling): Adjust since
25394 the info files are not part of the tar ball anymore.
25396 2012-05-14 Andreas Jaeger <aj@suse.de>
25398 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
25401 2012-05-14 Joseph Myers <joseph@codesourcery.com>
25404 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
25405 to 2.2.0 where earlier.
25406 * sysdeps/unix/sysv/linux/configure: Regenerated.
25407 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
25408 Remove conditional code.
25409 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
25410 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
25411 Remove conditional code.
25412 [!__NR_lchown]: Likewise.
25413 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25414 [__NR_lchown]: Likewise.
25415 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
25416 comment referencing __ASSUME_LCHOWN_SYSCALL.
25417 * sysdeps/unix/sysv/linux/i386/sigaction.c
25418 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25419 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25420 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
25421 Remove conditional code.
25422 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
25423 (__protocol_available): Remove #if 0 code.
25424 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
25426 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
25427 * sysdeps/unix/sysv/linux/kernel-features.h
25428 (__ASSUME_GETCWD_SYSCALL): Don't define.
25429 (__ASSUME_REALTIME_SIGNALS): Likewise.
25430 (__ASSUME_PREAD_SYSCALL): Likewise.
25431 (__ASSUME_PWRITE_SYSCALL): Likewise.
25432 (__ASSUME_POLL_SYSCALL): Likewise.
25433 (__ASSUME_LCHOWN_SYSCALL): Likewise.
25434 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
25436 (__ASSUME_SIOCGIFNAME): Don't define.
25437 (__ASSUME_MSG_NOSIGNAL): Likewise.
25438 (__ASSUME_SENDFILE): Define unconditionally.
25439 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
25440 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
25442 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
25443 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
25444 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25445 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25446 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
25447 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25448 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
25450 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25451 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25453 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25454 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
25456 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25457 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25459 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25460 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
25462 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25463 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25465 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25466 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
25468 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25469 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25471 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25472 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25473 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
25474 Remove conditional code.
25475 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25476 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25477 Remove conditional code.
25478 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25479 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
25480 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
25481 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25482 Remove conditional code.
25483 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25484 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
25485 Remove conditional code.
25486 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25487 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
25488 Remove conditional code.
25489 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25490 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25491 Remove conditional code.
25492 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25493 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25494 Remove conditional code.
25495 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25496 * sysdeps/unix/sysv/linux/sh/pwrite64.c
25497 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25498 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25499 * sysdeps/unix/sysv/linux/sigaction.c
25500 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25501 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25502 * sysdeps/unix/sysv/linux/sigpending.c
25503 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25504 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25505 * sysdeps/unix/sysv/linux/sigprocmask.c
25506 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25507 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25508 * sysdeps/unix/sysv/linux/sigsuspend.c
25509 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25510 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25511 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25512 (__libc_missing_rt_sigs): Remove.
25513 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
25514 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
25515 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
25516 Remove conditional code.
25517 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
25518 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
25520 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
25521 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
25522 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
25523 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
25525 2012-05-14 Andreas Jaeger <aj@suse.de>
25527 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
25528 it's not used in glibc.
25529 (__coshm1): Likewise.
25530 (__acosh1p): Likewise.
25533 * manual/string.texi (Copying and Concatenation): Add missing
25534 variable in concat example.
25535 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
25537 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25540 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
25541 __builtin_clzl with __builtin_clzll.
25543 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25546 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
25549 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25551 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
25552 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
25553 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
25554 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
25556 2012-05-14 Mike Frysinger <vapier@gentoo.org>
25558 * NEWS: Update ia64 info.
25560 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
25562 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
25565 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
25567 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
25568 * sysdeps/unix/syscalls.list (dup3): Likewise.
25569 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
25570 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
25572 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
25574 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
25575 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
25577 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
25579 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
25581 (TLS_IE): Use mov/add instead of movq/addq to load thread
25583 (TLS_GD_PREFIX): New.
25586 2012-05-11 David S. Miller <davem@davemloft.net>
25588 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
25589 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
25590 (_FPU_SETCW): Likewise.
25592 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25594 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
25595 is 32-byte aligned.
25597 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
25600 * iconvdata/gb18030.c: Update tables.
25601 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
25602 characters specially.
25603 (BODY for TO_LOOP): Add encoding of missing ranges.
25605 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
25608 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
25609 * sysdeps/mach/hurd/dup3.c: Likewise.
25610 * sysdeps/mach/hurd/readlinkat.c: Likewise.
25611 * sysdeps/powerpc/memmove.c:: Likewise.
25613 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25615 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
25616 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
25618 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25620 * elf/elf.h (R_X86_64_RELATIVE64): New.
25621 (R_X86_64_NUM): Updated.
25622 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25623 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
25624 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
25625 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
25626 tst-quad1pie tst-quad2pie
25627 (modules-names): Add tst-quadmod1 tst-quadmod2.
25628 ($(objpfx)tst-quad1): New dependency.
25629 ($(objpfx)tst-quad2): Likewise.
25630 ($(objpfx)tst-quad1pie): Likewise.
25631 ($(objpfx)tst-quad2pie): Likewise.
25632 * sysdeps/x86_64/tst-quad1.c: New file.
25633 * sysdeps/x86_64/tst-quad1pie.c: New file.
25634 * sysdeps/x86_64/tst-quad2.c: Likewise.
25635 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
25636 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
25637 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
25638 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
25639 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
25641 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25643 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
25644 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
25645 * streams/stropts.h (t_scalar_t): Define type.
25647 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
25648 (_PATH_PRESERVE): Set to "/var/lib".
25649 (_PATH_RWHODIR): Set to "/var/spool/rwho".
25651 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
25654 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
25655 if __dir_mkfile succeeded.
25657 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
25658 checking for _hurd_dtablesize. Unlock it right after having
25659 finished _hurd_dtable allocation.
25661 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25663 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
25664 * sysdeps/mach/hurd/configure: Regenerated.
25665 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
25666 special-casing to...
25667 * sysdeps/gnu/configure.in: ... this new file.
25668 * sysdeps/unix/sysv/linux/configure: Regenerated.
25669 * sysdeps/gnu/configure: New generated file.
25671 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
25672 for Linux: use nsec instead of usec, as well as:
25673 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
25674 members of type struct timespec.
25675 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
25677 (struct stat64): Likewise.
25678 (_STATBUF_ST_NSEC): New macro.
25679 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
25681 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25682 __strtoul_internal rather than strtoul.
25684 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25686 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
25689 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25691 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
25692 which preserves existing values.
25693 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
25695 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25697 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
25698 TIMEOUT values. Return EINVAL for NFDS values either negative or
25699 greater than FD_SETSIZE.
25701 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25703 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
25704 allocated, call __vm_protect to finish enabling the existing space, and
25705 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
25706 allocate the remainder.
25708 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25710 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
25711 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
25713 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25715 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25716 sysdeps/mach/hurd/readlink.c.
25718 * posix/tst-sysconf.c (posix_options): Only use
25719 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
25720 _POSIX_SYNCHRONIZED_IO when they are defined
25721 * sysdeps/mach/hurd/bits/posix_opt.h:
25722 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
25723 (_XOPEN_REALTIME): Undefine macro.
25724 (_XOPEN_REALTIME_THREADS): Undefine macro.
25725 (_XOPEN_SHM): Undefine macro.
25726 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
25728 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25730 (_POSIX_ASYNC_IO): Undefine macro.
25731 (_POSIX_PRIORITIZED_IO): Undefine macro.
25732 (_POSIX_SPIN_LOCKS): Define macro to -1.
25734 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
25735 SA_NODEFER, SA_RESETHAND.
25736 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25737 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25740 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25742 * elf/Makefile (pldd-modules): Define unconditionally.
25744 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25746 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25748 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25750 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25751 Return ENOENT when name is empty.
25752 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25754 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25756 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25758 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25760 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25762 Fix mlock in all cases except non-readable pages.
25763 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25764 instead of VM_PROT_ALL as parameter to __vm_wire function.
25766 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25767 (__mkdir): When path is `/', just fail with EEXIST.
25768 * sysdeps/mach/hurd/mkdirat.c: Likewise.
25770 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25772 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25773 <sys/uio.h> (for writev).
25774 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25775 and <sys/param.h> (for MIN).
25777 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25779 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25780 REQUESTED_TIME. Properly set the remaining time and return EINTR
25783 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25785 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25786 Depend on against $(link-rpcuserlibs).
25788 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25790 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25791 (__libc_stack_end): Do not use attribute_relro.
25792 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25793 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
25794 to libthread-provided value.
25795 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25798 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25801 * bits/libc-lock.h (__libc_once_get): New macro.
25802 * sysdeps/mach/bits/libc-lock.h: Likewise.
25803 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25804 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25805 instead of using implementation details.
25807 * libio/fileops.c: Unconditionally include <kernel-features.h>.
25808 * libio/freopen.c: Likewise.
25809 * libio/freopen64.c: Likewise.
25810 * misc/syslog.c: Likewise.
25811 * nscd/connections.c: Likewise.
25812 * nscd/netgroupcache.c: Likewise.
25813 * sysdeps/posix/getcwd.c: Likewise.
25815 2012-05-10 Roland McGrath <roland@hack.frob.com>
25817 * math/w_ilogbf.c: Add #include <limits.h>.
25819 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25821 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25822 path instead of returning without unlocking.
25824 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25825 immediate-write ioctls.
25826 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25828 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25830 * sysdeps/mach/hurd/i386/init-first.c (init): Use
25831 __builtin_frame_address instead of making assumptions about the
25832 location of the return address relative to DATA. Force early load of
25833 the return address.
25834 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25835 __builtin_frame_address.
25838 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25839 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
25840 implement dup3 and do some further code clean-ups.
25841 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25842 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25844 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25846 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25848 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25849 HURD_CRITICAL_END around holding _hurd_dtable_lock.
25850 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25851 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25852 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25855 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25856 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
25857 when handler == SIG_ERR, not when handler != SIG_ERR.
25859 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25861 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25862 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25865 accept4 for GNU Hurd.
25866 * include/sys/socket.h (__libc_accept4): New prototype.
25867 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
25868 to implement __libc_accept4.
25869 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25871 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25873 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25874 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25875 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25876 signal-defines.sym.
25878 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25880 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25882 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25884 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25885 assertion on O_CLOEXEC flag.
25886 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25887 * hurd/intern-fd.c: Likewise.
25888 * hurd/port2fd.c: Likewise.
25890 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25893 * bits/in.h (IPV6_PKTINFO): Define new macro.
25894 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25896 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25901 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25902 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25903 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25904 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25905 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25906 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25907 * math/libm-test.inc (logb_test) : Additional logb tests.
25909 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
25910 Andreas Jaeger <aj@suse.de>
25912 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25913 * configure: Regenerated.
25914 * config.h.in (LINK_OBSOLETE_RPC): New macro.
25915 * config.make.in (link-obsolete-rpc): New substituted variable.
25916 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25917 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25918 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25919 (shared-only-routines): Don't set it under [link-obsolete-rpc],
25920 so that libc.a contains the symbols.
25921 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25922 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25923 * sunrpc/auth_none.c: Likewise.
25924 * sunrpc/auth_unix.c: Likewise.
25925 * sunrpc/authdes_prot.c: Likewise.
25926 * sunrpc/authuxprot.c: Likewise.
25927 * sunrpc/clnt_gen.c: Likewise.
25928 * sunrpc/clnt_perr.c: Likewise.
25929 * sunrpc/clnt_raw.c: Likewise.
25930 * sunrpc/clnt_simp.c: Likewise.
25931 * sunrpc/clnt_tcp.c: Likewise.
25932 * sunrpc/clnt_udp.c: Likewise.
25933 * sunrpc/clnt_unix.c: Likewise.
25934 * sunrpc/des_crypt.c: Likewise.
25935 * sunrpc/des_soft.c: Likewise.
25936 * sunrpc/get_myaddr.c: Likewise.
25937 * sunrpc/key_call.c: Likewise.
25938 * sunrpc/key_prot.c: Likewise.
25939 * sunrpc/netname.c: Likewise.
25940 * sunrpc/pm_getmaps.c: Likewise.
25941 * sunrpc/pm_getport.c: Likewise.
25942 * sunrpc/pmap_clnt.c: Likewise.
25943 * sunrpc/pmap_prot.c: Likewise.
25944 * sunrpc/pmap_prot2.c: Likewise.
25945 * sunrpc/pmap_rmt.c: Likewise.
25946 * sunrpc/publickey.c: Likewise.
25947 * sunrpc/rpc_cmsg.c: Likewise.
25948 * sunrpc/rpc_common.c: Likewise.
25949 * sunrpc/rpc_dtable.c: Likewise.
25950 * sunrpc/rpc_prot.c: Likewise.
25951 * sunrpc/rpc_thread.c: Likewise.
25952 * sunrpc/rtime.c: Likewise.
25953 * sunrpc/svc.c: Likewise.
25954 * sunrpc/svc_auth.c: Likewise.
25955 * sunrpc/svc_raw.c: Likewise.
25956 * sunrpc/svc_run.c: Likewise.
25957 * sunrpc/svc_tcp.c: Likewise.
25958 * sunrpc/svc_udp.c: Likewise.
25959 * sunrpc/svc_unix.c: Likewise.
25960 * sunrpc/svcauth_des.c: Likewise.
25961 * sunrpc/xcrypt.c: Likewise.
25962 * sunrpc/xdr.c: Likewise.
25963 * sunrpc/xdr_array.c: Likewise.
25964 * sunrpc/xdr_float.c: Likewise.
25965 * sunrpc/xdr_intXX_t.c: Likewise.
25966 * sunrpc/xdr_mem.c: Likewise.
25967 * sunrpc/xdr_rec.c: Likewise.
25968 * sunrpc/xdr_ref.c: Likewise.
25969 * sunrpc/xdr_sizeof.c: Likewise.
25970 * sunrpc/xdr_stdio.c: Likewise.
25972 2012-05-10 Roland McGrath <roland@hack.frob.com>
25974 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25975 change. Update copyright years.
25977 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25979 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25981 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
25982 Joseph Myers <joseph@codesourcery.com>
25983 Paul Pluzhnikov <ppluzhnikov@google.com>
25986 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25988 [cross-compiling] (extra-libs): Likewise.
25989 [cross-compiling] (extra-libs-others): Likewise.
25990 [cross-compiling] (librpcsvc-routines): Likewise.
25991 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25992 [cross-compiling] (omit-deps): Likewise.
25993 (sunrpc-CPPFLAGS): New variable.
25994 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25995 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25996 (cross-rpcgen-objs): New variable.
25997 (extra-objs): Append $(cross-rpcgen-objs).
25998 ($(cross-rpcgen-objs)): New rule.
25999 ($(objpfx)cross-rpcgen): Likewise.
26000 (rpcgen-cmd): Define to use $(built-program-file). Expand
26002 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
26003 ($(objpfx)x%.stmp): Likewise.
26004 * sunrpc/proto.h [IS_IN_build] (_): Define.
26005 [IS_IN_build] (_libc_intl_domainname): Likewise.
26007 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26009 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
26010 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
26011 and R_X86_64_TPOFF64.
26013 2012-05-10 Joseph Myers <joseph@codesourcery.com>
26015 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
26016 sysdeps/unix/sysv/syscalls.list.
26019 * sysdeps/unix/sysv/syscalls.list: Remove file.
26021 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
26024 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
26025 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
26026 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
26027 (__LC_IDENTIFICATION): Make these macros useful in #if
26028 expressions, as required by C99.
26030 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
26032 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26033 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
26036 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
26038 * stdlib/longlong.h: Updated from GCC.
26040 2012-05-09 Andreas Jaeger <aj@suse.de>
26042 * nscd/nscd.c (run_modes): Make named enum, reorder so that
26043 default is first entry.
26044 (run_mode): Set type.
26045 (main): Remove informal message about syslog.
26046 (options): Fix typo.
26049 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
26052 (llrintf): Likewise.
26053 (llrint): Likewise.
26056 (nearbyint): Likewise.
26057 (nearbyintf): Likewise.
26059 2012-05-09 Andreas Jaeger <aj@suse.de>
26060 Pedro Alves <palves@redhat.com>
26062 * nscd/nscd.c (run_mode): Use enum.
26063 (main): Cleanup coding style issue.
26065 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
26066 Andreas Jaeger <aj@suse.de>
26068 * nscd/nscd.c (go_background): Replaced with...
26069 (run_mode): ... this.
26070 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
26071 (options): Add -F --foreground.
26072 (main): Implement it.
26073 (parse_opt): Parse it.
26075 2012-05-09 Andreas Jaeger <aj@suse.de>
26078 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
26079 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
26080 -Wconversion warning.
26081 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
26084 2012-05-09 Joseph Myers <joseph@codesourcery.com>
26086 * conform/data/locale.h-data (NULL): Use macro-constant. Require
26088 (LC_ALL): Use macro-int-constant.
26089 (LC_COLLATE): Likewise.
26090 (LC_CTYPE): Likewise.
26091 (LC_MESSAGES): Likewise.
26092 (LC_MONETARY): Likewise.
26093 (LC_NUMERIC): Likewise.
26094 (LC_TIME): Likewise.
26095 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
26096 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26097 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26098 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
26100 [C99-based standards] (float_t): Expect type.
26101 [C99-based standards] (double_t): Expect type.
26102 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
26104 [C99-based standards] (HUGE_VALL): Likewise.
26105 [C99-based standards] (INFINITY): Likewise.
26106 [C99-based standards] (NAN): Likewise.
26107 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
26108 [C99-based standards] (FP_NAN): Likewise.
26109 [C99-based standards] (FP_NORMAL): Likewise.
26110 [C99-based standards] (FP_SUBNORMAL): Likewise.
26111 [C99-based standards] (FP_ZERO): Likewise.
26112 [C99-based standards] (FP_FAST_FMA): Use
26113 optional-macro-int-constant. Specify type. Require == 1.
26114 [C99-based standards] (FP_FAST_FMAF): Likewise.
26115 [C99-based standards] (FP_FAST_FMAL): Likewise.
26116 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
26117 [C99-based standards] (FP_ILOGBNAN): Likewise.
26118 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
26120 [C99-based standards] (MATH_ERREXCEPT): Likewise.
26121 [C99-based standards] (math_errhandling): Specify type.
26122 [ISO99 || ISO11] (signgam): Do not allow.
26123 [non-C99-based standards] (copysignf): Do not allow.
26124 [non-C99-based standards] (exp2f): Likewise.
26125 [non-C99-based standards] (log2f): Likewise.
26126 [non-C99-based standards] (modff): Allow.
26127 [non-C99-based standards] (erff): Do not allow.
26128 [non-C99-based standards] (erfcf): Likewise.
26129 [non-C99-based standards] (gammaf): Likewise.
26130 [non-C99-based standards] (hypotf): Likewise.
26131 [non-C99-based standards] (j0f): Likewise.
26132 [non-C99-based standards] (j1f): Likewise.
26133 [non-C99-based standards] (jnf): Likewise.
26134 [non-C99-based standards] (lgammaf): Likewise.
26135 [non-C99-based standards] (tgammaf): Likewise.
26136 [non-C99-based standards] (y0f): Likewise.
26137 [non-C99-based standards] (y1f): Likewise.
26138 [non-C99-based standards] (ynf): Likewise.
26139 [non-C99-based standards] (isnanf): Likewise.
26140 [non-C99-based standards] (acoshf): Likewise.
26141 [non-C99-based standards] (asinhf): Likewise.
26142 [non-C99-based standards] (atanhf): Likewise.
26143 [non-C99-based standards] (cbrtf): Likewise.
26144 [non-C99-based standards] (expm1f): Likewise.
26145 [non-C99-based standards] (ilogbf): Likewise.
26146 [non-C99-based standards] (log1pf): Likewise.
26147 [non-C99-based standards] (logbf): Likewise.
26148 [non-C99-based standards] (nextafterf): Likewise.
26149 [non-C99-based standards] (remainderf): Likewise.
26150 [non-C99-based standards] (rintf): Likewise.
26151 [non-C99-based standards] (scalbf): Likewise.
26152 [non-C99-based standards] (copysignl): Likewise.
26153 [non-C99-based standards] (exp2l): Likewise.
26154 [non-C99-based standards] (log2l): Likewise.
26155 [non-C99-based standards] (modfl): Allow.
26156 [non-C99-based standards] (erfl): Do not allow.
26157 [non-C99-based standards] (erfcl): Likewise.
26158 [non-C99-based standards] (gammal): Likewise.
26159 [non-C99-based standards] (hypotl): Likewise.
26160 [non-C99-based standards] (j0l): Likewise.
26161 [non-C99-based standards] (j1l): Likewise.
26162 [non-C99-based standards] (jnl): Likewise.
26163 [non-C99-based standards] (lgammal): Likewise.
26164 [non-C99-based standards] (tgammal): Likewise.
26165 [non-C99-based standards] (y0l): Likewise.
26166 [non-C99-based standards] (y1l): Likewise.
26167 [non-C99-based standards] (ynl): Likewise.
26168 [non-C99-based standards] (isnanl): Likewise.
26169 [non-C99-based standards] (acoshl): Likewise.
26170 [non-C99-based standards] (asinhl): Likewise.
26171 [non-C99-based standards] (atanhl): Likewise.
26172 [non-C99-based standards] (cbrtl): Likewise.
26173 [non-C99-based standards] (expm1l): Likewise.
26174 [non-C99-based standards] (ilogbl): Likewise.
26175 [non-C99-based standards] (log1pl): Likewise.
26176 [non-C99-based standards] (logbl): Likewise.
26177 [non-C99-based standards] (nextafterl): Likewise.
26178 [non-C99-based standards] (remainderl): Likewise.
26179 [non-C99-based standards] (rintl): Likewise.
26180 [non-C99-based standards] (scalbl): Likewise.
26181 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26182 [non-C99-based standards] (FP_*): Do not allow.
26183 [C99-based standards] (FP_*): Change to
26184 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26185 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26187 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
26188 (SIG_ERR): Likewise.
26189 [X/Open-based standards] (SIG_HOLD): Likewise.
26190 (SIG_IGN): Likewise.
26191 (SIGABRT): Use macro-int-constant. Specify type. Require
26193 (SIGFPE): Likewise.
26194 (SIGILL): Likewise.
26195 (SIGINT): Likewise.
26196 (SIGSEGV): Likewise.
26197 (SIGTER): Likewise.
26198 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
26199 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
26200 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
26201 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
26202 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
26203 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
26204 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
26205 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
26206 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
26207 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
26208 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
26209 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
26210 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
26211 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
26212 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
26213 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
26214 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
26215 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
26216 [X/Open-based standards] (SIGTRAP): Likewise.
26217 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
26218 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
26219 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
26220 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
26221 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26224 2012-05-08 Ian Wienand <ianw@vmware.com>
26227 * time/tzset.c (__tzset_parse_tz): Update default rules for
26228 daylight time changes in the Energy Policy Act of 2005.
26230 2012-05-09 Andreas Jaeger <aj@suse.de>
26233 * elf/ldconfig.c (parse_conf): Change string to make clear that
26234 ldconfig only issued a warning if ld.so.conf does not exist.
26236 2012-05-08 David S. Miller <davem@davemloft.net>
26238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
26239 movxtod instead of popping the value on the stack.
26241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26243 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
26245 * config.h.in: Add HAVE_ARM_PCS_VFP.
26247 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
26250 * include/features.h: Warn if user requests __FORTIFY_SOURCE
26251 checking but the checks are disabled for any reason.
26253 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
26255 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
26256 and ELF64_R_TYPE with ELFW(R_TYPE).
26258 2012-05-08 Joseph Myers <joseph@codesourcery.com>
26260 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
26261 (ulimit): Likewise.
26263 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
26264 (settimeofday): Likewise.
26266 2012-05-08 Mike Frysinger <vapier@gentoo.org>
26268 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
26269 a struct th_u2 inside the union, and move tu_block/tu_code into
26270 a new th_u3 union of tu_block/tu_code inside of that. Move
26271 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
26272 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
26273 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
26274 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
26275 (th_stuff): Change to th_u1.tu_stuff.
26277 (th_msg): Change to th_u1.th_u2.tu_data.
26279 2012-05-07 David S. Miller <davem@davemloft.net>
26281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26284 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
26285 (SETUP_PIC_REG): Use it.
26286 (SETUP_PIC_REG_LEAF): Use it.
26288 2012-05-07 Joseph Myers <joseph@codesourcery.com>
26292 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26294 (EXPL_FINITE): Likewise.
26295 (FLDLOG): Likewise.
26296 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26297 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26299 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26301 (EXPL_FINITE): Likewise.
26302 (FLDLOG): Likewise.
26303 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26304 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26306 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
26307 test of -max_value argument for long double.
26308 * sysdeps/i386/fpu/libm-test-ulps: Update.
26309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26311 2012-05-06 David S. Miller <davem@davemloft.net>
26313 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
26314 quad soft-float symbols whose references which are compiler
26316 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26318 2012-05-06 Joseph Myers <joseph@codesourcery.com>
26322 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26324 (EXPL_FINITE): Likewise.
26325 (FLDLOG): Likewise.
26328 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26329 Adjust comments for base varying.
26330 (__expl_finite): Change alias to EXPL_FINITE.
26331 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
26333 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
26334 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26335 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26336 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
26337 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26339 (EXPL_FINITE): Likewise.
26340 (FLDLOG): Likewise.
26343 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26344 Adjust comments for base varying.
26345 (__expl_finite): Change alias to EXPL_FINITE.
26346 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
26348 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26351 * math/libm-test.inc (check_float_internal): Correct ulp
26352 calculation for subnormal expected results.
26354 2012-05-06 Andreas Jaeger <aj@suse.de>
26356 * Makeconfig (+math-flags): New, set to -frounding-math.
26357 (+cflags): Add +math-flags so that all of glibc gets compiled with
26360 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
26362 2012-05-05 Joseph Myers <joseph@codesourcery.com>
26364 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
26370 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
26371 (__ieee754_expl): Allow for and saturate large arguments.
26372 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
26373 (u_threshold): Likewise.
26374 (__exp): Call __ieee754_exp before checking for overflow and
26376 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
26377 (u_threshold): Likewise.
26378 (__expf): Call __ieee754_expf before checking for overflow and
26380 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
26381 (u_threshold): Likewise.
26382 (__expl): Call __ieee754_expl before checking for overflow and
26384 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
26385 (__ieee754_expl): Allow for and saturate large arguments.
26386 * math/libm-test.inc (exp_test): Add another test. Do not allow
26387 missing overflow exception on overflow.
26388 (expm1_test): Do not allow missing overflow exception on overflow.
26390 * sysdeps/i386/fpu/e_expl.c: Move to ...
26391 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
26392 rather than using inline asm.
26393 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
26394 * sysdeps/x86_64/fpu/e_expl.S: Copy from
26395 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
26397 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
26400 (signal): Likewise.
26404 2012-05-04 Joseph Myers <joseph@codesourcery.com>
26406 * sysdeps/unix/syscalls.list (adjtime): Add entry from
26407 sysdeps/unix/common/syscalls.list.
26408 (fchmod): Likewise.
26409 (fchown): Likewise.
26410 (ftruncate): Likewise.
26411 (getrusage): Likewise.
26412 (gettimeofday): Likewise.
26413 (setpgid): Likewise.
26414 (setregid): Likewise.
26415 (setreuid): Likewise.
26416 (sigaction): Likewise.
26417 (truncate): Likewise.
26418 (vhangup): Likewise.
26419 * sysdeps/unix/common/syscalls.list: Remove file.
26420 * sysdeps/unix/bsd/Implies: Don't include unix/common.
26421 * sysdeps/unix/sysv/linux/Implies: Likewise.
26423 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
26425 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
26426 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
26427 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
26429 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26431 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
26433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
26434 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
26436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
26437 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
26439 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
26440 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
26442 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
26443 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
26445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
26446 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
26448 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
26449 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
26451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26453 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
26455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
26457 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
26459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
26460 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
26462 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
26464 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
26466 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
26468 2012-05-04 Joseph Myers <joseph@codesourcery.com>
26470 * sysdeps/unix/common/bits/dirent.h: Remove file.
26471 * sysdeps/unix/common/bits/fcntl.h: Likewise.
26473 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
26474 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
26475 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
26476 * sysdeps/unix/bsd/isatty.c: Likewise.
26477 * sysdeps/unix/bsd/tcdrain.c: Likewise.
26478 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
26479 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
26481 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26484 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
26485 long double comparison inaccuracies.
26486 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26489 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
26491 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
26492 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
26494 2012-05-04 Joseph Myers <joseph@codesourcery.com>
26497 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
26498 nonzero digits before rounding a hex value.
26499 * stdlib/tst-strtod.c (tests): Add another test.
26501 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26503 * sysdeps/s390/fpu/libm-test-ulps: Update.
26505 2012-05-03 Andreas Jaeger <aj@suse.de>
26507 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
26508 does not get optimized out.
26509 (malloc_opt_barrier): New.
26511 2012-05-03 Andreas Jaeger <aj@suse.de>
26512 Roland McGrath <roland@hack.frob.com>
26514 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
26515 intermediate file deletion.
26516 (generated): Add .symlist files.
26518 2012-05-03 Joseph Myers <joseph@codesourcery.com>
26521 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
26522 Redirect under this condition.
26523 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26524 [__USE_GNU] (__dprintf_chk): Not under this condition.
26525 [__USE_GNU] (__vdprintf_chk): Likewise.
26526 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
26527 under this condition.
26528 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26529 [__USE_XOPEN2K8] (dprintf): Define under this condition.
26530 [__USE_XOPEN2K8] (vdprintf): Likewise.
26531 [__USE_GNU] (__dprintf_chk): Not under this condition.
26532 [__USE_GNU] (__vdprintf_chk): Likewise.
26533 [__USE_GNU] (dprintf): Likewise.
26534 [__USE_GNU] (vdprintf): Likewise.
26536 2012-05-03 Roland McGrath <roland@hack.frob.com>
26538 * elf/Makefile (common-generated): Set this instead of generated for
26539 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
26540 $(all-built-dso)-derived lists.
26542 2012-05-03 Andreas Jaeger <aj@suse.de>
26544 * sysdeps/i386/fpu/libm-test-ulps: Update.
26547 * FAQ.in: Likewise.
26548 * scripts/gen-FAQ.pl: Likewise.
26549 * manual/install.texi (Installation): Point to online location of
26551 * Makefile (files-for-dist): Remove FAQ.
26554 2012-05-02 Allan McRae <allan@archlinux.org>
26556 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
26557 (LDFLAGS-reldepmod5.so): Likewise.
26558 (LDFLAGS-reldep6mod1.so): Likewise.
26559 (LDFLAGS-reldep6mod4.so): Likewise.
26560 (LDFLAGS-reldep8mod3.so): Likewise.
26561 (LDFLAGS-unload4mod1.so): Likewise.
26562 (LDFLAGS-unload4mod2.so): Likewise.
26563 (LDFLAGS-tst-initorder): Likewise.
26564 (LDFLAGS-tst-initordera2.so): Likewise.
26565 (LDFLAGS-tst-initordera3.so): Likewise.
26566 (LDFLAGS-tst-initordera4.so): Likewise.
26567 (LDFLAGS-tst-initorderb2.so): Likewise.
26568 (LDFLAGS-noload): Likewise.
26569 (LDFLAGS-next): Likewise.
26570 (LDFLAGS-order2mod1.so): Likewise.
26571 (LDFLAGS-order2mod2.so): Likewise.
26572 (LDFLAGS-tst-initorder2): Likewise.
26573 (LDFLAGS-tst-initorder2a.so): Likewise.
26574 (LDFLAGS-tst-initorder2b.so): Likewise.
26575 (LDFLAGS-tst-initorder2c.so): Likewise.
26576 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
26578 2012-05-02 David S. Miller <davem@davemloft.net>
26580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26582 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
26585 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
26587 2012-05-02 Andreas Jaeger <aj@suse.de>
26589 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
26590 since we manipulate rounding mode.
26591 (CPPFLAGS-test-idouble.c): Likewise.
26592 (CPPFLAGS-test-ifloat.c): Likewise.
26593 (CFLAGS-test-ldouble.c): Likewise.
26594 (CFLAGS-test-double.c): Likewise.
26595 (CFLAGS-test-float.c): Likewise.
26596 (CFLAGS-test-misc.c): Likewise.
26597 (CFLAGS-test-test-fenv.c): Likewise.
26599 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26603 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
26604 comparisons to determine direction to adjust input.
26606 2012-05-01 Roland McGrath <roland@hack.frob.com>
26608 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
26609 output to the target.
26611 * scripts/localplt.awk: New file.
26612 * elf/Makefile ($(objpfx)check-localplt): Target removed.
26613 (check-localplt-CFLAGS): Variable removed.
26614 ($(all-built-dso:=.jmprel)): New static pattern rule.
26615 (generated): Add those targets.
26616 (localplt-built-dso): New variable.
26617 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
26619 * elf/check-localplt.c: File removed.
26621 * scripts/check-execstack.awk: New file.
26622 * elf/Makefile ($(objpfx)check-execstack): Target removed.
26623 (check-execstack-CFLAGS): Variable removed.
26624 ($(objpfx)check-execstack.h): Target removed.
26625 ($(objpfx)execstack-default): New target.
26626 (generated): Add that instead of check-execstack.h.
26627 ($(all-built-dso:=.phdr)): New static pattern rule.
26628 (generated): Add those targets.
26629 * elf/check-execstack.c: File removed.
26631 * scripts/check-textrel.awk: New file.
26632 * elf/Makefile ($(objpfx)check-textrel): Target removed.
26633 (check-textrel-CFLAGS): Variable removed.
26634 (all-built-dso): Use := to define.o
26635 ($(all-built-dso:=.dyn)): New static pattern rule.
26636 (generated): Add those targets.
26637 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
26638 * config.make.in (READELF): New substituted variable.
26639 * elf/check-textrel.c: File removed.
26641 2012-05-01 Joseph Myers <joseph@codesourcery.com>
26643 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26645 * conform/data/ctype.h-data [C99-based standards] (isblank):
26647 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
26648 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
26649 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26650 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
26651 Specify type. Require positive value.
26652 (EILSEQ): Likewise.
26653 (ERANGE): Likewise.
26654 [ISO || POSIX] (EILSEQ): Do not expect.
26655 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
26656 Specify type. Require positive value.
26657 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
26658 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
26659 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
26660 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
26661 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
26662 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
26663 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
26664 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
26665 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
26666 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
26667 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
26668 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
26669 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
26670 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
26671 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
26672 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
26673 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
26674 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
26675 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
26676 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
26677 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
26678 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
26679 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
26680 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
26681 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
26682 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
26683 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
26684 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
26685 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
26686 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
26687 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
26688 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
26689 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
26690 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
26691 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
26692 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
26693 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
26694 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
26695 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
26696 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
26697 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
26698 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
26699 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
26700 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
26701 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
26702 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
26703 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
26704 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
26705 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
26706 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
26707 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
26708 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
26709 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
26710 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
26711 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
26712 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
26713 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
26714 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
26715 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
26716 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
26717 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
26718 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
26719 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
26720 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
26721 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
26722 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
26723 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
26724 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
26725 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
26726 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
26727 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
26728 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
26729 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
26730 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
26731 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
26732 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
26733 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
26735 (FLT_ROUNDS): Expect as macro, not constant.
26736 (FLT_MANT_DIG): Use macro-int-constant.
26737 (DBL_MANT_DIG): Likewise.
26738 (LDBL_MANT_DIG): Likewise.
26739 (FLT_DIG): Likewise.
26740 (DBL_DIG): Likewise.
26741 (LDBL_DIG): Likewise.
26742 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
26743 (DBL_MIN_EXP): Likewise.
26744 (LDBL_MIN_EXP): Likewise.
26745 (FLT_MAX_EXP): Use macro-int-constant.
26746 (DBL_MAX_EXP): Likewise.
26747 (LDBL_MAX_EXP): Likewise.
26748 (FLT_MAX_10_EXP): Likewise.
26749 (DBL_MAX_10_EXP): Likewise.
26750 (LDBL_MAX_10_EXP): Likewise.
26751 (FLT_MAX): Use macro-constant.
26752 (DBL_MAX): Likewise.
26753 (LDBL_MAX): Likewise.
26754 (FLT_EPSILON): Use macro-constant. Give upper bound.
26755 (DBL_EPSILON): Likewise.
26756 (LDBL_EPSILON): Likewise.
26757 (FLT_MIN): Likewise.
26758 (DBL_MIN): Likewise.
26759 (LDBL_MIN): Likewise.
26760 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26761 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26762 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26763 [ISO11] (FLT_HAS_SUBNORM): Likewise.
26764 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26765 [ISO11] (DBL_DECIMAL_DIG): Likewise.
26766 [ISO11] (FLT_DECIMAL_DIG): Likewise.
26767 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26768 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26769 [ISO11] (FLT_TRUE_MIN): Likewise.
26770 [ISO11] (LDBL_TRUE_MIN): Likewise.
26771 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26772 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26773 (SCHAR_MIN): Use macro-int-constant. Specify type.
26774 (SCHAR_MAX): Likewise.
26775 (UCHAR_MAX): Likewise.
26776 (CHAR_MIN): Likewise.
26777 (CHAR_MAX): Likewise.
26778 (MB_LEN_MAX): Use macro-int-constant.
26779 (SHRT_MIN): Use macro-int-constant. Specify type.
26780 (SHRT_MAX): Likewise.
26781 (USHRT_MAX): Likewise.
26782 (INT_MAX): Likewise.
26783 (INT_MIN): Use macro-int-constant. Specify type. Make upper
26785 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
26787 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26789 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
26790 bound negative. Suffix upper bound with "L".
26791 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26793 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26795 [C99-based standards] (LLONG_MAX): Likewise.
26796 [C99-based standards] (ULLONG_MAX): Likewise.
26797 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
26799 [ISO11] (max_align_t): Require type.
26800 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26802 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26803 from $CFLAGS, without defining away __attribute__ calls.
26804 (checknamespace): Use $CFLAGS_namespace.
26806 * conform/conformtest.pl (@keywords): Only include C99 keywords
26807 for standards based on C99 or C11.
26809 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26811 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26814 * conform/conformtest.pl: Handle "macro-int-constant" and test for
26815 usability of symbols in #if.
26817 * conform/conformtest.pl: If macro or constant types start
26818 "promoted:", expect the symbol to be of the following type
26819 promoted by the integer promotions.
26821 * conform/conformtest.pl: Parse all "constant" and "macro" lines
26822 in one place. Also handle "macro-constant".
26824 * conform/conformtest.pl: Only accept expected macro values with
26825 "==". Parse all "macro" lines in one place.
26826 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26828 * conform/conformtest.pl: Handle braced types on "constant" lines
26829 instead of handling "typed-constant".
26830 * conform/data/signal.h-data: Use "constant" instead of
26833 * conform/conformtest.pl: Handle "optional-" at start of lines in
26834 one place rather than duplicating several cases. Handle each
26835 format of "macro" line with initial "optional-".
26837 * conform/conformtest.pl: Only accept expected constant or
26838 optional-constant values with "==". Parse all "constant" lines in
26839 one place. Parse all "optional-constant" lines in one place.
26840 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26841 * conform/data/fmtmsg.h-data: Likewise.
26842 * conform/data/netinet/in.h-data: Likewise.
26843 * conform/data/tar.h-data: Likewise.
26844 * conform/data/limits.h-data: Use "==" form on "constant" and
26845 "optional-constant" lines.
26847 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26848 Use -std=c99 for XOPEN2K.
26849 (@knownproblems): Remove.
26850 (newtoken): Don't check %isknown.
26852 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26853 Do not expect macro.
26854 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26855 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26856 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26857 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26858 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26859 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26860 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26861 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26862 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26863 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26864 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26865 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26866 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26867 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26868 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26869 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26870 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26871 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26872 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26873 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26874 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26875 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26876 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26877 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26878 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26879 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26880 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26881 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26882 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26883 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26884 [XPG3] (acosh): Likewise.
26885 [XPG3] (asinh): Likewise.
26886 [XPG3] (atanh): Likewise.
26887 [XPG3] (cbrt): Likewise.
26888 [XPG3] (expm1): Likewise.
26889 [XPG3] (ilogb): Likewise.
26890 [XPG3] (log1p): Likewise.
26891 [XPG3] (logb): Likewise.
26892 [XPG3] (nextafter): Likewise.
26893 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26894 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26895 [XPG3] (remainder): Likewise.
26896 [XPG3] (rint): Likewise.
26897 [XPG3 || XPG4 || UNIX98] (round): Likewise.
26898 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26899 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26900 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26901 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26902 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26903 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26904 [UNIX98 || XOPEN2K] (scalb): Expect.
26905 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26906 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26907 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26908 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26909 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26910 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26911 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26912 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26913 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26914 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26915 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26916 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26917 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26918 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26919 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26920 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26921 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26922 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26923 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26924 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26925 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26926 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26927 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26928 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26929 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26930 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26931 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26932 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26933 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26934 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26935 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26936 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26937 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26938 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26939 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26940 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26941 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26942 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26943 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26944 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26945 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26946 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26947 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26948 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26949 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26950 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26951 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26952 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26953 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26954 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26955 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26956 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26957 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26958 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26959 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26960 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26961 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26962 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26963 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26964 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26965 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26966 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26967 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26968 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26969 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26970 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26971 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26972 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26973 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26974 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26975 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26976 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26977 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26978 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26979 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26980 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26981 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26982 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26983 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26984 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26985 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26986 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26987 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26988 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26989 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26990 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26991 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26992 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26993 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26994 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26995 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26996 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26997 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26998 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26999 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
27000 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
27001 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
27002 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
27003 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
27004 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
27005 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
27006 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
27007 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
27008 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
27009 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
27010 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
27011 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
27012 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
27013 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
27014 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
27015 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
27016 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
27017 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
27018 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
27019 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
27020 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
27021 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
27022 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
27023 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
27024 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
27025 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
27026 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
27027 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
27028 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
27029 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
27030 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
27031 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
27032 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27033 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27034 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27035 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27036 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27037 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27038 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27039 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27040 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27041 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27043 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27044 _XOPEN_SOURCE_EXTENDED for XPG4.
27046 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27048 * Makeconfig (localtime): Remove variable.
27049 (inst_localtime-file): Likewise.
27051 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27072 2012-05-01 Joseph Myers <joseph@codesourcery.com>
27076 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
27077 comparisons to determine direction to adjust input.
27078 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27079 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
27080 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27082 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27084 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27086 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27087 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27089 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27091 * math/libm-test.inc (nexttoward_test): Add more tests.
27093 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27096 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
27097 in version GLIBC_2.1, not GLIBC_2.0.
27098 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
27101 2012-04-30 Joseph Myers <joseph@codesourcery.com>
27104 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
27106 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27107 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
27108 * math/libm-test.inc (acos_test): Add more tests.
27109 (asin_test): Likewise.
27110 * sysdeps/i386/fpu/libm-test-ulps: Update.
27111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27114 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
27116 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
27117 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27118 * math/libm-test.inc (acos_test_tonearest): New function.
27119 (acos_test_towardzero): Likewise.
27120 (acos_test_downward): Likewise.
27121 (acos_test_upward): Likewise.
27122 (asin_test_tonearest): Likewise.
27123 (asin_test_towardzero): Likewise.
27124 (asin_test_downward): Likewise.
27125 (asin_test_upward): Likewise.
27126 (main): Call the new functions.
27127 * sysdeps/i386/fpu/libm-test-ulps: Update.
27128 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27132 * math/e_exp10.c: Include <float.h>.
27133 (__ieee754_exp10): Handle underflow here rather than multiplying
27134 large negative argument by M_LN10.
27135 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
27137 * math/e_exp10l.c: Include <float.h>.
27138 (__ieee754_exp10l): Handle underflow here rather than multiplying
27139 large negative argument by M_LN10l.
27140 * math/libm-test.inc (exp10_test): Add another test. Do not allow
27141 spurious overflow exception on underflow.
27143 2012-04-29 Marek Polacek <polacek@redhat.com>
27145 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
27146 (__fortify_function): New macro.
27147 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
27148 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
27149 __extern_always_inline.
27150 * libio/bits/stdio2.h: Likewise.
27151 * libio/bits/stdio.h: Likewise.
27152 * string/string.h: Likewise.
27153 * string/bits/string3.h: Likewise.
27154 * include/stdio.h: Likewise.
27155 * stdlib/bits/stdlib.h: Likewise.
27156 * stdlib/stdlib.h: Likewise.
27157 * rt/bits/mqueue2.h: Likewise.
27158 * rt/mqueue.h: Likewise.
27159 * posix/bits/unistd.h: Likewise.
27160 * posix/unistd.h: Likewise.
27161 * io/bits/poll2.h: Likewise.
27162 * io/bits/fcntl2.h: Likewise.
27163 * io/fcntl.h: Likewise.
27164 * io/sys/poll.h: Likewise.
27165 * misc/bits/syslog.h: Likewise.
27166 * misc/bits/syslog-ldbl.h: Likewise.
27167 * misc/sys/syslog.h: Likewise.
27168 * socket/bits/socket2.h: Likewise.
27169 * socket/sys/socket.h: Likewise.
27170 * debug/tst-chk1.c: Likewise.
27171 * wcsmbs/bits/wchar2.h: Likewise.
27172 * wcsmbs/bits/wchar-ldbl.h: Likewise.
27173 * wcsmbs/wchar.h: Likewise.
27175 2012-04-29 Andreas Jaeger <aj@suse.de>
27177 * Makerules (tests): Remove enable-check-abi protection.
27178 (check-abi-warn): Remove.
27179 (check-abi-%): Remove check-abi-warn usage.
27181 * configure.in: Remove check-abi configure option.
27182 * configure: Regenerated.
27183 * config.make.in (enable-check-abi): Remove.
27185 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
27188 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
27189 double functions to double *_finite functions.
27192 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
27193 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
27195 * stdio-common/Makefile (tests): Add tst-sprintf3.
27196 * stdio-common/tst-sprintf3.c: New file.
27198 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
27199 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
27201 2012-04-28 Joseph Myers <joseph@codesourcery.com>
27203 * conform/conformtest.pl: Remove duplicate typed-constant
27206 2012-04-28 David S. Miller <davem@davemloft.net>
27208 * Makerules (%.abilist): Add vpath on sysdep_dirs.
27209 (check-abi-%): Remove AWK script prerequisite and explicit
27211 (check-abi): Rewrite to just diff the symlist with the abilist.
27212 (config-tls, config-abi-config): Delete, no longer used.
27213 (update-abi-%): Remove AWK script and explicit abilist directory.
27214 (update-abi): Rewrite to simply compare and conditionally copy the
27215 symlist and the sysdep abilist file. Remove update-abi-config
27217 * abilist/ld.abilist: Remove.
27218 * abilist/libBrokenLocale.abilist: Remove.
27219 * abilist/libanl.abilist: Remove.
27220 * abilist/libcrypt.abilist: Remove.
27221 * abilist/libdl.abilist: Remove.
27222 * abilist/librt.abilist: Remove.
27223 * abilist/libthread_db.abilist: Remove.
27224 * abilist/libutil.abilist: Remove.
27225 * scripts/extract-abilist.awk: Remove.
27226 * scripts/merge-abilist.awk: Remove.
27227 * sysdeps/generic/libcidn.abilist: New file.
27228 * sysdeps/generic/libnss_compat.abilist: New file.
27229 * sysdeps/generic/libnss_db.abilist: New file.
27230 * sysdeps/generic/libnss_dns.abilist: New file.
27231 * sysdeps/generic/libnss_files.abilist: New file.
27232 * sysdeps/generic/libnss_hesiod.abilist: New file.
27233 * sysdeps/generic/libnss_nis.abilist: New file.
27234 * sysdeps/generic/libnss_nisplus.abilist: New file.
27235 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
27236 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
27237 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
27239 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
27240 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
27241 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
27242 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
27243 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
27244 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
27245 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
27246 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
27247 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
27249 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
27250 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
27251 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
27252 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
27254 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
27255 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
27256 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
27257 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
27258 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
27259 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
27261 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
27262 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
27263 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
27265 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
27266 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
27268 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
27270 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
27272 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
27274 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
27276 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
27278 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
27280 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
27282 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
27284 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
27286 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
27288 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
27290 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
27292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
27294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
27300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
27306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
27319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
27321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
27325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
27327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
27329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
27331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
27333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
27337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
27339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
27343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
27344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
27346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
27350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
27352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
27354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
27356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
27358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
27362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
27364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
27368 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27369 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
27370 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
27372 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
27373 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
27374 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
27375 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
27376 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
27377 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
27378 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
27379 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
27380 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
27381 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
27382 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
27383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
27385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27387 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
27389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
27391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
27393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
27395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
27397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
27403 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
27407 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
27408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
27410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
27414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
27416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
27418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
27420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
27422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
27428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
27433 2012-04-28 Joseph Myers <joseph@codesourcery.com>
27435 * conform/conformtest.pl: Fix typo in handling typed-constant from
27438 2012-04-27 Joseph Myers <joseph@codesourcery.com>
27440 * README: Cut down references to pre-2.6 Linux kernels and
27441 Linuxthreads. Update lists of configurations in libc and ports
27442 and sort alphabetically. Say "or newer" with Linux kernel version
27445 * config.h.in [IS_IN_build]: Allow compiling without optimization.
27447 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27450 * math/libm-test.inc (logb_test_downward): New test to expose
27451 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
27454 2012-04-27 Joseph Myers <joseph@codesourcery.com>
27457 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
27459 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
27460 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
27462 2012-04-26 Joseph Myers <joseph@codesourcery.com>
27464 * sysdeps/unix/i386/brk.S: Remove file.
27465 * sysdeps/unix/i386/dl-brk.S: Likewise.
27466 * sysdeps/unix/i386/pipe.S: Likewise.
27467 * sysdeps/unix/i386/sigreturn.S: Likewise.
27468 * sysdeps/unix/i386/syscall.S: Likewise.
27469 * sysdeps/unix/i386/vfork.S: Likewise.
27470 * sysdeps/unix/i386/wait.S: Likewise.
27472 * sysdeps/unix/common/tcsendbrk.c: Move to ...
27473 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
27475 * configure.in (arm*-none*): Do not allow without
27476 --enable-hacker-mode.
27477 (netbsd*): Remove case setting base_os.
27478 (386bsd*): Likewise.
27479 (freebsd*): Likewise.
27482 (sunos*): Likewise.
27483 (ultrix*): Likewise.
27484 (newsos*): Likewise.
27485 (dynix*): Likewise.
27491 (minix*): Likewise.
27492 (irix4*): Likewise.
27493 (irix6*): Likewise.
27494 (solaris[2-9]*): Likewise.
27496 * configure: Regenerated.
27498 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27501 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
27502 overflow or cancellation in calculating denominator.
27503 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
27504 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
27505 down expression to avoid unexpected rounding in newer GCCs.
27506 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
27508 2012-04-26 David S. Miller <davem@davemloft.net>
27510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
27511 long-double compat symbols.
27512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
27516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
27518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
27519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
27520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
27521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
27523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
27524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27526 2012-04-25 David S. Miller <davem@davemloft.net>
27528 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
27529 HWCAP_* values only after the memory barriers have been defined.
27530 (atomic_full_barrier): Define.
27531 (atomic_read_barrier): Define.
27532 (atomic_write_barrier): Define.
27534 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27536 * shlib-versions: Add libgcc_s version information.
27537 * sysdeps/generic/libgcc_s.h: Remove.
27538 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
27540 * sysdeps/gnu/unwind-resume.c: Likewise.
27541 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
27543 2012-04-25 David S. Miller <davem@davemloft.net>
27545 * sysdeps/unix/sparc/brk.S: Delete.
27546 * sysdeps/unix/sparc/dl-brk.S: Delete.
27547 * sysdeps/unix/sparc/pipe.S: Delete.
27548 * sysdeps/unix/sparc/sysdep.S: Delete.
27549 * sysdeps/unix/sparc/sysdep.h: Delete.
27550 * sysdeps/unix/sparc/vfork.S: Delete.
27551 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
27552 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
27553 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
27554 ret_ERRVAL, r0, r1, MOVE): Define.
27555 (JUMPTARGET): Remove.
27556 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
27557 sysdeps/unix/sparc/sysdep.h
27558 (ENTRY, END): Remove.
27559 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27561 2012-04-25 Joseph Myers <joseph@codesourcery.com>
27563 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
27564 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
27567 * timezone/README: Update upstream location and email address for
27569 * timezone/zdump.c: Update from tzcode 2012b.
27570 * timezone/zic.c: Likewise.
27572 * configure.in (libc_cv_as_needed): Remove test.
27573 * configure: Regenerated.
27574 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
27575 conditional definition.
27576 [$(have-as-needed) != yes] (no-as-needed): Likewise.
27577 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
27578 * config.make.in (have-as-needed): Remove variable.
27580 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27581 Paul Pluzhnikov <ppluzhnikov@google.com>
27583 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
27586 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
27588 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
27589 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
27590 * sysdeps/sh/strlen.S: Likewise.
27592 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27594 * sysdeps/unix/fork.S: Remove file.
27595 * sysdeps/unix/i386/fork.S: Likewise.
27596 * sysdeps/unix/sparc/fork.S: Likewise.
27598 * sysdeps/unix/system.c: Remove file.
27599 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
27601 * sysdeps/unix/getegid.S: Remove file.
27602 * sysdeps/unix/geteuid.S: Likewise.
27604 2012-04-24 Roland McGrath <roland@hack.frob.com>
27606 * scripts/check-localplt.awk: New file.
27607 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
27609 * scripts/data/localplt-generic.data: Add a comment.
27611 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
27612 NODE when __dir_mkfile failed.
27613 * sysdeps/mach/hurd/symlinkat.c: Likewise.
27614 Reported by Ludovic Courtès <ludo@gnu.org>.
27616 2012-04-24 Andreas Jaeger <aj@suse.de>
27618 * Makerules (common-clean): Also remove gen-as-const-headers
27621 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27623 * Makerules (native-compile): Do not change working directory for
27624 build. Use $(OUTPUT_OPTION) in command.
27625 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
27627 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27630 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
27631 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
27632 * math/libm-test.inc (floor_test): Add more tests.
27633 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
27635 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27637 * sysdeps/unix/getdents.c: Remove file.
27638 * sysdeps/unix/sysv/getdents.c: Likewise.
27639 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
27641 * sysdeps/unix/syscalls.list (madvise): Add syscall from
27642 sysdeps/unix/mman/syscalls.list.
27644 (mprotect): Likewise.
27646 (munmap): Likewise.
27647 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
27648 * sysdeps/unix/mman/syscalls.list: Remove.
27649 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
27651 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
27652 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
27653 * configure: Regenerated.
27654 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
27655 $(libgcc_s_suffix).
27656 * config.make.in (libgcc_s_suffix): Remove variable.
27658 2012-04-23 Joseph Myers <joseph@codesourcery.com>
27660 * sysdeps/unix/sysv/gethostname.c: Move to ...
27661 * sysdeps/posix/gethostname.c: ... here.
27663 * sysdeps/unix/execve.S: Remove file.
27665 * sysdeps/unix/_exit.S: Remove file.
27667 2012-04-23 Andreas Jaeger <aj@suse.de>
27670 * manual/Makefile: Remove make dist support, there's no
27671 need for a stand-alone documentation tar ball.
27672 (TEXI2DVI): Define always, it's not in Makeconfig.
27675 (edition): Removed.
27676 (glibc-doc-$(edition).tar): Removed
27680 (ETAGS): Remove, it's in Makeconfig.
27681 (move-if-change): Remove, it's in Makeconfig.
27683 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
27686 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
27687 (strtod, strtof, strtold, strtol, strtoul, strtoq)
27688 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
27689 (strtod_l, strtof_l, strtold_l): Remove __wur.
27690 It is not necessarily an error to ignore strtol's return value.
27691 One can reliably look at the stored endptr to decide whether
27692 the number had valid syntax.
27694 2012-04-21 Andreas Jaeger <aj@suse.de>
27697 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
27699 2012-04-21 Joseph Myers <joseph@codesourcery.com>
27701 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
27702 * sysdeps/unix/sysv/Versions: Remove file.
27704 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
27707 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27709 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
27712 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
27713 version from __vm86.
27715 2012-04-20 Joseph Myers <joseph@codesourcery.com>
27717 * sysdeps/unix/common/lxstat.c: Remove file.
27718 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
27720 * sysdeps/unix/sysv/Makefile: Remove file.
27722 * sysdeps/unix/sysv/direct.h: Remove file.
27724 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
27725 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
27726 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
27727 * sysdeps/unix/sysv/bits/signum.h: Likewise.
27728 * sysdeps/unix/sysv/bits/stat.h: Likewise.
27729 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27730 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
27732 * sysdeps/unix/sysv/setrlimit.c: Remove file.
27734 * sysdeps/unix/xmknod.c: Remove file.
27735 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27737 * sysdeps/unix/sysv/settimeofday.c: Remove file.
27739 * sysdeps/unix/sysv/i386/time.S: Remove file.
27741 * sysdeps/unix/fxstat.c: Remove file.
27742 * sysdeps/unix/xstat.c: Likewise.
27743 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27745 * sysdeps/unix/sysv/sigaction.c: Remove file.
27747 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27748 (sysdep_headers): Remove variable.
27749 [termio.h not in sysdep_headers] (generated): Likewise.
27750 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27751 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27752 * sysdeps/unix/sysv/tcdrain.c: Likewise.
27753 * sysdeps/unix/sysv/tcflow.c: Likewise.
27754 * sysdeps/unix/sysv/tcflush.c: Likewise.
27755 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27756 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27757 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27758 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27759 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27761 * sysdeps/unix/siglist.c: Remove file.
27763 * sysdeps/unix/getppid.S: Remove file.
27765 * sysdeps/unix/mkdir.c: Remove file.
27766 * sysdeps/unix/rmdir.c: Likewise.
27768 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
27770 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27772 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27773 errlist-compat value.
27775 2012-04-18 David S. Miller <davem@davemloft.net>
27777 * sysdeps/generic/memcopy.h (reg_char): Delete.
27778 * debug/strcat_chk.c: Use char, not reg_char.
27779 * debug/strcpy_chk.c: Likewise.
27780 * debug/strncat_chk.c: Likewise.
27781 * debug/strncpy_chk.c: Likewise.
27782 * string/memchr.c: Likewise.
27783 * string/memrchr.c: Likewise.
27784 * string/rawmemchr.c: Likewise.
27785 * string/strcat.c: Likewise.
27786 * string/strchr.c: Likewise.
27787 * string/strchrnul.c: Likewise.
27788 * string/strcmp.c: Likewise.
27789 * string/strcpy.c: Likewise.
27790 * string/strncat.c: Likewise.
27791 * string/strncmp.c: Likewise.
27792 * string/strncpy.c: Likewise.
27794 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27796 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27797 __builtin_memcopy is called when src and dest ranges are known to not
27800 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27802 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27803 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27804 fwd_align_merge macro call.
27805 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27806 bwd_align_merge macro call.
27807 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27809 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27811 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27812 bwd_align_merge macros.
27813 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27814 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27815 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27817 2012-04-18 David S. Miller <davem@davemloft.net>
27819 * sysdeps/sparc/sparc64/memcopy.h: Delete.
27821 2012-04-18 Andreas Jaeger <aj@suse.de>
27824 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27825 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27826 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27828 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27829 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27830 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27832 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27833 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27834 Adjust for changed ldbl-128 files.
27836 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27837 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27838 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27840 2012-04-17 David S. Miller <davem@davemloft.net>
27842 * sysdeps/sparc/sparc32/memcopy.h: Delete.
27844 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
27846 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27847 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27848 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27849 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27850 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27851 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27853 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27856 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27857 * math/libm-test.inc: Add ilogb errno and exception tests.
27858 * math/w_ilogb.c: New file: ilogb wrapper.
27859 * math/w_ilogbf.c: New file: ilogbf wrapper.
27860 * math/w_ilogbl.c: New file: ilogbl wrapper.
27861 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27862 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27863 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27864 exception being thrown with 0.0 as argument.
27865 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27866 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27867 exception being thrown with 0.0 as argument.
27868 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27869 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27870 exception being thrown with 0.0 as argument.
27871 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27872 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27873 exception being thrown with 0.0 as argument.
27874 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27875 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27876 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27877 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27878 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27879 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27880 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27881 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27882 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27884 2012-04-17 Petr Baudis <pasky@ucw.cz>
27886 * include/sys/uio.h: Change __vector to __iovec to avoid clash
27889 2012-04-16 Marek Polacek <polacek@redhat.com>
27891 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27893 2012-04-16 Marek Polacek <polacek@redhat.com>
27895 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27896 operands of fdivp instruction.
27898 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27900 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27901 * elf/tst-auditmod3b.c: Likewise.
27902 * elf/tst-auditmod4b.c: Likewise.
27903 * elf/tst-auditmod5b.c: Likewise.
27904 * elf/tst-auditmod6b.c: Likewise.
27905 * elf/tst-auditmod6c.c: Likewise.
27906 * elf/tst-auditmod7b.c: Likewise.
27907 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27908 * sysdeps/x86_64/preconfigure.in: Likewise.
27909 * sysdeps/x86_64/preconfigure: Regenerated.
27911 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27913 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27916 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
27918 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27919 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27921 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
27924 * locale/iso-639.def: Fix gl language name. Spotted by
27927 2012-04-12 Roland McGrath <roland@hack.frob.com>
27930 * libio/libio.h (__io_write_fn): Update comment.
27932 2012-04-12 Petr Baudis <pasky@ucw.cz>
27935 * stdio.texi (Hook Functions): The user provided writer function
27936 is not allowed to return -1.
27938 2012-04-11 David S. Miller <davem@davemloft.net>
27940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27942 2012-04-11 Mike Frysinger <vapier@gentoo.org>
27944 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27945 Add a leading slash to rtkaio.
27947 2012-04-11 Jim Meyering <meyering@redhat.com>
27950 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27951 It is not necessarily an error to ignore fwrite's return
27952 value. One can reliably use ferror to test for errors after
27955 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27957 * bits/types.h (__snseconds_t): New type.
27958 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27960 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27961 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27962 (__SNSECONDS_T_TYPE): Likewise.
27963 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27964 (__SNSECONDS_T_TYPE): Likewise.
27965 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27966 (__SNSECONDS_T_TYPE): Likewise.
27968 2012-04-10 Andreas Jaeger <aj@suse.de>
27971 * manual/time.texi (Processor Time): Return type of times is
27972 elapsed real time since an arbitrary point in the past.
27973 (CPU Time): Move CLK_TCK from here...
27974 (Processor Time): ...to here. Correct description.
27975 * manual/conf.texi (Constants for Sysconf): Correct description of
27978 2012-04-10 David S. Miller <davem@davemloft.net>
27981 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27982 where the is a gap between DT_REL(A) and DT_JMPREL.
27984 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27986 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27987 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27988 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27990 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27992 * elf/dl-support.c (_dl_inhibit_cache): New variable.
27993 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27994 (dl_main): Handle --inhibit-cache.
27995 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27997 * elf/dl-load.c (_dl_map_object): Use it.
27998 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
28000 2012-04-09 Joseph Myers <joseph@codesourcery.com>
28003 * sysdeps/i386/fpu/e_powl.S (p78): New object.
28004 (__ieee754_powl): Saturate large exponents rather than testing for
28005 overflow of y*log2(x).
28006 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28007 * math/libm-test.inc (pow_test): Do not permit spurious overflow
28011 * math/s_ctan.c: Include <float.h>.
28012 (__ctan): Avoid internal overflow or cancellation in calculating
28014 * math/s_ctanf.c: Likewise.
28015 * math/s_ctanl.c: Likewise.
28016 * math/s_ctanh.c: Likewise.
28017 * math/s_ctanhf.c: Likewise.
28018 * math/s_ctanhl.c: Likewise.
28019 * math/libm-test.inc (ctan_test): Add more tests.
28020 (ctanh_test): Likewise.
28021 * sysdeps/i386/fpu/libm-test-ulps: Update.
28022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28024 2012-04-09 Andreas Jaeger <aj@suse.de>
28027 * manual/filesys.texi (Directory Entries): Mention that d_namlen
28028 is an optional BSD extension.
28031 * manual/stdio.texi (Opening Streams): Document additional fopen
28034 2012-04-09 Roland McGrath <roland@hack.frob.com>
28036 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28037 %eax without telling the compiler.
28039 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
28042 * manual/install.texi: Use sourceware.org.
28044 2012-04-09 Joseph Myers <joseph@codesourcery.com>
28047 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28048 (__ieee754_pow): Generate overflow and underflow using huge*huge
28049 and tiny*tiny rather than just returning constant infinity or zero
28050 for large exponents.
28051 * math/libm-test.inc (pow_test): Require overflow exceptions for
28052 applicable cases of large exponents.
28055 * sysdeps/i386/fpu/e_pow.S (p10): New object.
28056 (__ieee754_pow): Use iterative multiplication algorithm only for
28057 integer exponents with absolute value below 1024. Check for odd
28058 integer exponents when using algorithm for real exponents.
28059 * math/libm-test.inc (pow_test): Add more tests.
28060 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28062 2012-04-08 Joseph Myers <joseph@codesourcery.com>
28065 * math/libm-test.inc (exp_test): Do not allow overflow exception
28068 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
28071 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
28072 instead of __kernel_standard_f.
28074 2012-04-08 Mike Frysinger <vapier@gentoo.org>
28076 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
28077 * sysdeps/x86_64/memset_chk.S: Likewise.
28079 2012-04-08 Andreas Jaeger <aj@suse.de>
28082 * manual/startup.texi (Environment Access): Describe return value
28083 for putenv and setenv.
28086 * manual/filesys.texi (Directory Entries): Add description for
28090 * manual/filesys.texi (Directory Entries): Clarify that it's file
28091 system not operating system in the description of DT_UNKNOWN.
28094 * manual/syslog.texi (closelog): Fix reference, it's openlog.
28096 2012-04-08 Stephen Compall <s11@member.fsf.org>
28099 * manual/llio.texi (Opening and Closing Files): Add cross
28100 reference to explain mode argument.
28102 2012-04-07 Mike Frysinger <vapier@gentoo.org>
28104 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
28105 * sysdeps/x86_64/memset_chk.S: Likewise.
28107 2012-04-07 David S. Miller <davem@davemloft.net>
28109 * elf/elf.h (R_SPARC_WDISP10): Define.
28110 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
28112 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
28113 R_SPARC_SIZE64 and R_SPARC_H34.
28115 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
28117 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
28118 conditions and remove no longer applicable assertion.
28120 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28122 * bits/byteswap.h: Include <features.h>.
28123 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28124 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28126 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28128 * bits/byteswap.h (__bswap_16): Removed.
28129 Include <bits/byteswap-16.h> to get __bswap_16.
28130 * sysdeps/i386/bits/byteswap.h: Likewise.
28131 * sysdeps/s390/bits/byteswap.h: Likewise.
28132 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28133 * bits/byteswap-16.h: New file.
28134 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28135 * sysdeps/s390/bits/byteswap-16.h: Likewise.
28136 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
28137 * string/Makefile (headers): Add bits/byteswap-16.h.
28139 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28142 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
28144 * nss/Makefile (tests-static, tests): Add tst-nss-static.
28145 * nss/tst-nss-static.c: New.
28147 2012-04-06 Robert Millan <rmh@gnu.org>
28150 * manual/llio.texi (File Position Primitive): lseek
28151 refers to WHENCE when it really means OFFSET.
28153 2012-04-06 Andreas Jaeger <aj@suse.de>
28155 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
28156 strncmp declarations.
28158 * abilist/libc.abilist: Add __poll and __ppoll.
28160 2012-04-05 David S. Miller <davem@davemloft.net>
28162 * scripts/check-local-headers.sh: Accept a host triplet in the
28163 path matched by the exclude regexp.
28165 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
28167 * sysdeps/powerpc/powerpc32/dl-machine.h
28168 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
28169 * sysdeps/s390/s390-32/dl-machine.h
28170 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28171 * sysdeps/sparc/sparc32/dl-machine.h
28172 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28173 * sysdeps/sparc/sparc64/dl-machine.h
28174 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28176 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
28178 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
28179 undefined symbol errors.
28181 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
28184 2012-04-05 Michael Matz <matz@suse.de>
28187 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
28189 2012-04-05 Andreas Jaeger <aj@suse.de>
28192 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
28195 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28197 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
28198 which ROUND is no valid rounding mode.
28200 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28202 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
28204 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
28206 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28208 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
28209 an exception using FPU order intentionally.
28211 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28213 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
28214 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
28215 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
28216 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
28218 2012-04-05 Simon Josefsson <simon@josefsson.org>
28221 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
28222 EINVAL when BUFLEN is too smal.
28224 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
28227 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
28228 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
28230 2012-04-03 Andreas Jaeger <aj@suse.de>
28233 * manual/setjmp.texi (System V contexts): Fix sentence.
28236 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
28237 New macro for this case.
28238 [!__GNUC__] (__bswap_64): New inline function for this case.
28239 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28240 * bits/byteswap.h: Likewise.
28241 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
28242 ull, guard with __GLIBC_HAVE_LONG_LONG.
28244 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
28245 __GLIBC_HAVE_LONG_LONG.
28247 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
28248 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
28250 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28253 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
28254 inptr and inend, rather than using last_ch.
28256 2012-04-02 David S. Miller <davem@davemloft.net>
28258 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
28259 * stdio-common/printf-parse.h (read_int): Change return type to
28260 'int', return -1 on INT_MAX overflow.
28261 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
28262 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
28263 overflows INT_MAX. Check for overflow of in-format-string precision
28264 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
28265 SIZE_MAX not INT_MAX for integer overflow test.
28266 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
28267 skip the construct in the format string but do not record anything.
28268 * stdio-common/bug22.c: Adjust to test both width/prevision
28269 INT_MAX overflow as well as total length INT_MAX overflow. Check
28270 explicitly for proper errno values.
28272 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
28274 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
28276 * string/test-strcmp.c [! WIDE]: Likewise.
28277 * time/tst-mktime2.c: Likewise for INT_MAX.
28278 * string/test-string.h: #include <sys/param.h> for MIN.
28280 * csu/init-first.c (__libc_init_first): Call __ctype_init.
28281 * sysdeps/i386/init-first.c (init): Likewise.
28282 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
28283 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
28284 * sysdeps/sh/init-first.c (init): Likewise.
28286 2012-04-01 Ulrich Drepper <drepper@gmail.com>
28288 * po/ru.po: Update from translation team.
28289 * po/vi.po: Likewise.
28291 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28293 * resolv/nss_dns/dns-host.c: Merge copyright years.
28295 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28297 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28298 Optimize memcpy with prefetch if
28299 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
28300 src, dst pointers have unequal 16 byte alignments.
28302 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28305 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
28306 from a CNAME entry and return the minimum ttl for the query.
28307 (gaih_getanswer_slice): Likewise.
28309 2012-03-30 Jeff Law <law@redhat.com>
28311 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
28313 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
28314 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
28316 * resolv/nss_dns/dns-host.c: Update copyright year.
28318 2012-03-30 Ulrich Drepper <drepper@gmail.com>
28320 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
28321 requests to save a system call. Fix check that all bytes are sent.
28323 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
28324 comments for sendmmsg.
28326 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28329 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
28330 with only 1 character between 0x0041 and 0x01b0.
28331 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
28332 * wcsmbs/tst-mbsnrtowcs.c: New file.
28334 2012-03-29 David S. Miller <davem@davemloft.net>
28336 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
28337 small copies by hand.
28339 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28342 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
28343 _nss_compat_initgroups_dyn): Fall back to malloc/free
28344 for large group memberships.
28346 2012-03-28 David S. Miller <davem@davemloft.net>
28348 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
28349 that branches into memcpy.
28350 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28351 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28352 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28353 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28354 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
28356 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
28357 implementation too.
28358 * sysdeps/sparc/mempcpy.S: New file.
28360 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
28361 the IFUNC routine in the libc case.
28362 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28364 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
28365 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
28366 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
28367 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
28368 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
28369 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
28370 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
28371 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
28373 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
28374 loop to 256 bytes instead of 64 bytes and fix test signedness.
28376 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
28377 * sysdeps/sparc/sparc32/Makefile: rather than here...
28378 * sysdeps/sparc/sparc64/Makefile: and here.
28380 2012-03-28 Ulrich Drepper <drepper@gmail.com>
28382 * malloc/mallocbug.c: Avoid warnings about unused variables.
28384 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28387 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
28388 in the right place. Discard and retry query if response is
28389 larger than input buffer size.
28391 2012-03-28 Joseph Myers <joseph@codesourcery.com>
28396 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
28397 x for large integer exponent.
28398 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28399 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
28400 sign of result as needed afterwards.
28401 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28402 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
28403 result for underflowing pow the same as for overflow.
28404 (__kernel_standard_l): Handle powl overflow and underflow here
28405 rather than calling __kernel_standard.
28406 * math/libm-test.inc (pow_test): Add more tests.
28421 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
28422 * sysdeps/ieee754/k_standard.c: Include <float.h>.
28423 (__kernel_standard_l): New function.
28424 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
28426 * math/w_acosl.c (__acosl): Likewise.
28427 * math/w_asinl.c (__asinl): Likewise.
28428 * math/w_atan2l.c (__atan2l): Likewise.
28429 * math/w_atanhl.c (__atanhl): Likewise.
28430 * math/w_coshl.c (__coshl): Likewise.
28431 * math/w_exp10l.c (__exp10l): Likewise.
28432 * math/w_exp2l.c (__exp2l): Likewise.
28433 * math/w_fmodl.c (__fmodl): Likewise.
28434 * math/w_hypotl.c (__hypotl): Likewise.
28435 * math/w_j0l.c (__j0l, __y0l): Likewise.
28436 * math/w_j1l.c (__j1l, __y1l): Likewise.
28437 * math/w_jnl.c (__jnl, __ynl): Likewise.
28438 * math/w_lgammal.c (__lgammal): Likewise.
28439 * math/w_log10l.c (__log10l): Likewise.
28440 * math/w_log2l.c (__log2l): Likewise.
28441 * math/w_logl.c (__logl): Likewise.
28442 * math/w_powl.c (__powl): Likewise.
28443 * math/w_remainderl.c (__remainderl): Likewise.
28444 * math/w_scalbl.c (sysv_scalbl): Likewise.
28445 * math/w_sinhl.c (__sinhl): Likewise.
28446 * math/w_sqrtl.c (__sqrtl): Likewise.
28447 * math/w_tgammal.c (__tgammal): Likewise.
28448 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
28449 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
28450 * math/libm-test.inc (acos_test): Add more tests.
28451 (acosh_test): Likewise.
28452 (asin_test): Likewise.
28453 (atanh_test): Likewise.
28454 (exp_test): Likewise.
28455 (exp10_test): Likewise.
28456 (exp2_test): Likewise.
28457 (expm1_test): Likewise.
28458 (lgamma_test): Likewise.
28459 (log_test): Likewise.
28460 (log10_test): Likewise.
28461 (log1p_test): Likewise.
28462 (log2_test): Likewise.
28463 (pow_test): Do not allow some spurious overflow exceptions.
28464 (sqrt_test): Add more tests.
28465 (tgamma_test): Likewise.
28466 (y0_test): Likewise.
28467 (y1_test): Likewise.
28468 (yn_test): Likewise.
28470 2012-03-27 Anton Blanchard <anton@samba.org>
28472 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
28474 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28475 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28476 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28478 2012-03-27 David S. Miller <davem@davemloft.net>
28480 * conform/Makefile: Run run-conformtest.sh using $(BASH).
28482 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
28483 have-as-vis3 check.
28485 2012-03-27 Andreas Jaeger <aj@suse.de>
28487 * sysdeps/x86_64/elf/configure.in: Moved to ...
28488 * sysdeps/x86_64/configure.in: ... here.
28489 * sysdeps/x86_64/elf/start.S: Moved to ...
28490 * sysdeps/x86_64/start.S: ... here.
28491 * sysdeps/x86_64/elf/configure: Delete.
28493 * sysdeps/x86_64/configure.in: Merge contents from
28494 sysdeps/i386/configure.in (without i686 check).
28496 * sysdeps/i386/elf/Versions: Merge into ...
28497 * sysdeps/i386/Versions: ... this.
28498 * sysdeps/i386/elf/Versions: Delete file.
28499 * sysdeps/i386/elf/start.S: Moved to ...
28500 * sysdeps/i386/start.S: ...here.
28501 * sysdeps/i386/elf/configure.in: Merge into...
28502 * sysdeps/i386/configure.in: ...here.
28503 * sysdeps/i386/elf/configure.in: Delete file.
28504 * sysdeps/i386/elf/configure: Delete file.
28506 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
28507 * debug/backtracesyms.c: ... here.
28508 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
28509 * debug/backtracesymsfd.c: ... here.
28510 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
28511 * sysdeps/generic/ifunc-sel.h: ... here.
28513 * sysdeps/unix/i386/start.c: Delete file.
28514 * sysdeps/unix/sparc/start.c: Delete file.
28515 * sysdeps/unix/start.c: Delete file.
28517 * sysdeps/sh/elf/configure.in: Moved to ...
28518 * sysdeps/sh/configure.in: ... here.
28519 * sysdeps/sh/elf/start.S: Moved to ...
28520 * sysdeps/sh/start.S: ... here.
28521 * sysdeps/sh/elf/configure: Delete file.
28523 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
28524 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
28525 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
28526 * sysdeps/powerpc/powerpc64/entry.h: ... here.
28527 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
28528 * sysdeps/powerpc/powerpc64/start.S: here.
28529 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
28530 * sysdeps/powerpc/powerpc64/Makefile: ... this.
28531 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
28532 * sysdeps/powerpc/powerpc64/configure.in: ... this.
28533 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
28535 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
28536 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
28537 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
28538 * sysdeps/powerpc/powerpc32/start.S: ... here.
28539 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
28540 * sysdeps/powerpc/powerpc32/configure.in: ... this.
28541 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
28543 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
28544 * sysdeps/powerpc/ifunc-sel.h: ... here.
28545 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
28546 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
28548 * sysdeps/sparc/elf/configure.in: Moved to ...
28549 * sysdeps/sparc/configure.in: ... here.
28550 * sysdeps/sparc/elf/configure: Delete file.
28551 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
28552 * sysdeps/sparc/sparc32/start.S: ... here.
28553 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
28554 * sysdeps/sparc/sparc64/start.S: ... here.
28555 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
28556 * sysdeps/sparc/sparc32/Makefile: ... this.
28557 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
28558 * sysdeps/sparc/sparc64/Makefile: ... this.
28560 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
28561 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
28562 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
28563 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
28564 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
28565 * sysdeps/s390/s390-32/setjmp.S: ... here.
28566 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
28567 * sysdeps/s390/s390-32/configure.in: ... here.
28568 * sysdeps/s390/s390-32/elf/configure: Delete file.
28569 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
28570 * sysdeps/s390/s390-32/start.S: ... here.
28572 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
28573 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
28574 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
28575 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
28576 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
28577 * sysdeps/s390/s390-64/setjmp.S: ... here.
28578 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
28579 * sysdeps/s390/s390-64/configure.in: ... here
28580 * sysdeps/s390/s390-64/elf/configure: Delete file.
28581 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
28582 * sysdeps/s390/s390-64/start.S: ... here.
28583 * sysdeps/s390/s390-64/elf/configure: Delete.
28585 * configure.in: Remove support for elf directories in sysdeps.
28587 * configure: Regenerated.
28588 * sysdeps/i386/configure: Regenerated.
28589 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28590 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28591 * sysdeps/s390/s390-32/configure: Regenerated.
28592 * sysdeps/s390/s390-64/configure: Regenerated.
28593 * sysdeps/sh/configure: Regenerated.
28594 * sysdeps/sparc/configure: Regenerated.
28595 * sysdeps/x86_64/configure: Regenerated.
28597 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
28599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28601 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
28602 denormal result into account.
28604 2012-03-25 Roland McGrath <roland@hack.frob.com>
28606 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
28607 Reported by Allan McRae <allan@archlinux.org>.
28609 2012-03-23 Jeff Law <law@redhat.com>
28611 * nss/getnssent.c (__nss_getent): Fix typo.
28613 2012-03-23 David S. Miller <davem@davemloft.net>
28615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28617 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
28619 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
28620 to pad to uint64_t for each field.
28621 (dl_tls_index): Replace unsigned long with uint64_t.
28623 2012-03-23 Daniel Jacobowitz <dmj@google.com>
28624 Paul Pluzhnikov <ppluzhnikov@google.com>
28627 * grp/Makefile (otherlibs): Don't set it.
28628 * inet/Makefile (otherlibs): Likewise.
28629 * login/Makefile (otherlibs): Likewise.
28630 * nscd/Makefile (otherlibs): Likewise.
28631 * posix/Makefile (otherlibs): Likewise.
28632 * pwd/Makefile (otherlibs): Likewise.
28633 * rt/Makefile (otherlibs): Likewise.
28634 * sunrpc/Makefile (otherlibs): Likewise.
28635 * nss/Makefile (otherlibs): Likewise.
28636 Add libnss_files to routines and static-only-routines.
28637 ($(objpfx)getent): Remove rule.
28638 * resolv/Makefile: Add libnss_dns and libresolv to routines and
28639 static-only-routines.
28641 2012-03-22 Joseph Myers <joseph@codesourcery.com>
28644 * math/s_cexp.c: Include <float.h>.
28645 (__cexp): Handle exp result overflowing not necessarily
28646 overflowing both real and imaginary parts of result.
28647 * math/s_cexpf.c: Likewise.
28648 * math/s_cexpl.c: Likewise.
28649 * math/libm-test.inc (cexp_test): Add more tests.
28650 * sysdeps/i386/fpu/libm-test-ulps: Update.
28651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28653 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28655 * include/link.h (ELFW): New macro.
28656 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
28657 Replace ELF64_R_TYPE with ELFW(R_TYPE).
28659 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28661 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
28664 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28666 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
28668 (struct La_x32_retval): Likewise.
28670 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28672 * sysdeps/x86_64/preconfigure.in: New file.
28673 * sysdeps/x86_64/preconfigure: New generated file.
28675 2012-03-22 Joseph Myers <joseph@codesourcery.com>
28678 * math/e_exp2l.c: Include <float.h>.
28679 (__ieee754_exp2l): Handle overflow and underflow cases
28680 separately. Only pass fractional part of argument to
28682 * math/libm-test.inc (exp2_test): Add more tests.
28684 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
28685 negating x to take absolute value.
28686 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28688 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28689 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28691 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
28692 computing low part if x was negated.
28693 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28695 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28697 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
28698 la_x32_gnu_pltexit.
28699 (pltexit): Cast int_retval to ptrdiff_t.
28700 * elf/tst-auditmod3b.c: Likewise.
28701 * elf/tst-auditmod4b.c: Likewise.
28702 * elf/tst-auditmod5b.c: Likewise.
28703 * elf/tst-auditmod6b.c: Likewise.
28704 * elf/tst-auditmod6c.c: Likewise.
28705 * elf/tst-auditmod7b.c: Likewise.
28707 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
28708 and x32_gnu_pltexit.
28710 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
28711 __ELF_NATIVE_CLASS.
28712 (La_x32_regs): New macro.
28713 (La_x32_retval): Likewise.
28714 (la_x32_gnu_pltenter): New function prototype.
28715 (la_x32_gnu_pltexit): Likewise.
28717 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
28719 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
28722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28724 * configure.in (libc_cv_cc_nofma): Check for option to disable
28725 generation of FMA instructions.
28726 * configure: Regenerate.
28727 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
28728 * sysdeps/ieee754/dbl-64/Makefile: New file.
28729 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28730 Remove brandred-fma4.
28731 (CFLAGS-brandred-fma4.c): Remove.
28732 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
28733 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
28735 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28738 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28740 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28741 LLONG_MAX != LONG_MAX.
28742 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28743 (_fitoa_word): Likewise.
28744 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28745 LLONG_MAX != LONG_MAX.
28746 * stdio-common/_itowa.h: Include <_itoa.h>.
28747 (_itowa_word): Use _ITOA_WORD_TYPE on value.
28748 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
28749 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
28750 only if not defined.
28751 (_ITOA_WORD_TYPE): Likewise.
28752 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28753 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28755 2012-03-21 David S. Miller <davem@davemloft.net>
28757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28759 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28761 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28762 of x86_64 when setting libc_cv_slibdir, libdir and
28764 * sysdeps/unix/sysv/linux/configure: Regenerated.
28766 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28768 * manual/lang.texi (Old Varargs): Remove section.
28769 (How Variadic): Update menu.
28770 (va_start): Do not mention varargs.h.
28772 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28773 Joseph Myers <joseph@codesourcery.com>
28775 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28777 * configure: Regenerated.
28779 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28781 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28782 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28785 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28788 * Makefile (files-for-dist): Remove NOTES.
28789 (NOTES): Remove rule.
28790 * README: Don't refer to NOTES.
28791 * manual/creature.texi: Don't include macros.texi.
28792 * manual/intro.texi (creature.texi): Remove comment referring to
28795 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28796 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28797 * configure: Regenerated.
28798 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28799 LIBC_TRY_CC_OPTION.
28800 (libc_cv_as_i686): Likewise.
28801 (libc_cv_cc_avx): Likewise.
28802 (libc_cv_cc_sse2avx): Likewise.
28803 (libc_cv_cc_fma4): Likewise.
28804 (libc_cv_cc_novzeroupper): Likewise.
28805 * sysdeps/i386/configure: Regenerated.
28808 * sysdeps/i386/fpu/s_cexp.S: Remove.
28809 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28810 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28811 * math/libm-test.inc (cexp_test): Add more tests.
28812 * sysdeps/i386/fpu/libm-test-ulps: Update.
28813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28815 2012-03-21 Allan McRae <allan@archlinux.org>
28817 * timezone/Makefile: Do not install iso3166.tab and zone.tab
28819 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28822 * math/w_exp2.c: Do not include <float.h>.
28823 (o_threshold, u_threshold): Remove.
28824 (__exp2): Calculate result before checking finiteness and calling
28826 * math/w_exp2f.c: Likewise.
28827 * math/w_exp2l.c: Likewise.
28828 * math/libm-test.inc (exp2_test): Require overflow exception for
28832 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28833 range of signed 64-bit integers before using fistpll. Remove
28834 checks for whether integers fit in mantissa bits.
28835 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28836 the range of signed 32-bit integers before using fistpl. Remove
28837 checks for whether integers fit in mantissa bits.
28838 * sysdeps/i386/fpu/e_powl.S (p64): New object.
28839 (__ieee754_powl): Test for y outside the range of signed 64-bit
28840 integers before using fistpll. Reduce 64-bit values to 63-bit
28842 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28843 divide-by-zero is raised for zero to large negative powers.
28844 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28845 (__ieee754_powl): Test for y outside the range of signed 64-bit
28846 integers before using fistpll. Reduce 64-bit values to 63-bit
28848 * math/libm-test.inc (pow_test): Add more tests.
28850 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28852 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28853 <stdio-common/_itoa.h>.
28854 * debug/segfault.c: Likewise.
28855 * elf/dl-cache.c: Likewise.
28856 * elf/dl-minimal.c: Likewise.
28857 * elf/dl-misc.c: Likewise.
28858 * elf/dl-sysdep.c: Likewise.
28859 * elf/dl-version.c: Likewise.
28860 * elf/rtld.c: Likewise.
28861 * hurd/hurdsock.c: Likewise.
28862 * hurd/lookup-retry.c: Likewise.
28863 * malloc/malloc.c: Likewise.
28864 * malloc/mtrace.c: Likewise.
28865 * nscd/nscd_getgr_r.c: Likewise.
28866 * nscd/nscd_getpw_r.c: Likewise.
28867 * nscd/nscd_getserv_r.c: Likewise.
28868 * posix/getopt_init.c: Likewise.
28869 * posix/wordexp.c: Likewise.
28870 * stdio-common/_itoa.c: Likewise.
28871 * stdio-common/printf_fphex.c: Likewise.
28872 * stdio-common/vfprintf.c: Likewise.
28873 * string/_strerror.c: Likewise.
28874 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28875 * sysdeps/i386/i686/hp-timing.h: Likewise.
28876 * sysdeps/mach/_strerror.c: Likewise.
28877 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28878 * sysdeps/mach/hurd/sethostid.c: Likewise.
28879 * sysdeps/mach/hurd/xmknodat.c: Likewise.
28880 * sysdeps/mach/xpg-strerror.c: Likewise.
28881 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28882 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28883 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28884 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28885 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28886 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28887 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28888 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28889 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28890 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28891 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28892 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28893 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28894 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28895 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28896 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28897 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28898 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28899 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28900 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28901 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28903 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28905 * stdio-common/_itoa.h: Moved to ...
28906 * sysdeps/generic/_itoa.h: Here.
28908 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28910 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28911 instead of "_itoa.h" and "_itowa.h".
28912 * stdio-common/vfprintf.: Likewise.
28914 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28916 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28918 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28919 (__signbit): Likwise.
28920 (llrintf): Likwise.
28923 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28925 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28928 2012-03-20 Joseph Myers <joseph@codesourcery.com>
28930 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28931 OVERFLOW_EXCEPTION_OK.
28932 * math/libm-test.inc ("Philosophy"): Update comment about
28934 (OVERFLOW_EXCEPTION): Define.
28935 (OVERFLOW_EXCEPTION_OK): Likewise.
28936 (INVALID_EXCEPTION_OK): Renumber.
28937 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28938 (IGNORE_ZERO_INF_SIGN): Likewise.
28939 (test_exceptions): Handle FE_OVERFLOW.
28940 (exp10_test): Expect overflow exceptions.
28941 (exp2_test): Likewise.
28942 (expm1_test): Likewise.
28943 (nextafter_test): Likewise.
28944 (pow_test): Likewise.
28945 (scalbn_test): Likewise.
28946 (scalbln_test): Likewise.
28948 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28950 * sysdeps/x86_64/bits/atomic.h
28951 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28953 (atomic_exchange_acq): Likewise.
28954 (__arch_exchange_and_add_body): Likewise.
28955 (__arch_add_body): Likewise.
28956 (atomic_add_negative): Likewise.
28957 (atomic_add_zero): Likewise.
28959 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28961 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28962 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28964 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28966 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28967 Check __x86_64__ instead of __WORDSIZE.
28969 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28971 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28973 2012-03-19 David S. Miller <davem@davemloft.net>
28975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28977 * sysdeps/sparc/fpu/fenv_private.h: New file.
28978 * sysdeps/sparc/fpu/math_private.h: Use it.
28979 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28981 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28982 (libc_feholdexcept_setroundl): Remove.
28983 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28985 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28986 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28988 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28990 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28991 int64_t instead of long int.
28992 (INSERT_WORDS64): Likwise.
28994 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28996 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28997 _Unwind_GetCFA return to _Unwind_Ptr first.
28999 2012-03-19 Joseph Myers <joseph@codesourcery.com>
29002 * math/s_clog.c: Include <float.h>.
29003 (__clog): Scale large or subnormal inputs.
29004 * math/s_clogf.c: Likewise.
29005 * math/s_clogl.c: Likewise.
29006 * math/s_clog10.c: Include <float.h>.
29007 (M_LOG10_2): Define.
29008 (__clog10): Scale large or subnormal inputs.
29009 * math/s_clog10f.c: Likewise.
29010 * math/s_clog10l.c: Likewise.
29011 * math/libm-test.inc (clog_test): Add more tests.
29012 (clog10_test): Likewise.
29013 * sysdeps/i386/fpu/libm-test-ulps: Update.
29014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29017 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
29019 * math/libm-test.inc (atan2_test): Add another test.
29021 * Makerules (common-objdir-compile): Remove.
29022 * sysdeps/unix/Makefile (config-generated): Do not add
29023 $(unix-generated) to variable.
29024 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
29025 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
29027 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29029 [generic bits/local_lim.h] (before-compile): Do not append to
29031 [generic bits/local_lim.h] (common-generated): Likewise.
29032 [generic sys/param.h] (before-compile): Do not append to variable.
29033 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29034 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29035 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29036 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29038 [generic sys/param.h] (sys/param.h-includes): Remove variable.
29039 [generic sys/param.h] (sys/param.h-includes): Remove rule.
29040 [generic sys/param.h] ($(addprefix
29041 $(common-objpfx),$(sys/param.h-includes))): Likewise.
29042 [generic sys/param.h] (common-generated): Do not append to
29044 [generic sys/param.h] (sysdep_headers): Likewise.
29045 [generic bits/errno.h] (before-compile): Do not append to
29047 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29049 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29050 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29051 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29052 [generic bits/errno.h] (common-generated): Do not append to
29054 [generic bits/ioctls.h] (before-compile): Do not append to
29056 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29058 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29059 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
29060 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
29062 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
29063 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
29064 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
29065 [generic bits/ioctls.h] (common-generated): Do not append to
29067 [generic sys/syscall.h] (syscall.h): Remove variable.
29068 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29070 [generic sys/syscall.h] (before-compile): Do not append to
29072 [generic sys/syscall.h] (common-generated): Likewise.
29073 * sysdeps/unix/errnos-tmpl.c: Remove file.
29074 * sysdeps/unix/errnos.awk: Likewise.
29075 * sysdeps/unix/ioctls-tmpl.c: Likewise.
29076 * sysdeps/unix/ioctls.awk: Likewise.
29077 * sysdeps/unix/mk-local_lim.c: Likewise.
29078 * sysdeps/unix/snarf-ioctls: Likewise.
29080 2012-03-19 Richard Henderson <rth@twiddle.net>
29082 * sysdeps/i386/fpu/fenv_private.h: New file.
29083 * sysdeps/i386/fpu/math_private.h: Use it.
29084 (math_opt_barrier, math_force_eval): Remove.
29085 (libc_feholdexcept_setround_53bit): Remove.
29086 (libc_feupdateenv_53bit): Remove.
29087 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29088 (math_opt_barrier, math_force_eval): Remove.
29089 (libc_feholdexcept): Remove.
29090 (libc_feholdexcept_setround): Remove.
29091 (libc_fetestexcept, libc_fesetenv): Remove.
29092 (libc_feupdateenv_test): Remove.
29093 (libc_feupdateenv, libc_feholdsetround): Remove.
29094 (libc_feresetround): Remove.
29096 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
29097 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29099 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
29100 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
29101 (libc_feupdateenv_testl): New.
29102 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
29103 (libc_feupdateenv_testf): New.
29104 (libc_feupdateenv): Use libc_feupdateenv_test.
29105 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
29106 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
29108 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
29109 (libc_feholdsetroundf, libc_feholdsetroundl): New.
29110 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
29111 (libc_feresetround_noex): New.
29112 (libc_feresetround_noexf): New.
29113 (libc_feresetround_noexl): New.
29114 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
29115 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
29116 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
29117 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
29119 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29120 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
29122 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
29123 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29124 SET_RESTORE_ROUND_NOEX.
29125 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
29126 SET_RESTORE_ROUND_NOEXF.
29127 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
29128 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
29129 (libc_feholdsetroundf): New.
29130 (libc_feresetround, libc_feresetroundf): New.
29132 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
29133 (libc_feholdexcept_setround_53bit): Convert from macro to function.
29134 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
29136 * sysdeps/generic/math_private.h: Include <fenv.h>.
29137 (default_libc_feholdexcept): New.
29138 (default_libc_feholdexcept_setround): New.
29139 (default_libc_fesetenv, default_libc_feupdateenv): New.
29140 (libc_feholdexcept): Only define if undefined.
29141 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
29142 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
29143 (libc_feholdexcept_setroundl): Likewise.
29144 (libc_feholdexcept_setround_53bit): Likewise.
29145 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
29146 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
29147 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
29148 (libc_feupdateenv_53bit): Likewise.
29149 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
29150 (libc_feholdexcept): Convert from macro to inline function.
29151 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
29152 (libc_fesetenv, libc_feupdateenv): Likewise.
29154 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
29155 not previously defined.
29156 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
29157 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
29158 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
29159 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
29160 * sysdeps/ieee754/flt-32/math_private.h: New file.
29161 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
29162 math_private.h below SET_FLOAT_WORD.
29163 (__isnan, __isinf_ns, __finite): Remove.
29164 (__isnanf, __isinf_nsf, __finitef): Remove.
29166 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
29168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29170 2012-03-17 David S. Miller <davem@davemloft.net>
29173 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
29176 2012-03-16 David S. Miller <davem@davemloft.net>
29178 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
29182 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
29184 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
29185 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
29186 sysdep_routines when subdir is sysvipc.
29187 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
29188 __getshmlba helper.
29190 * sysdeps/sparc/fpu/libm-test/ulps: Update.
29192 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29194 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
29197 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29199 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
29200 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
29201 (__lround): Renamed to ...
29202 (__llround): This. Replace long int with long long int.
29203 Define lround functions as aliases of llround functions.
29204 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
29206 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29208 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
29209 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
29210 adresses to uintptr_t. Replace "long int" and "unsigned long
29211 int" with "greg_t" on va_arg.
29213 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29215 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
29216 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
29218 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
29219 Move e_machine check before EI_CLASS check. Handle x32
29220 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
29221 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
29222 SKIP_EM_IA_64 and include
29223 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
29225 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
29226 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
29227 (add_system_dir): New macro.
29229 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
29230 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
29232 2012-03-16 Joseph Myers <joseph@codesourcery.com>
29243 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
29245 * math/w_j0f.c (j0f): Likewise.
29247 * math/w_j0l.c (__j0l): Likewise.
29249 * math/w_j1.c (j1): Likewise.
29251 * math/w_j1f.c (j1f): Likewise.
29253 * math/w_j1l.c (__j1l): Likewise.
29255 * math/w_jn.c (jn): Likewise.
29257 * math/w_jnf.c (jnf): Likewise.
29259 * math/w_jnl.c (__jnl): Likewise.
29261 * math/libm-test.inc (j0_test): Add more tests.
29262 (j1_test): Likewise.
29263 (jn_test): Likewise. Add trailing semicolon to existing test.
29264 (y0_test): Likewise.
29265 (y1_test): Likewise.
29266 * sysdeps/i386/fpu/libm-test-ulps: Update.
29267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29271 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29272 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
29273 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
29274 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
29275 (__tanl): Set errno for infinite argument.
29276 * sysdeps/i386/fpu/mptan.c: Remove.
29277 * sysdeps/i386/fpu/s_tan.S: Likewise.
29278 * sysdeps/i386/fpu/s_tanl.S: Likewise.
29279 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
29280 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
29281 * math/libm-test.inc (tan_test): Add more tests and enable more
29282 tests for double and long double.
29283 * sysdeps/i386/fpu/libm-test-ulps: Update.
29284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29286 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
29288 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
29289 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
29291 2012-03-16 Roland McGrath <roland@hack.frob.com>
29293 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
29294 * configure.in: Use it for both main tree and add-ons.
29295 * configure: Regenerated.
29297 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29299 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
29301 2012-03-16 Joseph Myers <joseph@codesourcery.com>
29303 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
29307 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
29308 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
29309 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
29310 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
29311 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
29313 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
29314 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
29315 != 0 for prec == 2.
29316 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
29317 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
29318 * sysdeps/i386/fpu/s_cosl.S: Likewise.
29319 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
29320 * sysdeps/i386/fpu/s_sinl.S: Likewise.
29321 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
29322 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
29323 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
29324 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
29325 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
29326 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
29327 * math/libm-test.inc (cos_test): Add more tests and enable more
29328 tests for long double.
29329 (sin_test): Likewise.
29330 (sincos_test): Likewise.
29331 * sysdeps/i386/fpu/libm-test-ulps: Update.
29332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29334 2012-03-16 David S. Miller <davem@davemloft.net>
29336 * sysdeps/sparc/fpu/math_private.h: New file.
29338 2012-03-15 David S. Miller <davem@davemloft.net>
29340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
29342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
29343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
29345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
29346 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
29347 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
29348 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
29349 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
29350 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
29352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29354 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
29355 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
29357 * sysdeps/sparc/sparc-ifunc.h: New file.
29358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
29360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
29365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
29366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
29367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
29372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
29374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
29376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
29378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
29380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
29381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
29382 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29383 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29384 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
29385 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
29386 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29387 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29388 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
29389 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
29390 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
29391 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
29392 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
29393 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
29394 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
29395 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
29396 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
29397 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
29398 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
29399 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
29400 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
29401 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
29403 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
29405 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
29407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29409 2012-03-15 Andreas Jaeger <aj@suse.de>
29412 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
29413 ieee754/flt-32 implementation for sin, cos and sincos.
29414 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
29415 * sysdeps/i386/fpu/s_cosf.S: Likewise.
29416 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
29417 * sysdeps/i386/fpu/s_sinf.S: Likewise.
29418 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
29419 ieee754/flt-32 implementation for tan.
29421 * math/libm-test.inc (cos_test): Enable some large input tests for
29423 (sin_test): Likewise.
29424 (sincos_test): Likewise.
29425 (tan_test): Add tests for large input.
29427 * sysdeps/i386/fpu/libm-test-ulps: Update.
29429 2012-03-15 Andreas Jaeger <aj@suse.de>
29432 * math/libm-test.inc (cos_test): Add more test cases.
29433 (sin_test): Likewise.
29434 (sincos_test): Likewise.
29436 2012-03-15 Andreas Jaeger <aj@suse.de>
29439 * math/libm-test.inc (cos_test): Add a test case for large input
29441 (sin_test): Likewise.
29442 (sincos_test): Likewise.
29444 2012-03-15 Andreas Jaeger <aj@suse.de>,
29445 Joseph Myers <joseph@codesourcery.com>
29448 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
29449 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
29450 * sysdeps/i386/fpu/branred.c: Likewise.
29451 * sysdeps/i386/fpu/dosincos.c: Likewise.
29452 * sysdeps/i386/fpu/mpa.c: Likewise.
29453 * sysdeps/i386/fpu/s_cos.S: Likewise.
29454 * sysdeps/i386/fpu/s_sin.S: Likewise.
29455 * sysdeps/i386/fpu/s_sincos.S: Likewise.
29456 * sysdeps/i386/fpu/sincos32.c: Likewise.
29458 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
29460 (libc_feupdateenv_53bit): Define.
29461 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
29463 (libc_feupdateenv_53bit): Define.
29465 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
29466 53 bit (without extend i386 double precision).
29468 * math/libm-test.inc (sincos_test): Add tests for large input.
29472 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29474 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
29476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29478 2012-03-15 David S. Miller <davem@davemloft.net>
29480 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
29481 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
29482 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
29483 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
29484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
29485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
29486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
29487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
29488 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
29489 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
29490 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
29491 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
29492 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
29493 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
29494 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
29495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
29497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
29498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
29500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
29501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
29503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
29504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
29506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
29507 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
29508 fmin/fmax sysdep routines.
29509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29511 2012-03-14 David S. Miller <davem@davemloft.net>
29513 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
29514 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
29515 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
29516 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
29517 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
29518 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
29519 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
29520 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
29521 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
29522 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
29523 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
29524 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
29525 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
29526 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
29527 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
29528 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
29529 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
29530 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
29531 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
29532 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
29533 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
29534 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
29535 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
29536 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
29537 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
29538 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
29539 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
29540 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
29541 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
29543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
29545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
29546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
29548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
29549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
29551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
29552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
29554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
29555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
29557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
29558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
29560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
29562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
29564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
29566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
29568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
29570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
29572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
29573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
29575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
29576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
29578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
29579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
29581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
29582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
29585 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29590 * sysdeps/sparc/configure.in: New file.
29591 * sysdeps/sparc/configure: Generate.
29592 * configure.in (libc_cv_sparc_as_vis3): Substitute.
29593 * configure: Regenerate.
29594 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
29595 * config.make.in (have-as-vis3): New.
29596 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
29597 available use -Av9d instead of -Av9a.
29598 * sysdeps/sparc/sparc64/Makefile: Likewise.
29599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
29600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
29602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
29604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
29606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
29608 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
29609 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
29610 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
29611 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
29612 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
29614 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
29615 fzeros/fnegs to load 0x80000000 into a float register instead of
29617 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
29619 2012-03-14 Joseph Myers <joseph@codesourcery.com>
29621 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29623 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
29624 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
29625 ($(inst_includedir)/bits/syscall.h): Remove rule.
29626 ($(objpfx)bits/syscall.d): Include instead of
29627 $(objpfx)syscall-list.d.
29628 (generated): Change syscall-list.h and syscall-list.d to
29629 bits/syscall.h and bits/syscall.d.
29631 2012-03-14 Roland McGrath <roland@hack.frob.com>
29634 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
29636 2012-03-14 Joseph Myers <joseph@codesourcery.com>
29639 * math/s_csqrt.c: Include <float.h>.
29640 (__csqrt): Scale large or subnormal inputs.
29641 * math/s_csqrtf.c: Likewise.
29642 * math/s_csqrtl.c: Likewise.
29643 * math/libm-test.inc (csqrt_test): Add more tests.
29644 * sysdeps/i386/fpu/libm-test-ulps: Update.
29645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29648 * math/libm-test.inc (hypot_test): Add more tests.
29650 2012-03-13 David S. Miller <davem@davemloft.net>
29653 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
29654 double-precision for the calculation instead of scaling.
29656 2012-03-13 Joseph Myers <joseph@codesourcery.com>
29658 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
29659 manipulate bits before adding and subtracting TWO52[sx].
29660 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
29661 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29663 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
29665 2012-03-13 David S. Miller <davem@davemloft.net>
29667 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
29668 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
29669 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
29670 rtld-global-offsets.h
29671 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29673 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
29676 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
29678 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
29679 'err' in the ifdef scope in which it is actually used.
29681 * nss/nss_db/db-init.c: Include string.h
29683 2012-03-12 David S. Miller <davem@davemloft.net>
29685 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29686 masking out of the most significant byte of random value used.
29687 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29688 Fix coding style in previous change.
29690 * sysdeps/unix/sysv/linux/kernel-features.h
29691 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
29692 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
29694 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
29697 2012-03-11 David S. Miller <davem@davemloft.net>
29699 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29700 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
29701 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
29702 for 'resultvar' otherwise things get truncated on 64-bit.
29704 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29705 Fix masking out of the most significant byte of random value used.
29707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29709 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
29711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29713 2012-03-09 David S. Miller <davem@davemloft.net>
29715 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
29716 variables with appropriate CPP guards.
29717 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
29718 frame pointer, not the stack pointer. Correct layout comments. Fix test
29719 on resulting framesize and the management of the outregs buffer for pltexit.
29720 Preserve floating point return values across _dl_call_pltexit call.
29721 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
29722 framesize and the management of the outregs buffer for pltexit.
29723 Preserve floating point return values across _dl_call_pltexit
29725 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
29726 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
29727 (print_exit): Fix format string for return register value.
29729 2012-03-10 Joseph Myers <joseph@codesourcery.com>
29731 * sunrpc/Makefile (others): Add rpcgen.
29732 ($(objpfx)rpcgen): Remove special build rule and dependency on
29734 * sunrpc/rpcgen.c: New file.
29736 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
29739 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29740 * stdio-common/bug-vfprintf-nargs.c: Likewise.
29741 * sysdeps/i386/crti.S: Likewise.
29742 * sysdeps/i386/crtn.S: Likewise.
29743 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29744 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29745 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29746 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29747 * sysdeps/sh/crti.S: Likewise.
29748 * sysdeps/sh/crtn.S: Likewise.
29749 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29752 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29754 * locale/programs/locfile-kw.gperf: Likewise.
29755 * locale/programs/charmap-kw.h: Regenerated.
29756 * locale/programs/locfile-kw.h: Likewise.
29759 * intl/plural.y: Replace FSF snail mail address with URL.
29760 * intl/plural.c: Regenerated.
29762 2012-03-09 Richard Henderson <rth@twiddle.net>
29764 * include/math_private.h: Remove file.
29765 * math/math_private.h: Move file ...
29766 * sysdeps/generic/math_private.h: ... here.
29768 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29769 * sysdeps/powerpc/fpu/math_private.h: Likewise.
29770 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29772 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
29773 and <math_private.h>.
29774 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29775 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29776 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29777 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29778 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29779 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29780 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29781 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29782 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29783 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29784 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29785 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29786 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29787 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29788 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29789 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29790 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29791 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29792 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29793 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29794 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29795 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29796 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29797 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29798 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29799 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29800 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29801 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29802 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29803 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29804 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29805 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29806 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29807 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29808 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29809 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29810 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29811 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29812 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29813 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29814 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29815 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29816 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29817 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29818 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29819 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29820 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29821 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29822 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29823 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29824 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29825 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29826 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29827 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29828 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29829 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29830 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29831 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29832 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29833 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29834 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29835 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29836 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29837 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29838 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29839 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29840 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29841 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29842 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29843 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29844 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29845 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29846 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29847 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29848 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29849 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29850 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29851 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29852 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29853 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29854 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29855 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29856 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29857 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29858 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29859 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29860 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29861 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29862 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29863 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29864 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29865 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29866 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29867 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29868 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29869 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29870 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29871 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29872 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29873 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29874 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29875 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29876 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29877 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29878 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29879 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29880 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29881 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29882 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29883 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29884 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29885 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29886 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29887 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29888 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29889 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29890 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29891 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29892 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29893 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29894 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29895 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29896 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29897 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29898 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29899 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29900 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29901 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29902 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29903 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29904 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29905 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29906 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29907 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29908 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29909 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29910 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29911 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29912 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29913 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29914 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29915 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29916 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29917 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29918 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29919 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29920 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29921 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29922 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29923 * sysdeps/ieee754/k_standard.c: Likewise.
29924 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29925 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29926 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29927 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29928 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29929 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29930 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29931 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29932 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29933 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29934 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29935 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29936 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29937 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29938 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29939 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29940 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29941 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29942 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29943 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29944 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29945 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29946 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29947 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29948 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29949 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29950 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29951 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29952 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29953 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29954 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29955 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29956 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29957 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29958 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29959 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29960 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29961 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29962 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29963 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29964 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29965 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29966 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29967 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29968 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29969 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29970 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29971 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29972 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29973 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29974 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29975 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29976 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29977 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29978 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29979 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29980 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29981 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29982 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29983 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29984 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29985 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29986 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29987 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29988 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29989 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29990 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29991 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29992 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29993 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29994 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29995 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29996 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29997 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29998 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29999 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30000 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
30001 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30002 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30003 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30004 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30005 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30006 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30007 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30008 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
30009 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30010 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30011 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30012 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30013 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30014 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
30015 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30016 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30017 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30018 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30019 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30020 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
30021 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30022 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30023 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
30024 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30025 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30026 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30027 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30028 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
30029 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30030 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30031 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30032 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30033 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30034 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30035 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30036 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30037 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30038 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30039 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30040 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30041 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30042 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30043 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30044 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30045 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30046 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30047 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30048 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30049 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30050 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30051 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30052 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30053 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30054 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30055 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30056 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30057 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30058 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30059 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30060 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
30061 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30062 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30063 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
30064 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
30065 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30066 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
30067 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
30068 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30069 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30070 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30071 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30072 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30073 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
30074 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30075 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30076 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30077 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30078 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
30079 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
30080 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30081 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30082 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30083 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30084 * sysdeps/ieee754/s_lib_version.c: Likewise.
30085 * sysdeps/ieee754/s_matherr.c: Likewise.
30086 * sysdeps/ieee754/s_signgam.c: Likewise.
30087 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30088 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30089 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
30090 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
30091 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
30092 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30093 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
30094 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
30095 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
30096 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
30097 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30098 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
30099 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30100 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30101 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
30102 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30103 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30104 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30105 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30106 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30107 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30109 2012-03-09 Joseph Myers <joseph@codesourcery.com>
30111 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
30112 * sunrpc/rpc_main.c: Likewise.
30113 * sunrpc/rpc_svcout.c: Likewise.
30115 2012-03-09 David S. Miller <davem@davemloft.net>
30117 * include/math_private.h: New file.
30119 2012-03-09 Joseph Myers <joseph@codesourcery.com>
30121 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
30122 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
30123 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
30124 from <bits/socket_type.h>.
30125 (enum __socket_type): Don't define here.
30126 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
30127 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30128 bits/socket_type.h.
30131 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
30132 checking __USE_GNU.
30134 * Makerules ($(inst_includedir)/%.h): New rule.
30135 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
30136 (install-others): Remove variable setting.
30137 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
30139 2012-03-08 Richard Henderson <rth@twiddle.net>
30141 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
30142 from macro to inline function; merge with the
30143 !__LIBC_INTERNAL_MATH_INLINES version.
30144 (__ieee754_sqrtf): Likewise.
30146 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
30147 to inline function.
30148 (__rintf, __floor, __floorf): Likewise.
30150 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
30151 macro to inline function.
30152 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
30154 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
30155 not <math/math_private.h>.
30157 2012-03-08 David S. Miller <davem@davemloft.net>
30159 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
30161 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
30163 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
30165 * resolv/gai_misc.c (handle_requests): Fix struct timespec
30167 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
30168 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30170 2012-03-08 Ulrich Drepper <drepper@gmail.com>
30172 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
30173 be defined individually, they must be defined as a block. Define
30174 S for printing a string instead of hidint the different by using a
30175 macro for adding the 'l'.
30176 * stdio-common/tst-fphex-wide.c: Adjust.
30178 2012-03-07 Marek Polacek <polacek@redhat.com>
30180 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
30182 2012-03-08 Marek Polacek <polacek@redhat.com>
30185 * stdio-common/Makefile (tests): Add tst-fphex-wide.
30186 * stdio-common/tst-fphex.c: Define a few macros to make the
30187 test reusable. Use them.
30188 * stdio-common/tst-fphex-wide.c: New file.
30190 2012-03-08 Joseph Myers <joseph@codesourcery.com>
30193 * manual/macros.texi (gnusystems): New macro.
30194 (nongnusystems): Likewise.
30195 (gnulinuxhurdsystems): Likewise.
30196 (gnuhurdsystems): Likewise..
30197 (gnulinuxsystems): Likewise.
30198 * manual/charset.texi: Use new macros or @theglibc{} to refer to
30199 variants of the GNU system, not "GNU system".
30200 * manual/conf.texi: Likewise.
30201 * manual/errno.texi: Likewise. Update example of errno macro
30203 * manual/filesys.texi: Likewise.
30204 (getumask): Document as specific to GNU/Hurd.
30205 * manual/install.texi: Likewise. Reword some references to
30207 * manual/intro.texi: Likewise.
30208 * manual/io.texi: Likewise.
30209 (File Name Portability): Detail which constraints are inapplicable
30210 to all GNU systems and which are only inapplicable to GNU/Hurd.
30211 * manual/job.texi: Likewise.
30212 * manual/llio.texi: Likewise.
30213 (O_NOCTTY): Document as present on GNU/Linux.
30214 * manual/maint.texi: Likewise.
30215 * manual/memory.texi: Likewise.
30216 * manual/pattern.texi: Likewise.
30217 * manual/pipe.texi: Likewise.
30218 * manual/process.texi: Likewise.
30219 * manual/resource.texi: Likewise.
30220 (RUSAGE_CHILDREN): Remove statement about specifying a particular
30222 * manual/setjmp.texi: Likewise.
30223 * manual/signal.texi: Likewise.
30224 * manual/startup.texi: Likewise.
30225 * manual/stdio.texi: Likewise.
30226 * manual/terminal.texi: Likewise.
30227 (ONLCR): Document as POSIX.
30228 (OXTABS): Document availability on GNU/Linux as XTABS.
30229 (ONOEOT): Document availability separately from other bits.
30230 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
30231 * manual/time.texi: Likewise.
30232 * manual/users.texi: Likewise.
30233 * INSTALL: Regenerated.
30234 * sysdeps/gnu/errlist.c: Regenerated.
30236 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
30237 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
30238 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
30240 * configure: Regenerated.
30242 2012-03-07 Joseph Myers <joseph@codesourcery.com>
30244 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
30245 default includes instead of AC_HEADER_CHECK.
30246 * sysdeps/i386/configure: Regenerated.
30249 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
30250 * math/s_cacoshf.c (__cacoshf): Likewise.
30251 * math/s_cacoshl.c (__cacoshl): Likewise.
30252 * math/s_casinh.c (__casinh): Set signs of result from argument.
30253 * math/s_casinhf.c (__casinhf): Likewise.
30254 * math/s_casinhl.c (__casinhl): Likewise.
30255 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
30256 (casinh_test): Add more tests.
30257 * sysdeps/i386/fpu/libm-test-ulps: Update.
30258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30260 2012-03-07 Ulrich Drepper <drepper@gmail.com>
30262 * po/zh_TW.po: Update from translation team.
30264 * login/Makefile (distribute): Remove variable.
30265 * catgets/Makefile: Likewise.
30266 * mach/Makefile: Likewise.
30267 * malloc/Makefile: Likewise.
30268 * misc/Makefile: Likewise.
30269 * iconv/Makefile: Likewise.
30270 * nscd/Makefile: Likewise.
30271 * hurd/Makefile: Likewise.
30272 * manual/Makefile: Likewise.
30273 * locale/Makefile: Likewise.
30274 * intl/Makefile: Likewise.
30275 * conform/Makefile: Likewise.
30276 * nss/Makefile: Likewise.
30277 * time/Makefile: Likewise.
30278 * soft-fp/Makefile: Likewise.
30279 * dirent/Makefile: Likewise.
30280 * gmon/Makefile: Likewise.
30281 * po/Makefile: Likewise.
30282 * rt/Makefile: Likewise.
30283 * socket/Makefile: Likewise.
30284 * math/Makefile: Likewise.
30285 * signal/Makefile: Likewise.
30286 * debug/Makefile: Likewise.
30287 * elf/Makefile: Likewise.
30288 * timezone/Makefile: Likewise.
30289 * stdlib/Makefile: Likewise.
30290 * iconvdata/Makefile: Likewise.
30291 * sunrpc/Makefile: Likewise.
30292 * io/Makefile: Likewise.
30293 * argp/Makefile: Likewise.
30294 * inet/Makefile: Likewise.
30295 * hesiod/Makefile: Likewise.
30296 * grp/Makefile: Likewise.
30297 * csu/Makefile: Likewise.
30298 * wctype/Makefile: Likewise.
30299 * crypt/Makefile: Likewise.
30300 * libio/Makefile: Likewise.
30301 * string/Makefile: Likewise.
30302 * nis/Makefile: Likewise.
30303 * resolv/Makefile: Likewise.
30304 * stdio-common/Makefile: Likewise.
30305 * wcsmbs/Makefile: Likewise.
30306 * dlfcn/Makefile: Likewise.
30307 * posix/Makefile: Likewise.
30310 * timezone/Makefile: Don't install timezone files, just the programs
30313 2012-03-06 Ulrich Drepper <drepper@gmail.com>
30315 * nss/databases.def: Add missing gshadow entry.
30317 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
30319 2012-03-06 Marek Polacek <polacek@redhat.com>
30322 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
30323 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30324 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
30325 * stdio-common/tst-long-dbl-fphex.c: New file.
30327 2012-03-06 David S. Miller <davem@davemloft.net>
30329 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30330 (set_obp_int): New function.
30331 (get_obp_int): New function.
30332 (__get_clockfreq_via_dev_openprom): Likewise.
30333 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
30334 Avoid unused variable warnings on 'val' and use builtin_expect.
30335 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
30337 (INLINE_CLONE_SYSCALL): Likewise.
30339 2012-03-05 David S. Miller <davem@davemloft.net>
30341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30343 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
30345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30347 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
30348 only for |x| >= 40.
30349 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30351 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
30353 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
30354 Replace gettimeofday with __vdso_gettimeofday.
30356 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30357 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
30358 __vdso_clock_gettime and __vdso_getcpu.
30360 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
30361 time with __vdso_time.
30363 2012-03-05 Joseph Myers <joseph@codesourcery.com>
30365 * manual/lang.texi (size_t): Note types to which size_t may be
30366 equivalent with the GNU C Library, but do not describe when
30367 differences between them are significant.
30369 2012-03-05 Andreas Jaeger <aj@suse.de>
30371 * sysdeps/i386/fpu/libm-test-ulps: Update.
30373 2012-03-05 Joseph Myers <joseph@codesourcery.com>
30376 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
30377 (__ieee754_pow): Save and restore rounding mode and use
30378 round-to-nearest for main computations.
30379 * math/libm-test.inc (pow_test_tonearest): New function.
30380 (pow_test_towardzero): Likewise.
30381 (pow_test_downward): Likewise.
30382 (pow_test_upward): Likewise.
30383 (main): Call the new functions.
30384 * sysdeps/i386/fpu/libm-test-ulps: Update.
30385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30388 * math/libm-test.inc (cosh_test_tonearest): New function.
30389 (cosh_test_towardzero): Likewise.
30390 (cosh_test_downward): Likewise.
30391 (cosh_test_upward): Likewise.
30392 (sinh_test_tonearest): Likewise.
30393 (sinh_test_towardzero): Likewise.
30394 (sinh_test_downward): Likewise.
30395 (sinh_test_upward): Likewise.
30396 (main): Call the new functions.
30397 * sysdeps/i386/fpu/libm-test-ulps: Update.
30398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30400 2012-03-05 Tom de Vries <tom@codesourcery.com>
30402 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
30403 default stack guard is set in last bytes.
30404 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
30406 2012-03-05 Kees Cook <keescook@chromium.org>
30408 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
30411 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
30412 possibly allocate from heap instead of stack.
30413 * stdio-common/bug-vfprintf-nargs.c: New file.
30414 * stdio-common/Makefile (tests): Add nargs overflow test.
30416 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
30418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30420 2012-03-03 Marek Polacek <polacek@redhat.com>
30422 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
30423 * math/math_private.h: Likewise.
30424 * stdlib/tst-strtod.c: Likewise.
30425 * sysdeps/i386/i486/bits/atomic.h: Likewise.
30426 * sysdeps/x86_64/bits/atomic.h: Likewise.
30428 2012-03-02 David S. Miller <davem@davemloft.net>
30430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
30431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
30432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
30433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
30434 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
30435 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
30436 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
30437 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
30439 2012-03-02 Roland McGrath <roland@hack.frob.com>
30442 * manual/examples/README: New file, says the example source files
30443 can be used under GPL>=2.
30444 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
30445 line containing just "*/".
30446 * manual/examples/add.c: Add copyright header (GPL>=2).
30447 * manual/examples/argp-ex1.c: Likewise.
30448 * manual/examples/argp-ex2.c: Likewise.
30449 * manual/examples/argp-ex3.c: Likewise.
30450 * manual/examples/argp-ex4.c: Likewise.
30451 * manual/examples/atexit.c: Likewise.
30452 * manual/examples/db.c: Likewise.
30453 * manual/examples/dir.c: Likewise.
30454 * manual/examples/dir2.c: Likewise.
30455 * manual/examples/execinfo.c: Likewise.
30456 * manual/examples/filecli.c: Likewise.
30457 * manual/examples/filesrv.c: Likewise.
30458 * manual/examples/fmtmsgexpl.c: Likewise.
30459 * manual/examples/genpass.c: Likewise.
30460 * manual/examples/inetcli.c: Likewise.
30461 * manual/examples/inetsrv.c: Likewise.
30462 * manual/examples/isockad.c: Likewise.
30463 * manual/examples/longopt.c: Likewise.
30464 * manual/examples/memopen.c: Likewise.
30465 * manual/examples/memstrm.c: Likewise.
30466 * manual/examples/mkfsock.c: Likewise.
30467 * manual/examples/mkisock.c: Likewise.
30468 * manual/examples/mygetpass.c: Likewise.
30469 * manual/examples/pipe.c: Likewise.
30470 * manual/examples/popen.c: Likewise.
30471 * manual/examples/rprintf.c: Likewise.
30472 * manual/examples/search.c: Likewise.
30473 * manual/examples/select.c: Likewise.
30474 * manual/examples/setjmp.c: Likewise.
30475 * manual/examples/sigh1.c: Likewise.
30476 * manual/examples/sigusr.c: Likewise.
30477 * manual/examples/stpcpy.c: Likewise.
30478 * manual/examples/strdupa.c: Likewise.
30479 * manual/examples/strftim.c: Likewise.
30480 * manual/examples/strncat.c: Likewise.
30481 * manual/examples/subopt.c: Likewise.
30482 * manual/examples/swapcontext.c: Likewise.
30483 * manual/examples/termios.c: Likewise.
30484 * manual/examples/testopt.c: Likewise.
30485 * manual/examples/testpass.c: Likewise.
30486 * manual/examples/timeval_subtract.c: Likewise.
30489 * manual/time.texi (Elapsed Time): Move timeval_subtract example
30491 * manual/timeval_subtract.c.texi: ... here, new file.
30493 2012-03-02 David S. Miller <davem@davemloft.net>
30495 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
30497 2012-03-02 Joseph Myers <joseph@codesourcery.com>
30500 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
30501 (__sin): Save and restore rounding mode and use round-to-nearest
30502 for all computations.
30503 (__cos): Save and restore rounding mode and use round-to-nearest
30504 for all computations.
30505 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
30507 (tan): Save and restore rounding mode and use round-to-nearest for
30509 * math/libm-test.inc (cos_test_tonearest): New function.
30510 (cos_test_towardzero): Likewise.
30511 (cos_test_downward): Likewise.
30512 (cos_test_upward): Likewise.
30513 (sin_test_tonearest): Likewise.
30514 (sin_test_towardzero): Likewise.
30515 (sin_test_downward): Likewise.
30516 (sin_test_upward): Likewise.
30517 (tan_test_tonearest): Likewise.
30518 (tan_test_towardzero): Likewise.
30519 (tan_test_downward): Likewise.
30520 (tan_test_upward): Likewise.
30521 (main): Call the new functions.
30522 * sysdeps/i386/fpu/libm-test-ulps: Update.
30523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30526 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
30527 small n, then large n, before computing and testing k+n.
30528 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
30529 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
30531 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
30533 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
30534 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
30535 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
30536 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
30537 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30538 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30539 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
30540 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
30541 * math/libm-test.inc (scalbn_test): Add more tests.
30542 (scalbln_test): Likewise.
30544 * manual/filesys.texi (mode_t): Describe constraints on size and
30545 signedness, not exact equivalence to a particular type.
30547 (ino64_t): Likewise.
30549 (nlink_t): Likewise.
30550 (blkcnt_t): Likewise.
30551 (blkcnt64_t): Likewise.
30552 * manual/llio.texi (off_t): Likewise.
30555 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
30556 (__ieee754_exp): Save and restore rounding mode and use
30557 round-to-nearest for all computations.
30558 * math/libm-test.inc (exp_test_tonearest): New function.
30559 (exp_test_towardzero): Likewise.
30560 (exp_test_downward): Likewise.
30561 (exp_test_upward): Likewise.
30562 (main): Call the new functions.
30563 * sysdeps/i386/fpu/libm-test-ulps: Update.
30564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30566 2012-03-01 Chris Demetriou <cgd@google.com>
30568 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
30569 have predictable order.
30571 2012-03-01 David S. Miller <davem@davemloft.net>
30573 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
30575 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
30576 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
30577 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
30578 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
30580 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
30581 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
30582 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
30583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
30584 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
30585 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
30586 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
30587 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
30588 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
30590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30592 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
30593 * sysdeps/sparc/fpu/libm-test-ulps: to here.
30594 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
30596 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
30597 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30598 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30599 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
30600 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
30601 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
30602 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
30603 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30604 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30605 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
30606 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
30607 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30608 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30609 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30610 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30611 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30612 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
30613 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
30614 * sysdeps/sparc/elf/configure: Regenerated.
30616 2012-03-01 Joseph Myers <joseph@codesourcery.com>
30618 * configure.in (AS, LD): Require binutils 2.20 or later.
30619 * configure: Regenerated.
30620 * manual/install.texi (Tools for Compilation): Give binutils 2.20
30621 as required minimum version.
30622 * INSTALL: Regenerated.
30626 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
30627 before squaring exponent.
30628 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
30629 bottom long double and 27 bits of top long double before squaring
30631 * math/libm-test.inc (erfc_test): Add more tests.
30632 * sysdeps/i386/fpu/libm-test-ulps: Update.
30633 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30636 2012-03-01 Kai Tietz <ktietz@redhat.com>
30638 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
30639 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
30640 containing bit-fields.
30641 * soft-fp/extended.h (_FP_UNION_E): Likewise.
30642 * soft-fp/single.h (_FP_UNION_S): Likewise.
30643 * soft-fp/double.h (_FP_UNION_D): Likewise.
30645 2012-02-29 Joseph Myers <joseph@codesourcery.com>
30648 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
30649 not include ../strcmp.S.
30650 [USE_AS_STRNCASECMP_L]: Likewise.
30651 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
30652 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
30653 * sysdeps/i386/i686/multiarch/strncase_l-c.c
30654 (__strncasecmp_l_ia32): Define as alias to
30655 __strncasecmp_l_nonascii.
30658 * math/libm-test.inc (expm1_test): Add test for bug 5794.
30659 * sysdeps/i386/fpu/libm-test-ulps: Update.
30660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30662 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
30663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30665 2012-02-29 Jeff Law <law@redhat.com>
30667 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
30668 out of bounds read.
30670 2012-02-29 Marek Polacek <polacek@redhat.com>
30673 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
30674 * elf/Makefile: Add rules to run tst-unused-dep.out.
30676 2012-02-28 David S. Miller <davem@davemloft.net>
30678 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
30679 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
30680 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
30681 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
30682 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
30683 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
30685 2012-02-29 Joseph Myers <joseph@codesourcery.com>
30687 * math/libm-test.inc (llround_test): Move one test from
30688 lround_test. Use TEST_f_L in moved test.
30689 (lround_test): Move misplaced test to llround_test. Add testcase
30692 2012-02-28 Ulrich Drepper <drepper@gmail.com>
30694 * sysdeps/x86_64/fpu/e_expf.S: New file.
30695 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
30697 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
30700 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
30701 of remain_len that may cause incomplete multi-byte character and
30703 * posix/bug-regex33.c: New file.
30704 * posix/Makefile (tests): Add bug-regex33.
30706 2012-02-28 Joseph Myers <joseph@codesourcery.com>
30708 * manual/macros.texi: New file.
30709 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
30710 * manual/libc.texinfo: Include macros.texi.
30711 * manual/creatute.texi: Likewise.
30712 * manual/install.texi: Likewise.
30713 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
30714 @glibcadj{} in references to the GNU C Library.
30715 * manual/charset.texi: Likewise.
30716 * manual/conf.texi: Likewise.
30717 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
30718 when not using those macros.
30719 * manual/creature.texi: Likewise.
30720 * manual/crypt.texi: Likewise.
30721 * manual/errno.texi: Likewise.
30722 * manual/filesys.texi: Likewise.
30723 * manual/header.texi: Likewise.
30724 * manual/install.texi: Likewise.
30725 * manual/intro.texi: Likewise.
30726 * manual/io.texi: Likewise.
30727 * manual/job.texi: Likewise.
30728 * manual/lang.texi: Likewise.
30729 * manual/libc.texiinfo: Likewise.
30730 * manual/llio.texi: Likewise.
30731 * manual/locale.texi: Likewise.
30732 * manual/maint.texi: Likewise.
30733 * manual/math.texi: Likewise.
30734 * manual/memory.texi: Likewise.
30735 * manual/message.texi: Likewise.
30736 * manual/nss.texi: Likewise.
30737 * manual/pattern.texi: Likewise.
30738 * manual/process.texi: Likewise.
30739 * manual/resource.texi: Likewise.
30740 * manual/search.texi: Likewise.
30741 * manual/setjmp.texi: Likewise.
30742 * manual/signal.texi: Likewise.
30743 * manual/socket.texi: Likewise.
30744 * manual/startup.texi: Likewise.
30745 * manual/stdio.texi: Likewise.
30746 * manual/string.texi: Likewise.
30747 * manual/sysinfo.texi: Likewise.
30748 * manual/syslog.texi: Likewise.
30749 * manual/terminal.texi: Likewise.
30750 * manual/time.texi: Likewise.
30751 * manual/users.texi: Likewise.
30752 * INSTALL: Regenerated.
30753 * NOTES: Regenerated.
30754 * sysdeps/gnu/errlist.c: Regenerated.
30756 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
30758 * include/dirent.h: Include <dirstream.h> before
30761 2012-02-28 David S. Miller <davem@davemloft.net>
30763 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30764 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30765 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30766 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30768 2012-02-27 David S. Miller <davem@davemloft.net>
30770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30772 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30773 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30776 frame pointer instead of stack pointer relative arg slot.
30777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30778 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30779 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30781 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
30784 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30786 2012-02-27 David S. Miller <davem@davemloft.net>
30788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30792 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30793 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30794 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30795 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30797 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30799 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30800 later. Allow versions 5-9.
30801 * configure: Regenerated.
30802 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30803 required minimum version and 4.6 as recommended version. Do not
30804 mention bugs in GCC 2.7 and 2.8.
30805 * INSTALL: Regenerated.
30807 2012-02-27 David S. Miller <davem@davemloft.net>
30809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30813 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30814 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30815 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30816 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30818 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30819 manipulate bits before adding and subtracting TWO112[sx].
30820 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30822 2012-02-27 Roland McGrath <roland@hack.frob.com>
30825 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30826 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30827 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30828 being in POSIX, because they are in 1003.1-2008.
30830 * rt/tst-aio.c: Include <fcntl.h>.
30831 * rt/tst-aio7.c: Likewise.
30832 * rt/tst-aio64.c: Likewise.
30834 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30836 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30838 * manual/install.texi (--with-headers): Describe headers as
30839 interface headers, not private headers.
30840 (Specific advice for GNU/Linux systems): Describe use of headers
30841 from "make headers_install", not private headers from older
30843 * INSTALL: Regenerated.
30844 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30846 * sysdeps/unix/sysv/linux/configure: Regenerated.
30848 * manual/llio.texi (fclean): Remove documentation.
30850 * manual/Makefile (libc-texi-generated): New variable. Include
30852 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30853 $(libc-texi-generated), not duplicated list of files.
30854 (version.texi, stamp-version): New rules.
30855 (realclean): Remove $(libc-texi-generated), not individual files
30856 from that list. Do not remove dir-add.texinfo.
30857 * manual/libc.texinfo: Comment out uses of edition numbers and
30858 references to printed manual. Remove last-updated dates.
30859 (EDITION): Comment out.
30861 (VERSION, UPDATED): Remove.
30862 (version.texi): Include.
30864 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
30866 * sysdeps/posix/spawni.c: Include <signal.h>.
30867 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30868 * sysdeps/pthread/aio_fsync.c: Likewise.
30870 2012-02-26 Ulrich Drepper <drepper@gmail.com>
30872 * conform/Makefile (tests): Run only when not cross-compiling and
30873 when fast-check is not defined.
30875 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30876 * conform/data/limits.h-data: Fixes for POSIX2008.
30877 * conform/run-conformtest.sh: Run all tests.
30878 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30880 * include/bits/dlfcn.h: Likewise.
30881 * include/langinfo.h: Likewise.
30882 * include/monetary.h: Likewise.
30883 * include/sys/poll.h: Likewise.
30885 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30887 * posix/spawn.h: Define __need_sigset_t.
30888 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30889 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30890 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
30891 to get sigevent_t only.
30892 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30893 only for __USE_GNU.
30894 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30895 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30896 process_vm_writev only for __USE_GNU.
30897 * termios/termios.h: Declare tcgetsid also for POSIX2008.
30899 * conform/Makefile: For now ignore errors from run-conformtest.
30900 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
30901 POSIX to avoid namespace pollution. Don't prepend headers.
30902 * conform/data/aio.h-data: Fixes for POSIX testing.
30903 * conform/data/fcntl.h-data: Likewise.
30904 * conform/data/glob.h-data: Likewise.
30905 * conform/data/grp.h-data: Likewise.
30906 * conform/data/pthread.h-data: Likewise.
30907 * conform/data/pwd.h-data: Likewise.
30908 * conform/data/signal.h-data: Likewise.
30909 * conform/data/spawn.h-data: Likewise.
30910 * conform/data/stdio.h-data: Likewise.
30911 * conform/data/stdlib.h-data: Likewise.
30912 * conform/data/stropts.h-data: Likewise.
30913 * conform/data/sys/mman.h-data: Likewise.
30914 * conform/data/sys/stat.h-data: Likewise.
30915 * conform/data/sys/types.h-data: Likewise.
30916 * conform/data/sys/wait.h-data: Likewise.
30917 * conform/data/time.h-data: Likewise.
30918 * conform/data/unistd.h-data: Likewise.
30919 * conform/data/utime.h-data: Likewise.
30921 * io/sys/stat.h: fchmod was always in POSIX.
30922 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30923 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30924 * rt/aio.h: Define __need_timespec before including <time.h>.
30925 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30926 struct. Add forward declaration of pthread_attr_t and use it in
30928 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30929 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30930 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30931 always remove CLK_TCK definition.
30933 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
30935 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30937 2012-02-25 Ulrich Drepper <drepper@gmail.com>
30939 * conform/run-conformtest.sh: New file.
30940 * conform/Makefile: Run run-conformtest for tests.
30941 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
30944 * conform/data/uchar.h-data: New file.
30945 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30946 * conform/data/arpa/inet.h-data: Likewise.
30947 * conform/data/assert.h-data: Likewise.
30948 * conform/data/complex.h-data: Likewise.
30949 * conform/data/cpio.h-data: Likewise.
30950 * conform/data/ctype.h-data: Likewise.
30951 * conform/data/dirent.h-data: Likewise.
30952 * conform/data/dlfcn.h-data: Likewise.
30953 * conform/data/errno.h-data: Likewise.
30954 * conform/data/fcntl.h-data: Likewise.
30955 * conform/data/float.h-data: Likewise.
30956 * conform/data/fmtmsg.h-data: Likewise.
30957 * conform/data/fnmatch.h-data: Likewise.
30958 * conform/data/ftw.h-data: Likewise.
30959 * conform/data/glob.h-data: Likewise.
30960 * conform/data/grp.h-data: Likewise.
30961 * conform/data/iconv.h-data: Likewise.
30962 * conform/data/inttypes.h-data: Likewise.
30963 * conform/data/langinfo.h-data: Likewise.
30964 * conform/data/libgen.h-data: Likewise.
30965 * conform/data/limits.h-data: Likewise.
30966 * conform/data/locale.h-data: Likewise.
30967 * conform/data/math.h-data: Likewise.
30968 * conform/data/monetary.h-data: Likewise.
30969 * conform/data/mqueue.h-data: Likewise.
30970 * conform/data/ndbm.h-data: Likewise.
30971 * conform/data/net/if.h-data: Likewise.
30972 * conform/data/netdb.h-data: Likewise.
30973 * conform/data/netinet/in.h-data: Likewise.
30974 * conform/data/nl_types.h-data: Likewise.
30975 * conform/data/poll.h-data: Likewise.
30976 * conform/data/pthread.h-data: Likewise.
30977 * conform/data/pwd.h-data: Likewise.
30978 * conform/data/regex.h-data: Likewise.
30979 * conform/data/sched.h-data: Likewise.
30980 * conform/data/search.h-data: Likewise.
30981 * conform/data/semaphore.h-data: Likewise.
30982 * conform/data/setjmp.h-data: Likewise.
30983 * conform/data/signal.h-data: Likewise.
30984 * conform/data/spawn.h-data: Likewise.
30985 * conform/data/stdarg.h-data: Likewise.
30986 * conform/data/stdio.h-data: Likewise.
30987 * conform/data/stdlib.h-data: Likewise.
30988 * conform/data/string.h-data: Likewise.
30989 * conform/data/strings.h-data: Likewise.
30990 * conform/data/stropts.h-data: Likewise.
30991 * conform/data/sys/ipc.h-data: Likewise.
30992 * conform/data/sys/mman.h-data: Likewise.
30993 * conform/data/sys/msg.h-data: Likewise.
30994 * conform/data/sys/resource.h-data: Likewise.
30995 * conform/data/sys/select.h-data: Likewise.
30996 * conform/data/sys/sem.h-data: Likewise.
30997 * conform/data/sys/shm.h-data: Likewise.
30998 * conform/data/sys/socket.h-data: Likewise.
30999 * conform/data/sys/stat.h-data: Likewise.
31000 * conform/data/sys/statvfs.h-data: Likewise.
31001 * conform/data/sys/time.h-data: Likewise.
31002 * conform/data/sys/timeb.h-data: Likewise.
31003 * conform/data/sys/times.h-data: Likewise.
31004 * conform/data/sys/types.h-data: Likewise.
31005 * conform/data/sys/uio.h-data: Likewise.
31006 * conform/data/sys/un.h-data: Likewise.
31007 * conform/data/sys/utsname.h-data: Likewise.
31008 * conform/data/sys/wait.h-data: Likewise.
31009 * conform/data/syslog.h-data: Likewise.
31010 * conform/data/tar.h-data: Likewise.
31011 * conform/data/termios.h-data: Likewise.
31012 * conform/data/utime.h-data: Likewise.
31013 * conform/data/utmpx.h-data: Likewise.
31014 * conform/data/varargs.h-data: Likewise.
31015 * conform/data/wchar.h-data: Likewise.
31016 * conform/data/wctype.h-data: Likewise.
31017 * conform/data/wordexp.h-data: Likewise.
31019 * include/stropts.h: New file.
31020 * include/uchar.h: New file.
31021 * include/aio.h: Changes to allow conformtest.pl to use the headers.
31022 * include/assert.h: Likewise.
31023 * include/ctype.h: Likewise.
31024 * include/dirent.h: Likewise.
31025 * include/dlfcn.h: Likewise.
31026 * include/fcntl.h: Likewise.
31027 * include/fnmatch.h: Likewise.
31028 * include/glob.h: Likewise.
31029 * include/grp.h: Likewise.
31030 * include/libio.h: Likewise.
31031 * include/locale.h: Likewise.
31032 * include/math.h: Likewise.
31033 * include/net/if.h: Likewise.
31034 * include/netdb.h: Likewise.
31035 * include/netinet/in.h: Likewise.
31036 * include/pthread.h: Likewise.
31037 * include/pwd.h: Likewise.
31038 * include/regex.h: Likewise.
31039 * include/sched.h: Likewise.
31040 * include/search.h: Likewise.
31041 * include/setjmp.h: Likewise.
31042 * include/signal.h: Likewise.
31043 * include/stdio.h: Likewise.
31044 * include/stdlib.h: Likewise.
31045 * include/string.h: Likewise.
31046 * include/sys/cdefs.h: Likewise.
31047 * include/sys/mman.h: Likewise.
31048 * include/sys/msg.h: Likewise.
31049 * include/sys/resource.h: Likewise.
31050 * include/sys/select.h: Likewise.
31051 * include/sys/socket.h: Likewise.
31052 * include/sys/stat.h: Likewise.
31053 * include/sys/statvfs.h: Likewise.
31054 * include/sys/time.h: Likewise.
31055 * include/sys/times.h: Likewise.
31056 * include/sys/uio.h: Likewise.
31057 * include/sys/utsname.h: Likewise.
31058 * include/sys/wait.h: Likewise.
31059 * include/termios.h: Likewise.
31060 * include/time.h: Likewise.
31061 * include/ulimit.h: Likewise.
31062 * include/unistd.h: Likewise.
31063 * include/utime.h: Likewise.
31064 * include/wchar.h: Likewise.
31065 * include/wctype.h: Likewise.
31066 * include/wordexp.h: Likewise.
31068 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31070 * time/time.h: TIME_UTC must be a macro.
31071 Make timespec_get available for ISO C11 only as well.
31073 2012-02-24 Ulrich Drepper <drepper@gmail.com>
31075 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
31076 Reported by Peng Haitao <penght@cn.fujitsu.com>.
31078 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31080 * configure.in: Use -o not -a in test for unsupported multi-arch.
31082 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31084 * manual/texinfo.tex: Update to version 2012-01-19.16.
31086 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31088 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
31090 2012-02-24 Roland McGrath <roland@hack.frob.com>
31093 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
31094 * manual/fdl-1.3.texi: New file.
31095 * manual/fdl-1.1.texi: File removed.
31098 * manual/libc.texinfo (FDL_VERSION): New @set.
31099 Use it for mention of FDL in cover text.
31100 (Documentation License): Use it in @include file name.
31102 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31103 Roland McGrath <roland@hack.frob.com>
31106 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
31107 not LONG_LONG_MAX and LONG_LONG_MIN.
31108 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
31109 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
31111 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
31113 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31117 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
31118 manipulate bits before adding and subtracting TWO23[sx].
31119 * math/libm-test.inc (nearbyint_test): Add more tests.
31121 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31124 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
31125 bits before adding and subtracting TWO23[sx].
31126 * math/libm-test.inc (rint_test): Add more tests.
31127 (rint_test_tonearest): Likewise.
31128 (rint_test_towardzero): Likewise.
31129 (rint_test_downward): Likewise.
31130 (rint_test_upward: Likewise.
31132 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31135 * include/stdc-predef.h: New file. Extracted from features.h.
31136 * include/features.h: Include stdc-predef.h.
31137 * Makefile (headers): Add stdc-predef.h.
31138 * CONFORMANCE (Compiler limitations): Update.
31140 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31142 * manual/libc.texinfo (VERSION, UPDATED): Revert.
31144 2012-02-21 David S. Miller <davem@davemloft.net>
31146 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
31147 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31149 2012-02-20 David S. Miller <davem@davemloft.net>
31151 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
31152 using a normal save/restore sequence, rather than allocating a
31153 dummy stack frame just to store a frame pointer and restore.
31154 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31156 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31158 * manual/install.texi: Fix stray word in line-wrapped comment.
31160 2012-02-20 David S. Miller <davem@davemloft.net>
31162 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
31163 both binutils and gcc support GOTDATA.
31165 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
31166 "rd %pc" in the PIC register setup sequences.
31168 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
31169 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31170 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31171 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31172 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31173 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31174 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31175 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31176 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
31177 (SYSCALL_ERROR_HANDLER): Likewise.
31178 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31179 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31180 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
31181 (SYSCALL_ERROR_HANDLER): Likewise.
31183 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
31184 (HAVE_GCC_GOTDATA): New.
31185 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
31186 relocation support in both binutils and gcc.
31187 * sysdeps/sparc/elf/configure: Regenerate.
31189 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
31190 * sysdeps/sparc/sparc32/elf/configure: Delete.
31191 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
31192 * sysdeps/sparc/sparc64/elf/configure: Delete.
31193 * sysdeps/sparc/elf/configure.in: New file.
31194 * sysdeps/sparc/elf/configure: Generate.
31196 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
31197 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
31198 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31199 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
31200 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
31202 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31204 * manual/install.texi: Do not mention specific glibc version
31206 * manual/libc.texinfo (VERSION, UPDATED): Update.
31207 (@copying): Use @copyright{} and range of years.
31209 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31212 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
31213 [crti.S not in sysdirs] (generated): Do not append.
31214 [crti.S not in sysdirs] (omit-deps): Likewise.
31215 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
31216 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
31217 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
31218 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
31219 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
31221 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
31222 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
31223 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
31224 * csu/defs.awk: Remove file.
31225 * sysdeps/generic/initfini.c: Likewise.
31226 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
31228 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
31231 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31233 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
31234 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
31235 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
31236 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
31237 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31238 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
31240 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
31241 (__EPOLL_PACKED): Define to empty if not defined by
31243 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
31244 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31247 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31249 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
31250 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
31251 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
31252 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
31254 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
31255 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31258 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31260 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
31262 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31263 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31264 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
31265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31267 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
31269 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31270 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31272 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
31274 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
31275 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
31277 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
31279 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
31282 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
31284 * math/w_acos.c: Use non-signaling floating-point comparisons.
31285 * math/w_acosf.c: Likewise.
31286 * math/w_acosh.c: Likewise.
31287 * math/w_acoshf.c: Likewise.
31288 * math/w_acoshl.c: Likewise.
31289 * math/w_acosl.c: Likewise.
31290 * math/w_asin.c: Likewise.
31291 * math/w_asinf.c: Likewise.
31292 * math/w_asinl.c: Likewise.
31293 * math/w_atanh.c: Likewise.
31294 * math/w_atanhf.c: Likewise.
31295 * math/w_atanhl.c: Likewise.
31296 * math/w_exp2.c: Likewise.
31297 * math/w_exp2f.c: Likewise.
31298 * math/w_exp2l.c: Likewise.
31299 * math/w_j0.c: Likewise.
31300 * math/w_j0f.c: Likewise.
31301 * math/w_j0l.c: Likewise.
31302 * math/w_j1.c: Likewise.
31303 * math/w_j1f.c: Likewise.
31304 * math/w_j1l.c: Likewise.
31305 * math/w_jn.c: Likewise.
31306 * math/w_jnf.c: Likewise.
31307 * math/w_log.c: Likewise.
31308 * math/w_log10.c: Likewise.
31309 * math/w_log10f.c: Likewise.
31310 * math/w_log10l.c: Likewise.
31311 * math/w_log2.c: Likewise.
31312 * math/w_log2f.c: Likewise.
31313 * math/w_log2l.c: Likewise.
31314 * math/w_logf.c: Likewise.
31315 * math/w_logl.c: Likewise.
31316 * math/w_sqrt.c: Likewise.
31317 * math/w_sqrtf.c: Likewise.
31318 * math/w_sqrtl.c: Likewise.
31319 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31320 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31321 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31322 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31323 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31325 2012-02-19 Joseph Myers <joseph@codesourcery.com>
31328 * manual/string.texi (strnlen): Use correct parameter name in
31329 equivalent expression.
31331 2012-02-19 Joseph Myers <joseph@codesourcery.com>
31334 * manual/users.texi (seteuid): Consistently use neweuid for
31337 2012-02-19 Joseph Myers <joseph@codesourcery.com>
31340 * manual/nss.texi (Services in the NSS configuration): Correct
31341 list of services in example configuration file.
31343 2012-02-19 Nick Bowler <nbowler@draconx.ca>
31346 * manual/arith.texi: Remove statements about negative zero
31347 behaving identically to zero.
31349 2012-02-18 Joseph Myers <joseph@codesourcery.com>
31352 * manual/install.texi: Do not document upgrading from libc5.
31354 2012-02-18 Joseph Myers <joseph@codesourcery.com>
31357 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
31359 2012-02-18 David S. Miller <davem@davemloft.net>
31361 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
31362 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
31363 %o7 across the call.
31364 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
31366 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
31367 SETUP_PIC_REG_LEAF.
31368 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31369 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
31370 * sysdeps/sparc/crtn.S: Likewise.
31372 2012-02-17 Ulrich Drepper <drepper@gmail.com>
31374 * aout/Makefile: Remove.
31376 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
31379 * manual/examples/argp-ex1.c (main): Format definition in GNU
31381 * manual/examples/argp-ex2.c (main): Likewise.
31382 * manual/examples/argp-ex3.c (main): Likewise.
31383 * manual/examples/argp-ex4.c (main): Likewise.
31384 * manual/examples/longopt.c (main): Use new-style prototype
31386 * manual/examples/strncat.c (main): Specify return type and use
31387 (void) for arguments.
31388 * manual/examples/subopt.c (main): Use char **argv argument.
31390 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31393 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
31396 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
31399 * manual/string.texi (strchr): Change when strchrnul is
31402 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
31405 * manual/locale.texi (setlocale): Document LOCPATH.
31407 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31410 * manual/process.texi (execle): Move @dots{} before last argument.
31412 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
31415 * manual/charset.texi (Generic Charset Conversion): Fix typo
31416 (LC_TYPE -> LC_CTYPE).
31418 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
31421 * manual/arith.texi (scalbn): Use @var{} on parameter names.
31422 (scalbnf): Likewise.
31423 (scalbnl): Likewise.
31424 (scalbln): Likewise.
31425 (scalblnf): Likewise.
31426 (scalblnl): Likewise.
31427 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
31428 (vwarnx): Likewise.
31431 * manual/filesys.texi (telldir): Use braces around return type.
31432 * manual/llio.texi (mmap): Add space after comma.
31433 (mmap64): Likewise.
31434 * manual/math.texi (jn): Use @var{} on parameter names.
31440 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
31442 * manual/resource.texi (ulimit): Use @dots{} instead of literal
31444 (sched_get_priority_min): Remove semicolon on @deftypefun line.
31445 (sched_get_priority_max): Likewise.
31446 * manual/signal.texi (sigvec): Add space after comma.
31447 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
31449 (if_indextoname): Likewise.
31450 (if_freenameindex): Likewise.
31451 (sendto): Use ',' instead of '.' in prototype.
31452 * manual/startup.texi (syscall): Use @dots{} instead of literal
31454 * manual/stdio.texi (__fpending): Separate initial words of
31455 paragraph from @deftypefun line.
31456 * manual/syslog.texi (syslog): Use @dots{} instead of literal
31458 (vsyslog): Use @var{} on parameter names.
31459 * manual/terminal.texi (stty): Use @var{} on parameter names.
31460 * manual/users.texi (getutmp): Use @var{} on parameter names.
31461 (getutmpx): Likewise.
31463 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31466 * manual/stdio.texi (fopen): Fix typos in description of
31469 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
31472 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
31473 get clock_id definition.
31475 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
31478 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
31479 (madvise): Cast every argument to void on its own.
31481 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31484 * manual/startup.texi (Exit Status): Fix typo.
31486 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31489 * manual/examples/argp-ex1.c: Include <stdlib.h>.
31490 * manual/examples/argp-ex2.c: Likewise.
31491 * manual/examples/argp-ex3.c: Likewise.
31493 2012-02-16 Richard Henderson <rth@redhat.com>
31495 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
31496 * sysdeps/s390/s390-32/initfini.c: Remove.
31497 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
31498 * sysdeps/s390/s390-64/initfini.c: Remove.
31500 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31502 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
31503 compiler output for sysdeps/generic/initfini.c.
31504 * sysdeps/sh/elf/initfini.c: Remove file.
31506 2012-02-16 David S. Miller <davem@davemloft.net>
31509 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
31511 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
31512 * sysdeps/sparc/crti.S: New file.
31513 * sysdeps/sparc/crtn.S: New file.
31514 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
31515 * sysdeps/sparc/sparc64/Makefile: Likewise.
31517 2012-02-15 Mike Frysinger <vapier@gentoo.org>
31520 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
31522 2012-02-15 Roland McGrath <roland@hack.frob.com>
31525 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
31527 * mach/devstream.c (cookie_io_functions_t): Macro removed.
31528 (write, read, close): Likewise.
31529 Patch by Aurelien Jarno <aurelien@aurel32.net>.
31531 2012-02-15 Joseph Myers <joseph@codesourcery.com>
31533 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
31534 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
31535 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
31536 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
31538 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
31539 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31542 2012-02-14 Marek Polacek <polacek@redhat.com>
31544 * sysdeps/x86_64/crti.S: New file.
31545 * sysdeps/x86_64/crtn.S: New file.
31546 * sysdeps/x86_64/elf/initfini.c: Remove file.
31548 2012-02-13 Joseph Myers <joseph@codesourcery.com>
31550 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
31551 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
31552 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
31553 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
31555 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
31556 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31559 2012-02-13 Joseph Myers <joseph@codesourcery.com>
31561 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
31562 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
31563 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
31564 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
31566 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
31567 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31570 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
31572 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
31573 __feraiseexcept instead of feraiseexcept.
31575 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
31576 nanosleep invocations.
31577 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
31578 strings, and add error checking for a nanosleep invocations.
31580 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
31582 Replace FSF snail mail address with URLs, as per GNU coding standards.
31583 Most of the snail mail addresses were wrong anyway, and omitting
31584 them makes the source code easier to maintain. Almost all of the
31585 changes are to license notices and to locale LC_IDENTIFICATION
31586 addresses, except for this one:
31587 * manual/libc.texinfo: In "Published by", give the FSF's URL,
31588 not its snail mail address.
31590 2012-02-09 Richard Henderson <rth@twiddle.net>
31592 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
31593 of kernel-features.h.
31595 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
31597 2012-02-08 Marek Polacek <polacek@redhat.com>
31599 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
31600 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
31601 * sysdeps/gnu/_G_config.h: Likewise.
31602 * sysdeps/generic/_G_config.h: Likewise.
31604 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
31606 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
31608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31610 * sysdeps/powerpc/powerpc32/crti.S: New file.
31611 * sysdeps/powerpc/powerpc32/crtn.S: New file.
31612 * sysdeps/powerpc/powerpc64/crti.S: New file.
31613 * sysdeps/powerpc/powerpc64/crtn.S: New file.
31615 * Makeconfig (have-initfini): Don't set.
31616 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
31617 * configure.in (nopic_initfini): Don't substitute.
31618 * config.h.in (HAVE_INITFINI): Don't #undef.
31619 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
31620 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
31622 2012-02-08 Joseph Myers <joseph@codesourcery.com>
31624 Support crti.S and crtn.S provided directly by architectures.
31625 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
31626 [crti.S in sysdirs] (omit-deps): Likewise.
31627 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
31628 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
31629 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
31630 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
31631 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
31632 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
31633 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
31634 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
31635 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
31636 compiler output for sysdeps/generic/initfini.c.
31637 * sysdeps/i386/elf/Makefile: Remove file.
31638 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
31640 2012-02-07 Marek Polacek <polacek@redhat.com>
31642 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
31643 * sysdeps/gnu/_G_config.h: Likewise.
31644 * sysdeps/mach/hurd/_G_config.h: Likewise.
31646 2012-02-07 Marek Polacek <polacek@redhat.com>
31648 * math/Makefile (tests): Add tst-CMPLX2.
31649 * math/tst-CMPLX2.c: New file.
31651 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
31653 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31655 * math/libm-test.inc (jn_test): Add missing L suffix.
31657 2012-02-06 Marek Polacek <polacek@redhat.com>
31659 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
31660 * sysdeps/i386/fpu/e_powf.S: Likewise.
31661 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31662 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31663 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31664 * sysdeps/i386/fpu/e_pow.S: Likewise.
31665 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31666 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31667 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31668 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31669 * sysdeps/i386/fpu/e_log2.S: Likewise.
31670 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31671 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31672 * sysdeps/i386/fpu/e_powl.S: Likewise.
31673 * sysdeps/i386/fpu/s_log1p.S: Likewise.
31674 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31675 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31676 * sysdeps/i386/fpu/e_logl.S: Likewise.
31677 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31678 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
31679 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31680 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31681 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31682 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31683 * sysdeps/i386/fpu/e_log.S: Likewise.
31684 * sysdeps/i386/fpu/s_cexp.S: Likewise.
31685 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31686 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
31687 * sysdeps/i386/fpu/e_logf.S: Likewise.
31688 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31689 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31690 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
31691 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31692 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31693 * sysdeps/i386/fpu/e_log10.S: Likewise.
31694 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31695 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31696 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31697 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31698 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31699 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31700 * sysdeps/i386/asm-syntax.h: Likewise.
31701 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31702 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31703 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31704 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
31705 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
31706 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31707 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31708 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31709 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31710 * sysdeps/powerpc/sysdep.h: Likewise.
31711 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
31712 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31714 2012-02-06 Joseph Myers <joseph@codesourcery.com>
31717 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
31719 2012-02-06 Joseph Myers <joseph@codesourcery.com>
31721 * sysdeps/i386/sysdep.h: Include <features.h>.
31722 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
31725 2012-02-05 Joseph Myers <joseph@codesourcery.com>
31727 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31729 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31732 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31734 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
31735 (SETUP_PIC_REG): Use GET_PC_THUNK.
31736 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31739 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31741 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31742 for non-PIC compilation.
31743 (SETUP_PIC_REG): Add .p2align directive.
31744 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31745 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31746 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31747 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31748 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31749 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31750 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31751 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31752 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31753 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31754 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31755 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31756 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31757 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31758 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31759 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31760 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31761 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31762 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31763 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31764 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31765 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31766 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31767 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31768 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31769 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31770 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31771 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31772 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31773 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31774 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31775 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31776 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31777 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31778 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31779 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31780 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31781 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31782 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31783 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31784 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31786 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31788 * math/tst-CMPLX.c: Include <stdio.h>.
31790 2012-01-31 Joseph Myers <joseph@codesourcery.com>
31792 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31794 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31795 * sysdeps/sparc/bits/mathdef.h: Likewise.
31797 2012-01-31 Marek Polacek <polacek@redhat.com>
31799 * libio/libio.h: Don't define _PARAMS.
31800 * locale/programs/config.h: Don't define PARAMS.
31801 * stdlib/strtol_l.c: Likewise.
31802 (__strtol_l): Remove PARAMS from the prototype.
31804 2012-01-31 Ulrich Drepper <drepper@gmail.com>
31806 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
31807 names. Just use the correct names. Remove unnecessary wrapper
31809 * malloc/arena.c: Likewise.
31810 * malloc/hooks.c: Likewise.
31812 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31813 ARENA_TEST says not to. Simplify test for creation of a new arena.
31814 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31816 2012-01-30 Ulrich Drepper <drepper@gmail.com>
31818 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31820 (update_get_addr): New function.
31821 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31822 GET_ADDR_MODULE parameter.
31824 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31826 * crypt/cert.c: Remove __STDC__ conditionals.
31827 * crypt/crypt-entry.c: Likewise.
31828 * crypt/crypt_util.c: Likewise.
31829 * libio/filedoalloc.c: Likewise.
31830 * libio/fileops.c: Likewise.
31831 * libio/genops.c: Likewise.
31832 * libio/iofclose.c: Likewise.
31833 * libio/iofdopen.c: Likewise.
31834 * libio/iofopen.c: Likewise.
31835 * libio/iofopen64.c: Likewise.
31836 * libio/iogetdelim.c: Likewise.
31837 * libio/iopopen.c: Likewise.
31838 * libio/obprintf.c: Likewise.
31839 * libio/oldfileops.c: Likewise.
31840 * libio/oldiofclose.c: Likewise.
31841 * libio/oldiofdopen.c: Likewise.
31842 * libio/oldiofopen.c: Likewise.
31843 * libio/oldiopopen.c: Likewise.
31844 * libio/wfiledoalloc.c: Likewise.
31845 * libio/wgenops.c: Likewise.
31846 * locale/programs/xmalloc.c: Likewise.
31847 * misc/syslog.c: Likewise.
31848 * stdio-common/xbug.c: Likewise.
31849 * string/memchr.c: Likewise.
31850 * string/memcmp.c: Likewise.
31851 * string/memrchr.c: Likewise.
31852 * string/rawmemchr.c: Likewise.
31853 * sysdeps/posix/getcwd.c: Likewise.
31854 * time/strftime_l.c: Likewise.
31856 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31858 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31859 * config.make.in (config-cflags-sse2avx): Define.
31860 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31863 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
31865 * scripts/config.guess: Update from upstream config git repository.
31866 * scripts/config.sub: Likewise.
31868 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
31870 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31872 (R_TILEPRO_*, R_TILEGX_*): New macros.
31874 * scripts/firstversions.awk: Fix bug in version range handling.
31876 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31878 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31880 * include/sys/epoll.h: New file.
31881 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31884 2012-01-28 Ulrich Drepper <drepper@gmail.com>
31886 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31887 Avoid unnecessary __WORDSIZE == 64 test.
31888 (fmaxf): Use VEX format if possible.
31893 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31894 * math/math_private.h: Remove libc_fegetround* and
31896 * sysdeps/i386/configure.in: Check for -msse2avx.
31897 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31898 also if SSE2AVX is defined.
31899 Remove libc_fegetround* and libc_fesetround*.
31900 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31901 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
31902 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31904 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31905 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31906 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31907 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31908 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31910 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31912 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31914 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31916 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31918 2012-01-27 Ulrich Drepper <drepper@gmail.com>
31921 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31923 * Makeconfig (libm): Define.
31924 * elf/Makefile: Add rules to build and run tst-relsort1.
31925 * elf/tst-relsort1.c: New file.
31926 * elf/tst-relsort1mod1.c: New file.
31927 * elf/tst-relsort1mod2.c: New file.
31929 2012-01-27 Joseph Myers <joseph@codesourcery.com>
31931 * math/s_ldexp.c: Remove __STDC__ conditionals.
31932 * math/s_ldexpf.c: Likewise.
31933 * math/s_ldexpl.c: Likewise.
31934 * math/s_nextafter.c: Likewise.
31935 * math/s_nexttowardf.c: Likewise.
31936 * math/s_significand.c: Likewise.
31937 * math/s_significandf.c: Likewise.
31938 * math/s_significandl.c: Likewise.
31939 * math/w_jnl.c: Likewise.
31940 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31941 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31942 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31943 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31944 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31945 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31946 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31947 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31948 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31949 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31950 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31951 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31952 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31953 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31954 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31955 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31956 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31957 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31958 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31959 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31960 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31961 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31962 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31963 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31964 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31965 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31966 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31967 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31968 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31969 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31970 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31971 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31972 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31973 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31974 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31975 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31976 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31977 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31978 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31979 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31980 * sysdeps/ieee754/k_standard.c: Likewise.
31981 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31982 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31983 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31984 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31985 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31986 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31987 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31988 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31989 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31990 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31991 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31992 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31993 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31994 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31995 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31996 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31997 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31998 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31999 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32000 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32001 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32002 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32003 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32004 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32005 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32006 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32007 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32008 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32009 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32010 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32011 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32012 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
32013 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32014 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32015 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32016 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32017 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
32018 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32019 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32020 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
32021 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
32022 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32023 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32024 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
32025 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32026 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32027 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32028 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32029 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32030 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32031 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
32032 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32033 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32034 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32035 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32036 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32037 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32038 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32039 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32040 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32041 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32042 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32043 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32044 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32045 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32046 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32047 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32048 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32049 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32050 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32051 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32052 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32053 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32054 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32055 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32056 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32057 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32058 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32059 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32060 * sysdeps/ieee754/s_matherr.c: Likewise.
32061 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32062 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32063 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32064 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32066 2012-01-26 Joseph Myers <joseph@codesourcery.com>
32068 * crypt/md5.h: Remove __STDC__ conditionals.
32069 * libio/libioP.h: Likewise.
32070 * locale/programs/config.h: Likewise.
32071 * sysdeps/generic/sysdep.h: Likewise.
32072 * sysdeps/i386/asm-syntax.h: Likewise.
32073 * sysdeps/s390/asm-syntax.h: Likewise.
32074 * sysdeps/unix/sysdep.h: Likewise.
32075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32078 2012-01-26 Joseph Myers <joseph@codesourcery.com>
32080 * libio/libio.h: Remove __STDC__ conditionals.
32081 * malloc/obstack.h: Likewise.
32082 * math/complex.h: Likewise.
32083 * math/math.h: Likewise.
32084 * sysdeps/generic/_G_config.h: Likewise.
32085 * sysdeps/gnu/_G_config.h: Likewise.
32086 * sysdeps/mach/hurd/_G_config.h: Likewise.
32087 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32088 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32089 * sysdeps/sparc/bits/mathdef.h: Likewise.
32091 2012-01-26 Ulrich Drepper <drepper@gmail.com>
32094 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
32095 Clean up HAS_* macros.
32096 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
32097 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
32099 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
32101 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32102 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32103 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32104 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32105 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32107 2012-01-25 Joseph Myers <joseph@codesourcery.com>
32109 * elf/tst-unique3.cc (gets): Remove declaration.
32110 * elf/tst-unique3lib.cc (gets): Likewise.
32111 * elf/tst-unique3lib2.cc (gets): Likewise.
32112 * elf/tst-unique4.cc (gets): Likewise.
32114 2012-01-24 Ulrich Drepper <drepper@gmail.com>
32116 * include/stdio.h: Add C++ protection. Add gets declarations and
32118 * debug/tst-chk1.c: Don't declare gets here.
32119 * stdio-common/tst-gets.c: Likewise.
32121 2012-01-24 Joseph Myers <joseph@codesourcery.com>
32123 * posix/glob: Remove directory.
32125 2012-01-24 Joseph Myers <joseph@codesourcery.com>
32127 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
32129 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
32131 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
32132 of the non-standard EPFNOSUPPORT.
32134 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
32136 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
32137 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
32138 ANYWHERE set to 1 only on KERN_NO_SPACE error.
32140 2012-01-21 Ulrich Drepper <drepper@gmail.com>
32142 * wcsmbs/uchar.h: Test __STDC_VERSION__.
32144 2012-01-20 Ulrich Drepper <drepper@gmail.com>
32146 * nscd/aicache.c (addhstaiX): Do not cache negative results of
32148 * nscd/grpcache.c (cache_addgr): Likewise.
32149 * nscd/hstcache.c (cache_addhst): Likewise.
32150 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32151 * nscd/pwdcache.c (cache_addpw): Likewise.
32152 * nscd/servicescache.c (cache_addserv): Likewise.
32154 2012-01-16 Ulrich Drepper <drepper@gmail.com>
32156 * malloc/malloc.c: Various cleanups.
32157 * malloc/hooks.c: Likewise.
32159 * stdlib/Makefile (tests): Add bug-fmtmsg1.
32160 * stdlib/bug-fmtmsg1.c: New file.
32162 * stdlib/fmtmsg.c (init): Add missing unlock.
32163 Patch by Peng Haitao <penght@cn.fujitsu.com>.
32165 2012-01-12 Marek Polacek <polacek@redhat.com>
32167 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
32170 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32172 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
32173 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
32174 macro to ensure uniqueness of label name.
32175 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32176 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32178 2012-01-11 Ulrich Drepper <drepper@gmail.com>
32180 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
32182 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
32183 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32184 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32185 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
32187 2012-01-10 Ulrich Drepper <drepper@gmail.com>
32189 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
32191 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
32192 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32193 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32195 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
32197 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
32198 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32199 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32200 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
32202 * math/bits/math-finite.h: Add ldexp support.
32204 2012-01-10 Marek Polacek <polacek@redhat.com>
32206 * locale/programs/localedef.h (show_archive_content): Add noreturn
32209 2012-01-09 Ulrich Drepper <drepper@gmail.com>
32211 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
32213 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32215 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
32217 * io/Makefile (headers): Add bits/poll2.h.
32219 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
32221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
32222 typo #include statement.
32224 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32226 * include/sys/cdefs.h: Define __attribute_alloc_size.
32227 * catgets/gencat.c: Add alloc_size attribute and apply consistently
32228 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
32229 * elf/pldd.c: Likewise.
32230 * iconv/iconv_charmap.c: Likewise.
32231 * iconv/iconvconfig.c: Likewise.
32232 * iconv/strtab.c: Likewise.
32233 * locale/programs/locale.c: Likewise.
32234 * locale/programs/localedef.h: Likewise.
32235 * locale/programs/simple-hash.c: Likewise.
32236 * nscd/nscd.h: Likewise.
32237 * nss/makedb.c: Likewise.
32238 * sysdeps/generic/ldconfig.h: Likewise.
32239 * locale/programs/localedef.c: Remove xmalloc prototype.
32240 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
32242 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32244 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
32247 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32249 * math/Makefile (tests): Add tst-CMPLX.
32250 * math/tst-CMPLX.c: New file.
32252 * math/complex.h (CMPLXL): Fix typo.
32254 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
32255 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
32257 * debug/tst-chk1.c: Add poll and ppoll tests.
32258 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
32259 * include/sys/poll.h: Add hidden proto for ppoll.
32260 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
32261 * sysdeps/mach/hurd/ppoll.c: Likewise.
32262 * io/ppoll.c: Likewise.
32263 * debug/poll_chk.c: New file.
32264 * debug/ppoll_chk.c: New file.
32265 * include/bits/poll2.h: New file.
32266 * io/bits/poll2.h: New file.
32269 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
32271 * configure.in: static is always set to yes. Remove.
32272 * config.make.in: Don't set build-static.
32273 * Makeconfig: Remove use of build-static.
32274 * dlfcn/Makefile: Likewise.
32275 * elf/Makefile: Likewise.
32276 * math/Makefile: Likewise.
32277 * misc/Makefile: Likewise.
32278 * nptl/Makefile: Likewise.
32279 * sysdeps/mach/hurd/Makefile: Likewise.
32281 * configure.in: PWD_P is not used anymore.
32282 * config.make.in: Remove PWD_P entry.
32284 * configure.in: Remove last remnants of RANLIB.
32285 No need to check for signed size_t anymore.
32286 Don't set libc_commonpagesize and libc_relro_required here for Alpha
32288 Remove __builtin_expect test because we require at least gcc 3.4.
32289 * aclocal.m4: Likewise.
32291 * wcsmbs/mbrtoc16.c: Implement using towc function.
32292 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
32293 * wcsmbs/wcsmbsload.c: Likewise.
32294 * iconv/gconv_simple.c: Likewise.
32295 * iconv/gconv_int.h: Likewise.
32296 * iconv/gconv_builtin.h: Likewise.
32297 * iconv/iconv_prog.c: Remove CHAR16 handling.
32299 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
32301 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
32303 * configure.in: Remove --with-elf and --enable-bounded options.
32304 Dont set base_machine for ia64. More non-ELF conditions removed.
32305 Remove testing and setting of leading underscore information.
32306 * config.make.in (build-bounded): Set to no.
32307 * config.h.in: Remove NO_UNDERSCORES entry.
32308 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
32310 * csu/start.c: Remove !NO_UNDERSCORE code.
32311 * locale/localeinfo.h: Likewise.
32312 * sysdeps/generic/machine-gmon.h: Likewise.
32313 * sysdeps/generic/sysdep.h: Likewise.
32314 * sysdeps/i386/sysdep.h: Likewise.
32315 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32316 * sysdeps/mach/sysdep.h: Likewise.
32317 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32318 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32319 * sysdeps/sh/sysdep.h: Likewise.
32320 * sysdeps/sparc/sparc32/alloca.S: Likewise.
32321 * sysdeps/unix/i386/sysdep.S: Likewise.
32322 * sysdeps/unix/sparc/start.c: Likewise.
32323 * sysdeps/unix/sparc/sysdep.S: Likewise.
32324 * sysdeps/unix/sparc/sysdep.h: Likewise.
32325 * sysdeps/unix/start.c: Likewise.
32326 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32327 * sysdeps/x86_64/sysdep.h: Likewise.
32329 2012-01-07 Ulrich Drepper <drepper@gmail.com>
32332 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
32334 * argp/argp-fmtstream.h: Use const instead __const.
32335 * argp/argp.h: Likewise.
32336 * assert/assert.h: Likewise.
32337 * bits/fenv.h: Likewise.
32338 * bits/sched.h: Likewise.
32339 * bits/sigset.h: Likewise.
32340 * bits/sigthread.h: Likewise.
32341 * catgets/nl_types.h: Likewise.
32342 * conform/data/pthread.h-data: Likewise.
32343 * crypt/crypt-private.h: Likewise.
32344 * crypt/crypt.h: Likewise.
32345 * crypt/crypt_util.c: Likewise.
32346 * ctype/ctype.h: Likewise.
32347 * debug/execinfo.h: Likewise.
32348 * debug/mbsnrtowcs_chk.c: Likewise.
32349 * debug/mbsrtowcs_chk.c: Likewise.
32350 * debug/wcsnrtombs_chk.c: Likewise.
32351 * debug/wcsrtombs_chk.c: Likewise.
32352 * debug/wcstombs_chk.c: Likewise.
32353 * dirent/dirent.h: Likewise.
32354 * dlfcn/dlfcn.h: Likewise.
32355 * elf/neededtest4.c: Likewise.
32356 * grp/grp.h: Likewise.
32357 * gshadow/gshadow.h: Likewise.
32358 * iconv/gconv.h: Likewise.
32359 * iconv/gconv_int.h: Likewise.
32360 * iconv/gconv_simple.c: Likewise.
32361 * iconv/iconv.h: Likewise.
32362 * iconv/loop.c: Likewise.
32363 * iconv/skeleton.c: Likewise.
32364 * include/aio.h: Likewise.
32365 * include/aliases.h: Likewise.
32366 * include/argz.h: Likewise.
32367 * include/arpa/inet.h: Likewise.
32368 * include/assert.h: Likewise.
32369 * include/dirent.h: Likewise.
32370 * include/dlfcn.h: Likewise.
32371 * include/execinfo.h: Likewise.
32372 * include/fcntl.h: Likewise.
32373 * include/fenv.h: Likewise.
32374 * include/glob.h: Likewise.
32375 * include/grp.h: Likewise.
32376 * include/libintl.h: Likewise.
32377 * include/mntent.h: Likewise.
32378 * include/netdb.h: Likewise.
32379 * include/pwd.h: Likewise.
32380 * include/rpc/netdb.h: Likewise.
32381 * include/sched.h: Likewise.
32382 * include/search.h: Likewise.
32383 * include/shadow.h: Likewise.
32384 * include/signal.h: Likewise.
32385 * include/stdio.h: Likewise.
32386 * include/stdlib.h: Likewise.
32387 * include/string.h: Likewise.
32388 * include/sys/socket.h: Likewise.
32389 * include/sys/stat.h: Likewise.
32390 * include/sys/statfs.h: Likewise.
32391 * include/sys/statvfs.h: Likewise.
32392 * include/sys/syslog.h: Likewise.
32393 * include/sys/time.h: Likewise.
32394 * include/sys/uio.h: Likewise.
32395 * include/time.h: Likewise.
32396 * include/unistd.h: Likewise.
32397 * include/utmp.h: Likewise.
32398 * include/wchar.h: Likewise.
32399 * include/wctype.h: Likewise.
32400 * inet/aliases.h: Likewise.
32401 * inet/arpa/inet.h: Likewise.
32402 * inet/netinet/ether.h: Likewise.
32403 * inet/netinet/in.h: Likewise.
32404 * intl/libintl.h: Likewise.
32405 * io/bits/fcntl2.h: Likewise.
32406 * io/fcntl.h: Likewise.
32407 * io/ftw.h: Likewise.
32408 * io/sys/poll.h: Likewise.
32409 * io/sys/stat.h: Likewise.
32410 * io/sys/statfs.h: Likewise.
32411 * io/sys/statvfs.h: Likewise.
32412 * io/utime.h: Likewise.
32413 * libio/bits/stdio.h: Likewise.
32414 * libio/bits/stdio2.h: Likewise.
32415 * libio/libio.h: Likewise.
32416 * libio/libioP.h: Likewise.
32417 * libio/stdio.h: Likewise.
32418 * locale/lc-ctype.c: Likewise.
32419 * locale/locale.h: Likewise.
32420 * login/utmp.h: Likewise.
32421 * malloc/arena.c: Likewise.
32422 * malloc/malloc.c: Likewise.
32423 * malloc/malloc.h: Likewise.
32424 * malloc/mcheck.c: Likewise.
32425 * malloc/mtrace.c: Likewise.
32426 * math/bits/mathcalls.h: Likewise.
32427 * math/fenv.h: Likewise.
32428 * math/math_private.h: Likewise.
32429 * misc/bits/error.h: Likewise.
32430 * misc/bits/syslog.h: Likewise.
32431 * misc/err.h: Likewise.
32432 * misc/error.h: Likewise.
32433 * misc/fstab.h: Likewise.
32434 * misc/mntent.h: Likewise.
32435 * misc/regexp.h: Likewise.
32436 * misc/search.h: Likewise.
32437 * misc/sgtty.h: Likewise.
32438 * misc/sys/mman.h: Likewise.
32439 * misc/sys/syslog.h: Likewise.
32440 * misc/sys/uio.h: Likewise.
32441 * misc/sys/xattr.h: Likewise.
32442 * misc/ttyent.h: Likewise.
32443 * nis/rpcsvc/ypclnt.h: Likewise.
32444 * nss/nss.h: Likewise.
32445 * posix/bits/unistd.h: Likewise.
32446 * posix/fnmatch.h: Likewise.
32447 * posix/glob.h: Likewise.
32448 * posix/sched.h: Likewise.
32449 * posix/spawn.h: Likewise.
32450 * posix/sys/wait.h: Likewise.
32451 * posix/unistd.h: Likewise.
32452 * posix/wordexp.h: Likewise.
32453 * pwd/pwd.h: Likewise.
32454 * resolv/netdb.h: Likewise.
32455 * resource/sys/resource.h: Likewise.
32456 * rt/aio.h: Likewise.
32457 * rt/bits/mqueue2.h: Likewise.
32458 * rt/mqueue.h: Likewise.
32459 * shadow/shadow.h: Likewise.
32460 * signal/signal.h: Likewise.
32461 * socket/send.c: Likewise.
32462 * socket/sendto.c: Likewise.
32463 * socket/sys/socket.h: Likewise.
32464 * stdio-common/printf.h: Likewise.
32465 * stdlib/bits/stdlib.h: Likewise.
32466 * stdlib/fmtmsg.h: Likewise.
32467 * stdlib/monetary.h: Likewise.
32468 * stdlib/stdlib.h: Likewise.
32469 * stdlib/ucontext.h: Likewise.
32470 * streams/stropts.h: Likewise.
32471 * string/argz.h: Likewise.
32472 * string/bits/string2.h: Likewise.
32473 * string/string.h: Likewise.
32474 * string/strings.h: Likewise.
32475 * sunrpc/rpc/auth.h: Likewise.
32476 * sunrpc/rpc/auth_des.h: Likewise.
32477 * sunrpc/rpc/clnt.h: Likewise.
32478 * sunrpc/rpc/netdb.h: Likewise.
32479 * sunrpc/rpc/pmap_clnt.h: Likewise.
32480 * sunrpc/rpc/xdr.h: Likewise.
32481 * sysdeps/generic/inttypes.h: Likewise.
32482 * sysdeps/generic/net/if.h: Likewise.
32483 * sysdeps/generic/sys/swap.h: Likewise.
32484 * sysdeps/gnu/net/if.h: Likewise.
32485 * sysdeps/gnu/utmpx.h: Likewise.
32486 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
32487 * sysdeps/i386/i486/bits/string.h: Likewise.
32488 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
32489 * sysdeps/s390/bits/string.h: Likewise.
32490 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
32491 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
32492 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32493 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
32494 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
32495 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
32496 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
32497 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
32498 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
32499 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32500 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
32501 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32502 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
32503 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32504 * sysdeps/unix/sysv/linux/readv.c: Likewise.
32505 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
32506 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
32507 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32508 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32509 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32510 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32511 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
32512 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
32513 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
32514 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
32515 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
32516 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
32517 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32518 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
32519 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
32520 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
32521 * sysvipc/sys/ipc.h: Likewise.
32522 * sysvipc/sys/msg.h: Likewise.
32523 * sysvipc/sys/sem.h: Likewise.
32524 * sysvipc/sys/shm.h: Likewise.
32525 * termios/termios.h: Likewise.
32526 * time/sys/time.h: Likewise.
32527 * time/time.h: Likewise.
32528 * wcsmbs/bits/wchar2.h: Likewise.
32529 * wcsmbs/uchar.h: Likewise.
32530 * wcsmbs/wchar.h: Likewise.
32531 * wctype/wctype.h: Likewise.
32534 * Makeconfig: Remove all but ELF support including AIX support.
32535 * Makerules: Likewise.
32536 * config.h.in: Likewise.
32537 * config.make.in: Likewise.
32538 * configure: Likewise.
32539 * configure.in: Likewise.
32540 * csu/Makefile: Likewise.
32541 * csu/version.c: Likewise.
32542 * debug/Makefile: Likewise.
32543 * dlfcn/Makefile: Likewise.
32544 * elf/Makefile: Likewise.
32545 * extra-lib.mk: Likewise.
32546 * iconv/Makefile: Likewise.
32547 * include/libc-symbols.h: Likewise.
32548 * include/shlib-compat.h: Likewise.
32549 * resolv/Makefile: Likewise.
32550 * resolv/res_libc.c: Likewise.
32551 * rt/Makefile: Likewise.
32552 * sysdeps/i386/asm-syntax.h: Likewise.
32553 * sysdeps/i386/sysdep.h: Likewise.
32554 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32555 * sysdeps/mach/sysdep.h: Likewise.
32556 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
32557 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
32558 * sysdeps/s390/asm-syntax.h: Likewise.
32559 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32560 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32561 * sysdeps/sh/sysdep.h: Likewise.
32562 * sysdeps/unix/sparc/sysdep.h: Likewise.
32563 * sysdeps/wordsize-32/divdi3.c: Likewise.
32564 * sysdeps/x86_64/sysdep.h: Likewise.
32566 * argp/Versions: Remove _argp_unlock_xxx.
32569 * abilist/ld.abilist: Update. Adjust for removal of tls option.
32570 * abilist/libBrokenLocale.abilist: Likewise.
32571 * abilist/libanl.abilist: Likewise.
32572 * abilist/libc.abilist: Likewise.
32573 * abilist/libcrypt.abilist: Likewise.
32574 * abilist/libdl.abilist: Likewise.
32575 * abilist/libm.abilist: Likewise.
32576 * abilist/libnsl.abilist: Likewise.
32577 * abilist/libpthread.abilist: Likewise.
32578 * abilist/libresolv.abilist: Likewise.
32579 * abilist/librt.abilist: Likewise.
32580 * abilist/libthread_db.abilist: Likewise.
32581 * abilist/libutil.abilist: Likewise.
32582 * abilist/libnss_db.abilist: New file.
32584 * scripts/abilist.awk: Add support for indirect functions.
32586 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
32588 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
32590 * shlib-versions: Remove entries for ports architectures.
32592 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
32594 * elf/stackguard-macros.h: Remove support for IA-64.
32595 * elf/tst-auditmod1.c: Likewise.
32596 * sysdeps/generic/ldsodefs.h: Likewise.
32598 * sysdeps/unix/sysv/linux/configure.in: Ports should define
32599 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
32603 * configure.in: Remove --enable-omitfp support.
32605 * config.make.in: Likewise.
32606 * Makeconfig: Likewise.
32607 * manual/install.texi: Likewise.
32609 In case anyone cares, the IA-64 architecture could move to ports.
32610 * sysdeps/ia64/*: Removed.
32611 * sysdeps/unix/sysv/linux/ia64/*: Removed.
32612 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
32615 * configure.in: Remove entries for unsupported architectures.
32618 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
32619 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
32621 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
32622 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
32623 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
32624 fall back to using wcrtomb.
32625 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
32626 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
32628 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
32629 * wcsmbs/tst-c16c32-1.c: New file.
32631 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
32634 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
32636 * elf/tst-unique3.cc: Add explicit declaration of gets.
32637 * elf/tst-unique3lib.cc: Likewise.
32638 * elf/tst-unique3lib2.cc: Likewise.
32639 * elf/tst-unique4.cc: Likewise.
32641 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
32643 2012-01-06 Joseph Myers <joseph@codesourcery.com>
32646 * assert/assert.h (static_assert): Don't define for C++.
32647 * libio/stdio.h (gets): Do declare for C++ <= C++11.
32648 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
32650 2012-01-03 Ulrich Drepper <drepper@gmail.com>
32652 * iconv/loop.c (single loop): Fix assertion in storing of
32655 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
32657 2012-01-01 Ulrich Drepper <drepper@gmail.com>
32659 * posix/getconf.c: Update copyright year.
32660 * nss/getent.c: Likewise.
32661 * nss/makedb.c: Likewise.
32662 * iconv/iconvconfig.c: Likewise.
32663 * iconv/iconv_prog.c: Likewise.
32664 * elf/ldconfig.c: Likewise.
32665 * elf/pldd.c: Likewise.
32666 * elf/sotruss.ksh: Likewise.
32667 * catgets/gencat.c: Likewise.
32668 * csu/version.c: Likewise.
32669 * elf/ldd.bash.in: Likewise.
32670 * elf/sprof.c (print_version): Likewise.
32671 * locale/programs/locale.c: Likewise.
32672 * locale/programs/localedef.c: Likewise.
32673 * login/programs/pt_chown.c: Likewise.
32674 * nscd/nscd.c (print_version): Likewise.
32675 * debug/xtrace.sh: Likewise.
32676 * malloc/memusage.sh: Likewise.
32677 * malloc/mtrace.pl: Likewise.
32678 * debug/catchsegv.sh: Likewise.
32680 2011-12-30 Jakub Jelinek <jakub@redhat.com>
32682 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
32685 2011-12-24 Ulrich Drepper <drepper@gmail.com>
32688 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
32689 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
32691 * iconv/gconv_int.h: Likewise.
32692 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
32693 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
32694 from libc for GLIBC_2.16.
32695 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
32696 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
32697 * wcsmbs/uchar.h: Really define mbstate_t.
32698 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
32699 * wcsmbs/c16rtomb.c: New file.
32700 * wcsmbs/mbrtoc16.c: New file.
32701 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
32702 for C/POSIX locale.
32703 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
32704 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
32706 * wcsmbs/wchar.h: Add missing __restrict.
32708 2011-12-23 Ulrich Drepper <drepper@gmail.com>
32711 * time/Makefile (routines): Add timespec_get.
32712 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
32713 * time/time.h: Define TIME_UTC and declare timespec_get. Define
32714 timespec for ISO C11.
32715 * time/timespec_get.c: New file.
32716 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
32717 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
32720 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
32721 * stdlib/stdlib.h: Declare aligned_alloc.
32722 * Versions.def: Add GLIBC_2.16 for libc.
32723 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
32726 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
32729 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
32733 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32736 * assert/assert.h (static_assert): Define.
32738 * version.h: Update for 2.16 development version.
32741 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32744 * version.h (RELEASE): Bump for 2.15 release.
32745 * include/features.h (__GLIBC_MINOR__): Bump to 15.
32747 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32748 Patch by Marek Polacek <mpolacek@redhat.com>.
32750 * bits/byteswap.h: Protect long long constants with __extension__.
32751 * sysdeps/i386/bits/byteswap.h: Likewise.
32752 * sysdeps/ia64/bits/byteswap.h: Likewise.
32753 * sysdeps/s390/bits/byteswap.h: Likewise.
32754 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32756 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32759 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32760 destination buffer.
32761 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32763 2011-12-23 Marek Polacek <polacek@redhat.com>
32765 * elf/dl-addr.c (determine_info): Add inline keyword.
32766 * elf/tst-auditmod4b.c (check_avx): Likewise.
32767 * elf/tst-auditmod6b.c (check_avx): Likewise.
32768 * elf/tst-auditmod6c.c (check_avx): Likewise.
32769 * elf/tst-auditmod7b.c (check_avx): Likewise.
32771 2011-12-23 Ulrich Drepper <drepper@gmail.com>
32773 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32776 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32779 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32780 processing for last bytes.
32782 2011-08-06 Bruno Haible <bruno@clisp.org>
32785 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32786 U+0385, not to U+1FEE.
32789 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32790 entry for U+00A5 U+0301.
32792 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32795 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32796 buffer for the output is too small.
32798 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32802 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32803 SSE flags if possible.
32805 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32808 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32809 processing for last bytes.
32811 2011-12-22 Joseph Myers <joseph@codesourcery.com>
32813 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32814 (syscall-list-default-options, syscall-list-default-condition)
32815 (syscall-list-includes): Define.
32816 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32817 list of ABIs and options and #if conditions for each ABI. Do not
32818 handle common syscalls between ABIs specially.
32819 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32821 (syscall-list-variants, syscall-list-32bit-options)
32822 (syscall-list-32bit-condition, syscall-list-64bit-options)
32823 (syscall-list-64bit-condition): Define.
32824 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32825 (syscall-list-variants, syscall-list-32bit-options)
32826 (syscall-list-32bit-condition, syscall-list-64bit-options)
32827 (syscall-list-64bit-condition): Define.
32828 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32830 (syscall-list-variants, syscall-list-32bit-options)
32831 (syscall-list-32bit-condition, syscall-list-64bit-options)
32832 (syscall-list-64bit-condition): Define.
32833 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32835 (syscall-list-variants, syscall-list-32bit-options)
32836 (syscall-list-32bit-condition, syscall-list-64bit-options)
32837 (syscall-list-64bit-condition): Define.
32839 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32841 * locale/iso-639.def: Add brx entry.
32844 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32845 Proposed by Mariusz_Cukr <marcukr@op.pl>.
32847 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32848 __feraiseexcept_renamed.
32850 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32853 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32854 EPOLLET with unsigned values.
32855 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32856 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32858 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32859 to large cancellation.
32860 * math/s_cacoshf.c: Likewise.
32861 * math/s_cacoshl.c: Likewise.
32863 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
32867 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32868 * math/s_cacoshf.c: Likewise.
32869 * math/s_cacoshl.c: Likewise.
32871 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32874 * iconv/gconv.h: Define __GCONV_SWAP.
32875 * iconvdata/unicode.c: The swap bit must be stored in __flags.
32876 * iconvdata/utf-16.c: Likewise.
32877 * iconvdata/utf-32.c: Likewise.
32879 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
32882 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32883 numerator after shifting it by one limb.
32885 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
32887 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32888 under [__USE_EXTERN_INLINES].
32890 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32893 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32895 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32897 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32898 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32900 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32901 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32902 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32903 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32904 for strncasecmp/strncasecmp_l compilation.
32905 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32906 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32908 2011-12-08 Marek Polacek <mpolacek@redhat.com>
32911 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32914 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32917 * time/tzfile.c (__tzfile_read): Check values from file header.
32919 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32921 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32922 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32923 * powerpc/powerpc32/dl-start.S: Likewise.
32924 * powerpc/powerpc32/elf/start.S: Likewise.
32925 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32926 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32927 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32928 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32929 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32930 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32931 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32932 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32933 * powerpc/powerpc32/fpu/s_round.S: Likewise.
32934 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32935 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32936 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32937 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32938 * powerpc/powerpc32/memset.S: Likewise.
32939 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32940 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32941 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32942 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32943 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32944 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32945 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32946 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32947 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32948 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32949 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32950 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32951 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32953 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32955 * math/libm-test.inc: Added more nearbyint tests.
32956 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32957 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32958 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32959 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32961 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
32963 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32966 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32968 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32969 Add wcscpy-ssse3 wcscpy-c.
32970 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32971 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32972 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32973 * sysdeps/x86_64/wcschr.S: New file.
32974 * sysdeps/x86_64/wcsrchr.S: New file.
32975 * string/test-strcmp.c: Remove checking of wcscmp function for
32977 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32978 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32979 wcsrchr-sse2 wcsrchr-c.
32980 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32981 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32982 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32983 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32984 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32985 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32986 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32987 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32988 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32989 * wcsmbc/wcschr.c (WCSCHR): New macro.
32991 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32993 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32994 * wcsmbs/test-wcsrchr.c: New file.
32995 * string/test-strrchr.c: Add wcsrchr support.
32997 * wcsmbs/test-wcscpy.c: New file.
32998 * string/test-strcpy.c: Add wcscpy support.
33001 2011-12-10 Ulrich Drepper <drepper@gmail.com>
33003 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
33006 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
33009 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
33011 2011-12-04 Ulrich Drepper <drepper@gmail.com>
33013 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
33014 Minor optimizations.
33016 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
33017 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
33018 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33020 2011-12-03 Ulrich Drepper <drepper@gmail.com>
33022 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
33023 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
33024 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
33025 for gcc to avoid warnings.
33026 * inet/Makefile (tests): Add tst-checks.
33027 * inet/tst-checks.c: New file.
33029 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33032 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33035 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33036 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33038 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33040 2011-12-02 Ulrich Drepper <drepper@gmail.com>
33042 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33045 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33047 2011-11-29 Joseph Myers <joseph@codesourcery.com>
33049 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33050 conditional on GCC version.
33051 (__arch_compare_and_exchange_val_8_acq)
33052 (__arch_compare_and_exchange_val_16_acq)
33053 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33054 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33055 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33057 2011-12-02 Joseph Myers <joseph@codesourcery.com>
33059 * sysdeps/sh/backtrace.c: New file.
33061 2011-12-02 Andreas Schwab <schwab@redhat.com>
33063 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
33066 2011-12-01 Andreas Schwab <schwab@redhat.com>
33068 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33069 falling back to utime.
33071 2011-11-30 Andreas Schwab <schwab@redhat.com>
33073 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
33074 expectations for float.
33076 2011-11-29 Andreas Schwab <schwab@redhat.com>
33078 * locale/weight.h (findidx): Add parameter len.
33079 * locale/weightwc.h (findidx): Likewise.
33080 * posix/fnmatch_loop.c (FCT): Adjust caller.
33081 * posix/regcomp.c (build_equiv_class): Likewise.
33082 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
33083 * posix/regexec.c (check_node_accept_bytes): Likewise.
33084 * string/strcoll_l.c (STRCOLL): Likewise.
33085 * string/strxfrm_l.c (STRXFRM): Likewise.
33087 2011-11-17 Ulrich Drepper <drepper@gmail.com>
33089 * Makefile.in: Remove CVSOPT handling.
33090 * configure.in: Remove use of AC_REVISION.
33091 * iconvdata/Makefile (distribute): No need to filter out CVS.
33092 * scripts/list-sources.sh: Remove CVS, subversion and monotone
33095 2011-11-16 Andreas Schwab <schwab@redhat.com>
33097 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
33098 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
33099 [USE_AS_STRNCASECMP_L]: Likewise.
33100 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
33101 NO_TLS_DIRECT_SEG_REFS.
33102 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
33103 Fix argument offsets for non-PIC.
33104 [USE_AS_STRNCASECMP_L]: Likewise.
33105 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
33106 NO_TLS_DIRECT_SEG_REFS.
33108 2011-11-15 Ulrich Drepper <drepper@gmail.com>
33110 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
33112 * locale/loadlocale.c (_nl_load_locale): Likewise.
33114 2011-11-15 Andreas Schwab <schwab@redhat.com>
33116 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
33117 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
33118 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
33119 (SYSCALL_GETTIME): Set errno on error.
33121 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
33122 count references to noai6ai_cached.
33124 2011-11-15 Ulrich Drepper <drepper@gmail.com>
33126 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
33128 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
33129 FD_CLOEXEC for /proc/self/maps.
33131 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
33132 FD_CLOEXEC for /proc/meminfo.
33134 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
33137 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
33138 FD_CLOEXEC for given file.
33140 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
33142 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
33143 FD_CLOEXEC for /etc/hosts.
33144 (_gethtent): Likewise.
33146 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
33148 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
33149 cancellation and set FD_CLOEXEC for /etc/netgroup.
33151 * nss/nss_files/files-key.c (search): Don't allow cancellation when
33152 reading /etc/publickey.
33154 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
33155 allow cancellation when reading /etc/group.
33157 * nss/nss_files/files-alias.c (internal_setent): Don't allow
33159 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
33161 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
33162 when using data file.
33164 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
33166 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
33167 (write_nis_obj): Use "c" and "e" in fopen.
33169 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
33171 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
33173 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
33175 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
33177 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
33180 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
33182 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
33184 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
33186 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
33187 file parsing and set FD_CLOEXEC.
33189 2011-11-14 Ulrich Drepper <drepper@gmail.com>
33191 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
33193 2011-11-14 Andreas Schwab <schwab@redhat.com>
33195 * malloc/arena.c (arena_get2): Don't call reused_arena when
33196 _int_new_arena failed.
33198 2011-11-14 Ulrich Drepper <drepper@gmail.com>
33200 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
33201 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
33202 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
33203 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33204 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33205 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
33206 to compile strcasecmp and strncasecmp.
33207 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
33208 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
33210 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
33212 2011-11-13 Ulrich Drepper <drepper@gmail.com>
33214 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
33215 locale-defines.sym to gen-as-const-headers.
33216 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
33217 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
33218 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
33219 to compile strcasecmp and strncasecmp.
33220 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
33221 strcasecmp_l and strncasecmp_l.
33222 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
33223 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
33224 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
33225 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
33226 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
33227 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
33228 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
33229 * sysdeps/i386/i686/multiarch/strncase.S: New file.
33230 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
33231 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
33232 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
33234 2011-11-12 Ulrich Drepper <drepper@gmail.com>
33236 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
33237 result of SYSDEP_GETTIME_CPU to retval.
33238 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
33239 parameter list to macro. Remove trailing semicolon. Adjust users.
33241 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
33244 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
33246 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33248 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
33249 from unused variable.
33251 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
33253 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
33256 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
33259 * sunrpc/rpc_prot.c (rejected): Fix case value.
33261 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
33262 unsigned long long int to avoid warnings in shift.
33264 * posix/regex_internal.c (re_string_reconstruct): Actually use result
33266 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
33269 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
33270 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
33271 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
33273 * nis/nis_table.c (nis_list): Use variable of correct type for
33274 result of __follow_path call.
33276 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33278 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
33279 of math functions ceil, trunc, floor, round, and sqrt, when
33280 avaliable on the platform.
33281 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
33283 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33284 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33285 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33287 2011-10-30 Marek Polacek <mpolacek@redhat.com>
33289 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
33290 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33292 2011-11-11 Roland McGrath <roland@hack.frob.com>
33294 * include/unistd.h: Fix __readlink return type.
33295 Reported by Chris Metcalf <cmetcalf@tilera.com>.
33297 2011-11-11 Ulrich Drepper <drepper@gmail.com>
33299 * stdlib/ucontext.h: Undo last change for makecontext.
33301 2011-11-11 Andreas Schwab <schwab@redhat.com>
33303 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
33305 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
33306 * setjmp/setjmp.h: Mark functions as non-leaf.
33307 * setjmp/bits/setjmp2.h: Likewise.
33308 * stdlib/ucontext.h: Likewise.
33310 2011-11-10 Andreas Schwab <schwab@redhat.com>
33312 * malloc/arena.c (_int_new_arena): Don't increment narenas.
33313 (reused_arena): Don't check arena limit.
33314 (arena_get2): Atomically check arena limit.
33316 2011-11-08 Ulrich Drepper <drepper@gmail.com>
33318 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
33319 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
33321 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
33324 2011-11-07 Andreas Schwab <schwab@redhat.com>
33326 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
33327 handler when locking.
33329 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33330 Fix size of allocated buffer.
33332 2011-11-04 Andreas Schwab <schwab@redhat.com>
33335 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
33336 declarations for long double functions.
33337 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
33339 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
33341 2011-11-03 Andreas Schwab <schwab@redhat.com>
33343 * nscd/nscd.c (main): Don't start AVC thread until credentials are
33346 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
33349 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33351 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
33353 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
33355 * include/alloca.h (stackinfo_alloca_round): Define.
33356 (extend_alloca): Use it.
33357 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
33358 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
33361 * scripts/check-local-headers.sh: Ignore libaudit.h.
33363 * nscd/Makefile (extra-objs): Make recursively expanded.
33365 2011-11-01 Ulrich Drepper <drepper@gmail.com>
33367 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
33368 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33370 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
33371 * posix/tst-rfc3484-2.c: Likewise.
33372 * posix/tst-rfc3484-3.c: Likewise.
33374 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33376 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
33378 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
33379 process_vm_writev from libc using GLIBC_2.15 version.
33381 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
33383 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
33385 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
33388 2011-10-31 Ulrich Drepper <drepper@gmail.com>
33391 * nss/getent.c (initgroups_keys): Show error message in case no group
33394 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
33395 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
33396 __bump_nl_timestamp.
33397 * nscd/connections (nscd_init): When host database is served open
33398 netlink socket and request notification about configuration changes.
33399 (main_loop_poll): Track netlink file descriptor and bump timestamp
33400 in case data becomes available.
33401 (main_loop_epoll): Likewise.
33402 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
33403 (database_pers_head): Add extra_data fileds.
33404 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
33405 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
33406 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
33408 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
33409 in6ai data, call __free_in6ai.
33410 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
33411 Add -DHAVE_NETLINK.
33412 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
33413 interface information. Reuse previous data if netlink timestamp
33415 (__bump_nl_timestamp): New function.
33416 (__free_in6ai): New function.
33418 2011-10-30 Ulrich Drepper <drepper@gmail.com>
33420 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
33421 close_not_cancel_no_status here.
33422 (__check_pf): Reorganize code a bit to not call close twice if OOM.
33424 2011-10-29 Ulrich Drepper <drepper@gmail.com>
33427 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
33430 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
33431 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
33432 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
33434 2011-07-03 Andreas Jaeger <aj@suse.de>
33437 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
33438 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
33439 * math/libm-test.inc (sin_test): Add test case.
33441 2011-10-29 Ulrich Drepper <drepper@gmail.com>
33444 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
33445 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33447 * elf/chroot_canon.c (chroot_canon): Cleanups.
33449 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
33452 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
33453 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33455 * string/test-strchr.c: Make usable for strchrnul testing.
33456 * string/test-strchrnul.c: New file.
33457 * string/Makefile (strop-tests): Add strchrnul.
33459 * po/it.po: Update from translation team.
33460 * po/es.po: Likewise.
33462 2011-10-28 Ulrich Drepper <drepper@gmail.com>
33464 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
33465 the three constants needed as parameters. Drop the others.
33466 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
33467 __m128i_strloadu_tolower.
33468 Create and initialize variable zero and use it in all the places
33469 where _mm_setzero_si128 was used.
33471 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
33472 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
33473 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
33474 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
33476 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
33477 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
33478 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
33479 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
33480 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
33481 __mpranred, __mptan.
33482 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
33483 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
33484 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
33485 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
33486 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
33487 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
33488 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
33489 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
33490 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
33492 2011-10-28 Andreas Schwab <schwab@redhat.com>
33494 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
33495 redefine if SHARED.
33496 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
33498 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
33499 wide char related routines to wcsmbs subdir.
33501 2011-10-27 Andreas Schwab <schwab@redhat.com>
33504 * misc/sys/cdefs.h (__THROWNL): Define.
33505 * posix/unistd.h: Use __THREADNL instead of __THREAD
33506 for memory synchronization functions.
33508 2011-10-26 Roland McGrath <roland@hack.frob.com>
33511 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
33513 * manual/stdio.texi (Obstack Streams): Node removed.
33515 2011-10-26 Andreas Schwab <schwab@redhat.com>
33517 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
33518 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33519 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33521 * math/math_private.h (math_force_eval): Allow non-addressable
33523 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
33525 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33527 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
33528 file is not needed.
33530 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
33531 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33532 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33533 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33534 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33535 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33536 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33537 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
33539 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
33540 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
33541 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
33542 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
33543 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
33544 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
33545 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
33546 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
33547 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
33548 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
33549 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
33550 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
33551 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
33552 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
33553 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
33554 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
33555 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
33556 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
33557 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
33559 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
33560 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
33562 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
33563 place. Use VEX encoding when compiling for AVX.
33565 2011-10-25 Andreas Schwab <schwab@redhat.com>
33567 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
33568 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33570 * string/test-strchr.c (do_test): Don't generate NUL bytes.
33572 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33574 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
33575 useless if() expression.
33576 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33577 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33578 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33579 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33580 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33581 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33582 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33583 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33584 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33585 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33586 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33587 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33588 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33589 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33590 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33591 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33592 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33593 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33594 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33596 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
33598 2011-10-25 Andreas Schwab <schwab@redhat.com>
33600 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
33602 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33604 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33606 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
33607 .text section. Avoid duplicate constants.
33608 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33609 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33610 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33611 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33612 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33613 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33614 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33615 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33616 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33617 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
33618 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33619 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33620 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33621 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33622 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33623 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33624 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33625 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33626 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33627 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33628 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33629 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33630 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33631 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
33632 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
33633 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
33634 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
33635 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
33636 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
33637 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
33638 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
33639 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
33640 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33641 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
33642 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
33643 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
33644 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
33645 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
33646 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
33647 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
33648 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
33649 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
33650 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
33651 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
33652 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
33654 2011-10-24 Ulrich Drepper <drepper@gmail.com>
33656 * sysdeps/x86_64/dla.h: Move to ...
33657 * sysdeps/x86_64/fpu/dla.h: ...here.
33658 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
33659 situations. Use __builtin_fma only for gcc 4.6 and up.
33661 * config.make.in: Add have-mfma4 entry.
33662 * configure.in: Substitute libc_cv_cc_fma4.
33663 * math/Makefile (dbl-only-routines): Add sincostab.
33664 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
33665 Use __sincostab not sincos.
33666 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
33668 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33669 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33670 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33671 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
33673 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
33674 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
33675 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
33676 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
33678 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
33679 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
33681 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
33682 define aliases when function name is a macro.
33683 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
33684 sysdeps/ieee754/dbl-64/sincos.tbl.
33685 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
33686 fma4-enabled routines.
33687 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
33688 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
33689 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
33690 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
33691 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
33692 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
33693 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
33694 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
33695 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
33696 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
33697 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
33698 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
33699 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
33700 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
33701 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
33702 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
33703 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
33704 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
33705 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
33706 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
33707 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
33708 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
33709 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
33710 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
33711 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
33712 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
33713 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
33714 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
33715 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
33716 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
33718 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
33720 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33721 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33722 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33723 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33724 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33725 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33726 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33727 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33729 2011-10-24 Andreas Schwab <schwab@redhat.com>
33731 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33733 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33735 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33737 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33739 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33741 * string/strnlen.c: Don't define STRNLEN, reverse logic.
33742 Remove unused variable magic_bits.
33743 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33745 * string/strnlen.c: Define and use STRNLEN macro.
33746 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33747 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33748 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33749 * wcsmbs/wcslen.c: Define and use WCSLEN.
33750 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33751 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33752 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33753 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33754 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33755 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33756 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33758 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33760 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33761 strnlen-sse2-no-bsf.
33762 Rename strlen-no-bsf to strlen-sse2-no-bsf.
33763 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33764 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33765 Add strnlen support.
33766 (USE_AS_STRNLEN): New macro.
33767 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33768 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33769 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33770 * sysdeps/x86_64/wcslen.S: New file.
33772 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
33774 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33775 XMM-moves are used for copying on small sizes.
33777 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33779 * wcsmbs/Makefile (strop-tests): Add wcschr.
33780 * wcsmbs/test-wcschr.c: New file.
33781 * string/test-strchr.c: Update.
33782 Add wcschr support.
33785 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33787 * wcsmbs/Makefile (strop-tests): Add wcslen.
33788 * wcsmbs/test-wcslen.c: New file.
33789 * string/test-strlen.c: Update.
33790 Add wcslen support.
33793 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33795 * po/it.po: Update from translation team.
33797 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33799 * sysdeps/x86_64/wcscmp.S: Update.
33800 Fix wrong comparison semantics.
33801 wcscmp shall use signed comparison not unsigned.
33802 Don't use substraction to avoid overflow bug.
33803 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33804 * wcsmbc/wcscmp.c: Likewise.
33805 * string/test-strcmp.c: Likewise.
33806 Add new tests to check cases with negative values.
33808 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33810 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33811 * sysdeps/x86_64/dla.h: ...here. New file.
33812 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33813 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33814 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33815 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33816 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33817 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33818 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33819 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33820 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33822 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
33824 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33825 __ynl_finite aliases.
33827 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33829 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33831 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33833 [DLA_FMA] (EMULV): Use DLA_FMA.
33834 [DLA_FMA] (MUL12): Use EMULV.
33835 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33836 that are not needed.
33837 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33838 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33839 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33840 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33841 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33842 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33843 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33845 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
33847 * math/s_nan.c: Undef __nan.
33848 * math/s_nanf.c: Undef __nanf.
33849 * math/s_nanl.c: Undef __nanl.
33850 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33853 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33855 * math/s_catan.c: Add branch predictions.
33856 * math/s_catanf.c: Likewise.
33857 * math/s_catanh.c: Likewise.
33858 * math/s_catanhf.c: Likewise.
33859 * math/s_catanhl.c: Likewise.
33860 * math/s_catanl.c: Likewise.
33861 * math/s_cexp.c: Likewise.
33862 * math/s_cexpf.c: Likewise.
33863 * math/s_cexpl.c: Likewise.
33864 * math/s_clog.c: Likewise.
33865 * math/s_clog10.c: Likewise.
33866 * math/s_clog10f.c: Likewise.
33867 * math/s_clog10l.c: Likewise.
33868 * math/s_clogf.c: Likewise.
33869 * math/s_clogl.c: Likewise.
33870 * math/s_csqrt.c: Likewise.
33871 * math/s_csqrtf.c: Likewise.
33872 * math/s_csqrtl.c: Likewise.
33873 * math/s_ctanf.c: Likewise.
33874 * math/s_ctanh.c: Likewise.
33875 * math/s_ctanhf.c: Likewise.
33876 * math/s_ctanhl.c: Likewise.
33877 * math/s_ctanl.c: Likewise.
33879 * math/math_private.h: Define __nan, __nanf, __nanl.
33880 * math/s_cacosh.c: Include <math_private.h>.
33881 * math/s_cacoshl.c: Likewise.
33882 * math/s_casinh.c: Likewise.
33883 * math/s_casinhf.c: Likewise.
33884 * math/s_casinhl.c: Likewise.
33885 * math/s_ccos.c: Rely entire on ccosh.
33886 * math/s_ccosf.c: Rely entire on ccoshf.
33887 * math/s_ccosl.c: Rely entirely on ccoshl.
33888 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
33889 Remove tests for FE_INVALID.
33890 * math/s_ccoshf.c: Likewise.
33891 * math/s_ccoshl.c: Likewise.
33892 * math/s_csin.c: Likewise.
33893 * math/s_csinf.c: Likewise.
33894 * math/s_csinh.c Likewise.
33895 * math/s_csinhf.c: Likewise.
33896 * math/s_csinhl.c: Likewise.
33897 * math/s_csinl.c: Likewise.
33898 * math/s_ctan.c: Likewise.
33899 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33900 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33901 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33903 2011-10-21 Ulrich Drepper <drepper@gmail.com>
33905 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33906 compilation problems.
33908 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33911 2011-10-20 Ulrich Drepper <drepper@gmail.com>
33913 * sysdeps/i386/configure.in: Test for -mfma4 option.
33914 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33915 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33916 COMMON_CPUID_INDEX_80000001.
33917 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33918 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33919 use it if FMA3 is not supported.
33920 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33922 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33923 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33925 2011-10-20 Andreas Schwab <schwab@redhat.com>
33928 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33929 it would create a cycle with a link time dependency.
33931 2011-10-19 Ulrich Drepper <drepper@gmail.com>
33933 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33935 * string/Makefile (strop-tests): Add rawmemchr.
33936 * string/test-rawmemchr.c: New file.
33938 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33939 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
33940 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
33941 when compiling str{,n}casecmp and when AVX is available. Hook up
33942 new optimized code in initializers.
33944 2011-10-19 Andreas Schwab <schwab@redhat.com>
33946 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33947 __feraiseexcept instead of feraiseexcept.
33949 2011-10-18 Ulrich Drepper <drepper@gmail.com>
33951 * math/math_private.h: Define defaults for libc_fetestexcept and
33953 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33954 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33955 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33956 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33957 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33958 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33959 libc_fetestexcept and libc_feupdateenv.
33961 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33962 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33963 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33964 * sysdeps/x86_64/fpu/math_private.h: Define special version of
33965 libc_feholdexcept_setround.
33967 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33968 Add s_nearbyint-c and s_nearbyintf-c.
33969 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33970 nearbyintf inlines.
33971 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33972 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33973 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33974 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33976 * math/math_private.h: Define defaults for libc_fegetround,
33977 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33978 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33979 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33980 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33981 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33982 standard functions.
33983 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33984 Remove comments and hacks for old compiler versions.
33985 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33986 libc_fegetround, libc_fesetround, libc_feholdexcept, and
33987 libc_feholdexceptl.
33989 2011-10-18 Andreas Schwab <schwab@redhat.com>
33991 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
33992 (__feraiseexcept_renamed): Add __NTH.
33993 (feraiseexcept): Add __NTH. Rename local variables to fix
33994 namespace violations.
33996 2011-10-17 Ulrich Drepper <drepper@gmail.com>
33998 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
34000 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
34002 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
34003 recently added interfaces.
34004 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
34006 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
34007 about macro parameter expansion.
34009 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
34010 __NO_MATH_INLINES is defined. Cleanups.
34012 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
34013 and __floorf is target has SSE4.1.
34014 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
34015 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
34016 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
34017 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
34019 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
34021 (floorf): Likewise.
34023 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34025 2011-10-17 Andreas Schwab <schwab@redhat.com>
34027 * misc/sys/cdefs.h: Fix last change.
34029 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34032 2011-10-16 Ulrich Drepper <drepper@gmail.com>
34034 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34036 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34037 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34038 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34039 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34040 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34041 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34042 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34043 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34044 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34045 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34046 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34047 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34048 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34049 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34050 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34051 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34052 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34053 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34054 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34055 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34056 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34057 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34059 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34060 ceil, ceilf, floor, floorf.
34062 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34063 Perform IRELATIVE relocations last.
34065 * elf/do-rel.h: Add another parameter nrelative, replacing the
34066 local variable with the same name. Change name of the function
34067 to end in Rel or Rela (uppercase).
34068 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
34069 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
34070 elf_dynamic_do_##reloc function.
34072 2011-10-15 Ulrich Drepper <drepper@gmail.com>
34074 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
34075 is sufficient, at least on modern CPUs.
34077 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
34079 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
34080 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
34082 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
34084 * math/bits/math-finite.h: Add entries for exp.
34085 * math/e_expl.c: Add __*_finite alias.
34086 * sysdeps/i386/fpu/e_exp.S: Likewise.
34087 * sysdeps/i386/fpu/e_expf.S: Likewise.
34088 * sysdeps/i386/fpu/e_expl.c: Likewise.
34089 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34090 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34091 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34092 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34093 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
34094 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34095 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34097 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
34098 is sufficient, at least on modern CPUs.
34100 * ctype/ctype-info.c (__ctype_init): Define.
34101 * include/ctype.h (__ctype_init): Declare.
34102 (__ctype_b_loc): The variable is always initialized.
34103 (__ctype_toupper_loc): Likewise.
34104 (__ctype_tolower_loc): Likewise.
34105 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
34106 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
34108 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
34110 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
34112 * configure.in: Also look in $cxxmachine/include for C++ system
34115 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34117 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
34118 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
34119 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
34120 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
34121 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
34122 (USE_AS_WMEMCMP): New macro.
34124 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
34125 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
34126 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
34127 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
34128 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34129 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
34130 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
34131 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
34132 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
34133 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
34134 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
34135 (USE_AS_WMEMCMP): New macro.
34136 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
34137 * sysdeps/string/test-memcmp.c: Update.
34138 Fix simple_wmemcmp.
34140 * wcsmbs/wmemcmp.c: Update.
34141 (WMEMCMP): New macro.
34144 2011-10-12 Andreas Jaeger <aj@suse.de>
34147 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
34149 2011-10-15 Ulrich Drepper <drepper@gmail.com>
34151 * libio/iofwide.c (do_length): Avoid warning.
34153 * ctype/ctype.h (__isctype_f): Add missing __THROW.
34155 2011-10-14 Ulrich Drepper <drepper@gmail.com>
34157 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
34159 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
34160 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
34161 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
34162 * sysdeps/i386/i686/fpu/e_log.S: New file.
34163 * sysdeps/i386/i686/fpu/e_logf.S: New file.
34164 * sysdeps/i386/i686/fpu/e_logl.S: New file.
34166 * ctype/ctype.h: Add support for inlined isXXX functions when
34167 compiling C++ code.
34169 2011-10-14 Andreas Schwab <schwab@redhat.com>
34171 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34173 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
34175 2011-10-13 Roland McGrath <roland@hack.frob.com>
34178 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
34180 2011-10-13 Andreas Schwab <schwab@redhat.com>
34182 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
34183 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
34186 * sysdeps/x86_64/memrchr.S: Check for zero size.
34188 * string/stratcliff.c: Add memrchr tests.
34190 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34192 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34193 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
34194 rawmemchr-sse2 rawmemchr-sse2-bsf.
34195 * sysdeps/i386/i686/multiarch/memchr.S: New file.
34196 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
34197 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
34198 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
34199 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
34200 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
34201 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
34202 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
34203 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
34204 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
34205 * string/memrchr.c (MEMRCHR): New macro.
34207 2011-10-12 Ulrich Drepper <drepper@gmail.com>
34209 Add integration with gcc's -ffinite-math-only and optimize wrapper
34211 * Versions.def: Define GLIBC_2.15 version for libm.
34212 * math/Makefile (headers): Add bits/math-finite.h.
34213 * math/bits/math-finite.h: New file.
34214 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
34215 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
34216 * math/e_acoshl.c: Add __*_finite alias.
34217 * math/e_acosl.c: Likewise.
34218 * math/e_asinl.c: Likewise.
34219 * math/e_atan2l.c: Likewise.
34220 * math/e_atanhl.c: Likewise.
34221 * math/e_coshl.c: Likewise.
34222 * math/e_exp10.c: Likewise.
34223 * math/e_exp10f.c: Likewise.
34224 * math/e_exp10l.c: Likewise.
34225 * math/e_exp2l.c: Likewise.
34226 * math/e_fmodl.c: Likewise.
34227 * math/e_gammal_r.c: Likewise.
34228 * math/e_hypotl.c: Likewise.
34229 * math/e_j0l.c: Likewise.
34230 * math/e_j1l.c: Likewise.
34231 * math/e_jnl.c: Likewise.
34232 * math/e_lgammal_r.c: Likewise.
34233 * math/e_log10l.c: Likewise.
34234 * math/e_log2l.c: Likewise.
34235 * math/e_logl.c: Likewise.
34236 * math/e_powl.c: Likewise.
34237 * math/e_sinhl.c: Likewise.
34238 * math/e_sqrtl.c: Likewise.
34239 * math/e_scalb.c: Completely rewritten and optimized.
34240 * math/e_scalbf.c: Likewise.
34241 * math/e_scalbl.c: Likewise.
34242 * math/w_acos.c: Likewise.
34243 * math/w_acosf.c: Likewise.
34244 * math/w_acosl.c: Likewise.
34245 * math/w_acosh.c: Likewise.
34246 * math/w_acoshf.c: Likewise.
34247 * math/w_acoshl.c: Likewise.
34248 * math/w_asin.c: Likewise.
34249 * math/w_asinf.c: Likewise.
34250 * math/w_asinl.c: Likewise.
34251 * math/w_atan2.c: Likewise.
34252 * math/w_atan2f.c: Likewise.
34253 * math/w_atan2l.c: Likewise.
34254 * math/w_atanh.c: Likewise.
34255 * math/w_atanhf.c: Likewise.
34256 * math/w_atanhl.c: Likewise.
34257 * math/w_exp10.c: Likewise.
34258 * math/w_exp10f.c: Likewise.
34259 * math/w_exp10l.c: Likewise.
34260 * math/w_fmod.c: Likewise.
34261 * math/w_fmodf.c: Likewise.
34262 * math/w_fmodl.c: Likewise.
34263 * math/w_j0.c: Likewise.
34264 * math/w_j0f.c: Likewise.
34265 * math/w_j0l.c: Likewise.
34266 * math/w_j1.c: Likewise.
34267 * math/w_j1f.c: Likewise.
34268 * math/w_j1l.c: Likewise.
34269 * math/w_jn.c: Likewise.
34270 * math/w_jnf.c: Likewise.
34271 * math/w_log.c: Likewise.
34272 * math/w_logf.c: Likewise.
34273 * math/w_logl.c: Likewise.
34274 * math/w_log10.c: Likewise.
34275 * math/w_log10f.c: Likewise.
34276 * math/w_log10l.c: Likewise.
34277 * math/w_log2.c: Likewise.
34278 * math/w_log2f.c: Likewise.
34279 * math/w_log2l.c: Likewise.
34280 * math/w_pow.c: Likewise.
34281 * math/w_powf.c: Likewise.
34282 * math/w_powl.c: Likewise.
34283 * math/w_remainder.c: Likewise.
34284 * math/w_remainderf.c: Likewise.
34285 * math/w_remainderl.c: Likewise.
34286 * math/w_scalb.c: Likewise.
34287 * math/w_scalbf.c: Likewise.
34288 * math/w_scalbl.c: Likewise.
34289 * math/w_sqrt.c: Likewise.
34290 * math/w_sqrtf.c: Likewise.
34291 * math/w_sqrtl.c: Likewise.
34292 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
34293 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
34295 * math/math_private.h: Declare __kernel_standard_f.
34296 * math/w_cosh.c: Remove cruft and optimize a bit.
34297 * math/w_coshf.c: Likewise.
34298 * math/w_coshl.c: Likewise.
34299 * math/w_exp2.c: Likewise.
34300 * math/w_exp2f.c: Likewise.
34301 * math/w_exp2l.c: Likewise.
34302 * math/w_hypot.c: Likewise.
34303 * math/w_hypotf.c: Likewise.
34304 * math/w_hypotl.c: Likewise.
34305 * math/w_lgamma.c: Likewise.
34306 * math/w_lgamma_r.c: Likewise.
34307 * math/w_lgammaf.c: Likewise.
34308 * math/w_lgammaf_r.c: Likewise.
34309 * math/w_lgammal.c: Likewise.
34310 * math/w_lgammal_r.c: Likewise.
34311 * math/w_sinh.c: Likewise.
34312 * math/w_sinhf.c: Likewise.
34313 * math/w_sinhl.c: Likewise.
34314 * math/w_tgamma.c: Likewise.
34315 * math/w_tgammaf.c: Likewise.
34316 * math/w_tgammal.c: Likewise.
34317 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34318 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34319 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
34320 Minor optimizations. Pretty printing. Remove cruft.
34321 * sysdeps/i386/fpu/e_acosf.S: Likewise.
34322 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34323 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34324 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34325 * sysdeps/i386/fpu/e_acosl.c: Likewise.
34326 * sysdeps/i386/fpu/e_asin.S: Likewise.
34327 * sysdeps/i386/fpu/e_asinf.S: Likewise.
34328 * sysdeps/i386/fpu/e_atan2.S: Likewise.
34329 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
34330 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
34331 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34332 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34333 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34334 * sysdeps/i386/fpu/e_exp10.S: Likewise.
34335 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
34336 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
34337 * sysdeps/i386/fpu/e_exp2.S: Likewise.
34338 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
34339 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
34340 * sysdeps/i386/fpu/e_fmod.S: Likewise.
34341 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
34342 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
34343 * sysdeps/i386/fpu/e_hypot.S: Likewise.
34344 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
34345 * sysdeps/i386/fpu/e_log.S: Likewise.
34346 * sysdeps/i386/fpu/e_log10.S: Likewise.
34347 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34348 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34349 * sysdeps/i386/fpu/e_log2.S: Likewise.
34350 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34351 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34352 * sysdeps/i386/fpu/e_logf.S: Likewise.
34353 * sysdeps/i386/fpu/e_logl.S: Likewise.
34354 * sysdeps/i386/fpu/e_pow.S: Likewise.
34355 * sysdeps/i386/fpu/e_powf.S: Likewise.
34356 * sysdeps/i386/fpu/e_powl.S: Likewise.
34357 * sysdeps/i386/fpu/e_remainder.S: Likewise.
34358 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
34359 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
34360 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34361 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34362 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34363 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
34364 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
34365 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
34366 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34367 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34368 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34369 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34370 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34371 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34372 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34373 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34374 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34375 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34376 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34377 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34378 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34379 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34380 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34381 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34382 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34383 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34384 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34385 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34386 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34387 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34388 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34389 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34390 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34391 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34392 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34393 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34394 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
34395 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34396 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34397 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34398 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34399 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34400 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34401 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34402 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34403 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34404 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34405 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34406 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34407 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34408 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34409 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34410 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34411 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34412 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34413 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34414 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34415 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
34416 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34417 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34418 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34419 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34420 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34421 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34422 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34423 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34424 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34425 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34426 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34427 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34428 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34429 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34430 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34431 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34432 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34433 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34434 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
34435 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34436 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34437 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34438 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34439 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34440 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34441 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34442 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34443 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34444 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34445 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34446 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34447 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34448 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
34449 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34450 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34451 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34452 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34453 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34454 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34455 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34456 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34457 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34458 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34459 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34460 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34461 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34462 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34463 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
34464 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
34465 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
34466 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
34467 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
34468 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
34469 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
34470 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34471 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34472 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34473 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34474 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
34475 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34476 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
34477 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
34478 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
34479 (__isnanf): Likewise.
34480 (__isinf_ns): Likewise.
34481 (__isinf_nsf): Likewise.
34482 (__finite): Likewise.
34483 (__finitef): Likewise.
34484 (__ieee754_sqrt): Define as macro.
34485 (__ieee754_sqrtf): Define as macro.
34486 (__ieee754_sqrtl): Define as macro.
34487 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
34489 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
34490 __FINITE_MATH_ONLY__ consistent.
34491 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
34493 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
34495 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
34498 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
34500 2011-10-09 Ulrich Drepper <drepper@gmail.com>
34502 * po/ja.po: Update from translation team.
34504 2011-10-08 Roland McGrath <roland@hack.frob.com>
34506 * locale/programs/locarchive.c (prepare_address_space): New function.
34507 (create_archive, enlarge_archive, open_archive): Use it.
34509 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
34510 inside [SHARED], where it is used.
34512 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
34514 * nss/getent.c (netgroup_keys): Remove unused variable.
34515 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34517 2011-10-08 Ulrich Drepper <drepper@gmail.com>
34519 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
34520 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
34521 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
34522 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
34523 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
34524 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
34525 * math/Makefile (libm-calls): Add s_isinf_ns.
34526 * math/divtc3.c: Use __isinf_nsl instead of isinf.
34527 * math/multc3.c: Likewise.
34528 * math/s_casin.c: Likewise.
34529 * math/s_casinf.c: Likewise.
34530 * math/s_casinl.c: Likewise.
34531 * math/s_ccos.c: Likewise.
34532 * math/s_ccosf.c: Likewise.
34533 * math/s_ccosl.c: Likewise.
34534 * math/s_ctan.c: Likewise.
34535 * math/s_ctanf.c: Likewise.
34536 * math/s_ctanh.c: Likewise.
34537 * math/s_ctanhf.c: Likewise.
34538 * math/s_ctanhl.c: Likewise.
34539 * math/s_ctanl.c: Likewise.
34540 * math/w_fmod.c: Likewise.
34541 * math/w_fmodf.c: Likewise.
34542 * math/w_fmodl.c: Likewise.
34543 * math/w_remainder.c: Likewise.
34544 * math/w_remainderf.c: Likewise.
34545 * math/w_remainderl.c: Likewise.
34546 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
34547 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
34548 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
34549 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
34550 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
34551 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
34552 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
34553 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
34555 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
34557 * stdio-common/printf_fphex.c: Likewise.
34558 * stdio-common/printf_size.c: Likewise.
34560 * math/e_exp10.c: Include math_private.h using <...> not "...".
34561 * math/e_exp10f.c: Likewise.
34562 * math/e_exp10l.c: Likewise.
34563 * math/e_exp2l.c: Likewise.
34564 * math/e_j0l.c: Likewise.
34565 * math/e_j1l.c: Likewise.
34566 * math/e_jnl.c: Likewise.
34567 * math/e_lgammal_r.c: Likewise.
34568 * math/e_rem_pio2l.c: Likewise.
34569 * math/e_scalb.c: Likewise.
34570 * math/e_scalbf.c: Likewise.
34571 * math/e_scalbl.c: Likewise.
34572 * math/k_cosl.c: Likewise.
34573 * math/k_sinl.c: Likewise.
34574 * math/k_tanl.c: Likewise.
34575 * math/s_cacoshf.c: Likewise.
34576 * math/s_catan.c: Likewise.
34577 * math/s_catanf.c: Likewise.
34578 * math/s_catanh.c: Likewise.
34579 * math/s_catanhf.c: Likewise.
34580 * math/s_catanhl.c: Likewise.
34581 * math/s_catanl.c: Likewise.
34582 * math/s_ccosh.c: Likewise.
34583 * math/s_ccoshf.c: Likewise.
34584 * math/s_ccoshl.c: Likewise.
34585 * math/s_cexp.c: Likewise.
34586 * math/s_cexpf.c: Likewise.
34587 * math/s_cexpl.c: Likewise.
34588 * math/s_clog.c: Likewise.
34589 * math/s_clog10.c: Likewise.
34590 * math/s_clog10f.c: Likewise.
34591 * math/s_clog10l.c: Likewise.
34592 * math/s_clogf.c: Likewise.
34593 * math/s_clogl.c: Likewise.
34594 * math/s_csin.c: Likewise.
34595 * math/s_csinf.c: Likewise.
34596 * math/s_csinh.c: Likewise.
34597 * math/s_csinhf.c: Likewise.
34598 * math/s_csinhl.c: Likewise.
34599 * math/s_csinl.c: Likewise.
34600 * math/s_csqrt.c: Likewise.
34601 * math/s_csqrtf.c: Likewise.
34602 * math/s_csqrtl.c: Likewise.
34603 * math/s_ctan.c: Likewise.
34604 * math/s_ctanf.c: Likewise.
34605 * math/s_ctanh.c: Likewise.
34606 * math/s_ctanhf.c: Likewise.
34607 * math/s_ctanhl.c: Likewise.
34608 * math/s_ctanl.c: Likewise.
34609 * math/s_ldexp.c: Likewise.
34610 * math/s_ldexpf.c: Likewise.
34611 * math/s_ldexpl.c: Likewise.
34612 * math/s_significand.c: Likewise.
34613 * math/s_significandf.c: Likewise.
34614 * math/s_significandl.c: Likewise.
34615 * math/w_acos.c: Likewise.
34616 * math/w_acosf.c: Likewise.
34617 * math/w_acosh.c: Likewise.
34618 * math/w_acoshf.c: Likewise.
34619 * math/w_acoshl.c: Likewise.
34620 * math/w_acosl.c: Likewise.
34621 * math/w_asin.c: Likewise.
34622 * math/w_asinf.c: Likewise.
34623 * math/w_asinl.c: Likewise.
34624 * math/w_atan2.c: Likewise.
34625 * math/w_atan2f.c: Likewise.
34626 * math/w_atan2l.c: Likewise.
34627 * math/w_atanh.c: Likewise.
34628 * math/w_atanhf.c: Likewise.
34629 * math/w_atanhl.c: Likewise.
34630 * math/w_cosh.c: Likewise.
34631 * math/w_coshf.c: Likewise.
34632 * math/w_coshl.c: Likewise.
34633 * math/w_dremf.c: Likewise.
34634 * math/w_exp10.c: Likewise.
34635 * math/w_exp10f.c: Likewise.
34636 * math/w_exp10l.c: Likewise.
34637 * math/w_exp2.c: Likewise.
34638 * math/w_exp2f.c: Likewise.
34639 * math/w_fmod.c: Likewise.
34640 * math/w_fmodf.c: Likewise.
34641 * math/w_fmodl.c: Likewise.
34642 * math/w_hypot.c: Likewise.
34643 * math/w_hypotf.c: Likewise.
34644 * math/w_hypotl.c: Likewise.
34645 * math/w_j0.c: Likewise.
34646 * math/w_j0f.c: Likewise.
34647 * math/w_j0l.c: Likewise.
34648 * math/w_j1.c: Likewise.
34649 * math/w_j1f.c: Likewise.
34650 * math/w_j1l.c: Likewise.
34651 * math/w_jn.c: Likewise.
34652 * math/w_jnf.c: Likewise.
34653 * math/w_jnl.c: Likewise.
34654 * math/w_lgamma.c: Likewise.
34655 * math/w_lgamma_r.c: Likewise.
34656 * math/w_lgammaf.c: Likewise.
34657 * math/w_lgammaf_r.c: Likewise.
34658 * math/w_lgammal.c: Likewise.
34659 * math/w_lgammal_r.c: Likewise.
34660 * math/w_log.c: Likewise.
34661 * math/w_log10.c: Likewise.
34662 * math/w_log10f.c: Likewise.
34663 * math/w_log10l.c: Likewise.
34664 * math/w_log2.c: Likewise.
34665 * math/w_log2f.c: Likewise.
34666 * math/w_log2l.c: Likewise.
34667 * math/w_logf.c: Likewise.
34668 * math/w_logl.c: Likewise.
34669 * math/w_pow.c: Likewise.
34670 * math/w_powf.c: Likewise.
34671 * math/w_powl.c: Likewise.
34672 * math/w_remainder.c: Likewise.
34673 * math/w_remainderf.c: Likewise.
34674 * math/w_remainderl.c: Likewise.
34675 * math/w_scalb.c: Likewise.
34676 * math/w_scalbf.c: Likewise.
34677 * math/w_scalbl.c: Likewise.
34678 * math/w_sinh.c: Likewise.
34679 * math/w_sinhf.c: Likewise.
34680 * math/w_sinhl.c: Likewise.
34681 * math/w_sqrt.c: Likewise.
34682 * math/w_sqrtf.c: Likewise.
34683 * math/w_sqrtl.c: Likewise.
34684 * math/w_tgamma.c: Likewise.
34685 * math/w_tgammaf.c: Likewise.
34686 * math/w_tgammal.c: Likewise.
34688 * po/ja.po: Update from translation team.
34690 2011-09-29 Andreas Jaeger <aj@suse.de>
34693 * sunrpc/netname.c (netname2host): Fix logic.
34697 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
34699 * math/w_remainder.c (__remainder): Likewise.
34700 * math/w_remainderf.c (__remainderf): Likewise.
34701 * math/libm-test.inc (remainder_test): Add test cases.
34703 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34705 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
34708 2011-10-07 Ulrich Drepper <drepper@gmail.com>
34710 * string/test-memcmp.c: Avoid unncessary #defines.
34711 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34713 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34715 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
34716 Use new sse2 version for core i3 - i7 as it's faster
34717 than sse42 version.
34718 (bit_Prefer_PMINUB_for_stringop): New.
34719 * sysdeps/x86_64/rawmemchr.S: Update.
34720 Replace with faster SSE2 version.
34721 * sysdeps/x86_64/memrchr.S: New file.
34722 * sysdeps/x86_64/memchr.S: Update.
34723 Replace with faster SSE2 version.
34725 2011-09-12 Marek Polacek <mpolacek@redhat.com>
34727 * elf/dl-load.c (lose): Add cast to avoid warning.
34729 2011-10-07 Ulrich Drepper <drepper@gmail.com>
34731 * po/ca.po: Update from translation team.
34733 * inet/getnetgrent_r.c: Hook up nscd.
34734 * nscd/Makefile (routines): Add nscd_netgroup.
34735 (nscd-modules): Add netgroupcache.
34736 (CFLAGS-netgroupcache.c): Define.
34737 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34738 (cache_search): Add const to second parameter.
34739 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34741 (dbs): Add netgrdb entry.
34742 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34743 (verify_persistent_db): Handle netgrdb.
34744 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34745 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34747 (netgroup_response_header): Define.
34748 (innetgroup_response_header): Define.
34749 (datahead): Add netgroup_response_header and innetgroup_response_header
34751 * nscd/nscd.conf: Add entries for netgroup cache.
34752 * nscd/nscd.h (dbtype): Add netgrdb.
34753 (_PATH_NSCD_NETGROUP_DB): Define.
34754 (netgroup_iov_disabled): Declare.
34755 (xmalloc, xcalloc, xrealloc): Move declarations here.
34756 (cache_search): Adjust prototype.
34757 Add netgroup-related prototypes.
34758 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34759 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34760 (__nscd_innetgr): Declare.
34761 * nscd/selinux.c (perms): Use access_vector_t as element type and
34762 add netgroup-related initializers.
34763 * nscd/netgroupcache.c: New file.
34764 * nscd/nscd_netgroup.c: New file.
34765 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34766 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34767 For four parameters use innetgr.
34768 * nss/nss_files/files-init.c: Add definition and callback for netgr.
34769 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34770 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34771 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34773 * nscd/connections.c (register_traced_file): Don't register file
34774 for disabled databases.
34776 2011-10-06 Ulrich Drepper <drepper@gmail.com>
34778 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34780 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34781 from tree and freeing node.
34783 2011-09-25 Jiri Olsa <jolsa@redhat.com>
34785 * nss/nsswitch.c (__nss_database_lookup): Handle
34786 nss_parse_service_list out of memory case.
34788 2011-09-15 Jiri Olsa <jolsa@redhat.com>
34790 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34791 out of memory case.
34793 2011-10-04 Andreas Schwab <schwab@redhat.com>
34795 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34796 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34798 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34799 elf_machine_rela, elf_machine_lazy_rel.
34800 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34801 (ELF_DYNAMIC_DO_REL): Likewise.
34802 (ELF_DYNAMIC_DO_RELA): Likewise.
34803 (ELF_DYNAMIC_RELOCATE): Likewise.
34804 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34805 to ELF_DYNAMIC_DO_REL.
34806 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34807 (dl_main): In trace mode always set __RTLD_NOIFUNC.
34808 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34810 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34811 skip_ifunc, don't call ifunc function if non-zero.
34812 (elf_machine_rela): Likewise.
34813 (elf_machine_lazy_rel): Likewise.
34814 (elf_machine_lazy_rela): Likewise.
34815 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34816 (elf_machine_lazy_rel): Likewise.
34817 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34819 (elf_machine_lazy_rel): Likewise.
34820 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34822 (elf_machine_lazy_rel): Likewise.
34823 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34824 (elf_machine_lazy_rel): Likewise.
34825 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34826 (elf_machine_lazy_rel): Likewise.
34827 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34828 (elf_machine_lazy_rel): Likewise.
34829 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34830 (elf_machine_lazy_rel): Likewise.
34831 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34832 (elf_machine_lazy_rel): Likewise.
34833 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34834 (elf_machine_lazy_rel): Likewise.
34836 2011-09-28 Ulrich Drepper <drepper@gmail.com>
34838 * nss/nss_files/files-init.c (_nss_files_init): Use static
34839 initialization for all the *_traced_file variables.
34841 2011-09-28 Andreas Schwab <schwab@redhat.com>
34843 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34845 2011-09-27 Roland McGrath <roland@hack.frob.com>
34848 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34850 2011-09-27 Andreas Schwab <schwab@redhat.com>
34852 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34853 Reread the line before reparsing it.
34855 2011-09-26 Andreas Schwab <schwab@redhat.com>
34857 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34859 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
34860 Maxim Kuvyrkov <maxim@codesourcery.com>
34861 Joseph Myers <joseph@codesourcery.com>
34863 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34864 if needed for __stack_chk_guard.
34866 2011-09-19 Roland McGrath <roland@hack.frob.com>
34868 * sysdeps/posix/spawni.c (script_execute): Always define it.
34869 It will be optimized away if unused.
34870 (maybe_script_execute): New function.
34871 (__spawni): Call it.
34873 * Makerules: Don't include tls.make.
34874 (config-tls): Always set to thread.
34875 * tls.make.c: File removed.
34877 2011-09-19 Mike Frysinger <vapier@gentoo.org>
34879 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34880 * config.make.in (CPPFLAGS-config): New substituted variable.
34882 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34884 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34887 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34888 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34890 2011-09-15 Roland McGrath <roland@hack.frob.com>
34892 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34893 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34894 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34895 (CALL_FAIL): Likewise.
34896 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34897 (CALL_FAIL): Macro removed.
34898 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34900 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34902 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34903 for __FINITE_MATH_ONLY__ == 1.
34905 2011-09-15 Andreas Schwab <schwab@redhat.com>
34907 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34908 __ieee754_sqrt instead of sqrt.
34909 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34910 __ieee754_sqrtf instead of sqrtf.
34911 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34912 __floorf instead of floorf.
34913 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34914 __floorf, __truncf instead of floorf, truncf.
34916 2011-09-14 Ulrich Drepper <drepper@gmail.com>
34918 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34920 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34921 __extern_always_inline.
34922 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34925 2011-09-14 Andreas Schwab <schwab@redhat.com>
34927 * elf/rtld.c (dl_main): Also relocate in dependency order when
34928 doing symbol dependency testing.
34930 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
34932 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34933 Always define `refsym'.
34935 2011-09-13 Andreas Schwab <schwab@redhat.com>
34937 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34938 (__FD_ELT): Renamed from __FDELT.
34939 * misc/bits/select2.h (__FD_ELT): Likewise.
34940 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34941 __FD_MASK instead of __FDELT, __FDMASK.
34942 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34944 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34947 * elf/Makefile (gen-ldd): Fix pattern.
34949 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34950 (init_tls): Likewise.
34952 2011-09-12 Ulrich Drepper <drepper@gmail.com>
34954 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34956 2011-09-12 Andreas Schwab <schwab@redhat.com>
34958 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34959 `struct cmsghdr *' instead of `void *'.
34960 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34963 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
34965 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34967 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34968 ldd_rewrite_script.
34970 2011-09-11 Ulrich Drepper <drepper@gmail.com>
34972 * configure.in: Remove --with-tls option.
34973 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34974 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34975 out in case it is missing.
34976 * sysdeps/ia64/elf/configure.in: Likewise.
34977 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34978 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34979 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34980 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34981 * sysdeps/sh/elf/configure.in: Likewise.
34982 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34983 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34984 * sysdeps/x86_64/elf/configure.in: Likewise.
34985 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34986 * sysdeps/mach/hurd/tls.h: Likewise.
34989 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34992 * configure.in: Fix use of AC_INIT.
34994 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34996 2011-09-10 Ulrich Drepper <drepper@gmail.com>
34998 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
35000 * malloc/hooks.c: Likewise.
35003 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
35004 variables statically.
35005 (narenas): Initialize.
35006 (list_lock): Initialize.
35007 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
35008 initializtion of main_arena and list_lock. Small cleanups.
35009 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
35010 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
35011 Add initializers to main_arena and mp_.
35012 (malloc_state): Remove pagesize member. Change all users to use
35015 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
35016 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
35017 is always initialized.
35019 * malloc/malloc.c: Removed unused configurations and dead code.
35020 * malloc/arena.c: Likewise.
35021 * malloc/hooks.c: Likewise.
35022 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
35024 * include/tls.h: Removed. USE___THREAD must always be defined.
35025 * bits/libc-tsd.h: Don't handle !USE___THREAD.
35026 * elf/dl-libc.c: Likewise.
35027 * elf/dl-tsd.c: Likewise.
35028 * include/errno.h: Likewise.
35029 * include/netdb.h: Likewise.
35030 * include/resolv.h: Likewise.
35031 * inet/herrno-loc.c: Likewise.
35032 * inet/herrno.c: Likewise.
35033 * malloc/arena.c: Likewise.
35034 * malloc/hooks.c: Likewise.
35035 * malloc/malloc.c: Likewise.
35036 * resolv/res-state.c: Likewise.
35037 * resolv/res_libc.c: Likewise.
35038 * sysdeps/i386/dl-machine.h: Likewise.
35039 * sysdeps/ia64/dl-machine.h: Likewise.
35040 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35041 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35042 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35043 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35044 * sysdeps/sh/dl-machine.h: Likewise.
35045 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35046 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35047 * sysdeps/unix/i386/sysdep.S: Likewise.
35048 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35049 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35050 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35051 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35052 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35053 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35054 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35055 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35056 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35057 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35058 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35059 * sysdeps/x86_64/dl-machine.h: Likewise.
35060 * tls.make.c: Likewise.
35062 * configure.in: Remove --with-__thread option. Make tests for
35063 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
35064 tls_model attribute fail if no support is available. Remove
35066 * Makeconfig: Adjust for dropped configure option. All features are
35068 * Makerules: Likewise.
35069 * Versions.def: Likewise.
35070 * argp/argp-fmtstream.c: Likewise.
35071 * argp/argp-fmtstream.h: Likewise.
35072 * argp/argp-help.c: Likewise.
35073 * assert/assert.c: Likewise.
35074 * config.h.in: Likewise.
35075 * config.make.in: Likewise.
35076 * configure: Likewise.
35077 * configure.in: Likewise.
35078 * csu/Versions: Likewise.
35079 * csu/init.c: Likewise.
35080 * elf/tst-audit2.c: Likewise.
35081 * elf/tst-tls10.c: Likewise.
35082 * elf/tst-tls10.h: Likewise.
35083 * elf/tst-tls11.c: Likewise.
35084 * elf/tst-tls12.c: Likewise.
35085 * elf/tst-tls14.c: Likewise.
35086 * elf/tst-tlsmod11.c: Likewise.
35087 * elf/tst-tlsmod12.c: Likewise.
35088 * elf/tst-tlsmod13.c: Likewise.
35089 * elf/tst-tlsmod13a.c: Likewise.
35090 * elf/tst-tlsmod14a.c: Likewise.
35091 * elf/tst-tlsmod15b.c: Likewise.
35092 * elf/tst-tlsmod16a.c: Likewise.
35093 * elf/tst-tlsmod16b.c: Likewise.
35094 * elf/tst-tlsmod7.c: Likewise.
35095 * elf/tst-tlsmod8.c: Likewise.
35096 * elf/tst-tlsmod9.c: Likewise.
35097 * gmon/gmon.c: Likewise.
35098 * grp/fgetgrent_r.c: Likewise.
35099 * grp/putgrent.c: Likewise.
35100 * hurd/fopenport.c: Likewise.
35101 * include/libc-symbols.h: Likewise.
35102 * include/tls.h: Likewise.
35103 * intl/gettextP.h: Likewise.
35104 * intl/loadinfo.h: Likewise.
35105 * locale/global-locale.c: Likewise.
35106 * locale/localeinfo.h: Likewise.
35107 * mach/devstream.c: Likewise.
35108 * malloc/arena.c: Likewise.
35109 * malloc/set-freeres.c: Likewise.
35110 * misc/err.c: Likewise.
35111 * misc/getttyent.c: Likewise.
35112 * misc/mntent_r.c: Likewise.
35113 * posix/getopt.c: Likewise.
35114 * posix/wordexp.c: Likewise.
35115 * pwd/fgetpwent_r.c: Likewise.
35116 * resolv/Versions: Likewise.
35117 * resolv/res_hconf.c: Likewise.
35118 * shadow/fgetspent_r.c: Likewise.
35119 * shadow/putspent.c: Likewise.
35120 * stdio-common/printf_fphex.c: Likewise.
35121 * stdio-common/tmpfile.c: Likewise.
35122 * stdlib/abort.c: Likewise.
35123 * stdlib/fmtmsg.c: Likewise.
35124 * sunrpc/auth_unix.c: Likewise.
35125 * sunrpc/clnt_perr.c: Likewise.
35126 * sunrpc/clnt_tcp.c: Likewise.
35127 * sunrpc/clnt_udp.c: Likewise.
35128 * sunrpc/clnt_unix.c: Likewise.
35129 * sunrpc/openchild.c: Likewise.
35130 * sunrpc/svc_simple.c: Likewise.
35131 * sunrpc/svc_tcp.c: Likewise.
35132 * sunrpc/svc_udp.c: Likewise.
35133 * sunrpc/svc_unix.c: Likewise.
35134 * sunrpc/xdr.c: Likewise.
35135 * sunrpc/xdr_array.c: Likewise.
35136 * sunrpc/xdr_rec.c: Likewise.
35137 * sunrpc/xdr_ref.c: Likewise.
35138 * sunrpc/xdr_stdio.c: Likewise.
35140 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35142 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35144 2011-07-03 Andreas Jaeger <aj@suse.de>
35146 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
35147 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
35148 regenerate with gen-libm-tests.pl.
35150 2010-05-12 Petr Baudis <pasky@suse.cz>
35153 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
35154 around j0() zero points by switching to j1().
35155 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35156 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35157 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35158 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35160 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35162 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
35164 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
35166 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35167 Patch in part by Pavel Roskin <proski@gnu.org>.
35170 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
35172 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
35173 Free memory block if necessary.
35176 * libio/genops.c (INTDEF): For string streams the _lock pointer can
35177 be NULL. Don't lock in this case.
35179 2011-09-09 Roland McGrath <roland@hack.frob.com>
35181 * elf/elf.h (ELFOSABI_GNU): New macro.
35182 (ELFOSABI_LINUX): Define to that.
35184 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
35186 * string/strncat.c (strncat): Undef the symbol in case it has been
35187 defined in bits/string.h.
35189 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35191 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
35193 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
35196 2011-08-17 Andreas Jaeger <aj@suse.de>
35198 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
35200 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
35201 Ian Lance Taylor <iant@google.com>
35203 * math/libm-test.inc (lround_test): New testcase.
35204 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
35206 2011-09-08 Ulrich Drepper <drepper@gmail.com>
35208 * Makefile: Remove support for automatic cvs check-ins.
35209 * Makerules: Likewise.
35210 * config.make.in: Likewise.
35211 * configure.in: Likewise.
35212 * intl/Makefile: Likewise.
35213 * locale/Makefile: Likewise.
35214 * po/Makefile: Likewise.
35215 * posix/Makefile: Likewise.
35216 * sysdeps/gnu/Makefile: Likewise.
35217 * sysdeps/mach/hurd/Makefile: Likewise.
35218 * sysdeps/sparc/sparc32/Makefile: Likewise.
35221 * posix/Makefile (bug-regex32-ENV): Define.
35222 Patch by John Stanley <jpsinthemix@verizon.net>.
35224 * misc/Makefile (headers): Add bits/select2.h.
35225 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
35226 * misc/bits/select2.h: New file.
35227 * include/bits/select2.h: New file.
35228 * debug/Makefile (routines): Add fdelt_chk.
35229 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
35230 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
35232 * debug/fdelt_chk.c: New file.
35234 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
35235 * wcsmbs/test-wmemcmp.c: Likewise.
35236 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
35237 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
35239 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35241 * string/Makefile (strop-tests): Add memcmp.
35242 * string/test-wmemcmp.c: New file.
35243 * string/test-memcmp.c: Add wmemcmp support.
35245 2011-09-08 Roland McGrath <roland@hack.frob.com>
35248 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
35251 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
35252 garbage value in a __mach_port_mod_refs call in the cases of the
35253 task-self and thread-self ports.
35255 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35257 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
35259 2011-09-08 Andreas Schwab <schwab@redhat.com>
35261 * elf/dl-load.c (lose): Check for non-null L.
35263 2011-09-07 Ulrich Drepper <drepper@gmail.com>
35265 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
35267 * elf/dl-libc.c (dlerror_run): Pass back error code from
35271 * elf/dl-load.c (lose): Free l_origin if it is valid.
35273 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
35275 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35276 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35277 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35278 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35279 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35280 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
35282 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35284 * sysdeps/powerpc/fpu/e_hypot.c: New file.
35285 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
35286 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
35287 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
35288 * sysdeps/powerpc/fpu/k_cosf.c: New file.
35289 * sysdeps/powerpc/fpu/k_sinf.c: New file.
35290 * sysdeps/powerpc/fpu/s_cosf.c: New file.
35291 * sysdeps/powerpc/fpu/s_sinf.c: New file.
35292 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
35293 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
35295 2011-08-15 Alan Modra <amodra@gmail.com>
35298 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
35299 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
35300 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
35301 ppc_mcount to static-only-routines.
35302 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
35304 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
35305 __mcount_internal with usual JUMPTARGET. Remove useless nop.
35307 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
35309 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
35310 for finite and infinity parameters.
35312 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35314 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
35315 and add nop instructions for throughput optimization.
35316 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35318 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
35320 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
35321 aligned copy for power7 with vector-scalar instructions.
35322 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
35324 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
35326 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
35329 2011-09-07 Andreas Schwab <schwab@redhat.com>
35332 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
35335 2011-09-07 Ulrich Drepper <drepper@gmail.com>
35337 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35338 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
35339 syscall wrapper around clock_gettime in __vdso_clock_gettime.
35340 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
35343 2011-09-06 Ulrich Drepper <drepper@gmail.com>
35345 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
35346 Forgot to demangle the pointer.
35348 * sysdeps/i386/sysdep.h: Define atom_text_section.
35349 * sysdeps/x86_64/sysdep.h: Likewise.
35350 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
35351 section with atom_text_section.
35352 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35353 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35354 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
35355 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35356 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
35358 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
35359 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
35360 already be defined. Change to take two parameters and don't assign
35361 result to variable. Adjust all users.
35362 Define INTERNAL_GETTIME if not already defined.
35363 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
35365 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
35366 HAVE_CLOCK_GETTIME_VSYSCALL.
35367 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
35369 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
35370 gettimeofday vsyscall, just use time.
35372 2011-09-06 Andreas Schwab <schwab@redhat.com>
35374 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
35377 2011-09-06 Ulrich Drepper <drepper@gmail.com>
35379 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
35381 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
35383 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35384 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
35385 syscall if possible.
35387 2011-09-05 Ulrich Drepper <drepper@gmail.com>
35389 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
35390 e_ident. Don't pass to find_mapsXX.
35391 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
35393 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35395 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35396 strchr-sse2-no-bsf strrchr-sse2-no-bsf
35397 * sysdeps/x86_64/multiarch/strchr.S: Update.
35398 Check bit_slow_BSF bit.
35399 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35400 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
35401 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
35403 2011-09-05 Ulrich Drepper <drepper@gmail.com>
35406 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
35408 (tryshell): Define.
35409 (__spawni): Change last parameter to be flag. Test
35410 SPAWN_XFLAGS_USE_PATH flag to use path or not.
35411 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
35412 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
35413 * posix/spawni.c: Likewise.
35414 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
35415 * posix/spawnp.c: Likewise. Change normal version to use
35416 SPAWN_XFLAGS_USE_PATH.
35417 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
35418 SPAWN_XFLAGS_TRY_SHELL.
35421 * posix/glob.h: Remove gcc 1.x support.
35424 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
35426 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35428 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35429 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
35431 * sysdeps/i386/i686/multiarch/strchr.S: New file.
35432 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
35433 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
35434 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
35435 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
35436 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
35438 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35440 * sysdeps/x86_64/wcscmp.S: New file.
35442 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
35443 wcscmp-c wcscmp-sse2
35444 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
35445 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
35446 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
35447 * wcsmbs/wcscmp.c: Allow renaming.
35449 2011-09-05 David S. Miller <davem@davemloft.net>
35451 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
35452 stack slot, rather than the struct return pointer slot.
35453 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
35454 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
35455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
35456 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
35458 2011-09-05 Ulrich Drepper <drepper@gmail.com>
35460 * po/ja.po: Update from translation team.
35463 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
35464 kernel in 64-bit binaries.
35466 2011-09-01 David S. Miller <davem@davemloft.net>
35468 * elf/elf.h (HWCAP_SPARC_*): Move to..
35469 * sysdeps/sparc/sysdep.h: this new file and add new values.
35470 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
35471 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
35472 _DL_HWCAP_COUNT to 24.
35473 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35475 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
35476 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
35477 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
35478 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
35479 instead of magic constants.
35480 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35482 2011-08-31 David S. Miller <davem@davemloft.net>
35484 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
35485 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
35486 Reimplement to do errno handling inline.
35487 (SYSCALL_ERROR_HANDLER): New macro.
35488 (__SYSCALL_STRING): Do not do errno handling in asm.
35489 (__CLONE_SYSCALL_STRING): Delete.
35490 (__INTERNAL_SYSCALL_STRING): Delete.
35491 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
35492 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
35493 (PSEUDO): Reimplement to do errno handling inline.
35494 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
35495 (SYSCALL_ERROR_HANDLER): New macro.
35496 (__SYSCALL_STRING): Do not do errno handling in asm.
35497 (__CLONE_SYSCALL_STRING): Delete.
35498 (__INTERNAL_SYSCALL_STRING): Delete.
35499 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
35500 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
35502 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
35503 (inline_syscall*): Add 'err' argument.
35504 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
35505 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
35506 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
35507 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
35509 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
35510 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35512 2011-08-30 Andreas Schwab <schwab@redhat.com>
35514 * elf/rtld.c (dl_main): Relocate objects in dependency order.
35516 2011-08-29 Jiri Olsa <jolsa@redhat.com>
35518 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
35521 2011-08-24 David S. Miller <davem@davemloft.net>
35523 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
35525 2011-08-24 Andreas Schwab <schwab@redhat.com>
35527 * elf/Makefile: Add rules to build and run unload8 test.
35528 * elf/unload8.c: New file.
35529 * elf/unload8mod1.c: New file.
35530 * elf/unload8mod1x.c: New file.
35531 * elf/unload8mod2.c: New file.
35532 * elf/unload8mod3.c: New file.
35534 * elf/dl-close.c (_dl_close_worker): Reset private search list if
35537 2011-08-23 David S. Miller <davem@davemloft.net>
35539 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
35540 subtract stack bias.
35541 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
35542 %sp not %fp in calculations.
35543 (_JMPBUF_UNWINDS_ADJ): Likewise.
35545 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
35546 (aio_suspend): Call it to force an exception region around the
35547 AIO_MISC_WAIT() invocation.
35549 2011-08-23 Andreas Schwab <schwab@redhat.com>
35551 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
35554 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
35556 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
35558 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
35559 and <dl-machine.h>.
35560 (Elf64_FuncDesc): Remove.
35562 2011-08-22 David S. Miller <davem@davemloft.net>
35564 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
35565 sigaltstack check, add missing cfi directives.
35566 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
35567 missing cfi directives, and sigaltstack handling.
35569 2011-08-16 Andreas Schwab <schwab@redhat.com>
35572 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
35573 object is seen twice.
35574 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35576 * elf/Makefile (distribute): Add tst-initorder2.c.
35577 (tests): Add tst-initorder2.
35578 (modules-names): Add tst-initorder2a tst-initorder2b
35579 tst-initorder2c tst-initorder2d. Add rules to build them.
35580 ($(objpfx)tst-initorder2.out): New rule.
35581 * elf/tst-initorder2.c: New file.
35582 * elf/tst-initorder2.exp: New file.
35584 2011-08-22 Andreas Schwab <schwab@redhat.com>
35586 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
35588 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
35589 dependencies back to end of function.
35591 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35592 $(elfobjdir)/ld.so.
35594 2011-08-21 Ulrich Drepper <drepper@gmail.com>
35596 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
35597 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
35598 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
35599 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
35600 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
35601 of __vdso_gettimeofday.
35602 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
35603 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
35605 (_libc_vdso_platform_setup): Remove initialization of
35606 __vdso_gettimeofday and __vdso_time.
35608 2011-08-20 Ulrich Drepper <drepper@gmail.com>
35610 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
35611 and fgetc_unlocked.
35612 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
35615 * elf/dl-open.c (add_to_global): Report additions to the global scope
35616 for LD_DEBUG=scopes.
35617 (dl_open_worker): Also print scope of newly loaded dependencies.
35618 (_dl_show_scope): Indicate if there is no scope.
35621 * stdio-common/Makefile (tests): Add bug24.
35622 * stdio-common/bug24.c: New file.
35624 2011-08-19 Andreas Jaeger <aj@suse.de>
35627 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
35628 non-existant file when using close-on-exec mode.
35630 2011-08-20 Ulrich Drepper <drepper@gmail.com>
35632 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
35633 the very first instruction.
35635 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
35636 the CFI state in the end.
35637 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
35638 inclusion of dl-trampoline.h.
35639 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
35641 2011-08-19 Andreas Schwab <schwab@redhat.com>
35643 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
35644 expectations for long double.
35646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
35647 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
35649 2011-08-14 David S. Miller <davem@davemloft.net>
35651 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
35652 artificual limit depends upon the system page size.
35654 2011-08-17 Ulrich Drepper <drepper@gmail.com>
35656 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
35657 * resolv/Makefile: Define CFLAGS-libresolv.
35659 2011-08-17 Andreas Schwab <schwab@redhat.com>
35661 * nss/makedb.c (compute_tables): Make variables used in nested
35664 2011-08-17 Ulrich Drepper <drepper@gmail.com>
35666 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
35667 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
35668 if buffer was too small.
35670 * elf/pldd.c (main): Attach to all threads in the process.
35671 Rewrite /proc handling to use *at functions.
35673 2011-08-16 Ulrich Drepper <drepper@gmail.com>
35675 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
35676 specifies first scope to show.
35677 (dl_open_worker): Update callers. Move printing scope of new
35678 object to before the relocation.
35679 * elf/rtld.c (dl_main): Update _dl_show_scope call.
35680 * sysdeps/generic/ldsodefs.h: Update declaration.
35682 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
35683 string for the scope number.
35685 2011-08-14 Ulrich Drepper <drepper@gmail.com>
35687 * nscd/servicescache.c (cache_addserv): Make sure written is always
35690 2011-08-14 Roland McGrath <roland@hack.frob.com>
35692 * sysdeps/i386/i486/bits/atomic.h
35693 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
35694 statement expression, so as to suppress "set but not used" warning.
35695 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
35697 * string/strncat.c (STRNCAT): Use prototype definition.
35699 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
35700 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
35702 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
35703 (localedef-modules): Add localedef.
35704 (locale-modules): Add locale.
35706 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
35707 * elf/rtld.c (dl_main): Invert order of assignment in last change,
35708 to avoid a warning.
35710 2011-08-14 David S. Miller <davem@davemloft.net>
35712 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
35713 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35715 2011-08-13 Ulrich Drepper <drepper@gmail.com>
35717 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
35718 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
35719 * elf/rtld.c (dl_main): Set l_name of vDSO.
35720 Call _dl_show_scope when DL_DEBUG_SCOPES.
35721 (process_dl_debug): Recognize scopes flag and also set it for all.
35722 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
35723 Declare _dl_show_scope.
35725 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
35726 (do_dlopen): Pass caller_dlopen to dl_open.
35727 (__libc_dlopen_mode): Initialize caller_dlopen.
35729 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
35730 of libc. Make tolower call locale-independent. Optimize a bit by
35731 using isdigit instead of isalnum.
35732 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
35734 2011-08-12 Ulrich Drepper <drepper@gmail.com>
35736 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35737 was a dependency or dynamically loaded.
35739 2011-08-11 Ulrich Drepper <drepper@gmail.com>
35741 * intl/l10nflist.c: Allow architecture-specific pop function.
35742 * sysdeps/x86_64/l10nflist.c: New file.
35744 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35747 2011-08-10 Andreas Schwab <schwab@redhat.com>
35749 * include/dirent.h: Add libc_hidden_proto for scandirat and
35750 scandirat64. Don't declare __scandirat64.
35751 * dirent/scandirat.c: Add libc_hidden_def.
35752 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35753 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35755 2011-08-10 David S. Miller <davem@davemloft.net>
35757 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35759 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35760 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35761 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35763 2011-08-09 Ulrich Drepper <drepper@gmail.com>
35765 * Versions.def [libc]: Add GLIBC_2.15.
35766 * dirent/Makefile (routines): Add scandirat and scandirat64.
35767 * dirent/Versions [libc]: Export scandirat and scandirat64 for
35769 * dirent/dirent.h: Declare scandirat and scandirat64.
35770 * dirent/scandirat.c: New file.
35771 * dirent/scandirat64.c: New file.
35772 * sysdeps/wordsize-64/scandirat.c: New file.
35773 * sysdeps/wordsize-64/scandirat64.c: New file.
35774 * dirent/opendir.c: Define opendirat.
35775 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
35777 * dirent/scandir64.c: Adjust for scandir.c change.
35778 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
35779 __scandirat64, and __scandir_cancel_handler.
35780 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
35781 additional parameter and use openat instead of open (outside of ld.so).
35782 Add new __opendir as wrapper around __opendirat.
35783 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35784 here without requiring old scandirat implementation.
35786 2011-08-08 Ulrich Drepper <drepper@gmail.com>
35788 * dirent/scandir.c (cancel_handler): Renamed to
35789 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
35790 defined. Adjust users.
35791 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35792 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35794 2011-08-04 Ulrich Drepper <drepper@gmail.com>
35796 * string/test-string.h (IMPL): Use __STRING to expand name and then
35799 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
35802 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35804 * string/Makefile: Update.
35805 (strop-tests): Append strncat.
35806 * string/test-wcscmp.c: New file.
35807 New comprehensive test for wcscmp.
35808 * string/test-strcmp.c: Update.
35809 (WIDE): New define.
35811 2011-07-22 Andreas Schwab <schwab@redhat.com>
35813 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35816 2011-07-26 Andreas Schwab <schwab@redhat.com>
35818 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35819 encoding to ACE if AI_IDN.
35821 2011-08-01 Jakub Jelinek <jakub@redhat.com>
35823 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35824 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35826 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35828 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35829 Fix overflow bug in strncat.
35830 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35832 * string/test-strncat.c: Update.
35833 Add new tests for checking overflow bugs.
35835 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35837 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35838 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35839 * sysdeps/i386/i686/multiarch/strcat.S: New file.
35840 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35841 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35842 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35843 * sysdeps/i386/i686/multiarch/strncat.S: New file.
35844 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35845 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35847 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35848 (USE_AS_STRCAT): Define.
35849 Add strcat and strncat support.
35850 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35852 2011-07-25 Andreas Schwab <schwab@redhat.com>
35854 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35855 __n bigger than INT_MAX+1.
35856 (__strncmp_g): Likewise.
35858 2011-07-23 Ulrich Drepper <drepper@gmail.com>
35860 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35861 * libio/stido.h: Likewise.
35863 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35865 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35868 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35869 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35870 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35871 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35872 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35875 * scripts/test-installation.pl: Don't expect libnss_test1 to be
35878 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35880 (_dl_x86_64_save_sse): Likewise.
35882 2011-07-22 Ulrich Drepper <drepper@gmail.com>
35884 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35886 (_dl_x86_64_save_sse): Likewise.
35888 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35890 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35892 2011-07-21 Andreas Schwab <schwab@redhat.com>
35894 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35896 (_dl_x86_64_save_sse): Use correct AVX check.
35898 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35900 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35901 bug in strncpy/strncat.
35902 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35904 2011-07-21 Ulrich Drepper <drepper@gmail.com>
35906 * string/tester.c (test_strcat): Add tests for different alignments
35907 of source and destination.
35908 (test_strncat): Likewise.
35910 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35913 * posix/glob.c (glob): Check passed in values before using them in
35914 expressions to avoid some overflows.
35915 (glob_in_dir): Likewise.
35918 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35919 check for AVX enablement so that we don't crash with old kernels and
35921 * elf/tst-audit4.c: Add same checks here.
35922 * elf/tst-audit6.c: Likewise.
35924 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35926 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
35928 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35930 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35932 * po/cs.po: Update from translation team.
35933 * po/bg.po: Likewise.
35935 2011-07-12 Marek Polacek <mpolacek@redhat.com>
35937 * misc/sys/cdefs.h: Add support for const attribute.
35938 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35939 to gnu_dev_{major,minor,makedev} functions.
35941 2011-07-20 Marek Polacek <mpolacek@redhat.com>
35943 * intl/dcigettext.c (get_output_charset): Add missing bracket.
35945 2011-07-20 Andreas Schwab <schwab@redhat.com>
35947 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35950 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35952 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35953 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35954 register in order to avoid conflicts with the soft frame pointer
35955 being held in r11 when necessary.
35956 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35957 (INTERNAL_VSYSCALL_NCS): Likewise.
35959 2011-07-14 Marek Polacek <mpolacek@redhat.com>
35961 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35962 * elf/dl-fini.c (_dl_fini): Adjust caller.
35963 * elf/dl-close.c (_dl_close_worker): Likewise.
35964 * sysdeps/generic/ldsodefs.h: Adjust declaration.
35966 2011-07-15 Marek Polacek <mpolacek@redhat.com>
35968 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35969 "aux_cache->nlibs < 0".
35971 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35972 in the reload-count case.
35974 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35976 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35977 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35978 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35979 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35980 * sysdeps/x86_64/multiarch/strcat.S: New file.
35981 * sysdeps/x86_64/multiarch/strncat.S: New file.
35982 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35983 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35984 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35985 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35986 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35987 (USE_AS_STRCAT): Define.
35988 Add strcat and strncat support.
35989 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35990 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35991 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35992 * string/strncat.c: Update.
35993 (USE_AS_STRNCAT): Define.
35994 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35995 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35997 * sysdeps/x86_64/multiarch/init-arch.h
35998 (bit_Prefer_PMINUB_for_stringop): New.
35999 (index_Prefer_PMINUB_for_stringop): Likewise.
36000 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
36001 bit_Prefer_PMINUB_for_stringop.
36003 2011-07-19 Ulrich Drepper <drepper@gmail.com>
36005 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
36007 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
36008 of casting of buffer.
36009 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
36010 buffer32 and buffer64.
36011 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
36012 writes instead of casting of buffer.
36013 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
36015 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
36018 2011-07-19 Andreas Schwab <schwab@redhat.com>
36020 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36022 2011-07-19 Ulrich Drepper <drepper@gmail.com>
36024 * nscd/nscd.c (termination_handler): Don't do anything for a database
36025 if it has not yet been initialized.
36027 2011-07-18 Ulrich Drepper <drepper@gmail.com>
36029 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36031 2011-07-15 Marek Polacek <mpolacek@redhat.com>
36033 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36035 2011-07-18 Ulrich Drepper <drepper@gmail.com>
36037 * po/nl.po: Update from translation team.
36038 * po/sv.po: Likewise.
36040 2011-07-16 Roland McGrath <roland@hack.frob.com>
36042 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36043 now disallowed by GCC.
36045 * configure.in (use-default-link): Default to yes if a test -shared
36046 link meets our qualifications.
36047 * configure: Regenerated.
36049 * config.make.in (output-format): New variable.
36050 * configure.in: Check for ld --print-output-format support.
36051 * configure: Regenerated.
36052 * Makerules ($(common-objpfx)format.lds)
36053 [$(output-format) != unknown]: Just use $(output-format),
36054 instead of the linker-script munging.
36056 2011-07-14 Roland McGrath <roland@hack.frob.com>
36058 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36059 of $(common-objpfx)shlib.lds.
36060 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
36062 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36063 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36065 * configure.in (-z relro check): Adjust test code to add a large
36066 writable data section after it.
36067 * configure: Regenerated.
36069 2011-07-11 Roland McGrath <roland@hack.frob.com>
36071 * configure.in (-z relro check): Fix test code to make the variable
36073 * configure: Regenerated.
36075 2011-07-11 Ulrich Drepper <drepper@gmail.com>
36077 * nscd/nscd.h (struct traced_file): Define.
36078 (struct database_dyn): Remove inotify_descr, reset_res, and filename
36079 elements. Add traced_files.
36080 (inotify_fd): Declare.
36081 (register_traced_file): Declare.
36082 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
36083 (inotify_fd): Export.
36084 (resolv_conf_descr): Remove.
36085 (nscd_init): Move inotify descriptor creation to main.
36086 Don't register files for notification here.
36087 (register_traced_file): New function.
36088 (invalidate_cache): Don't use reset_res to determine whether to call
36089 res_init, go through the list of registered files.
36090 (main_loop_poll): The inotify descriptors are now stored in the
36091 structures for the traced files.
36092 (main_loop_epoll): Likewise
36093 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
36094 to __nss_disable_nscd.
36095 * nscd/cache.c (prune_cache): There is no single inotify descriptor
36096 for a database anymore. Check the records for all the registered
36098 * nss/Makefile (libnss_files-routines): Add files-init.
36099 (libnss_db-routines): Add db-init.
36100 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
36101 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
36102 * nss/nss_db/db-init.c: New file.
36103 * nss/nss_files/files-init.c: New file.
36104 * nss/nsswitch.c (nss_load_library): New function. Broken out of
36105 __nss_lookup_function.
36106 (__nss_lookup_function): Call nss_load_library.
36107 (nss_load_all_libraries): New function.
36108 (__nss_disable_nscd): Take parameter with callback function for files
36109 to register. Set is_nscd. Load all the DSOs for the NSS modules
36110 used for the cached services.
36111 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
36112 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
36113 options for features to all the files in nscd.
36115 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
36117 2011-07-10 Roland McGrath <roland@hack.frob.com>
36119 * csu/elf-init.c (__libc_csu_init): Comment typo.
36121 2011-07-09 Ulrich Drepper <drepper@gmail.com>
36123 * po/pl.po: Update from translation team.
36124 * po/ja.po: Likewise.
36125 * po/ru.po: Likewise.
36126 * po/ko.po: Likewise.
36127 * po/fr.po: Likewise.
36129 2011-07-09 Roland McGrath <roland@hack.frob.com>
36131 * configure.in (.ctors/.dtors header and trailer check):
36132 Use an empirical test on a built program.
36133 * configure: Regenerated.
36135 * configure.in (-z relro check): Use an empirical test on a built DSO.
36136 Detect, but do not require, on ia64.
36137 * configure: Regenerated.
36139 * configure.in (READELF): Find it with AC_CHECK_TOOL.
36140 Update tests that use readelf to use $READELF instead.
36141 * configure: Regenerated.
36143 2011-07-08 Ulrich Drepper <drepper@gmail.com>
36145 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
36146 if the result is not used.
36148 2011-07-05 Andreas Jaeger <aj@suse.de>
36151 * stdlib/tst-strtod.c: Add testcase.
36153 2011-07-07 Ulrich Drepper <drepper@gmail.com>
36155 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
36156 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
36157 The latter has a higher limit. Take additional parameter to pass to
36159 (__pathconf): Pass file to __statfs_link_max.
36160 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
36162 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
36166 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
36167 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36169 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
36170 (__statfs_filesize_max): Likewise.
36171 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
36173 2011-07-05 Andreas Jaeger <aj@suse.de>
36175 * resolv/res_comp.c (dn_skipname): Remove unused variable.
36177 2011-07-06 Marek Polacek <mpolacek@redhat.com>
36179 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
36181 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
36184 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
36186 * Makefile (strop-tests): Add strncat.
36187 * string/test-strncat.c: New file.
36189 2011-06-30 Marek Polacek <mpolacek@redhat.com>
36191 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
36193 2011-06-21 Andreas Jaeger <aj@suse.de>
36195 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
36196 Copy rule from iconvdata/Makefile.
36198 2011-07-06 Ulrich Drepper <drepper@gmail.com>
36201 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
36202 but no long options are defined, just return 'W'.
36204 2011-06-22 Marek Polacek <mpolacek@redhat.com>
36207 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
36209 2011-07-06 Ulrich Drepper <drepper@gmail.com>
36211 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
36213 (innetgr): Likewise.
36215 2011-07-05 Roland McGrath <roland@hack.frob.com>
36217 * config.make.in (install_root): Default to $(DESTDIR).
36219 2011-07-05 Ulrich Drepper <drepper@gmail.com>
36221 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
36223 2011-07-02 Roland McGrath <roland@hack.frob.com>
36225 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
36227 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
36228 containing directory rather than embedding absolute directory names.
36230 * scripts/check-local-headers.sh: Rewritten using awk.
36231 Match by word, not by line. Print error messages for matches.
36232 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
36234 * Makerules [shlib-lds-flags empty]:
36235 ($(common-objpfx)libc_pic.opts): New target.
36236 ($(common-objpfx)libc_pic.os.clean): New target.
36237 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
36239 * config.make.in (OBJCOPY): New variable.
36240 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
36241 * configure: Regenerated.
36243 * config.make.in (use-default-link): New variable.
36244 * configure.in (use_default_link): Grok --with-default-link to set it.
36245 * configure: Regenerated.
36246 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
36247 (shlib-lds, shlib-lds-flags): Define to empty.
36249 * Makerules (shlib-lds): New variable.
36250 (shlib-lds-flags): New variable.
36251 (build-shlib, build-moduile, build-module-asneeded): Use it.
36252 ($(common-objpfx)libc.so): Use $(shlib-lds).
36253 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
36254 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
36256 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
36257 DT_FLAGS/DT_FLAGS_1 with zero flags.
36259 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
36260 linker script munging.
36262 2011-07-02 Ulrich Drepper <drepper@gmail.com>
36264 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
36266 * crypt/sha512.c (sha512_process_block): Perform total addition using
36267 128-bit if possible.
36268 (__sha512_finish_ctx): Likewise.
36269 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
36271 * crypt/sha256.c (SWAP64): Define.
36272 (sha256_process_block): Perform total addition using 64-bit if
36274 (__sha256_finish_ctx): Likewise.
36276 2011-07-01 Ulrich Drepper <drepper@gmail.com>
36278 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
36279 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36280 * nscd/hstcache.c (cache_addhst): Likewise.
36281 * nscd/grpcache.c (cache_addgr): Likewise.
36282 * nscd/aicache.c (addhstaiX): Likewise
36283 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
36285 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
36287 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
36288 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36289 * nscd/hstcache.c (cache_addhst): Likewise.
36290 * nscd/grpcache.c (cache_addgr): Likewise.
36291 * nscd/aicache.c (addhstaiX): Likewise
36293 2011-07-01 Andreas Schwab <schwab@redhat.com>
36295 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
36296 domain only when needed.
36298 2011-06-30 Andreas Schwab <schwab@redhat.com>
36300 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
36301 is always restored.
36303 2011-06-29 Ulrich Drepper <drepper@gmail.com>
36305 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
36306 are re-adding the entry.
36307 * nscd/servicescache.c (cache_addserv): Likewise.
36309 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
36311 * sysdeps/generic/dl-irel.h: fix protection against multiple
36313 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
36315 2011-06-28 Ulrich Drepper <drepper@gmail.com>
36318 * malloc/memusage.sh: Fix quoting in message.
36319 * debug/xtrace.sh: Likewise.
36321 * configure.in: Remove support for --experimental-malloc option, make
36323 * config.make.in: Likewise.
36324 * malloc/Makefile: Likewise.
36326 2011-06-27 Andreas Schwab <schwab@redhat.com>
36328 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
36329 two-byte characters.
36331 2011-06-27 Roland McGrath <roland@hack.frob.com>
36333 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
36334 AC_CACHE_CHECK invocation.
36335 * configure: Regenerated.
36337 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
36339 2011-06-27 Ulrich Drepper <drepper@gmail.com>
36342 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
36343 bit from old_res_options.
36345 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
36347 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
36348 value type for setfct.
36350 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
36352 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36353 __gettimeofday instead of gettimeofday.
36355 2011-06-26 Ulrich Drepper <drepper@gmail.com>
36357 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
36359 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
36361 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
36363 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
36366 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36368 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36369 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36370 strcpy-sse2-unaligned strncpy-sse2-unaligned
36371 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
36372 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
36373 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
36374 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
36375 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
36376 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
36377 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
36378 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
36379 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
36380 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
36381 (STRCPY): Support SSE2 and SSSE3 versions.
36383 2011-06-24 Ulrich Drepper <drepper@gmail.com>
36386 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
36387 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
36388 kernels which artificially limit size of requests.
36390 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36392 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36393 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36394 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
36395 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
36396 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
36397 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
36398 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
36399 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
36400 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
36401 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
36402 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
36403 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
36404 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
36405 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
36406 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
36407 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36408 Enable unaligned load optimization for Intel Core i3, i5 and i7
36410 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
36412 (index_Fast_Unaligned_Load): Define.
36413 (HAS_FAST_UNALIGNED_LOAD): Define.
36415 2011-06-23 Marek Polacek <mpolacek@redhat.com>
36417 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
36419 2011-06-22 Ulrich Drepper <drepper@gmail.com>
36422 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
36423 until it is clear that the information is realy needed.
36424 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
36426 2011-06-22 Andreas Schwab <schwab@redhat.com>
36428 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
36430 2011-06-22 Ulrich Drepper <drepper@gmail.com>
36432 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36433 /sys/devices/system/cpu/online if it is usable.
36435 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
36436 reading the information from the /proc filesystem to once a second.
36438 2011-06-21 Andreas Jaeger <aj@suse.de>
36440 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
36441 NULL after inclusion of kernel headers.
36443 2011-06-21 Ulrich Drepper <drepper@gmail.com>
36445 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
36446 calls to internal_setent.
36449 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
36450 addresses using gethostbyname4_r ignore IPv4 addresses.
36452 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
36453 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
36455 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
36457 2011-06-20 David S. Miller <davem@davemloft.net>
36459 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
36461 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
36463 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
36464 (elf_irel): Use it.
36465 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
36466 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
36467 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
36468 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
36469 * sysdeps/x86_64/dl-irel.h: Likewise.
36471 * elf/dl-runtime.c: Use elf_ifunc_invoke.
36472 * elf/dl-sym.c: Likewise.
36474 2011-06-15 Ulrich Drepper <drepper@gmail.com>
36476 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
36477 need to dereference resplen2.
36479 2011-06-14 Andreas Schwab <schwab@redhat.com>
36481 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
36483 2011-06-15 Ulrich Drepper <drepper@gmail.com>
36485 * Makeconfig: Define vardbdir and inst_vardbdir.
36486 * nss/Makefile: Add rules to install db-Makefile.
36488 * nss/nss_db/db-XXX.c: Cleanup.
36490 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
36491 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
36493 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
36494 * nss/makedb.c: Implement -g option to specify that value strings
36495 are generated and should not be added to table iterated over for
36497 * nss/nss_db/db-initgroups.c: New file.
36499 * nss/getent.c: Add support for initgroups lookups through getgrouplist
36502 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
36503 (internal_getgrouplist): Adjust to name change.
36504 Update use_initgroups_entry if this is not the first call.
36505 * nss/databases.def: Add initgroups entry.
36507 * nss/makedb.c (compute_tables): Check result of multiple hash table
36508 sizes to minimize maximum chain length.
36510 2011-06-14 Ulrich Drepper <drepper@gmail.com>
36512 * Versions.def: Add entry for libnss_db.
36513 * shlib-versions: Likewise.
36514 * nss/Makefile: Add rules to build libnss_db.
36515 * nss/Versions: Add libnss_db information. Organize libnss_files
36517 * nss/db-Makefile: Add gshadow support. Change rules for the new
36518 makedb progra. Some minor improvements to generate smaller files.
36519 * nss/nss_db/nss_db.h: Move NSS database header data structures to
36521 * nss/makedb.c: ...here.
36522 Improve database format to be smaller and require less memory at
36524 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
36526 * nss/nss_db/db-netgrp.c: Likewise.
36527 * nss/nss_db/db-open.c: Likewise.
36528 * nss/nss_files/flies-XXX.x: Adjust comments.
36529 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
36530 * nss/nss_files/files-grp.c: Likewise.
36531 * nss/nss_files/files-hosts.c: Likewise.
36532 * nss/nss_files/files-network.c: Likewise.
36533 * nss/nss_files/files-proto.c: Likewise.
36534 * nss/nss_files/files-pwd.c: Likewise.
36535 * nss/nss_files/files-rpc.c: Likewise.
36536 * nss/nss_files/files-service.c: Likewise.
36537 * nss/nss_files/files-sgrp.c: Likewise.
36538 * nss/nss_files/files-spwd.c: Likewise.
36539 * nss/nss_db/db-alias.c: Removed.
36540 * nss/nss_db/dummy-db.h: Removed.
36542 2011-06-02 Ulrich Drepper <drepper@gmail.com>
36544 * nss/makedb.c: Rewritten to not use database library.
36545 * nss/Makefile: Update to build new makedb program.
36547 2011-06-14 Andreas Jaeger <aj@suse.de>
36549 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
36550 memset declaration.
36552 2011-06-10 Andreas Schwab <schwab@redhat.com>
36554 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
36557 2011-06-10 Roland McGrath <roland@hack.frob.com>
36559 * Makerules (shlib.lds): Fail if the linker script comes out empty.
36560 * elf/Makefile ($(objpfx)ld.so): Likewise.
36562 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
36563 Don't list ld.so twice in dependencies.
36565 * posix/bug-regex31.c: Include <stdlib.h>.
36567 * nscd/hstcache.c (cache_addhst): Remove unused variable.
36569 * nis/nss_compat/compat-spwd.c
36570 (getspent_next_nss_netgr): Remove unused variable.
36571 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
36573 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
36574 nonmembers" output to use the right array.
36576 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
36578 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
36580 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
36581 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
36582 * catgets/gencat.c (read_input_file): Likewise.
36583 * locale/programs/locarchive.c (enlarge_archive): Likewise.
36585 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
36586 variable definition inside #if's controlling its use.
36588 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
36590 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
36592 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
36594 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
36597 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
36599 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
36600 * configure: Regenerated.
36602 * Makerules: Revert last change.
36603 * elf/Makefile: Likewise.
36605 2011-06-09 Roland McGrath <roland@hack.frob.com>
36607 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
36608 * elf/Makefile ($(objpfx)librtld.os): Likewise.
36609 (reloc-link): Likewise.
36611 2011-06-09 Ulrich Drepper <drepper@gmail.com>
36613 * elf/Makefile: Add rules to build pldd.
36614 * elf/pldd.c: New file.
36615 * elf/pldd-xx.c: New file.
36617 2011-06-07 Ulrich Drepper <drepper@gmail.com>
36619 * version.h: Update for 2.15 development version.
36621 2011-06-07 David S. Miller <davem@davemloft.net>
36623 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
36625 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
36626 elf_machine_lazy_rel): Likewise.
36627 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36628 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
36629 elf_machine_lazy_rel): Likewise.
36630 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
36631 dl_hwcap via passed in argument.
36632 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
36635 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36637 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
36639 2011-06-06 Roland McGrath <roland@hack.frob.com>
36642 * manual/fdl-1.1.texi: New file, verbatim from:
36643 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
36644 * manual/lgpl-2.1.texi: New file, verbatim from:
36645 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
36646 * manual/Makefile (licenses): New variable, list those new file names.
36648 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
36650 * manual/fdl.texi: File removed.
36651 * manual/lesser.texi: File removed.
36652 * manual/libc.texinfo (Copying, Documentation License):
36653 Use new @include file names, put @appendix directive before @include.
36655 2011-06-04 Jakub Jelinek <jakub@redhat.com>
36658 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
36659 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
36660 (mq_open): Add __NTH.
36662 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
36664 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36665 Assume Intel Core i3/i5/i7 processor if AVX is available.
36667 2011-05-31 Ulrich Drepper <drepper@gmail.com>
36669 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36672 2011-05-31 Andreas Schwab <schwab@redhat.com>
36674 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
36675 memory. Use alloca_account. Fix memory leak when retrying.
36677 2011-05-31 Ulrich Drepper <drepper@gmail.com>
36679 * version.h (RELEASE): Bump for 2.14 release.
36680 * include/features.h (__GLIBC_MINOR__): Bump to 14.
36682 * config.make.in (RANLIB): Remove entry.
36684 2011-05-30 Ulrich Drepper <drepper@gmail.com>
36686 * po/Makefile (po-sed-cmd): Add ksh to extensions.
36687 (libc.pot): Work around missing support for .ksh extension in xgettext.
36690 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
36691 if both request failed.
36692 (send_dg): In case of server errors clear resplen or *resplen2.
36695 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
36696 when there are multiple maps.
36697 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
36698 (_dl_fini): Remove test here.
36700 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
36702 2011-05-29 Ulrich Drepper <drepper@gmail.com>
36705 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36706 bit from old_res_options.
36707 (gaih_inet): Likewise.
36710 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
36713 * resolv/res_init.c (res_setoptions): Make the code more compact.
36716 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
36720 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
36722 * malloc/malloc.h: Mark malloc hook variables as deprecated.
36725 * malloc/malloc.h: Declare malloc hook variables as volatile.
36727 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36731 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
36732 raise in the comment.
36733 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36734 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36735 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
36737 2011-05-28 Ulrich Drepper <drepper@gmail.com>
36740 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36741 grow the buffers more if it already has to be sufficient.
36742 (build_wcs_upper_buffer): Likewise.
36743 * posix/regexec.c (check_matching): Likewise.
36744 (clean_state_log_if_needed): Likewise.
36745 (extend_buffers): Don't enlarge buffers beyond size of the input
36747 Patches mostly by Emil Wojak <emil@wojak.eu>.
36748 * posix/bug-regex32.c: New file.
36749 * posix/Makefile (tests): Add bug-regex32.
36751 * locale/findlocale.c (_nl_find_locale): Return right away if
36752 _nl_explode_name failed.
36753 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36755 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36757 * debug/xtrace.sh: Unify messages.
36758 * malloc/memusage.sh: Likewise.
36761 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36762 time symbol from vDSO. Substitute with vsyscall if not available.
36763 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36766 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36767 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36768 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36769 Add sendmmsg and internal_sendmmsg.
36770 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36771 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36772 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36774 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36775 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36776 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36778 2011-05-27 Ulrich Drepper <drepper@gmail.com>
36781 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36782 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
36784 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36788 * iconvdata/Makefile (tests): Add bug-iconv9.
36789 * iconvdata/bug-iconv9.c: New file.
36791 2011-05-27 Andreas Schwab <schwab@redhat.com>
36794 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36796 2011-05-25 Jakub Jelinek <jakub@redhat.com>
36798 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36799 (struct user_regs_struct): Change intcs field back to cs.
36801 2011-05-25 Ulrich Drepper <drepper@gmail.com>
36803 * po/ja.po: Update from translation team.
36805 2011-05-23 Ulrich Drepper <drepper@gmail.com>
36808 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36809 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36811 2011-05-20 Andreas Schwab <schwab@redhat.com>
36813 * stdlib/longlong.h: Update from GCC.
36815 2011-05-23 Andreas Schwab <schwab@redhat.com>
36817 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36819 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36820 Add parameter name.
36821 (__sysconf): Pass it down.
36823 2011-05-22 Ulrich Drepper <drepper@gmail.com>
36826 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36828 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36829 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36830 add in in __libc_use_alloca calls. Adjust callers.
36831 (glob): Use malloc in some situations.
36833 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36834 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36837 2011-05-21 Ulrich Drepper <drepper@gmail.com>
36839 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36840 and CLOCK_BOOTTIME_ALARM.
36843 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36846 * string/_strerror.c (__strerror_r): Print negative errors as signed
36850 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36851 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36852 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36854 * configure.in: Fix typo in redirection and correct removal of test
36855 files in two cases.
36858 * locale/setlocale.c (new_composite_name): Fix test to check for
36859 identical name of all categories.
36862 * libio/filedoalloc.c (local_isatty): New function.
36863 (_IO_file_doallocate): Use local_isatty.
36864 * stdio-common/perror.c (perror): In case a new stream is used
36865 forward the stream error.
36866 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36869 2011-05-20 Ulrich Drepper <drepper@gmail.com>
36872 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36874 * include/alloca.h (extend_alloca_account): Define.
36877 * posix/regex.h: Fix comments with documentation of user-accessible
36878 fields after compilation and describe correct free'ing of pattern
36879 after re_compile_pattern.
36880 Patch by Reuben Thomas <rrt@sc3d.org>.
36882 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
36884 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36885 and -mno-altivec to prevent the compiler from using Altivec and/or
36886 VSX instructions when the corresponding registers are not available.
36888 2011-05-19 Andreas Schwab <schwab@redhat.com>
36890 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36892 2011-05-19 Ulrich Drepper <drepper@gmail.com>
36894 * libio/freopen.c (freopen): Use __dup2, not dup2.
36895 * libio/freopen64.c (freopen64): Likewise.
36897 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
36900 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36901 * math/Makefile (tests): Add test-powl.
36902 (CFLAGS-test-powl.c): Define.
36903 * math/test-powl.c: New file.
36905 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
36907 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36909 2011-05-17 Ulrich Drepper <drepper@gmail.com>
36912 * iconvdata/gb18030.c: Update to GB18020-2005.
36914 2011-05-16 Ulrich Drepper <drepper@gmail.com>
36916 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36917 RE_SYNTAX_POSIX_AWK): Update to match recent development.
36918 Patch by Aharon Robbins <arnold@skeeve.com>.
36921 * stdlib/putenv.c (putenv): Don't always create copy of the variable
36925 * misc/pselect.c (__pselect): Handle timeout value errors hidden
36926 through underflows.
36929 * misc/error.c (error_at_line): Ensure file_name and old_file_name
36930 point to strings before performing equality test for error_one_per_line
36934 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36937 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36938 (struct user_fpregs_struct): Avoid __uint*_t types.
36941 * malloc/mtrace.c (tr_where): Add additional parameter to point to
36942 symbol info. Use it instead of calling _dl_addr locally.
36943 (lock_and_info): New function.
36944 (tr_freehook): Call lock_and_info and pass symbol info as additional
36945 parameter to tr_where.
36946 (tr_mallochook): Likewise.
36947 (tr_reallochook): Likewise.
36948 (tr_memalignhook): Likewise.
36950 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
36951 used and couldn't be at all thread-safe.
36953 2011-05-15 Ulrich Drepper <drepper@gmail.com>
36955 * libio/freopen.c (freopen): Don't close old file descriptor
36956 before the new one is opened. Instead dup the new file descriptor
36957 to the old one after the new stream is created.
36958 * libio/freopen64.c (freopen64): Likewise.
36959 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36960 * libio/fileops.c (_IO_new_file_close_it): Handle new
36961 _IO_FLAGS2_NOCLOSE flag.
36962 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36963 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36964 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36965 _IO_FLAGS2_NOCLOSE flag.
36966 * include/unistd.h: Add hidden_proto for dup3.
36967 Define __have_dup3.
36968 * io/dup3.c: Define hidden symbol.
36969 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36972 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36973 when an incomplete long option is used.
36974 * posix/tst-getopt_long1.c: New file.
36975 * posix/Makefile (tests): Add tst-getopt_long1.
36978 * scripts/config.guess: Update from autoconf-2.68.
36979 * scripts/config.sub: Likewise.
36982 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36984 (has_cpuclock): ...this. New function.
36985 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36986 macro here based on has_cpuclock code.
36989 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36990 First byte (not low byte) is now always NUL.
36991 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36993 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36994 Use non-cancelable interfaces.
36997 * locale/iso-639.def: Add entry for Sorani.
37000 * include/stdlib.h: Move include protection to the right place.
37001 Define abort_msg_s. Declare __abort_msg with it.
37002 * stdlib/abort.c (__abort_msg): Adjust type.
37003 * assert/assert.c (__assert_fail_base): New function. Majority
37004 of code from __assert_fail. Allocate memory for __abort_msg with
37006 (__assert_fail): Now call __assert_fail_base.
37007 * assert/assert-perr.c: Remove bulk of implementation. Use
37008 __assert_fail_base.
37009 * include/assert.hL Declare __assert_fail_base.
37010 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
37012 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
37014 2011-05-14 Ulrich Drepper <drepper@gmail.com>
37018 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
37019 until all modules are registered in the DTV.
37020 * elf/Makefile: Add rules to build and run tst-tls19.
37021 * elf/tst-tls19.c: New file.
37022 * elf/tst-tls19mod1.c: New file.
37023 * elf/tst-tls19mod2.c: New file.
37024 * elf/tst-tls19mod3.c: New file.
37025 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
37028 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37032 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37033 two-byte sequence errors.
37034 * iconvdata/Makefile (tests): Add bug-iconv8.
37035 * iconvdata/bug-iconv8.c: New file.
37038 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37041 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37044 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37045 (dummy_getcfa): New function.
37046 (init): Get _Unwind_GetCFA address, use dummy if not found.
37047 (backtrace_helper): In recursion check, also check whether CFA changes.
37048 (__backtrace): Completely initialize arg.
37050 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
37051 storing incomplete byte sequence in state object. Avoid testing for
37052 guaranteed too small input if we know there is enough data available.
37054 2011-05-11 Andreas Schwab <schwab@redhat.com>
37056 * Makeconfig (+link-pie): Indent.
37057 * Rules (binaries-pie): Define if $(have-fpie) and
37059 (binaries-shared): Also filter out $(binaries-pie).
37060 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
37061 * nscd/Makefile (others-pie): Add nscd.
37062 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
37063 ($(objpfx)nscd): Remove command override.
37064 * login/Makefile (others-pie): Add pt_chown.
37065 ($(objpfx)pt_chown): Remove command override.
37066 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
37067 remove command overrides.
37069 2011-05-13 Ulrich Drepper <drepper@gmail.com>
37071 * libio/tst_putwc.c: Fix error messages.
37074 * libio/fileops.c (_IO_new_file_close_it): Always flush when
37075 currently writing and seek to current position when not.
37076 * libio/Makefile (tests): Add bug-fclose1.
37077 * libio/bug-fclose1.c: New file.
37079 2011-05-12 Ulrich Drepper <drepper@gmail.com>
37082 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
37083 don't set DF_1_NODELETE here.
37084 (do_lookup_x): When entering new entry test for copy relocation
37085 and if necessary set DF_1_NODELETE flag.
37086 * elf/tst-unique4.cc: New file.
37087 * elf/tst-unique4.h: New file.
37088 * elf/tst-unique4lib.cc: New file.
37089 * elf/Makefile: Add rules to build and run tst-unique4.
37090 Patch by Piotr Bury <pbury@goahead.com>.
37092 2011-05-11 Ulrich Drepper <drepper@gmail.com>
37095 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
37098 * misc/mntent_r.c (addmntent): Flush the stream after the output
37101 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
37102 (is_trusted_path_normalize): Skip initial colon. Append slash
37103 to empty buffer. Duplicate is_trusted_path code but allow
37104 constructed patch to be prefix.
37105 (is_dst): Allow $ORIGIN followed by /.
37106 (_dl_dst_substitute): Correct clearing of check_for_trusted.
37107 Correct testing of result of is_trusted_path_normalize
37108 (decompose_rpath): Fix warning.
37110 2011-05-10 Ulrich Drepper <drepper@gmail.com>
37113 * grp/initgroups.c (internal_getgrouplist): When we found the service
37114 list through the initgroups entry in nsswitch.conf do not always
37115 continue on a successful lookup. Don't always use the
37116 __nss_group_database value if it is set.
37117 * nss/nsswitch.conf (initgroups): Change action for successful db
37118 lookup to continue for compatibility.
37120 2011-05-09 Ulrich Drepper <drepper@gmail.com>
37123 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
37125 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
37127 * iconvdata/tst-tables.sh: Likewise.
37128 * iconvdata/cp770.c: New file.
37129 * iconvdata/cp771.c: New file.
37130 * iconvdata/cp772.c: New file.
37131 * iconvdata/cp773.c: New file.
37132 * iconvdata/cp774.c: New file.
37133 * iconvdata/testdata/CP770: New file.
37134 * iconvdata/testdata/CP770..UTF8: New file.
37135 * iconvdata/testdata/CP771: New file.
37136 * iconvdata/testdata/CP771..UTF8: New file.
37137 * iconvdata/testdata/CP772: New file.
37138 * iconvdata/testdata/CP772..UTF8: New file.
37139 * iconvdata/testdata/CP773: New file.
37140 * iconvdata/testdata/CP773..UTF8: New file.
37141 * iconvdata/testdata/CP774: New file.
37142 * iconvdata/testdata/CP774..UTF8: New file.
37144 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
37146 * iconvdata/gen-8bit-gap.sh: Likewise.
37147 * iconvdata/gen-8bit.sh: Likewise.
37149 * locale/iso-639.def: Add ary entry.
37152 * locale/C-translit.h.in: Add U20A1 transliteration.
37155 * locale/iso-639.def: Add wae entry.
37156 Patch by Kevin Bortis <bortis@translate-wae.ch>.
37159 * locale/programs/localedef.c (construct_output_path): Use ssize_t
37163 * locale/C-translit.h.in: Add entry for U20B9.
37164 Patch by pravin.d.s@gmail.com.
37166 2011-05-08 Ulrich Drepper <drepper@gmail.com>
37169 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
37170 ENAMETOOLONG use generic getcwd.
37171 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
37172 in rtld. Use *stat64.
37173 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
37174 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
37175 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
37176 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
37177 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
37178 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
37179 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
37180 __fstatat64 macros.
37181 * include/dirent.h: Add libc_hidden_proto for rewinddir.
37182 * dirent/rewinddir.c: Add libc_hidden_def.
37183 * sysdeps/mach/hurd/rewinddir.c: Likewise.
37184 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
37186 * include/dirent.h (__alloc_dir): Add flags parameter.
37187 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
37188 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
37190 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
37191 from fdopendir if O_CLOEXEC is already set.
37193 2011-03-15 Alan Modra <amodra@gmail.com>
37195 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
37196 l_tls_firstbyte_offset non-zero. Save padding offset in
37197 l_tls_firstbyte_offset for later use.
37198 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
37199 freeing static tls block.
37201 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
37203 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
37204 where #ifdef was intended. The intent is to prevent ARG_MAX from
37205 being defined by the kernel headers.
37207 2011-05-07 Ulrich Drepper <drepper@gmail.com>
37210 * resolv/resolv.h: Define RES_NOTLDQUERY.
37211 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
37212 no-tld-query and set RES_NOTLDQUERY.
37213 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
37214 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
37215 modern BIND to search name as TLD unless forbidden.
37217 2011-05-07 Petr Baudis <pasky@suse.cz>
37218 Ulrich Drepper <drepper@gmail.com>
37221 * elf/dl-load.c (fillin_rpath): Move trusted path check...
37222 (is_trusted_path): ...to here.
37223 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
37224 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
37225 using is_trusted_path_normalize() in setuid scripts.
37227 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37229 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
37230 __BEGIN/__END_DECLS.
37232 2011-05-06 Ulrich Drepper <drepper@gmail.com>
37234 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
37235 NSS_STATUS_NOTFOUND if no record was found.
37237 2011-05-05 Andreas Schwab <schwab@redhat.com>
37239 * sunrpc/Makefile (headers): Add rpc/netdb.h.
37240 (headers-not-in-tirpc): Remove rpc/netdb.h
37241 * resolv/netdb.h: Revert last change.
37243 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37245 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
37246 circular dependency between libgcc.a and libc.a.
37248 2011-05-05 Andreas Schwab <schwab@redhat.com>
37250 * resolv/netdb.h: Don't include <rpc/netdb.h>.
37251 * nis/Makefile: Don't install rpcsvc/*.
37252 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
37253 instead of <rpc/types.h>.
37254 (MAXHOSTNAMELEN): Define.
37256 2011-05-03 Andreas Schwab <schwab@redhat.com>
37258 * elf/ldconfig.c (add_dir): Don't crash on empty path.
37260 2011-04-28 Maciej Babinski <mbabinski@google.com>
37263 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
37264 gethostbyname4_r when IPv6 results are possible.
37266 2011-05-02 Ulrich Drepper <drepper@gmail.com>
37269 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
37270 _PC_PIPE_BUF handling.
37272 2011-04-30 Bruno Haible <bruno@clisp.org>
37275 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
37276 * resolv/netdb.h (getnameinfo): Change type of flags parameter
37278 * inet/getnameinfo.c (getnameinfo): Likewise.
37280 2011-04-29 Ulrich Drepper <drepper@gmail.com>
37282 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
37283 to groups setting in database lookup.
37284 * nss/nsswitch.conf: Add initgroups entry.
37286 2011-04-22 Ulrich Drepper <drepper@gmail.com>
37289 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
37291 Patch by Eric Blake <eblake@redhat.com>.
37293 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
37295 * sunrpc/Makefile (need-export-routines): Add svc_run.
37296 (routines): Remove svc_run.
37297 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
37298 * sunrpc/clnt_perr.c (clnt_perrno): Export.
37299 * sunrpc/svc_run.c (svc_run): Likewise.
37300 * sunrpc/svc_udp.c (svcudp_create): Likewise.
37302 2011-04-21 Ulrich Drepper <drepper@gmail.com>
37304 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
37305 problem in reallocation in last patch.
37307 2011-04-20 Ulrich Drepper <drepper@gmail.com>
37309 * sunrpc/Makefile: Move inclusion of Rules.
37311 2011-04-19 Ulrich Drepper <drepper@gmail.com>
37313 * nss/nss_files/files-initgroups.c: New file.
37314 * nss/Makefile (libnss_files-routines): Add files-initgroups.
37315 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
37316 _nss_files_initgroups_dyn.
37318 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
37320 * elf/elf.h (R_ARM_IRELATIVE): Define.
37322 2011-04-19 Ulrich Drepper <drepper@gmail.com>
37324 * po/ru.po: Update from translation team.
37326 2011-04-17 Ulrich Drepper <drepper@gmail.com>
37328 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
37331 2011-02-06 Mike Frysinger <vapier@gentoo.org>
37334 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
37335 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
37336 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37337 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37338 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37340 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
37342 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
37344 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37345 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37346 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37348 2011-04-17 Ulrich Drepper <drepper@gmail.com>
37351 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
37353 * stdlib/bug-getcontext.c: New file.
37354 * stdlib/Makefile: Add rules to build and run bug-getcontext.
37356 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37358 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
37359 instructions into .machine "z9-109".
37360 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
37361 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
37363 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37365 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
37366 between environment variables and auxiliary vector.
37368 2011-04-16 Ulrich Drepper <drepper@gmail.com>
37370 * Makefile: Add rules to build linkobj/libc.so.
37371 * include/libc-symbols.h: Define libc_hidden_nolink.
37372 * include/rpc/auth.h: Mark functions which are to be hidden.
37373 * include/rpc/auth_des.h: Likewise.
37374 * include/rpc/auth_unix.h: Likewise.
37375 * include/rpc/clnt.h: Likewise.
37376 * include/rpc/des_crypt.h: Likewise.
37377 * include/rpc/key_prot.h: Likewise.
37378 * include/rpc/pmap_clnt.h: Likewise.
37379 * include/rpc/pmap_prot.h: Likewise.
37380 * include/rpc/pmap_rmt.h: Likewise.
37381 * include/rpc/rpc_msg.h: Likewise.
37382 * include/rpc/svc.h: Likewise.
37383 * include/rpc/svc_auth.h: Likewise.
37384 * include/rpc/xdr.h: Likewise.
37385 * nis/Makefile: Link all DSOs against linkobj/libc.so.
37386 * nss/Makefile: Likewise.
37387 * sunrpc/Makefile: Don't install headers. Build library with normal
37388 entry points. Don't build rpcinfo. Link RPC tests appropriately.
37389 * sunrpc/auth_des.c: Hide exported symbols by default, export some
37390 for the compat linking library. Remove use of INTDEF/INTUSE.
37391 * sunrpc/auth_none.c: Likewise.
37392 * sunrpc/auth_unix.c: Likewise.
37393 * sunrpc/authdes_prot.c: Likewise.
37394 * sunrpc/authuxprot.c: Likewise.
37395 * sunrpc/clnt_gen.c: Likewise.
37396 * sunrpc/clnt_perr.c: Likewise.
37397 * sunrpc/clnt_raw.c: Likewise.
37398 * sunrpc/clnt_simp.c: Likewise.
37399 * sunrpc/clnt_tcp.c: Likewise.
37400 * sunrpc/clnt_udp.c: Likewise.
37401 * sunrpc/clnt_unix.c: Likewise.
37402 * sunrpc/des_crypt.c: Likewise.
37403 * sunrpc/des_soft.c: Likewise.
37404 * sunrpc/get_myaddr.c: Likewise.
37405 * sunrpc/key_call.c: Likewise.
37406 * sunrpc/key_prot.c: Likewise.
37407 * sunrpc/netname.c: Likewise.
37408 * sunrpc/pm_getmaps.c: Likewise.
37409 * sunrpc/pm_getport.c: Likewise.
37410 * sunrpc/pmap_clnt.c: Likewise.
37411 * sunrpc/pmap_prot.c: Likewise.
37412 * sunrpc/pmap_prot2.c: Likewise.
37413 * sunrpc/pmap_rmt.c: Likewise.
37414 * sunrpc/publickey.c: Likewise.
37415 * sunrpc/rpc_cmsg.c: Likewise.
37416 * sunrpc/rpc_common.c: Likewise.
37417 * sunrpc/rpc_dtable.c: Likewise.
37418 * sunrpc/rpc_prot.c: Likewise.
37419 * sunrpc/rpc_thread.c: Likewise.
37420 * sunrpc/rtime.c: Likewise.
37421 * sunrpc/svc.c: Likewise.
37422 * sunrpc/svc_auth.c: Likewise.
37423 * sunrpc/svc_authux.c: Likewise.
37424 * sunrpc/svc_raw.c: Likewise.
37425 * sunrpc/svc_run.c: Likewise.
37426 * sunrpc/svc_simple.c: Likewise.
37427 * sunrpc/svc_tcp.c: Likewise.
37428 * sunrpc/svc_udp.c: Likewise.
37429 * sunrpc/svc_unix.c: Likewise.
37430 * sunrpc/svcauth_des.c: Likewise.
37431 * sunrpc/xcrypt.c: Likewise.
37432 * sunrpc/xdr.c: Likewise.
37433 * sunrpc/xdr_array.c: Likewise.
37434 * sunrpc/xdr_float.c: Likewise.
37435 * sunrpc/xdr_intXX_t.c: Likewise.
37436 * sunrpc/xdr_mem.c: Likewise.
37437 * sunrpc/xdr_rec.c: Likewise.
37438 * sunrpc/xdr_ref.c: Likewise.
37439 * sunrpc/xdr_sizeof.c: Likewise.
37440 * sunrpc/xdr_stdio.c: Likewise.
37442 2011-04-10 Ulrich Drepper <drepper@gmail.com>
37445 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
37446 * sysdeps/ia64/dl-tls.h: Likewise.
37447 * sysdeps/powerpc/dl-tls.h: Likewise.
37448 * sysdeps/s390/dl-tls.h: Likewise.
37449 * sysdeps/sh/dl-tls.h: Likewise.
37450 * sysdeps/sparc/dl-tls.h: Likewise.
37451 * sysdeps/x86_64/dl-tls.h: Likewise.
37452 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
37454 2011-03-14 Andreas Schwab <schwab@redhat.com>
37456 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
37457 rpath element also skip the following colon.
37458 (expand_dynamic_string_token): Add is_path parameter and pass
37459 down to DL_DST_REQUIRED and _dl_dst_substitute.
37460 (decompose_rpath): Call expand_dynamic_string_token with
37461 non-zero is_path. Ignore empty rpaths.
37462 (_dl_map_object_from_fd): Call expand_dynamic_string_token
37465 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
37467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37470 2011-04-09 Ulrich Drepper <drepper@gmail.com>
37473 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
37474 Patch by Filipe David Manana <fdmanana@apache.org>.
37476 2011-04-07 Andreas Schwab <schwab@redhat.com>
37478 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
37479 Maintain aligned stack.
37480 (CHECK_RSP): Remove unused macro.
37482 2011-04-03 Ulrich Drepper <drepper@gmail.com>
37484 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
37485 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
37487 2011-04-02 Ulrich Drepper <drepper@gmail.com>
37489 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
37491 * include/features.h: Mention __USE_XOPEN2K8 in comment.
37493 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
37496 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
37497 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
37498 * sysdeps/x86_64/memmove.c: New file.
37499 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
37500 (memcpy): Renamed to ...
37501 (__new_memcpy): This.
37502 (memcpy): Provide GLIBC_2_14 memcpy.
37503 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
37504 (memcpy): Provide GLIBC_2_2_5 memcpy.
37506 2011-04-01 Ulrich Drepper <drepper@gmail.com>
37509 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
37511 2011-03-30 Andreas Schwab <schwab@redhat.com>
37513 * misc/syncfs.c: New file.
37514 * misc/Makefile (routines): Add syncfs.
37515 * posix/unistd.h: Declare syncfs.
37516 * sysdeps/unix/syscalls.list: Add syncfs.
37518 2011-04-01 Andreas Schwab <schwab@redhat.com>
37520 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
37522 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37523 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37524 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37525 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37526 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37527 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
37528 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37530 2011-04-01 Ulrich Drepper <drepper@gmail.com>
37532 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
37533 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37534 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
37535 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37536 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37537 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37538 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37540 * io/Makefile: Compile fallocate.c, fallocate64.c, and
37541 sync_file_range.c with -fexceptions.
37542 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
37543 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
37544 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37545 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37546 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
37547 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37548 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
37549 sync_file_range as cancellation point
37550 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
37551 now a wrapper around __call_sync_file_range with cancellation handling.
37552 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
37553 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
37554 function name to __call_sync_file_range.
37555 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
37556 Add call_sync_file_range.
37558 2011-04-01 Andreas Schwab <schwab@redhat.com>
37560 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37563 2011-04-01 Ulrich Drepper <drepper@gmail.com>
37565 * iconv/iconv.h: Fix typo in comment.
37566 * io/fcntl.h: Likewise.
37567 * libio/stdio.h: Likewise.
37568 * posix/spawn.h: Likewise.
37569 * posix/unistd.h: Likewise.
37570 * stdlib/stdlib.h: Likewise.
37571 * time/time.h: Likewise.
37572 * wcsmbs/wchar.h: Likewise.
37574 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
37575 open_by_handle): Add.
37576 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
37577 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
37578 Augment a few comments.
37579 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37580 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37581 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37582 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37583 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37584 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
37587 * io/fcntl.h (AT_EMPTY_PATH): Define.
37589 2011-03-30 Ulrich Drepper <drepper@gmail.com>
37591 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
37592 * sysdeps/unix/sysv/linux/bits/time.h: New file.
37593 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
37595 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
37596 * Versions.def: Add GLIBC_2.14.
37597 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
37600 2011-03-22 Ulrich Drepper <drepper@gmail.com>
37602 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
37604 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37606 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
37609 * string/test-strncmp.c (do_page_test): New function.
37610 (check2): Likewise.
37611 (test_main): Call check2.
37612 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
37614 2011-03-20 Ulrich Drepper <drepper@gmail.com>
37617 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
37618 Handle cache information in CPU leaf 4.
37619 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37621 2011-03-18 Ulrich Drepper <drepper@gmail.com>
37624 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
37625 character representation.
37626 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
37628 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
37630 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
37631 END(__isnan) to END(__isnanf) to match function entry point/label
37632 EALIGN(__isnanf,...).
37634 2011-03-10 Jakub Jelinek <jakub@redhat.com>
37636 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
37638 2011-03-10 Ulrich Drepper <drepper@gmail.com>
37641 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
37642 copy from the symbol referenced in the relocation to initialize the
37644 Patch by Piotr Bury <pbury@goahead.com>.
37645 * elf/Makefile: Add rules to build and tst-unique3.
37646 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
37647 * elf/tst-unique3.cc: New file.
37648 * elf/tst-unique3.h: New file.
37649 * elf/tst-unique3lib.cc: New file.
37650 * elf/tst-unique3lib2.cc: New file.
37652 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
37654 2011-03-10 Mike Frysinger <vapier@gentoo.org>
37656 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
37657 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
37660 2011-03-06 Ulrich Drepper <drepper@gmail.com>
37662 * elf/dl-load.c (_dl_map_object): If we are looking for the first
37663 to-be-loaded object along a path to loader is ld.so.
37665 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37666 Ulrich Drepper <drepper@gmail.com>
37668 * sysdeps/x86_64/memset.S: After aligning destination, code
37669 branches to different locations depending on the value of
37670 misalignment, when multiarch is enabled. Fix this.
37672 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37674 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
37675 Set _x86_64_preferred_memory_instruction for AMD processsors.
37676 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37677 Set bit_Prefer_SSE_for_memop for AMD processors.
37679 2011-03-04 Ulrich Drepper <drepper@gmail.com>
37681 * libio/fmemopen.c (fmemopen): Optimize a bit.
37683 2011-03-03 Andreas Schwab <schwab@redhat.com>
37685 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
37687 2011-03-03 Roland McGrath <roland@redhat.com>
37689 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
37691 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
37693 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
37694 __bzero_ultra1 instead of __memset_ultra1.
37696 2011-02-23 Andreas Schwab <schwab@redhat.com>
37697 Ulrich Drepper <drepper@gmail.com>
37700 * include/link.h (struct link_map): Add l_orig_initfini.
37701 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
37702 returning unsuccessfully.
37703 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
37704 close of a file loaded at startup, restore the original l_initfini
37706 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
37707 list, store the pointer.
37708 * elf/Makefile ($(objpfx)noload-mem): New rule.
37709 (noload-ENV): Define.
37710 (tests): Add $(objpfx)noload-mem.
37711 * elf/noload.c: Include <memcheck.h>.
37712 (main): Call mtrace. Close all opened handles.
37714 2011-02-17 Andreas Schwab <schwab@redhat.com>
37717 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
37718 dependencies are missing.
37720 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
37722 Fix __if_freereq crash: Unlike the generic version which uses free,
37724 * sysdeps/mach/hurd/ifreq.h: New file.
37726 2011-01-27 Petr Baudis <pasky@suse.cz>
37727 Ulrich Drepper <drepper@gmail.com>
37730 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
37731 to extend_alloca().
37732 * stdio-common/bug23.c: New file.
37733 * stdio-common/Makefile (tests): Add bug23.
37735 2010-09-28 Andreas Schwab <schwab@redhat.com>
37736 Ulrich Drepper <drepper@gmail.com>
37739 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37740 before performing relro protection. At old place add assertion
37741 to make sure nothing changed.
37743 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
37744 Glauber de Oliveira Costa <glommer@gmail.com>
37746 * elf/elf.h: Add new ARM TLS relocs.
37748 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
37750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37751 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37753 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
37755 * sysdeps/wordsize-64/tst-writev.c: New file.
37757 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
37759 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37760 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37761 insns in _dl_start to prevent a TOC reference before relocs are
37764 2011-02-15 Ulrich Drepper <drepper@gmail.com>
37767 * Makeconfig: Remove RANLIB definition.
37768 * Makerules: Don't use RANLIB.
37769 * aclocal.m4: Remove ranlib test.
37770 * configure.in: No need to check for ranlib.
37771 * elf/rtld-Rules: Don't use RANLIB.
37773 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
37775 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37777 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37778 inclusion protection macro.
37780 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37781 SIGRTMIN and SIGRTMAX and print information in that case only when
37782 SIGRTMIN is defined.
37784 2011-02-11 Jakub Jelinek <jakub@redhat.com>
37786 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37787 arginfo fn returning -1.
37789 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37790 and thousands string is zero terminated.
37792 2011-02-03 Andreas Schwab <schwab@redhat.com>
37794 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37795 sysdeps/unix/sysv/linux/bits/socket.h.
37797 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
37799 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37800 (__CPU_COUNT): Remove old macros.
37801 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37802 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37803 (__CPU_ALLOC, __CPU_FREE): Add macros.
37804 (__sched_cpualloc, __sched_cpufree): Add declarations.
37806 2011-02-05 Ulrich Drepper <drepper@gmail.com>
37808 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37809 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37810 * nscd/aicache.c (addhstaiX): Return timeout of added value.
37811 (readdhstai): Return value of addhstaiX call.
37812 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37813 (addgrbyX): Return value returned by cache_addgr.
37814 (readdgrbyname): Return value returned by addgrbyX.
37815 (readdgrbygid): Likewise.
37816 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37817 (addpwbyX): Return value returned by cache_addpw.
37818 (readdpwbyname): Return value returned by addhstbyX.
37819 (readdpwbyuid): Likewise.
37820 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37821 (addservbyX): Return value returned by cache_addserv.
37822 (readdservbyname): Return value returned by addservbyX:
37823 (readdservbyport): Likewise.
37824 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37825 (addhstbyX): Return value returned by cache_addhst.
37826 (readdhstbyname): Return value returned by addhstbyX.
37827 (readdhstbyaddr): Likewise.
37828 (readdhstbynamev6): Likewise.
37829 (readdhstbyaddrv6): Likewise.
37830 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37831 (readdinitgroups): Return value returned by addinitgroupsX.
37832 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37833 (prune_cache): Keep track of timeout value of re-added entries.
37834 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37835 * nscd/nscd.h: Adjust prototypes of readd* functions.
37837 2011-02-04 Roland McGrath <roland@redhat.com>
37839 * nis/nis_server.c (nis_servstate): Use the right name for 0.
37840 (nis_stats): Likewise.
37841 * nis/nis_modify.c (nis_modify): Likewise.
37842 * nis/nis_remove.c (nis_remove): Likewise.
37843 * nis/nis_add.c (nis_add): Likewise.
37845 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37847 * posix/fnmatch_loop.c: Add some consts.
37849 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37851 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
37854 * config.make.in (config-cflags-novzeroupper): Define.
37855 * configure.in: Substitute libc_cv_cc_novzeroupper.
37856 * elf/Makefile (AVX-CFLAGS): Define.
37857 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37858 (CFLAGS-tst-auditmod4a.c): Likewise.
37859 (CFLAGS-tst-auditmod4b.c): Likewise.
37860 (CFLAGS-tst-auditmod6b.c): Likewise.
37861 (CFLAGS-tst-auditmod6c.c): Likewise.
37862 (CFLAGS-tst-auditmod7b.c): Likewise.
37863 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37865 2011-02-02 Ulrich Drepper <drepper@gmail.com>
37867 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37868 function to the callback.
37869 Patch partly by Jiri Olsa <jolsa@redhat.com>.
37871 2011-02-02 Andreas Schwab <schwab@redhat.com>
37873 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37876 2011-01-19 Ulrich Drepper <drepper@gmail.com>
37879 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37881 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37883 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37886 * elf/Makefile: Add rules to build and run new test.
37887 * elf/tst-initorder.c: New file.
37888 * elf/tst-initorder.exp: New file.
37889 * elf/tst-initordera1.c: New file.
37890 * elf/tst-initordera2.c: New file.
37891 * elf/tst-initordera3.c: New file.
37892 * elf/tst-initordera4.c: New file.
37893 * elf/tst-initorderb1.c: New file.
37894 * elf/tst-initorderb2.c: New file.
37895 * elf/tst-order-a1.c: New file.
37896 * elf/tst-order-a2.c: New file.
37897 * elf/tst-order-a3.c: New file.
37898 * elf/tst-order-a4.c: New file.
37899 * elf/tst-order-b1.c: New file.
37900 * elf/tst-order-b2.c: New file.
37901 * elf/tst-order-main.c: New file.
37902 New test case by George Gensure <werkt0@gmail.com>.
37904 2010-10-01 Andreas Schwab <schwab@redhat.com>
37906 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37907 decoding ACE if AI_CANONIDN.
37909 2011-01-18 Ulrich Drepper <drepper@gmail.com>
37911 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37913 2011-01-17 Ulrich Drepper <drepper@gmail.com>
37915 * version.h (RELEASE): Bump for 2.13 release.
37916 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37918 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37920 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37922 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37923 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37924 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37925 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37926 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37927 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37929 * posix/getconf.c: Update copyright year.
37930 * catgets/gencat.c: Likewise.
37931 * csu/version.c: Likewise.
37932 * debug/catchsegv.sh: Likewise.
37933 * debug/xtrace.sh: Likewise.
37934 * elf/ldconfig.c: Likewise.
37935 * elf/ldd.bash.in: Likewise.
37936 * elf/sprof.c (print_version): Likewise.
37937 * iconv/iconv_prog.c: Likewise.
37938 * iconv/iconvconfig.c: Likewise.
37939 * locale/programs/locale.c: Likewise.
37940 * locale/programs/localedef.c: Likewise.
37941 * malloc/memusage.sh: Likewise.
37942 * malloc/mtrace.pl: Likewise.
37943 * nscd/nscd.c (print_version): Likewise.
37944 * nss/getent.c: Likewise.
37946 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37947 PF_CAIF, and PF_ALG.
37948 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37950 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
37952 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37953 (modules-names): Use them.
37954 (ifunc-test-modules, ifunc-pie-tests): Define.
37955 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37956 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37957 (test-extras): Likewise.
37958 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37959 $(compile-command.c).
37960 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37961 (all-built-dso): Define.
37962 (check-textrel.out, check-execstack.out): Depend on it.
37964 * configure.in: Don't override --enable-multi-arch.
37966 2011-01-15 Ulrich Drepper <drepper@gmail.com>
37969 * nscd/hstcache.c (tryagain): Define.
37970 (cache_addhst): Return tryagain not notfound for temporary errors.
37971 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37974 2011-01-14 Ulrich Drepper <drepper@gmail.com>
37977 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37978 to make the syscall.
37979 * sysdeps/unix/sysv/linux/setgroups.c: New file.
37982 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37983 and fall back to matching as normal character if the string ends before
37984 the matching ']' is found. This is what POSIX requires.
37985 * posix/testfnm.c: Adjust test result.
37986 * posix/globtest.sh: Adjust test result. Add new test.
37987 * posix/tst-fnmatch.input: Likewise.
37988 * posix/tst-fnmatch2.c: Add new test.
37990 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
37992 * elf/Makefile (check-execstack): Revert last change. Depend on
37994 (check-execstack.h): New target.
37995 (generated): Add check-execstack.h.
37996 * elf/check-execstack.c: Include "check-execstack.h".
37997 (main): Revert last change.
37998 (handle_file): Return zero if GNU_STACK is absent and
37999 DEFAULT_STACK_PERMS doesn't include PF_X.
38001 2011-01-13 Ulrich Drepper <drepper@gmail.com>
38003 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
38004 in child fails because the descriptor is already closed.
38005 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
38006 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
38007 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
38010 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
38014 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
38015 temporary buffer used to handle multi lookups locally.
38016 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
38018 2011-01-12 Ulrich Drepper <drepper@gmail.com>
38020 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38023 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
38025 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38026 alignment for SSE2.
38028 2011-01-12 Ulrich Drepper <drepper@gmail.com>
38031 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38032 characters. When rounding increased number of integer digits recompute
38034 * stdio-common/tst-grouping.c: New file.
38035 * stdio-common/Makefile: Add rules to build and run tst-grouping.
38037 2011-01-09 Ulrich Drepper <drepper@gmail.com>
38039 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38040 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
38042 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38044 * bits/select.h: Likewise.
38046 2011-01-08 Ulrich Drepper <drepper@gmail.com>
38048 * po/ja.po: Update from translation team.
38050 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
38053 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38054 implementation just like for lxstat, fxstatat, et al.
38056 2010-12-27 Jim Meyering <meyering@redhat.com>
38059 * posix/regexec.c (build_trtable): Return failure indication upon
38060 calloc failure. Otherwise, re_search_internal could infloop on OOM.
38062 2010-12-25 Ulrich Drepper <drepper@gmail.com>
38065 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
38066 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
38067 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
38068 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
38071 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
38074 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
38075 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
38077 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
38079 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
38080 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
38081 script has SORT_BY_INIT_PRIORITY.
38082 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
38083 NO_CTORS_DTORS_SECTIONS is defined.
38084 * elf/soinit.c: Likewise.
38085 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
38086 NO_CTORS_DTORS_SECTIONS is defined.
38087 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
38088 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
38089 * sysdeps/sh/init-first.c: Likewise.
38090 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
38092 2010-12-24 Ulrich Drepper <drepper@gmail.com>
38094 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
38095 always use the slow path.
38097 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
38099 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
38100 similar rule which adds the sysdep directories to the header search in
38101 order to pick up the correct platform stackinfo.h.
38102 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
38103 perform test if it is, otherwise return successfully without testing.
38104 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
38105 DEFAULT_STACK_PERMS define in stackinfo.h.
38106 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
38107 defined in stackinfo.h.
38108 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
38109 DEFAULT_STACK_PERMS defined in stackinfo.h.
38110 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
38111 * sysdeps/ia64/stackinfo.h: Likewise.
38112 * sysdeps/s390/stackinfo.h: Likewise.
38113 * sysdeps/sh/stackinfo.h: Likewise.
38114 * sysdeps/sparc/stackinfo.h: Likewise.
38115 * sysdeps/x86_64/stackinfo.h: Likewise.
38116 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
38117 PF_X for powerpc64. Retain PF_X for powerpc32.
38119 2010-12-19 Ulrich Drepper <drepper@gmail.com>
38121 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
38123 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
38124 GETDENTS_64BIT_ALIGNED.
38126 2010-12-14 Ulrich Drepper <dreper@gmail.com>
38128 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
38130 2010-12-10 Andreas Schwab <schwab@redhat.com>
38132 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
38135 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
38136 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
38138 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
38139 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
38141 2010-12-09 Ulrich Drepper <drepper@gmail.com>
38144 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
38147 2010-12-09 Jakub Jelinek <jakub@redhat.com>
38149 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
38151 2010-12-03 Ulrich Drepper <drepper@gmail.com>
38153 * po/it.po: Update from translation team.
38155 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
38157 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
38160 2010-11-30 Ulrich Drepper <drepper@gmail.com>
38162 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
38164 2010-11-24 Andreas Schwab <schwab@redhat.com>
38166 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
38168 (gaih_getanswer_slice): Likewise.
38170 2010-10-20 Jakub Jelinek <jakub@redhat.com>
38172 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
38174 2010-05-31 Petr Baudis <pasky@suse.cz>
38177 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
38178 silently even in the chroot mode.
38180 2010-11-22 Ulrich Drepper <drepper@gmail.com>
38182 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
38183 last patch a bit. Pretty printing
38185 2010-05-31 Petr Baudis <pasky@suse.cz>
38188 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
38189 initialization of skip_initgroups_dyn.
38191 2010-11-19 Ulrich Drepper <drepper@gmail.com>
38193 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
38194 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38196 2010-11-16 Ulrich Drepper <drepper@gmail.com>
38198 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
38200 2010-11-11 Andreas Schwab <schwab@redhat.com>
38202 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
38203 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
38204 (tst-fnmatch-ENV): Set MALLOC_TRACE.
38205 ($(objpfx)tst-fnmatch-mem): New rule.
38206 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
38207 * posix/tst-fnmatch.c (main): Call mtrace.
38209 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
38211 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38212 Support Intel processor model 6 and model 0x2c.
38214 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
38216 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
38219 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
38222 * string/test-strncasecmp.c (check_result): New function.
38223 (do_one_test): Use it.
38224 (check1): New function.
38225 (test_main): Use it.
38226 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
38227 Support strcasecmp and strncasecmp.
38229 2010-11-08 Ulrich Drepper <drepper@gmail.com>
38232 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
38233 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38235 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
38237 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
38239 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38241 * sysdeps/x86_64/multiarch/bzero.S: New file.
38242 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
38243 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
38244 * sysdeps/x86_64/multiarch/memset.S: New file.
38245 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
38246 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38247 Set bit_Prefer_SSE_for_memop for Intel processors.
38248 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
38250 (index_Prefer_SSE_for_memop): Define.
38251 (HAS_PREFER_SSE_FOR_MEMOP): Define.
38253 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
38255 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
38256 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
38258 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
38261 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38262 (__x86_64_raw_data_cache_size_half): Likewise.
38263 (__x86_64_raw_shared_cache_size): Likewise.
38264 (__x86_64_raw_shared_cache_size_half): Likewise.
38266 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38267 (__x86_64_raw_data_cache_size_half): Likewise.
38268 (__x86_64_raw_shared_cache_size): Likewise.
38269 (__x86_64_raw_shared_cache_size_half): Likewise.
38270 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
38271 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
38272 and __x86_64_raw_shared_cache_size_half. Round
38273 __x86_64_data_cache_size_half, __x86_64_data_cache_size
38274 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
38275 to multiple of 256 bytes.
38277 2010-11-03 Ulrich Drepper <drepper@gmail.com>
38280 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
38281 of inacessible symlinks. Verify result of symlink before returning it.
38282 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38283 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
38285 2010-10-28 Erich Ritz <erichritz@gmail.com>
38287 * math/math.h (isinf): Fix typo in comment.
38289 2010-11-01 Ulrich Drepper <drepper@gmail.com>
38291 * po/da.po: Update from translation team.
38293 2010-10-26 Ulrich Drepper <drepper@gmail.com>
38295 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
38296 is added to the list.
38298 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38299 Ulrich Drepper <drepper@gmail.com>
38301 * elf/dl-object.c (_dl_new_object): Don't append the new object to
38302 the global list here. Move code to...
38303 (_dl_add_to_namespace_list): ...here. New function.
38304 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
38305 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
38306 * elf/dl-load.c (lose): Don't remove the element from the list.
38307 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
38308 (_dl_map_object): Likewise.
38310 2010-10-25 Ulrich Drepper <drepper@gmail.com>
38313 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
38314 into all bytes of SSE register.
38315 Patch by Richard Li <richardpku@gmail.com>.
38317 2010-10-24 Ulrich Drepper <drepper@gmail.com>
38320 * malloc/malloc.c (_int_free): Fill correct number of bytes when
38323 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
38325 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
38326 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
38327 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
38328 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
38331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
38333 2010-10-22 Andreas Schwab <schwab@redhat.com>
38335 * include/dlfcn.h (__RTLD_SECURE): Define.
38336 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
38337 mode & __RTLD_SECURE instead.
38338 (open_path): Rename preloaded parameter to secure.
38339 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
38340 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
38341 * elf/dl-deps.c (openaux): Likewise.
38342 * elf/rtld.c (struct map_args): Remove is_preloaded.
38343 (map_doit): Don't use it.
38344 (dl_main): Likewise.
38345 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
38346 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
38348 2010-09-09 Andreas Schwab <schwab@redhat.com>
38350 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
38351 (sysd-rules-targets): Remove duplicates.
38352 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
38353 rtld-%.$o dependency.
38355 2010-10-18 Andreas Schwab <schwab@redhat.com>
38357 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
38358 _dl_map_object do it.
38360 2010-10-19 Ulrich Drepper <drepper@gmail.com>
38362 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
38363 fast fma builtins, define the macros in the C99 standard.
38364 (FP_FAST_FMAF): Likewise.
38365 (FP_FAST_FMAL): Likewise.
38366 * sysdeps/x86_64/bits/mathdef.h: Likewise.
38368 * bits/mathdef.h: Update copyright year.
38369 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38371 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
38373 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
38374 builtins, define the macros in the C99 standard.
38375 (FP_FAST_FMAF): Likewise.
38376 (FP_FAST_FMAL): Likewise.
38377 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
38379 (FP_FAST_FMAF): Likewise.
38381 2010-10-15 Jakub Jelinek <jakub@redhat.com>
38384 * math/libm-test.inc (fma_test): Some new testcases.
38385 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
38386 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
38387 y and infinite z. Do multiplication by C already in long double.
38388 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
38389 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
38390 y and infinite z. Do bitwise or of inexact bit into u.d.
38391 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
38392 * sysdeps/i386/fpu/s_fmaf.S: Removed.
38393 * sysdeps/i386/fpu/s_fma.S: Removed.
38394 * sysdeps/i386/fpu/s_fmal.S: Removed.
38396 2010-10-16 Jakub Jelinek <jakub@redhat.com>
38399 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
38400 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
38401 computation is not scheduled after fetestexcept. Fix value
38402 of minimum denormal long double.
38404 2010-10-14 Jakub Jelinek <jakub@redhat.com>
38407 * math/libm-test.inc (fma_test): Add some more tests.
38408 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
38411 2010-10-15 Andreas Schwab <schwab@redhat.com>
38413 * scripts/data/localplt-s390-linux-gnu.data: New file.
38414 * scripts/data/localplt-s390x-linux-gnu.data: New file.
38416 2010-10-13 Jakub Jelinek <jakub@redhat.com>
38419 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
38420 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
38422 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
38424 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
38425 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
38426 if one of x and y is very large and the other is subnormal.
38427 * sysdeps/s390/fpu/s_fmaf.c: New file.
38428 * sysdeps/s390/fpu/s_fma.c: New file.
38429 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
38430 * sysdeps/powerpc/fpu/s_fma.S: New file.
38431 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
38432 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
38433 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
38435 2010-10-12 Jakub Jelinek <jakub@redhat.com>
38438 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
38440 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
38441 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
38442 * sysdeps/i386/i686/multiarch/s_fma.c: Include
38443 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
38444 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
38445 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
38446 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
38448 2010-10-12 Ulrich Drepper <drepper@redhat.com>
38451 * posix/regcomp.c (parse_branch): One more memory leak plugged.
38452 * posix/bug-regex31.input: Add test case.
38454 2010-10-11 Ulrich Drepper <drepper@gmail.com>
38456 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
38457 * posix/bug-regex31.input: New file.
38460 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
38461 (parse_sub_exp): Fix last change, use postorder.
38463 * posix/bug-regex31.c: New file.
38464 * posix/Makefile: Add rules to build and run bug-regex31.
38466 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
38469 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
38472 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
38473 to have entries in sys_siglist.
38476 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
38479 2010-10-07 Jakub Jelinek <jakub@redhat.com>
38482 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
38483 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
38484 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
38485 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
38486 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38487 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
38488 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
38489 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
38490 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
38491 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
38492 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
38493 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
38494 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38495 * math/ftestexcept.c (fetestexcept): Likewise.
38496 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
38497 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
38498 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
38499 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
38500 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
38501 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
38502 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38504 2010-10-11 Ulrich Drepper <drepper@gmail.com>
38507 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
38510 2010-10-06 Ulrich Drepper <drepper@gmail.com>
38512 * string/bug-strstr1.c: New file.
38513 * string/Makefile: Add rules to build and run bug-strstr1.
38515 2010-10-05 Eric Blake <eblake@redhat.com>
38518 * string/str-two-way.h (two_way_long_needle): Always clear memory
38519 when skipping input due to the shift table.
38521 2010-10-03 Ulrich Drepper <drepper@gmail.com>
38524 * malloc/mcheck.c: Handle large requests.
38527 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
38528 for strncmp and strncasecmp.
38529 * string/stratcliff.c: Add tests for strcmp and strncmp.
38530 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
38532 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38534 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
38537 2010-09-30 Andreas Jaeger <aj@suse.de>
38539 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
38540 (CGROUP_SUPER_MAGIC): Define.
38541 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38542 Handle btrfs and cgroup file systems.
38543 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38546 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
38548 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
38549 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
38551 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38554 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
38555 trying to locate the ELF header.
38557 2010-09-27 Andreas Schwab <schwab@redhat.com>
38560 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
38561 Mask out sign-bit copies when constructing f_fsid.
38563 2010-09-24 Petr Baudis <pasky@suse.cz>
38565 * debug/stack_chk_fail_local.c: Add missing licence exception.
38566 * debug/warning-nop.c: Likewise.
38568 2010-09-15 Joseph Myers <joseph@codesourcery.com>
38570 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
38571 implementing getdents64 using getdents syscall, set d_type if
38572 __ASSUME_GETDENTS32_D_TYPE.
38574 2010-09-16 Andreas Schwab <schwab@redhat.com>
38576 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
38577 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
38579 2010-09-21 Ulrich Drepper <drepper@redhat.com>
38582 * posix/unistd.h: Undo change of feature selection for ftruncate from
38585 2010-09-20 Ulrich Drepper <drepper@redhat.com>
38587 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
38590 2010-09-20 Andreas Schwab <schwab@redhat.com>
38592 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
38594 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38596 2010-09-14 Andreas Schwab <schwab@redhat.com>
38598 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
38599 variables after CHECK_SP call.
38600 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
38602 2010-09-13 Andreas Schwab <schwab@redhat.com>
38603 Ulrich Drepper <drepper@redhat.com>
38605 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
38606 re-relocationg ld.so.
38607 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
38608 _dl_init_paths call.
38609 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
38612 2010-09-14 Ulrich Drepper <drepper@redhat.com>
38614 * resolv/res_init.c (__res_vinit): Count the default server we added.
38616 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
38617 Ulrich Drepper <drepper@redhat.com>
38620 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38621 (____longjmp_chk): Use %ebx for saving value across system call.
38624 2010-09-06 Andreas Schwab <schwab@redhat.com>
38626 * manual/Makefile: Don't mix pattern rules with normal rules.
38628 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
38630 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
38632 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
38633 * libio/iofopncook.c (_IO_cookie_init): Likewise.
38634 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
38635 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
38636 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38639 2010-09-04 Ulrich Drepper <drepper@redhat.com>
38642 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
38643 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
38645 2010-09-02 Ulrich Drepper <drepper@redhat.com>
38647 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
38648 * sysdeps/x86_64/addmul_1.S: Likewise.
38649 * sysdeps/x86_64/lshift.S: Likewise.
38650 * sysdeps/x86_64/mul_1.S: Likewise.
38651 * sysdeps/x86_64/rshift.S: Likewise.
38652 * sysdeps/x86_64/sub_n.S: Likewise.
38653 * sysdeps/x86_64/submul_1.S: Likewise.
38655 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
38657 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
38658 Define __sched_param instead of SCHED_* and sched_param when
38659 <bits/sched.h> is included with __need_schedparam defined.
38660 * bits/sched.h [__need_schedparam]
38661 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
38662 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
38663 (__defined_schedparam): Define to 1.
38664 (__sched_param): New structure, identical to sched_param.
38665 (__need_schedparam): Undefine.
38667 2010-08-31 Mike Frysinger <vapier@gentoo.org>
38669 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
38670 (epoll_create1): Declare.
38672 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
38674 2010-08-31 Andreas Schwab <schwab@redhat.com>
38677 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
38678 shifting retval into place.
38680 2010-09-01 Ulrich Drepper <drepper@redhat.com>
38682 * nis/rpcsvc/nis.h: Update copyright notice.
38683 * nis/rpcsvc/nis.x: Likewise.
38684 * nis/rpcsvc/nis_callback.h: Likewise.
38685 * nis/rpcsvc/nis_callback.x: Likewise.
38686 * nis/rpcsvc/nis_object.x: Likewise.
38687 * nis/rpcsvc/nis_tags.h: Likewise.
38688 * nis/rpcsvc/yp.h: Likewise.
38689 * nis/rpcsvc/yp.x: Likewise.
38690 * nis/rpcsvc/ypupd.h: Likewise.
38691 * nis/yp_xdr.c: Likewise.
38692 * nis/ypupdate_xdr.c: Likewise.
38694 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
38695 mainly the body of pmap_getport. Add parameters to specify timeouts.
38696 (pmap_getport): Use __libc_rpc_getport.
38697 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
38698 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
38699 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
38701 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
38703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
38706 2010-08-27 Roland McGrath <roland@redhat.com>
38708 * sysdeps/i386/i686/multiarch/Makefile
38709 (CFLAGS-varshift.c): New variable.
38711 2010-08-27 Ulrich Drepper <drepper@redhat.com>
38713 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
38714 * sysdeps/i386/i686/multiarch/varshift.c: New file.
38716 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
38718 * sysdeps/x86_64/strlen.S: Minimal code improvement.
38720 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
38722 * sysdeps/x86_64/strlen.S: Unroll the loop.
38723 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38724 strlen-sse2 strlen-sse2-bsf.
38725 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
38726 __strlen_no_bsf if bit_Slow_BSF is set.
38727 (__strlen_sse42): Removed.
38728 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
38729 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
38731 2010-08-25 Roland McGrath <roland@redhat.com>
38733 * sysdeps/x86_64/multiarch/varshift.S: File removed.
38734 * sysdeps/x86_64/multiarch/varshift.c: New file.
38735 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38736 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38737 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38738 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38740 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
38742 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38743 strlen-sse2 strlen-sse2-bsf.
38744 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38745 __strlen_sse2_bsf if bit_Slow_BSF is unset.
38746 (__strlen_sse2): Removed.
38747 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38748 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38749 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38750 bit_Slow_BSF for Atom.
38751 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38752 (index_Slow_BSF): Define.
38753 (HAS_SLOW_BSF): Define.
38755 2010-08-25 Ulrich Drepper <drepper@redhat.com>
38758 * resolv/res_init.c (__res_vinit): When no server address at all
38759 is given default to loopback.
38761 2010-08-24 Roland McGrath <roland@redhat.com>
38763 * configure.in: Remove config-name.h generation.
38764 * configure: Regenerated.
38765 * config-name.in: File removed.
38766 * scripts/config-uname.sh: New file.
38767 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38768 ($(objdir)config-name.h): New target.
38770 * sunrpc/rpc_parse.h: Avoid nested comment.
38772 2010-08-24 Richard Henderson <rth@redhat.com>
38773 Ulrich Drepper <drepper@redhat.com>
38774 H.J. Lu <hongjiu.lu@intel.com>
38776 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38777 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38778 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38779 Replace _mm_srli_si128 with __m128i_shift_right. Replace
38780 _mm_alignr_epi8 with _mm_loadu_si128.
38781 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38782 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38783 (__m128i_shift_right): Removed.
38784 * sysdeps/i386/i686/multiarch/varshift.h: New file.
38785 * sysdeps/i386/i686/multiarch/varshift.S: New file.
38786 * sysdeps/x86_64/multiarch/varshift.h: New file.
38787 * sysdeps/x86_64/multiarch/varshift.S: New file.
38789 2010-08-21 Mike Frysinger <vapier@gentoo.org>
38791 * configure.in: Move assembler checks to before sysdep dir checking.
38793 2010-08-20 Petr Baudis <pasky@suse.cz>
38795 * LICENSES: Sync the sunrpc license.
38797 2010-08-19 Ulrich Drepper <drepper@redhat.com>
38799 * sunrpc/auth_des.c: Update copyright notice once again.
38800 * sunrpc/auth_none.c: Likewise.
38801 * sunrpc/auth_unix.c: Likewise.
38802 * sunrpc/authdes_prot.c: Likewise.
38803 * sunrpc/authuxprot.c: Likewise.
38804 * sunrpc/bindrsvprt.c: Likewise.
38805 * sunrpc/clnt_gen.c: Likewise.
38806 * sunrpc/clnt_perr.c: Likewise.
38807 * sunrpc/clnt_raw.c: Likewise.
38808 * sunrpc/clnt_simp.c: Likewise.
38809 * sunrpc/clnt_tcp.c: Likewise.
38810 * sunrpc/clnt_udp.c: Likewise.
38811 * sunrpc/clnt_unix.c: Likewise.
38812 * sunrpc/des_crypt.c: Likewise.
38813 * sunrpc/des_soft.c: Likewise.
38814 * sunrpc/get_myaddr.c: Likewise.
38815 * sunrpc/getrpcport.c: Likewise.
38816 * sunrpc/key_call.c: Likewise.
38817 * sunrpc/key_prot.c: Likewise.
38818 * sunrpc/openchild.c: Likewise.
38819 * sunrpc/pm_getmaps.c: Likewise.
38820 * sunrpc/pm_getport.c: Likewise.
38821 * sunrpc/pmap_clnt.c: Likewise.
38822 * sunrpc/pmap_prot.c: Likewise.
38823 * sunrpc/pmap_prot2.c: Likewise.
38824 * sunrpc/pmap_rmt.c: Likewise.
38825 * sunrpc/rpc/auth.h: Likewise.
38826 * sunrpc/rpc/auth_unix.h: Likewise.
38827 * sunrpc/rpc/clnt.h: Likewise.
38828 * sunrpc/rpc/des_crypt.h: Likewise.
38829 * sunrpc/rpc/key_prot.h: Likewise.
38830 * sunrpc/rpc/netdb.h: Likewise.
38831 * sunrpc/rpc/pmap_clnt.h: Likewise.
38832 * sunrpc/rpc/pmap_prot.h: Likewise.
38833 * sunrpc/rpc/pmap_rmt.h: Likewise.
38834 * sunrpc/rpc/rpc.h: Likewise.
38835 * sunrpc/rpc/rpc_des.h: Likewise.
38836 * sunrpc/rpc/rpc_msg.h: Likewise.
38837 * sunrpc/rpc/svc.h: Likewise.
38838 * sunrpc/rpc/svc_auth.h: Likewise.
38839 * sunrpc/rpc/types.h: Likewise.
38840 * sunrpc/rpc/xdr.h: Likewise.
38841 * sunrpc/rpc_clntout.c: Likewise.
38842 * sunrpc/rpc_cmsg.c: Likewise.
38843 * sunrpc/rpc_common.c: Likewise.
38844 * sunrpc/rpc_cout.c: Likewise.
38845 * sunrpc/rpc_dtable.c: Likewise.
38846 * sunrpc/rpc_hout.c: Likewise.
38847 * sunrpc/rpc_main.c: Likewise.
38848 * sunrpc/rpc_parse.c: Likewise.
38849 * sunrpc/rpc_parse.h: Likewise.
38850 * sunrpc/rpc_prot.c: Likewise.
38851 * sunrpc/rpc_sample.c: Likewise.
38852 * sunrpc/rpc_scan.c: Likewise.
38853 * sunrpc/rpc_scan.h: Likewise.
38854 * sunrpc/rpc_svcout.c: Likewise.
38855 * sunrpc/rpc_tblout.c: Likewise.
38856 * sunrpc/rpc_util.c: Likewise.
38857 * sunrpc/rpc_util.h: Likewise.
38858 * sunrpc/rpcinfo.c: Likewise.
38859 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38860 * sunrpc/rpcsvc/key_prot.x: Likewise.
38861 * sunrpc/rpcsvc/klm_prot.x: Likewise.
38862 * sunrpc/rpcsvc/mount.x: Likewise.
38863 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38864 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38865 * sunrpc/rpcsvc/rex.x: Likewise.
38866 * sunrpc/rpcsvc/rstat.x: Likewise.
38867 * sunrpc/rpcsvc/rusers.x: Likewise.
38868 * sunrpc/rpcsvc/sm_inter.x: Likewise.
38869 * sunrpc/rpcsvc/spray.x: Likewise.
38870 * sunrpc/rpcsvc/yppasswd.x: Likewise.
38871 * sunrpc/rtime.c: Likewise.
38872 * sunrpc/svc.c: Likewise.
38873 * sunrpc/svc_auth.c: Likewise.
38874 * sunrpc/svc_authux.c: Likewise.
38875 * sunrpc/svc_raw.c: Likewise.
38876 * sunrpc/svc_run.c: Likewise.
38877 * sunrpc/svc_simple.c: Likewise.
38878 * sunrpc/svc_tcp.c: Likewise.
38879 * sunrpc/svc_udp.c: Likewise.
38880 * sunrpc/svc_unix.c: Likewise.
38881 * sunrpc/svcauth_des.c: Likewise.
38882 * sunrpc/xcrypt.c: Likewise.
38883 * sunrpc/xdr.c: Likewise.
38884 * sunrpc/xdr_array.c: Likewise.
38885 * sunrpc/xdr_float.c: Likewise.
38886 * sunrpc/xdr_mem.c: Likewise.
38887 * sunrpc/xdr_rec.c: Likewise.
38888 * sunrpc/xdr_ref.c: Likewise.
38889 * sunrpc/xdr_sizeof.c: Likewise.
38890 * sunrpc/xdr_stdio.c: Likewise.
38892 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38895 2010-08-19 Andreas Schwab <schwab@redhat.com>
38897 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38899 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
38901 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38902 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38903 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38904 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38905 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38906 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38907 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38908 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38909 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38910 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38911 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38912 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38913 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38914 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38916 2010-07-26 Anton Blanchard <anton@samba.org>
38918 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38919 * malloc/arena.c (heap_trim): Likewise.
38921 2010-08-16 Ulrich Drepper <drepper@redhat.com>
38923 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38925 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38926 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38928 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
38930 * sysdeps/i386/elf/Makefile: New file.
38932 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38934 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38935 from fanotify_init.
38936 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38937 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38939 2010-08-15 Ulrich Drepper <drepper@redhat.com>
38941 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38943 * sysdeps/multiarch/strcmp.S: Likewise.
38945 2010-08-14 Ulrich Drepper <drepper@redhat.com>
38947 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38948 strncase_l-nonascii.
38949 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38950 Add strncase_l-ssse3.
38951 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38952 * sysdeps/x86_64/strcmp.S: Likewise.
38953 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38954 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38955 * sysdeps/x86_64/strncase.S: New file.
38956 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38957 * sysdeps/x86_64/strncase_l.S: New file.
38958 * string/Makefile (strop-tests): Add strncasecmp.
38959 * string/test-strncasecmp.c: New file.
38961 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38964 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38965 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38967 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38969 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38971 2010-08-12 Ulrich Drepper <drepper@redhat.com>
38973 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38974 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38975 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38977 2010-05-01 Alan Modra <amodra@gmail.com>
38979 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38980 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38981 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38982 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38983 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38984 tidying. Don't tail-call __sigjmp_save for static lib.
38985 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38987 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38988 (CALL_MCOUNT): Add eh info, and nop after bl.
38989 (TAIL_CALL_SYSCALL_ERROR): New macro.
38990 (PSEUDO_RET): Use it.
38991 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38992 Correct save location of integer regs and cr.
38993 (_dl_profile_resolve): Correct cr save location. Delete nops
38994 after bl when SHARED. Reduce cfi size a little by better
38995 placement of cfi directives.
38996 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38997 make a stack frame. Instead use parm save area as a temp.
38998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38999 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
39000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39001 Don't make a stack frame for parent, use parm save area.
39002 Increase child stack frame to 112 bytes. Don't save unused reg,
39003 and adjust reg usage. Set up cfi on error recovery and
39004 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
39005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39006 (__makecontext): Add dummy nop after jump to exit.
39007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
39008 Use correct parm save area and cr save, reduce stack frame.
39009 Correct cfi for possible PSEUDO_RET frame setup.
39010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
39011 Branch to local label emitted by PSEUDO_RET rather than
39014 2010-08-12 Andreas Schwab <schwab@redhat.com>
39017 * locale/programs/locale.c (print_assignment): New function.
39018 (show_locale_vars): Use it.
39020 2010-08-11 Ulrich Drepper <drepper@redhat.com>
39022 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39024 (struct statfs64): Likewise.
39025 (_STATFS_F_FLAGS): Define.
39026 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
39027 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39028 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
39029 (ST_VALID): Define locally.
39030 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
39031 __statvfs_getflags, use the provided value.
39032 * sysdeps/unix/sysv/linux/kernel-features.h: Define
39033 __ASSUME_STATFS_F_FLAGS.
39035 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39037 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39038 Add sys/fanotify.h.
39039 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39040 fanotify_mask for GLIBC_2.13.
39041 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39042 fanotify_init and fanotify_mark.
39043 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39044 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39046 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39048 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39049 prlimit64 for GLIBC_2.13.
39050 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39052 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39055 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39056 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39057 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39058 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
39060 * sysdeps/unix/sysv/linux/prlimit.c: New file.
39063 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39064 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39066 * nss/Makefile: Add rules to build and run tst-nss-test1.
39067 * shlib-versions: Add entry for libnss_test1.
39068 * nss/nss_test1.c: New file.
39069 * nss/tst-nss-test1.c: New file.
39071 * nss/nsswitch.c (__nss_database_custom): Define new variable.
39072 (__nss_configure_lookup): Set appropriate entry in
39073 __nss_configure_lookup to true.
39074 * nss/nsswitch.h: Define enum with indeces of databases in
39075 databases and __nss_database_custom arrays. Declare
39076 __nss_database_custom.
39077 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
39078 to avoid using nscd when custom rules are installed.
39079 * nss/getXXbyYY_r.c: Likewise.
39080 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39082 * nss/nss_files/files-parse.c: Whitespace fixes.
39084 2010-08-09 Ulrich Drepper <drepper@redhat.com>
39087 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
39088 * posix/fnmatch_loop.c: Likewise.
39090 2010-07-17 Andi Kleen <ak@linux.intel.com>
39092 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
39093 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
39094 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
39095 * Versions.def [GLIBC_2.13]: Add.
39097 2010-08-06 Ulrich Drepper <drepper@redhat.com>
39099 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39100 Also fail if tpwd after pwuid call is NULL.
39102 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
39104 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
39105 when converting to ms.
39107 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39109 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
39110 EOPNOTSUPP errors with ENOTTY.
39111 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
39112 EOPNOTSUPP errors with ENOTTY.
39114 2010-07-31 Ulrich Drepper <drepper@redhat.com>
39116 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39117 Add strcasecmp_l-ssse3.
39118 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
39120 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
39121 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
39122 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
39124 2010-07-30 Ulrich Drepper <drepper@redhat.com>
39126 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
39128 * string/Makefile (strop-tests): Add strcasecmp.
39129 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39130 strcasecmp_l-nonascii.
39131 (gen-as-const-headers): Add locale-defines.sym.
39132 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
39133 * sysdeps/x86_64/strcasecmp.S: New file.
39134 * sysdeps/x86_64/strcasecmp_l.S: New file.
39135 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
39136 * sysdeps/x86_64/locale-defines.sym: New file.
39137 * string/test-strcasecmp.c: New file.
39139 * string/test-strcasestr.c: Test both ends of the range of characters.
39140 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
39142 2010-07-29 Roland McGrath <roland@redhat.com>
39145 * manual/locale.texi (Yes-or-No Questions): Fix example code.
39147 2010-07-27 Ulrich Drepper <drepper@redhat.com>
39149 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
39152 2010-07-27 Andreas Schwab <schwab@redhat.com>
39154 * manual/memory.texi (Malloc Tunable Parameters): Document
39157 2010-07-26 Roland McGrath <roland@redhat.com>
39160 * configure.in (-fgnu89-inline check): Set and substitute
39161 gnu89_inline, not libc_cv_gnu89_inline.
39162 * configure: Regenerated.
39163 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
39165 2010-07-26 Ulrich Drepper <drepper@redhat.com>
39167 * string/test-strnlen.c: New file.
39168 * string/Makefile (strop-tests): Add strnlen.
39169 * string/tester.c (test_strnlen): Add a few more test cases.
39170 * string/tst-strlen.c: Better error reporting.
39172 * sysdeps/x86_64/strnlen.S: New file.
39174 2010-07-24 Ulrich Drepper <drepper@redhat.com>
39176 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
39177 lower-latency instructions.
39179 2010-07-23 Ulrich Drepper <drepper@redhat.com>
39181 * string/test-strcasestr.c: New file.
39182 * string/test-strstr.c: New file.
39183 * string/Makefile (strop-tests): Add strstr and strcasestr.
39184 * string/str-two-way.h: Don't undefine MAX.
39185 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
39187 2010-07-21 Andreas Schwab <schwab@redhat.com>
39189 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39190 strcasestr-nonascii.
39191 (CFLAGS-strcasestr-nonascii.c): Define.
39192 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
39193 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
39194 Remove unused attribute.
39196 2010-07-20 Roland McGrath <roland@redhat.com>
39198 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
39199 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
39200 ld.so.cache was broken. With it, there is no way to disable dsocaps
39201 like LD_HWCAP_MASK can disable hwcaps.
39203 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39205 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
39207 2010-07-16 Ulrich Drepper <drepper@redhat.com>
39209 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
39210 call in strcasestr.
39211 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
39212 __strcasestr_sse42_nonascii.
39213 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
39214 strcasestr-nonascii.c.
39215 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
39217 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
39219 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
39220 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
39221 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
39222 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
39224 2010-07-09 Ulrich Drepper <drepper@redhat.com>
39226 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
39229 2010-07-06 Andreas Schwab <schwab@redhat.com>
39232 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
39235 2010-07-06 Ulrich Drepper <drepper@redhat.com>
39237 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
39238 _PC_PIPE_BUF using F_GETPIPE_SZ.
39240 2010-07-05 Roland McGrath <roland@redhat.com>
39242 * manual/arith.texi (Rounding Functions): Fix rint description
39243 implicit in round description.
39245 2010-07-02 Ulrich Drepper <drepper@redhat.com>
39247 * elf/Makefile: Fix linking for a few tests to make recent linker
39250 2010-06-30 Andreas Schwab <schwab@redhat.com>
39252 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39253 $(common-objpfx)libc_nonshared.a.
39255 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
39257 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
39258 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
39259 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39260 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39261 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
39262 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
39263 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39264 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
39266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
39267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
39268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
39270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
39272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
39273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
39274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
39275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
39277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
39279 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
39280 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
39281 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
39282 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
39283 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
39284 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
39285 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
39286 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
39287 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
39288 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
39289 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
39290 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
39291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
39292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
39293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
39294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
39295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
39296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
39297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
39298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
39299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
39300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
39301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
39302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
39303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
39304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
39306 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
39308 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
39309 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
39310 * string/memmove.c (memmove): Renamed to ...
39311 (MEMMOVE): ...this. Default to memmove.
39312 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
39313 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
39315 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39316 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
39317 mempcpy-ssse3-back memmove-ssse3-back.
39318 * sysdeps/x86_64/multiarch/bcopy.S: New file .
39319 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
39320 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
39321 * sysdeps/x86_64/multiarch/memcpy.S: New file.
39322 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
39323 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
39324 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
39325 * sysdeps/x86_64/multiarch/memmove.c: New file.
39326 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
39327 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
39328 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
39329 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
39330 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
39331 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
39333 (index_Fast_Copy_Backward): Define.
39334 (HAS_ARCH_FEATURE): Define.
39335 (HAS_FAST_REP_STRING): Define.
39336 (HAS_FAST_COPY_BACKWARD): Define.
39338 2010-06-21 Andreas Schwab <schwab@redhat.com>
39340 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39341 Restore proper fallback handling.
39343 2010-06-19 Ulrich Drepper <drepper@redhat.com>
39346 * posix/group_member.c (__group_member): Correct checking loop.
39348 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
39349 OOM in getpwuid_r correctly. Return error number when the caller
39350 should return, otherwise -1.
39351 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
39352 call returning > 0 value.
39353 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
39355 2010-06-07 Andreas Schwab <schwab@redhat.com>
39357 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
39358 libc_nonshared.a from targets in modules-names.
39360 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
39362 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
39365 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
39367 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
39368 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
39369 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
39370 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
39372 2010-06-02 Andreas Schwab <schwab@redhat.com>
39374 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
39376 2010-06-14 Ulrich Drepper <drepper@redhat.com>
39378 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
39380 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39381 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39382 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39383 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39384 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39385 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
39387 2010-06-14 Roland McGrath <roland@redhat.com>
39389 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
39391 2010-06-07 Jakub Jelinek <jakub@redhat.com>
39393 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
39394 __REDIRECT followed by __THROW.
39395 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
39396 * posix/getopt.h (getopt): Likewise.
39398 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39400 * hurd/lookup-at.c (__file_name_lookup_at): Accept
39401 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
39402 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
39404 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
39405 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
39407 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
39409 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
39411 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
39414 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39415 Properly check family and model.
39417 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
39419 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
39421 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
39423 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
39425 2010-05-21 Ulrich Drepper <drepper@redhat.com>
39427 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
39430 2010-05-19 Andreas Schwab <schwab@redhat.com>
39432 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
39435 2010-05-21 Andreas Schwab <schwab@redhat.com>
39437 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
39438 and internal_recvmmsg.
39439 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
39440 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
39441 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
39442 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
39444 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
39445 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39446 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39448 2010-05-20 Andreas Schwab <schwab@redhat.com>
39450 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
39452 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
39454 POWER7 optimizations.
39455 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
39456 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
39458 2010-05-19 Ulrich Drepper <drepper@redhat.com>
39460 * version.h: Update for 2.13 development version.
39462 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
39464 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
39465 exceptions. Return 0.
39467 2010-05-07 Roland McGrath <roland@redhat.com>
39469 * elf/ldconfig.c (main): Add a const.
39471 2010-05-06 Ulrich Drepper <drepper@redhat.com>
39473 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
39474 (args_options): Add no-idn option.
39475 (ahosts_keys_int): Add idn_flags to ai_flags.
39476 (parse_option): Handle 'i' option to clear idn_flags.
39478 * malloc/malloc.c (_int_free): Possible race in the most recently
39479 added check. Only act on the data if no current modification
39482 See ChangeLog.17 for earlier changes.