1 2014-02-11 Will Newton <will.newton@linaro.org>
3 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4 definition. (tr_where, tr_freehook, tr_mallochook,
5 tr_reallochook, tr_memalignhook): Use ANSI protoype.
7 2014-02-11 David S. Miller <davem@davemloft.net>
9 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
12 2014-02-10 Joseph Myers <joseph@codesourcery.com>
14 * sysdeps/mips: Move directory from ports/sysdeps/mips.
15 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16 * sysdeps/unix/sysv/linux/mips: Move directory from
17 ports/sysdeps/unix/sysv/linux/mips.
18 * README: Update listing for mips-*-linux-gnu and
21 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
23 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
24 * sysdeps/unix/sysv/linux/m68k: Move directory from
25 ports/sysdeps/unix/sysv/linux/m68k.
26 * README: Update listing for m68k-*-linux-gnu.
28 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
30 * sysdeps/tile: Move directory from ports/sysdeps/tile.
31 * sysdeps/unix/sysv/linux/generic: Move directory from
32 ports/sysdeps/unix/sysv/linux/generic.
33 * sysdeps/unix/sysv/linux/tile: Move directory from
34 ports/sysdeps/unix/sysv/linux/tile.
35 * README: Update listing for tile*-*-linux-gnu.
37 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
39 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
40 * benchtests/bench-memmem.c (simple_memmem): Likewise.
41 * catgets/open_catalog.c (__open_catalog): Likewise.
42 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
43 * debug/confstr_chk.c: Likewise.
44 * debug/fread_chk.c (__fread_chk): Likewise.
45 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
46 * debug/getgroups_chk.c: Likewise.
47 * debug/mbsnrtowcs_chk.c: Likewise.
48 * debug/mbsrtowcs_chk.c: Likewise.
49 * debug/mbstowcs_chk.c: Likewise.
50 * debug/memcpy_chk.c: Likewise.
51 * debug/memmove_chk.c: Likewise.
52 * debug/mempcpy_chk.c: Likewise.
53 * debug/memset_chk.c: Likewise.
54 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
55 * debug/strcat_chk.c (__strcat_chk): Likewise.
56 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
57 * debug/strncat_chk.c (__strncat_chk): Likewise.
58 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
59 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
60 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
61 * debug/wcpncpy_chk.c: Likewise.
62 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
63 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
64 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
65 * debug/wcsncpy_chk.c: Likewise.
66 * debug/wcsnrtombs_chk.c: Likewise.
67 * debug/wcsrtombs_chk.c: Likewise.
68 * debug/wcstombs_chk.c: Likewise.
69 * debug/wmemcpy_chk.c: Likewise.
70 * debug/wmemmove_chk.c: Likewise.
71 * debug/wmempcpy_chk.c: Likewise.
72 * debug/wmemset_chk.c: Likewise.
73 * dirent/scandirat.c (SCANDIRAT): Likewise.
74 * dlfcn/dladdr1.c (dladdr1): Likewise.
75 * dlfcn/dladdr.c (dladdr): Likewise.
76 * dlfcn/dlclose.c (dlclose_doit): Likewise.
77 * dlfcn/dlerror.c (__dlerror): Likewise.
78 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
79 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
80 * dlfcn/dlopen.c (dlopen_doit): Likewise.
81 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
82 * dlfcn/dlsym.c (dlsym_doit): Likewise.
83 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
84 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
85 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
87 * elf/dl-conflict.c: Likewise.
88 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
89 * elf/dl-dst.h: Likewise.
90 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
91 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
92 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
93 * elf/dl-init.c (call_init, _dl_init): Likewise.
94 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
95 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
96 _dl_map_object_from_fd, open_verify, open_path,
97 _dl_map_object): Likewise.
98 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
100 * elf/dl-minimal.c (__libc_memalign): Likewise.
101 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
102 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
103 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
104 * elf/dl-sym.c (do_sym): Likewise.
105 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
106 _dl_tls_get_addr_soft): Likewise.
107 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
108 * elf/dl-writev.h (_dl_writev): Likewise.
109 * elf/ldconfig.c (search_dir): Likewise.
110 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
112 * elf/setup-vdso.h (setup_vdso): Likewise.
113 * grp/compat-initgroups.c (compat_call): Likewise.
114 * grp/fgetgrent.c (fgetgrent): Likewise.
115 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
116 * grp/putgrent.c (putgrent): Likewise.
117 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
119 * hurd/hurdinit.c: Likewise.
120 * iconvdata/8bit-gap.c (struct): Likewise.
121 * iconvdata/ansi_x3.110.c : Likewise.
122 * iconvdata/big5.c : Likewise.
123 * iconvdata/big5hkscs.c : Likewise.
124 * iconvdata/cp1255.c: Likewise.
125 * iconvdata/cp1258.c : Likewise.
126 * iconvdata/cp932.c : Likewise.
127 * iconvdata/euc-cn.c: Likewise.
128 * iconvdata/euc-jisx0213.c : Likewise.
129 * iconvdata/euc-jp.c: Likewise.
130 * iconvdata/euc-jp-ms.c : Likewise.
131 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
132 * iconvdata/gb18030.c : Likewise.
133 * iconvdata/gbbig5.c (const): Likewise.
134 * iconvdata/gbgbk.c: Likewise.
135 * iconvdata/gbk.c : Likewise.
136 * iconvdata/ibm1364.c : Likewise.
137 * iconvdata/ibm930.c : Likewise.
138 * iconvdata/ibm932.c: Likewise.
139 * iconvdata/ibm933.c : Likewise.
140 * iconvdata/ibm935.c : Likewise.
141 * iconvdata/ibm937.c : Likewise.
142 * iconvdata/ibm939.c : Likewise.
143 * iconvdata/ibm943.c: Likewise.
144 * iconvdata/iso_11548-1.c: Likewise.
145 * iconvdata/iso-2022-cn.c : Likewise.
146 * iconvdata/iso-2022-cn-ext.c : Likewise.
147 * iconvdata/iso-2022-jp-3.c: Likewise.
148 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
149 * iconvdata/iso-2022-kr.c : Likewise.
150 * iconvdata/iso646.c (gconv_end): Likewise.
151 * iconvdata/iso_6937-2.c : Likewise.
152 * iconvdata/iso_6937.c : Likewise.
153 * iconvdata/iso8859-1.c: Likewise.
154 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
155 * iconvdata/shift_jisx0213.c : Likewise.
156 * iconvdata/sjis.c : Likewise.
157 * iconvdata/t.61.c : Likewise.
158 * iconvdata/tcvn5712-1.c : Likewise.
159 * iconvdata/tscii.c: Likewise.
160 * iconvdata/uhc.c : Likewise.
161 * iconvdata/unicode.c (gconv_end): Likewise.
162 * iconvdata/utf-16.c (gconv_end): Likewise.
163 * iconvdata/utf-32.c (gconv_end): Likewise.
164 * iconvdata/utf-7.c (base64): Likewise.
165 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
166 * iconv/gconv_close.c (__gconv_close): Likewise.
167 * iconv/gconv_open.c (__gconv_open): Likewise.
168 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
169 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
170 internal_ucs4le_loop_single, ucs4le_internal_loop,
171 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
172 * iconv/iconv.c (iconv): Likewise.
173 * iconv/iconv_close.c: Likewise.
174 * iconv/loop.c (SINGLE): Likewise.
175 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
176 * include/atomic.h: Likewise.
177 * inet/inet6_option.c (option_alloc): Likewise.
178 * intl/bindtextdom.c (set_binding_values): Likewise.
179 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
180 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
181 * intl/localealias.c (read_alias_file): Likewise.
182 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
183 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
184 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
185 * libio/fmemopen.c (fmemopen): Likewise.
186 * libio/iofgets.c (_IO_fgets): Likewise.
187 * libio/iofgets_u.c (fgets_unlocked): Likewise.
188 * libio/iofgetws.c (fgetws): Likewise.
189 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
190 * libio/iogetdelim.c (_IO_getdelim): Likewise.
191 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
192 adjust_wide_data, _IO_wfile_seekoff): Likewise.
193 * locale/findlocale.c (_nl_find_locale): Likewise.
194 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
195 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
197 * locale/setlocale.c (setlocale): Likewise.
198 * login/programs/pt_chown.c (main): Likewise.
199 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
200 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
201 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
202 mmap, mmap64, mremap, munmap): Likewise.
203 * math/e_exp2l.c: Likewise.
204 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
205 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
206 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
207 * math/s_catan.c (__catan): Likewise.
208 * math/s_catanf.c (__catanf): Likewise.
209 * math/s_catanh.c (__catanh): Likewise.
210 * math/s_catanhf.c (__catanhf): Likewise.
211 * math/s_catanhl.c (__catanhl): Likewise.
212 * math/s_catanl.c (__catanl): Likewise.
213 * math/s_ccosh.c (__ccosh): Likewise.
214 * math/s_ccoshf.c (__ccoshf): Likewise.
215 * math/s_ccoshl.c (__ccoshl): Likewise.
216 * math/s_cexp.c (__cexp): Likewise.
217 * math/s_cexpf.c (__cexpf): Likewise.
218 * math/s_cexpl.c (__cexpl): Likewise.
219 * math/s_clog10.c (__clog10): Likewise.
220 * math/s_clog10f.c (__clog10f): Likewise.
221 * math/s_clog10l.c (__clog10l): Likewise.
222 * math/s_clog.c (__clog): Likewise.
223 * math/s_clogf.c (__clogf): Likewise.
224 * math/s_clogl.c (__clogl): Likewise.
225 * math/s_csin.c (__csin): Likewise.
226 * math/s_csinf.c (__csinf): Likewise.
227 * math/s_csinh.c (__csinh): Likewise.
228 * math/s_csinhf.c (__csinhf): Likewise.
229 * math/s_csinhl.c (__csinhl): Likewise.
230 * math/s_csinl.c (__csinl): Likewise.
231 * math/s_csqrt.c (__csqrt): Likewise.
232 * math/s_csqrtf.c (__csqrtf): Likewise.
233 * math/s_csqrtl.c (__csqrtl): Likewise.
234 * math/s_ctan.c (__ctan): Likewise.
235 * math/s_ctanf.c (__ctanf): Likewise.
236 * math/s_ctanh.c (__ctanh): Likewise.
237 * math/s_ctanhf.c (__ctanhf): Likewise.
238 * math/s_ctanhl.c (__ctanhl): Likewise.
239 * math/s_ctanl.c (__ctanl): Likewise.
240 * math/w_pow.c: Likewise.
241 * math/w_powf.c: Likewise.
242 * math/w_powl.c: Likewise.
243 * math/w_scalb.c (sysv_scalb): Likewise.
244 * math/w_scalbf.c (sysv_scalbf): Likewise.
245 * math/w_scalbl.c (sysv_scalbl): Likewise.
246 * misc/error.c (error_tail): Likewise.
247 * misc/pselect.c (__pselect): Likewise.
248 * nis/nis_callback.c (__nis_create_callback): Likewise.
249 * nis/nis_call.c (__nisfind_server): Likewise.
250 * nis/nis_creategroup.c (nis_creategroup): Likewise.
251 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
252 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
253 * nis/nis_getservlist.c (nis_getservlist): Likewise.
254 * nis/nis_lookup.c (nis_lookup): Likewise.
255 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
256 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
257 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
258 * nis/nis_xdr.c (xdr_endpoint): Likewise.
259 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
260 internal_getgrgid_r): Likewise.
261 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
263 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
264 internal_getpwuid_r): Likewise.
265 * nis/nss_compat/compat-spwd.c (getspent_next_file,
266 internal_getspnam_r): Likewise.
267 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
268 _nss_nis_getaliasbyname_r): Likewise.
269 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
270 _nss_nis_getntohost_r): Likewise.
271 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
272 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
274 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
275 internal_nis_gethostent_r, internal_gethostbyname2_r,
276 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
277 _nss_nis_gethostbyname4_r): Likewise.
278 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
279 initgroups_netid): Likewise.
280 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
281 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
282 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
283 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
284 _nss_nis_getprotobynumber_r): Likewise.
285 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
286 _nss_nis_getsecretkey): Likewise.
287 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
288 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
290 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
291 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
292 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
293 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
294 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
295 _nss_nis_getspnam_r): Likewise.
296 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
298 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
299 _nss_nisplus_getntohost_r): Likewise.
300 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
301 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
302 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
303 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
304 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
306 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
307 _nss_nisplus_getnetbyaddr_r): Likewise.
308 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
309 _nss_nisplus_getprotobynumber_r): Likewise.
310 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
311 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
312 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
314 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
315 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
316 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
317 _nss_nisplus_getspnam_r): Likewise.
318 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
319 * nscd/aicache.c (addhstaiX): Likewise.
320 * nscd/cache.c (cache_search, prune_cache): Likewise.
321 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
322 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
323 * nscd/grpcache.c (addgrbyX): Likewise.
324 * nscd/hstcache.c (addhstbyX): Likewise.
325 * nscd/initgrcache.c (addinitgroupsX): Likewise.
326 * nscd/mem.c (gc, mempool_alloc): Likewise.
327 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
329 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
331 * nscd/nscd_getai.c (__nscd_getai): Likewise.
332 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
333 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
335 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
336 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
337 * nscd/nscd_helper.c (__readvall, open_socket,
338 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
339 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
340 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
341 * nscd/pwdcache.c (addpwbyX): Likewise.
342 * nscd/selinux.c (preserve_capabilities): Likewise.
343 * nscd/servicescache.c (addservbyX): Likewise.
344 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
345 * posix/fnmatch.c (fnmatch): Likewise.
346 * posix/getopt.c (_getopt_internal_r): Likewise.
347 * posix/glob.c (glob, glob_in_dir): Likewise.
348 * posix/wordexp.c (exec_comm_child): Likewise.
349 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
350 gaih_getanswer_slice): Likewise.
351 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
352 * resolv/res_init.c: Likewise.
353 * resolv/res_mkquery.c (res_nmkquery): Likewise.
354 * resolv/res_query.c (__libc_res_nquery): Likewise.
355 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
357 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
358 * stdio-common/perror.c (perror): Likewise.
359 * stdio-common/printf_fp.c (___printf_fp): Likewise.
360 * stdio-common/tmpnam.c (tmpnam): Likewise.
361 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
362 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
363 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
364 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
365 * stdlib/putenv.c (putenv): Likewise.
366 * stdlib/setenv.c (__add_to_environ): Likewise.
367 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
368 * stdlib/strtol_l.c (INTERNAL): Likewise.
369 * string/memmem.c (memmem): Likewise.
370 * string/strerror.c (strerror): Likewise.
371 * string/strnlen.c (__strnlen): Likewise.
372 * string/test-memmem.c (simple_memmem): Likewise.
373 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
374 * sunrpc/pm_getport.c (__get_socket): Likewise.
375 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
376 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
377 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
378 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
380 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
381 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
382 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
383 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
384 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
385 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
386 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
387 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
388 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
389 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
390 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
391 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
392 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
393 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
394 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
395 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
396 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
397 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
398 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
400 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
402 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
404 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
405 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
406 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
407 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
408 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
409 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
410 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
411 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
412 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
413 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
414 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
415 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
416 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
417 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
418 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
419 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
420 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
422 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
424 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
426 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
427 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
428 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
430 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
431 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
432 * sysdeps/posix/opendir.c (__opendirat): Likewise.
433 * sysdeps/posix/sleep.c: Likewise.
434 * sysdeps/posix/tempname.c: Likewise.
435 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
436 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
438 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
439 elf_machine_rela): Likewise.
440 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
441 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
442 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
443 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
445 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
446 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
447 elf_machine_rela, elf_machine_lazy_rel): Likewise.
448 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
449 elf_machine_rela, elf_machine_lazy_rel): Likewise.
450 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
451 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
452 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
453 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
454 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
455 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
456 elf_machine_lazy_rel): Likewise.
457 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
458 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
459 elf_machine_lazy_rel): Likewise.
460 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
461 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
462 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
463 * sysdeps/unix/grantpt.c (grantpt): Likewise.
464 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
465 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
466 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
467 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
469 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
470 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
471 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
472 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
473 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
474 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
475 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
476 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
477 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
478 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
479 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
481 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
482 (__posix_fallocate64_l64): Likewise.
483 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
484 (posix_fallocate): Likewise.
485 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
486 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
487 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
488 getifaddrs_internal): Likewise.
489 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
490 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
491 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
492 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
493 * sysdeps/unix/sysv/linux/posix_fallocate64.c
494 (__posix_fallocate64_l64): Likewise.
495 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
497 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
498 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
500 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
501 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
502 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
503 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
504 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
505 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
506 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
507 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
509 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
510 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
511 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
512 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
513 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
514 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
515 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
517 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
518 (posix_fallocate): Likewise.
519 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
520 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
521 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
522 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
523 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
525 * time/asctime.c (asctime_internal): Likewise.
526 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
527 * time/tzset.c (__tzset_parse_tz): Likewise.
528 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
529 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
530 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
531 * wcsmbs/wcsmbsload.h: Likewise.
533 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
536 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
538 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
540 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
541 arena_get2): Remove THREAD_STATS conditionals.
542 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
543 __malloc_stats, int): Likewise.
545 2014-02-08 Mike Frysinger <vapier@gentoo.org>
547 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
548 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
550 2014-02-08 Mike Frysinger <vapier@gentoo.org>
552 * manual/setjmp.texi: Fix typos/grammar errors.
554 2014-02-08 Mike Frysinger <vapier@gentoo.org>
556 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
557 Only return early when n is <= 0. Delete unused return statement.
559 2014-02-08 Mike Frysinger <vapier@gentoo.org>
561 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
562 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
563 * debug/tst-longjmp_chk3.c: New file.
565 2014-02-08 Mike Frysinger <vapier@gentoo.org>
567 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
568 (test_main): Replace code with set_fortify_handler call.
569 * debug/test-strcpy_chk.c: Likewise.
570 * debug/tst-chk1.c: Likewise.
571 * debug/tst-longjmp_chk.c: Likewise.
572 * test-skeleton.c: Include fcntl.h & paths.h
573 (set_fortify_handler): Define.
575 2014-02-08 Mike Frysinger <vapier@gentoo.org>
577 * debug/tst-longjmp_chk.c: Add header comment and include
579 (do_test): Mark static.
580 (TEST_FUNCTION): Define.
582 2014-02-08 Mike Frysinger <vapier@gentoo.org>
584 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
585 (IP_PMTUDISC_INTERFACE): Likewise.
586 (IP_MULTICAST_IF): Likewise.
587 (IP_MULTICAST_TTL): Likewise.
588 (IP_MULTICAST_LOOP): Likewise.
589 (IP_ADD_MEMBERSHIP): Likewise.
590 (IP_DROP_MEMBERSHIP): Likewise.
591 (IP_UNBLOCK_SOURCE): Likewise.
592 (IP_BLOCK_SOURCE): Likewise.
593 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
594 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
595 (IP_MSFILTER): Likewise.
596 (MCAST_JOIN_GROUP): Likewise.
597 (MCAST_BLOCK_SOURCE): Likewise.
598 (MCAST_UNBLOCK_SOURCE): Likewise.
599 (MCAST_LEAVE_GROUP): Likewise.
600 (MCAST_JOIN_SOURCE_GROUP): Likewise.
601 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
602 (MCAST_MSFILTER): Likewise.
603 (IP_MULTICAST_ALL): Likewise.
604 (IP_UNICAST_IF): Likewise.
606 2014-02-08 Mike Frysinger <vapier@gentoo.org>
608 * timezone/Makefile: Delete $(have-ksh) check.
609 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
610 * timezone/tzselect.ksh: Add +x mode bits.
612 2014-02-08 Mike Frysinger <vapier@gentoo.org>
614 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
615 (ANON_INODE_FS_MAGIC): Likewise.
616 (BDEVFS_MAGIC): Likewise.
617 (BINFMTFS_MAGIC): Likewise.
618 (BTRFS_TEST_MAGIC): Likewise.
619 (CRAMFS_MAGIC_WEND): Likewise.
620 (DEBUGFS_MAGIC): Likewise.
621 (ECRYPTFS_SUPER_MAGIC): Likewise.
622 (EXT3_SUPER_MAGIC): Likewise.
623 (EXT4_SUPER_MAGIC): Likewise.
624 (FUTEXFS_SUPER_MAGIC): Likewise.
625 (HOSTFS_SUPER_MAGIC): Likewise.
626 (HUGETLBFS_MAGIC): Likewise.
627 (MINIX3_SUPER_MAGIC): Likewise.
628 (MTD_INODE_FS_MAGIC): Likewise.
629 (NILFS_SUPER_MAGIC): Likewise.
630 (OPENPROM_SUPER_MAGIC): Likewise.
631 (PIPEFS_MAGIC): Likewise.
632 (PSTOREFS_MAGIC): Likewise.
633 (QNX6_SUPER_MAGIC): Likewise.
634 (RAMFS_MAGIC): Likewise.
635 (REISERFS_SUPER_MAGIC_STRING): Likewise.
636 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
637 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
638 (SECURITYFS_MAGIC): Likewise.
639 (SELINUX_MAGIC): Likewise.
640 (SMACK_MAGIC): Likewise.
641 (SOCKFS_MAGIC): Likewise.
642 (SQUASHFS_MAGIC): Likewise.
643 (STACK_END_MAGIC): Likewise.
644 (TMPFS_MAGIC): Likewise.
645 (USBDEVICE_SUPER_MAGIC): Likewise.
646 (V9FS_MAGIC): Likewise.
647 (XENFS_SUPER_MAGIC): Likewise.
648 (CRAMFS_MAGIC): Fix typo in comment.
649 (EXT2_SUPER_MAGIC): Update comment.
650 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
652 2014-02-08 Joseph Myers <joseph@codesourcery.com>
654 * sysdeps/arm: Move directory from ports/sysdeps/arm.
655 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
656 * sysdeps/unix/sysv/linux/arm: Move directory from
657 ports/sysdeps/unix/sysv/linux/arm.
658 * README: Update listing for arm-*-linux-gnueabi.
660 * README: Remove mention of am33.
662 2014-02-07 Roland McGrath <roland@hack.frob.com>
664 * bits/sigset.h (__sigemptyset): Use a statement expression rather
665 than the comma operator, to avoid "rhs of comma has no effect"
667 (__sigfillset, __sigandset, __sigorset): Likewise.
668 * include/signal.h (__sigemptyset): Likewise.
669 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
671 2014-02-07 Allan McRae <allan@archlinux.org>
673 * version.h (RELEASE): Set to "development".
674 (VERSION): Set to "2.19.90"
675 * NEWS: Add 2.20 section.
677 2014-02-06 Carlos O'Donell <carlos@redhat.com>
680 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
682 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
684 * manual/contrib.texi: Update entry for Carlos O'Donell,
685 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
687 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
689 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
691 * sysdeps/unix/sysv/linux/kernel-features.h
692 [__LINUX_KERNEL_VERSION >= 0x020621]
693 (__ASSUME_PROC_PID_TASK_COMM): Define.
695 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
697 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
698 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
699 Leonard and Allan McRae.
701 2014-02-04 David S. Miller <davem@davemloft.net>
703 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
706 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
735 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
737 * nptl/shlib-versions: Change powerpc*le start to 2.17.
738 * shlib-versions: Likewise.
740 2014-02-04 Roland McGrath <roland@hack.frob.com>
741 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
743 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
744 (abilist-pattern): New variable, set to %-le.abilist.
746 * Makerules (abilist-pattern): New variable.
747 (vpath): Use $(abilist-pattern) in place of %.abilist.
748 (check-abi-% pattern rule): Likewise.
749 (check-abi, update-abi): Likewise.
751 2014-02-04 Eric Wong <normalperson@yhbt.net>
753 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
755 2014-02-04 Eric Wong <normalperson@yhbt.net>
757 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
759 2014-02-03 Carlos O'Donell <carlos@redhat.com>
761 * manual/startup.texi: Add next, previous, and top entries for
762 the `Program Arguments' and `Environment Variables' nodes.
764 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
766 * manual/macros.texi: Add comments before MTASC-safety macros.
768 * manual/users.texi: Document MTASC-safety properties.
770 * manual/threads.texi (pthread_key_create, pthread_key_delete,
771 pthread_getspecific, pthread_setspecific): Format with
772 @deftypefun, and add @safety note.
773 * manual/signal.texi: Move comments that analyze the above
774 functions to their home place.
776 2014-02-03 Allan McRae <allan@archlinux.org>
778 * po/sl.po: Update Slovenian translation from translation project.
780 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
782 * manual/time.texi (timegm): Add missing blank after @c.
783 Reported by Joseph Myers <joseph@codesourcery.com>.
785 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
787 * manual/check-safety.sh: New.
788 * manual/Makefile ($(objpfx)stamp-summary): Run it.
790 * manual/terminal.texi: Document MTASC-safety properties.
792 * manual/filesys.texi: Document MTASC-safety properties.
794 * manual/errno.texi: Document MTASC-safety properties.
796 * manual/intro.texi: Document safety identifiers and
799 * manual/string.texi (wcstok): Fix prototype.
800 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
802 * manual/time.texi: Document MTASC-safety properties.
804 * manual/string.texi: Document MTASC-safety properties.
806 * manual/threads.texi: Document MTASC-safety properties.
808 * manual/stdio.texi: Document MTASC-safety properties.
810 * manual/syslog.texi: Document MTASC-safety properties.
812 * manual/sysinfo.texi: Document MTASC-safety properties.
814 * manual/startup.texi: Document MTASC-safety properties.
816 * manual/socket.texi: Document MTASC-safety properties.
818 * manual/signal.texi: Document MTASC-safety properties.
820 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
822 * manual/setjmp.texi: Document MTASC-safety properties.
824 * manual/search.texi: Document MTASC-safety properties.
826 * manual/resource.texi: Document MTASC-safety properties.
828 * manual/process.texi: Document MTASC-safety properties.
830 * manual/platform.texi: Document MTASC-safety properties.
832 * manual/pipe.texi: Document MTASC-safety properties.
834 * manual/pattern.texi: Document MTASC-safety properties.
836 * manual/message.texi: Document MTASC-safety properties.
839 * manual/memory.texi: Document MTASC-safety properties.
841 * manual/math.texi: Document MTASC-safety properties.
843 * manual/locale.texi: Document MTASC-safety properties.
845 * manual/llio.texi: Document MTASC-safety properties.
847 * manual/libdl.texi: New.
849 * manual/lang.texi: Document MTASC-safety properties.
851 * manual/job.texi: Document MTASC-safety properties.
853 * manual/getopt.texi: Document MTASC-safety properties.
855 * manual/ctype.texi: Document MTASC-safety properties.
857 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
860 * csu/libc-tls.c (static_map): Remove variable.
861 (__libc_setup_tls): Use main executable's link map for TLS data.
862 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
863 casing for LM_ID_BASE and GL(dl_nns).
864 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
865 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
866 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
867 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
868 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
870 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
873 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
875 * manual/debug.texi: Document MTASC-safety properties.
877 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
880 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
881 of __x86_64__ when disabling x87 inline functions.
883 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
885 * manual/charset.texi: Document MTASC-safety properties.
887 * manual/crypt.texi: Document MTASC-safety properties.
889 * manual/conf.texi: Document MTASC-safety properties.
891 * manual/arith.texi: Document MTASC-safety properties.
893 * manual/argp.texi: Document MTASC-safety properties.
895 * manual/macros.texi: Introduce macros to document multi
896 thread, asynchronous signal and asynchronous cancellation
898 * manual/intro.texi: Introduce the properties themselves.
900 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
902 * sysdeps/sh/sh4/Makefile: New file.
904 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
906 * math/gen-libm-test.pl ($srcdir): New variable.
907 ($auto_input): Use it.
909 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
912 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
913 access beyond array bounds when parsing netgroups file.
915 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
916 the old buffer before realloc.
918 2014-01-27 Allan McRae <allan@archlinux.org>
920 * po/fr.po: Update French translation from translation project.
922 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
924 * sysdeps/sh/libm-test-ulps: Regenerate.
926 2014-01-24 David S. Miller <davem@davemloft.net>
928 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
930 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
932 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
933 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
935 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
938 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
939 string pointers after reallocation.
941 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
943 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
944 __SH4A__ instead of __SH_FPU_ANY__.
946 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
948 * sysdeps/sh/fpu_control.h: New file.
949 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
950 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
951 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
952 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
953 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
954 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
955 * sysdeps/sh/sys/ucontext.h: Remove.
956 * sysdeps/sh/sys: Remove directory.
958 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
960 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
962 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
963 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
965 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
968 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
970 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
973 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
974 Adjust the vDSO correctly for internal calls.
975 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
977 2014-01-20 Allan McRae <allan@archlinux.org>
979 * po/ca.po: Update Catalan translation from translation project.
981 2014-01-16 Mike Frysinger <vapier@gentoo.org>
983 * sysdeps/s390/sotruss-lib.c: New file.
985 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
988 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
989 (__GI___gettimeofday): Alias for a different internal symbol to avoid
990 local calls issues by not having a PLT stub required for IFUNC calls.
991 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
993 2014-01-16 Joseph Myers <joseph@codesourcery.com>
995 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
996 * math/test-fpucw-static.c: Likewise.
998 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1001 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1003 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1005 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1006 implementation for powerpc.
1008 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
1011 * sysdeps/posix/system.c (__libc_system): Do not enable
1012 asynchronous cancellation.
1014 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1017 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1018 handling only for numbers special also in the IEEE case.
1020 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1022 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1024 2014-01-11 Allan McRae <allan@archlinux.org>
1026 * po/bg.po: Update Bulgarian translation from translation project.
1028 * po/de.po: Update German translation from translation project.
1030 2014-01-10 Roland McGrath <roland@hack.frob.com>
1032 * sysdeps/generic/gcc-compat.h: New file.
1034 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1036 * benchtests/asin-inputs: Correct slow inputs.
1037 * benchtests/acos-inputs: Likewise.
1039 2014-01-10 Allan McRae <allan@archlinux.org>
1041 * po:sv.po: Update Swedish translation from translation project.
1043 * po/vi.po: Update Vietnamese translation from translation project.
1045 * po/eo.po: Update Esperanto translation from translation project.
1047 * po/cs.po: Update Czech translation from translation project.
1049 * po/nl.po: Update Dutch translation from translation project.
1051 * po/pl.po: Update Polish translation from translation project.
1053 * po/ru.po: Update Russian translation from translation project.
1055 * po/uk.po: Update Ukrainian translation from translation project.
1057 2014-01-08 Brooks Moses <bmoses@google.com>
1059 * elf/dl-load.c: Fix comment typo.
1061 2014-01-08 Carlos O'Donell <carlos@redhat.com>
1063 * po/header.pot: Rename to...
1064 * po/pot.header: ... this.
1065 * po/Makefile: Use pot.header.
1067 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
1068 Maxim Kuvyrkov <maxim@kugelworks.com>
1071 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
1072 SRC and DEST against LEN.
1074 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1077 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
1079 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
1081 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1085 2014-01-08 Joseph Myers <joseph@codesourcery.com>
1088 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
1089 for large positive arguments.
1091 2014-01-07 Joseph Myers <joseph@codesourcery.com>
1093 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1095 * math/auto-libm-test-in: Mark various tests with
1096 xfail-rounding:ldbl-128ibm.
1097 * math/auto-libm-test-out: Regenerated.
1100 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1101 Increase overflow threshold.
1103 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
1106 * stdio-common/vfprintf.c: Check for integer overflow.
1108 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1110 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
1111 the first argument and return value of __tls_get_addr_internal.
1113 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1115 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
1116 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
1118 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1120 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
1121 * sysdeps/s390/rtld-global-offsets.sym: New file.
1122 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
1124 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
1125 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
1126 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1128 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
1129 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1135 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
1136 halfs of GPRs for high_gprs contexts.
1137 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
1138 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
1140 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
1142 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
1144 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
1145 for high GPRs (uc_high_gprs) and for future extensions
1147 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
1148 for future extensions (__reserved).
1149 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
1151 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
1152 SC_HIGHGPRS offset definition.
1153 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
1154 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
1156 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1158 * Versions.def: Add GLIBC_2.19 for libpthread.
1159 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
1160 siglongjmp for libpthread with GLIBC_2.19 symver.
1161 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
1162 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
1163 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
1164 * sysdeps/s390/__longjmp.c: New file.
1165 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
1166 * sysdeps/s390/longjmp.c: New file.
1167 * sysdeps/s390/setjmp.S: New file.
1168 * sysdeps/s390/sigjmp.S: New file.
1169 * sysdeps/s390/v1-longjmp.c: New file.
1170 * sysdeps/s390/v1-setjmp.h: New file.
1171 * sysdeps/s390/v1-sigjmp.c: New file.
1172 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
1173 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
1175 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
1176 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
1177 versioned symbols for ____longjmp_chk.
1178 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1188 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
1189 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
1190 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
1191 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
1192 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
1193 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
1194 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
1195 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
1196 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
1197 * sysdeps/s390/rtld-__longjmp.c: New file.
1198 * sysdeps/s390/rtld-setjmp.S: New file.
1200 2014-01-06 Joseph Myers <joseph@codesourcery.com>
1203 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1204 Return -__logl (x) for small positive arguments without evaluating
1207 2014-01-06 Mike Frysinger <vapier@gentoo.org>
1209 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
1211 (__ptrace_peeksiginfo_args): ... this.
1212 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1213 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1214 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1216 2014-01-06 Allan McRae <allan@archlinux.org>
1218 * inet/netinet/in.h: Fix typo in comment.
1220 2014-01-05 Andreas Jaeger <aj@suse.de>
1222 * sysdeps/i386/fpu/libm-test-ulps: Update.
1224 2014-01-05 Allan McRae <allan@archlinux.org>
1226 * po/libc.pot: Regenerated.
1228 * malloc/memusagestat.c: Fix gettext call formatting.
1230 2014-01-04 Sami Kerola <kerolasa@iki.fi>
1232 * nscd/nscd.c: Improve usage() output.
1234 2014-01-04 Mike Frysinger <vapier@gentoo.org>
1236 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
1237 * sysdeps/unix/sysv/linux/configure: Regenerated.
1238 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
1239 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
1241 2014-01-03 Joseph Myers <joseph@codesourcery.com>
1244 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1245 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
1247 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1249 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
1250 extra tokens at end of #undef directive.
1251 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
1252 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
1253 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1255 2014-01-03 Joseph Myers <joseph@codesourcery.com>
1257 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1259 * math/auto-libm-test-in: Mark various tests with
1260 xfail-rounding:ldbl-128ibm.
1261 * math/auto-libm-test-out: Regenerated.
1263 2014-01-02 Joseph Myers <joseph@codesourcery.com>
1266 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
1267 numbers with subnormal high part when calculating exponent.
1270 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
1274 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
1276 (__ieee754_acoshl): Use __log1pl not __log1p.
1278 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
1280 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
1281 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
1282 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
1283 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
1284 Convert to GNU style.
1285 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
1286 mem2mem_check, mem2chunk_check, top_check, realloc_check,
1287 memalign_check, __malloc_set_state): Likewise.
1288 * malloc/mallocbug.c (main): Likewise.
1289 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
1290 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
1291 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
1292 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
1293 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
1294 * malloc/malloc.h: Likewise.
1295 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
1296 memalignhook, reallochook, mabort): Likewise.
1297 * malloc/mcheck.h: Likewise.
1298 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
1299 mmap64, mremap, munmap, dest): Likewise.
1300 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
1301 * malloc/morecore.c (__default_morecore): Likewise.
1302 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
1303 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
1304 _obstack_allocated_p, obstack_free, _obstack_memory_used,
1305 print_and_abort): Likewise.
1306 * malloc/obstack.h: Likewise.
1307 * malloc/set-freeres.c (__libc_freeres): Likewise.
1308 * malloc/tst-mallocstate.c (main): Likewise.
1309 * malloc/tst-mtrace.c (main): Likewise.
1310 * malloc/tst-realloc.c (do_test): Likewise.
1312 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1315 * nscd/netgroupcache.c (do_notfound): New function.
1316 (addgetnetgrentX): Use it.
1319 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
1320 NSS_STATUS_NOTFOUND.
1322 2014-01-01 Joseph Myers <joseph@codesourcery.com>
1324 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1327 2014-01-01 Allan McRae <allan@archlinux.org>
1329 * scripts/update-copyrights: Update configure input file suffix.
1331 * NEWS: Update copyright year.
1332 * catgets/gencat.c: Likewise.
1333 * csu/version.c: Likewise.
1334 * debug/catchsegv.sh: Likewise.
1335 * debug/pcprofiledump.c: Likewise.
1336 * debug/xtrace.sh: Likewise.
1337 * elf/ldconfig.c: Likewise.
1338 * elf/ldd.bash.in: Likewise.
1339 * elf/pldd.c: Likewise.
1340 * elf/sotruss.ksh: Likewise.
1341 * elf/sprof.c: Likewise.
1342 * iconv/iconv_prog.c: Likewise.
1343 * iconv/iconvconfig.c: Likewise.
1344 * locale/programs/locale.c: Likewise.
1345 * locale/programs/localedef.c: Likewise.
1346 * login/programs/pt_chown.c: Likewise.
1347 * malloc/memusage.sh: Likewise.
1348 * malloc/memusagestat.c: Likewise.
1349 * malloc/mtrace.pl: Likewise.
1350 * manual/libc.texinfo: Likewise.
1351 * nscd/nscd.c: Likewise.
1352 * nss/getent.c: Likewise.
1353 * nss/makedb.c: Likewise.
1354 * posix/getconf.c: Likewise.
1355 * scripts/test-installation.pl: Likewise.
1357 * All files with FSF copyright notices: Update copyright dates
1358 using scripts/update-copyrights.
1359 * intl/plural.c: Regenerated.
1360 * locale/programs/charmap-kw.h: Likewise.
1361 * locale/programs/locfile-kw.h: Likewise.
1363 2013-12-31 Mike Frysinger <vapier@gentoo.org>
1365 * sysdeps/unix/sysv/linux/configure: Regenerated.
1366 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
1367 the linux/fanotify.h header.
1368 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
1369 HAVE_LINUX_FANOTIFY_H is defined.
1371 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1373 * benchtests/cos-inputs: New inputs.
1374 * benchtests/sin-inputs: Likewise.
1376 * benchtests/atan-inputs: New inputs. Fix name of multiple
1377 precision fallback inputs.
1379 * benchtests/atanh-inputs: New inputs.
1380 * benchtests/tanh-inputs: Likewise.
1382 * benchtests/acosh-inputs: New inputs.
1383 * benchtests/asinh-inputs: Likewise.
1385 * benchtests/cosh-inputs: New inputs.
1386 * benchtests/sinh-inputs: Likewise.
1388 * benchtests/acos-inputs: Add more inputs.
1389 * benchtests/asin-inputs: Likewise.
1391 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
1394 * manual/arith.texi: Fix spelling.
1395 * manual/charset.texi: Likewise.
1396 * manual/errno.texi: Likewise.
1397 * manual/filesys.texi: Likewise.
1398 * manual/lang.texi: Likewise.
1399 * manual/llio.texi: Likewise.
1400 * manual/locale.texi: Likewise.
1401 * manual/message.texi: Likewise.
1402 * manual/resource.texi: Likewise.
1403 * manual/search.texi: Likewise.
1404 * manual/setjmp.texi: Likewise.
1405 * manual/stdio.texi: Likewise.
1406 * manual/string.texi: Likewise.
1407 * manual/sysinfo.texi: Likewise.
1408 * manual/time.texi: Likewise.
1410 2013-12-27 Carlos O'Donell <carlos@redhat.com>
1412 * po/sl.po: New file.
1414 2013-12-27 Mike Frysinger <vapier@gentoo.org>
1416 * .gitignore: Add core/.gdbinit/.gdb_history.
1418 2013-12-27 Allan McRae <allan@archlinux.org>
1421 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
1422 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
1424 2013-12-24 Brooks Moses <bmoses@google.com>
1426 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
1427 all compilers that claim C++98 compliance, not just GCC.
1428 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1431 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
1433 * NEWS: Restore accidentally deleted bug-fix entries.
1435 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
1436 Ondřej Bílka <neleai@seznam.cz>
1439 * malloc/malloc.c (_int_free): Perform sanity check only if we
1442 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
1445 * manual/stdio.texi (String Input Conversions): Clarify that character
1446 classes are not supported.
1448 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1452 2013-12-22 Joseph Myers <joseph@codesourcery.com>
1455 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1456 Calculate results for small negative arguments directly rather
1457 than using reflection formula with special underflow handling.
1459 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
1460 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
1461 sysdeps/unix/bsd/bsd4.4/syscalls.list.
1462 (fchflags): Likewise.
1464 (setlogin): Likewise.
1465 (sigaltstack): Likewise.
1468 (sigsetmask): Likewise.
1470 (waitpid): Likewise.
1471 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
1472 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
1474 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
1475 * sysdeps/unix/bsd/Makefile: ... here.
1476 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
1477 * sysdeps/unix/bsd/Versions: ... here.
1478 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
1479 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
1480 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
1481 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
1482 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
1483 * sysdeps/unix/bsd/sigblock.c: ... here.
1484 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
1485 * sysdeps/unix/bsd/sigsetmask.c: ... here.
1486 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
1487 * sysdeps/unix/bsd/sigvec.c: ... here.
1488 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
1489 * sysdeps/unix/bsd/tcdrain.c: ... here.
1490 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
1491 * sysdeps/unix/bsd/tcgetattr.c: ... here.
1492 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
1493 * sysdeps/unix/bsd/tcsetattr.c: ... here.
1494 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
1495 * sysdeps/unix/bsd/wait.c: ... here.
1496 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
1497 * sysdeps/unix/bsd/wait3.c: ... here.
1498 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
1499 * sysdeps/unix/bsd/waitpid.c: ... here.
1501 2013-12-21 Joseph Myers <joseph@codesourcery.com>
1504 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
1505 round-to-nearest for [!USE_AS_EXPM1L].
1506 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1507 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
1508 more tests of exp and exp10. Expect some exp10 tests to miss
1509 exceptions or fail in directed rounding modes.
1510 * math/auto-libm-test-out: Regenerated.
1511 * math/libm-test.inc (exp10_tonearest_test_data): New array.
1512 (exp10_test_tonearest): New function.
1513 (exp10_towardzero_test_data): New array.
1514 (exp10_test_towardzero): New function.
1515 (exp10_downward_test_data): New array.
1516 (exp10_test_downward): New function.
1517 (exp10_upward_test_data): New array.
1518 (exp10_test_upward): New function.
1519 (main): Call the new functions.
1520 * sysdeps/i386/fpu/libm-test-ulps: Update.
1521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1523 2013-12-20 Joseph Myers <joseph@codesourcery.com>
1525 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1526 asinh, atan, atan2, atanh, cbrt, cos and cosh.
1527 * math/auto-libm-test-out: Regenerated.
1528 * math/libm-test.inc (acosh_test_data): Add more tests.
1529 (atanh_test_data): Likewise.
1530 (ceil_test_data): Likewise.
1531 (copysign_test_data): Likewise.
1532 * sysdeps/i386/fpu/libm-test-ulps: Update.
1533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1535 * timezone/checktab.awk: Update from tzcode 2013i.
1536 * timezone/private.h: Likewise.
1537 * timezone/scheck.c: Likewise.
1538 * timezone/tzfile.h: Likewise.
1539 * timezone/tzselect.ksh: Likewise.
1540 * timezone/zdump.c: Likewise.
1541 * timezone/zic.c: Likewise.
1543 * math/auto-libm-test-in: Add tests of cpow.
1544 * math/auto-libm-test-out: Regenerated.
1545 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
1546 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
1548 (func_calc_desc): Add mpc_cc_c union field.
1549 (test_functions): Add cpow.
1550 (special_fill_2pi): New function.
1551 (special_real_inputs): Add 2pi.
1552 (calc_generic_results): Handle mpc_cc_c.
1553 * sysdeps/i386/fpu/libm-test-ulps: Update.
1554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1556 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
1557 csqrt, ctan and ctanh.
1558 * math/auto-libm-test-out: Regenerated.
1559 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1560 (TEST_COND_x86): Likewise.
1561 (ccos_test_data): Use AUTO_TESTS_c_c.
1562 (ccosh_test_data): Likewise.
1563 (cexp_test_data): Likewise.
1564 (clog_test_data): Likewise.
1565 (csqrt_test_data): Likewise.
1566 (ctan_test_data): Likewise.
1567 (ctan_tonearest_test_data): Likewise.
1568 (ctan_towardzero_test_data): Likewise.
1569 (ctan_downward_test_data): Likewise.
1570 (ctan_upward_test_data): Likewise.
1571 (ctanh_test_data): Likewise.
1572 (ctanh_tonearest_test_data): Likewise.
1573 (ctanh_towardzero_test_data): Likewise.
1574 (ctanh_downward_test_data): Likewise.
1575 (ctanh_upward_test_data): Likewise.
1576 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1578 (func_calc_desc): Add mpc_c_c union field.
1579 (FUNC_mpc_c_c): New macro.
1580 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
1581 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
1583 (special_fill_min_subnorm_p120): New function.
1584 (special_real_inputs): Add min_subnorm_p120.
1585 (calc_generic_results): Handle mpc_c_c.
1586 * sysdeps/i386/fpu/libm-test-ulps: Update.
1587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1589 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1591 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
1592 do_sin_slow): New functions.
1593 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
1594 cslow2, csloww1, csloww2): Use the new functions.
1596 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
1597 Use M to change sign of result instead of X. Assume X is
1599 (csloww1): Likewise.
1603 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
1608 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
1610 (sloww1): Don't adjust sign of DX.
1611 (csloww1): Likewise.
1612 (sloww2): Use X directly and don't adjust sign of DX.
1613 (csloww2): Likewise.
1615 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1617 * math/auto-libm-test-in: Add tests of cabs and carg.
1618 * math/auto-libm-test-out: Regenerated.
1619 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
1620 (carg_test_data): Likewise.
1621 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1623 (func_calc_desc): Add mpc_c_f union field.
1624 (test_functions): Add cabs and carg.
1625 (calc_generic_results): Handle mpc_c_f.
1627 * sysdeps/powerpc/powerpc32/libgcc-compat.S
1628 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
1629 as a macro and a compat symbol.
1630 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1631 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1632 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1633 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1634 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
1635 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
1637 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
1639 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
1641 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
1643 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
1645 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
1647 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
1648 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
1651 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1655 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1657 * manual/texinfo.tex: Update to version 2013-11-26.10 with
1658 trailing whitespace removed.
1659 * scripts/config.guess: Update to version 2013-11-29.
1660 * scripts/config.sub: Update to version 2013-10-01.
1662 * math/auto-libm-test-in: Add tests of sincos.
1663 * math/auto-libm-test-out: Regenerated.
1664 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
1665 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1667 (func_calc_desc): Add mpfr_f_11 union field.
1668 (test_functions): Add sincos.
1669 (calc_generic_results): Handle mpfr_f_11.
1670 * sysdeps/i386/fpu/libm-test-ulps: Update.
1671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1673 2013-12-19 Andreas Schwab <schwab@suse.de>
1675 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
1677 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1678 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1679 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
1681 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1683 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
1684 * sysdeps/i386/fpu/libm-test-ulps: Update.
1685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1688 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
1689 round-to-nearest mode when using frndint.
1690 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
1691 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1692 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1694 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
1696 * math/auto-libm-test-out: Regenerated.
1697 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
1698 (TEST_COND_x86): Likewise.
1699 (expm1_tonearest_test_data): New array.
1700 (expm1_test_tonearest): New function.
1701 (expm1_towardzero_test_data): New array.
1702 (expm1_test_towardzero): New function.
1703 (expm1_downward_test_data): New array.
1704 (expm1_test_downward): New function.
1705 (expm1_upward_test_data): New array.
1706 (expm1_test_upward): New function.
1707 (main): Run the new test functions.
1708 * sysdeps/i386/fpu/libm-test-ulps: Update.
1709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1711 * include/features.h: Update comment documenting feature test
1712 macros. Mention _DEFAULT_SOURCE in comment.
1713 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
1714 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
1715 _BSD_SOURCE and _SVID_SOURCE.
1716 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
1717 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
1718 !_SVID_SOURCE]: Likewise.
1719 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1720 (__USE_POSIX_IMPLICITLY): Define.
1721 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1722 (_POSIX_SOURCE): Undefine and redefine.
1723 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1724 (_POSIX_C_SOURCE): Likewise.
1725 * manual/creature.texi (_DEFAULT_SOURCE): Document.
1726 (Feature Test Macros): Update documentation of default features.
1728 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1730 * benchtests/Makefile: Add bench-strtok.
1731 * benchtests/bench-strtok.c: New file: strtok benchtest.
1733 2013-12-19 Allan McRae <allan@archlinux.org>
1735 * manual/install.texi: Suppress menu for plain text output.
1736 * INSTALL: Regenerated.
1738 2013-12-18 Brooks Moses <bmoses@google.com>
1741 * misc/getauxval.c: Include errno.h.
1742 (__getauxval): Set errno to ENOENT if the requested type is not
1744 * misc/sys/auxv.h (getauxval): Document that it may set errno;
1745 don't declare with __attribute_const__.
1746 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1747 * manual/startup.texi: Document that getauxval sets errno.
1749 2013-12-18 Joseph Myers <joseph@codesourcery.com>
1751 * math/auto-libm-test-in: Add tests of jn and yn.
1752 * math/auto-libm-test-out: Regenerated.
1753 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1754 (yn_test_data): Likewise.
1755 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1757 (func_calc_desc): Add mpfr_if_f union field.
1758 (FUNC_mpfr_if_f): New macro.
1759 (test_functions): Add jn and yn.
1760 (calc_generic_results): Assert type of second input for
1761 mpfr_ff_f. Handle mpfr_if_f.
1762 (output_for_one_input_case): Disable all checking for arguments
1763 fitting floating-point types in case of an integer argument.
1764 * sysdeps/i386/fpu/libm-test-ulps: Update.
1765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1768 Don't expect fegetround reference in libm.so.
1770 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1772 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1773 $(config-cflags-nofma).
1775 2013-12-18 Joseph Myers <joseph@codesourcery.com>
1777 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1778 * math/auto-libm-test-out: Regenerated.
1781 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1782 to determine exponent and adjust argument to have exponent of -1.
1783 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1785 * math/auto-libm-test-out: Regenerated.
1786 * sysdeps/i386/fpu/libm-test-ulps: Update.
1787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1789 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
1791 * manual/probes.texi: Remove cases when per-thread arenas are
1794 2013-12-18 Andreas Schwab <schwab@suse.de>
1796 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1797 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1798 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1799 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1800 * sysdeps/i386/i686/multiarch/Makefile: Update.
1801 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1803 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1805 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1806 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1808 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
1811 Support TZ transition times < 00:00:00.
1812 This is needed for version-3 tz-format files; it supports time
1813 stamps past 2037 for America/Godthab (the only entry in the tz
1814 database for which this change is relevant).
1815 * manual/time.texi (TZ Variable): Document transition times
1816 from -167:59:59 through -00:00:01.
1817 * time/tzset.c (tz_rule): Time of day is now signed.
1818 (__tzset_parse_tz): Parse negative time of day.
1820 Document TZ transition times >= 25:00:00.
1821 * manual/time.texi (TZ Variable): Document transition times from
1822 25:00:00 through 167:59:59. These are already supported, and this
1823 support will help with version-3 tz-format files.
1825 * manual/time.texi (TZ Variable): Modernize North America example
1826 to reflect current (i.e., 2007-and-later) daylight saving rules.
1828 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1830 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1832 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1833 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1834 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1835 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1836 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1837 * sysdeps/unix/bsd/bsdstat.h: Likewise.
1838 * sysdeps/unix/bsd/clock.c: Likewise.
1839 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1840 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1841 * sysdeps/unix/bsd/init-posix.c: Likewise.
1842 * sysdeps/unix/bsd/poll.c: Likewise.
1843 * sysdeps/unix/bsd/ptsname.c: Likewise.
1844 * sysdeps/unix/bsd/seekdir.c: Likewise.
1845 * sysdeps/unix/bsd/setegid.c: Likewise.
1846 * sysdeps/unix/bsd/seteuid.c: Likewise.
1847 * sysdeps/unix/bsd/setgid.c: Likewise.
1848 * sysdeps/unix/bsd/setrgid.c: Likewise.
1849 * sysdeps/unix/bsd/setruid.c: Likewise.
1850 * sysdeps/unix/bsd/setsid.c: Likewise.
1851 * sysdeps/unix/bsd/setuid.c: Likewise.
1852 * sysdeps/unix/bsd/sigaction.c: Likewise.
1853 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1854 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1855 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1856 * sysdeps/unix/bsd/telldir.c: Likewise.
1857 * sysdeps/unix/bsd/times.c: Likewise.
1858 * sysdeps/unix/bsd/usleep.c: Likewise.
1860 * misc/Makefile (install-lib): Remove libbsd-compat.a.
1861 ($(objpfx)libbsd-compat.a): Remove rule.
1863 * include/features.h (__FAVOR_BSD): Do not define.
1864 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1865 features conflicting with POSIX.
1866 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1867 (_BSD_SOURCE): Remove description of not being a subset of other
1868 feature test macros.
1869 * manual/job.texi (getpgrp): Do not document BSD version.
1870 (getpgid): Do not document by reference to BSD getpgrp.
1871 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1872 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1873 * signal/signal.h [__FAVOR_BSD]: Likewise.
1874 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1875 instead of making contents conditional on [__FAVOR_BSD].
1876 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1878 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1882 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1885 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1886 values below 2**-450, not 2**-500.
1887 * math/auto-libm-test-in: Don't allow spurious underflow from
1889 * math/auto-libm-test-out: Regenerated.
1893 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1894 values of ha and hb and sort them after adjusting subnormal
1896 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1898 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1899 values of ea and eb and sort them after adjusting subnormal
1901 * math/auto-libm-test-in: Do not expect some hypot tests of
1902 subnormals to fail. Add more hypot tests.
1903 * math/auto-libm-test-out: Regenerated.
1905 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1908 * sysdeps/sh/s_fma.c: New file.
1909 * sysdeps/sh/s_fmaf.c: New file.
1910 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
1912 * sysdeps/sh/Implies: Add sh/soft-fp.
1914 2013-12-16 Roland McGrath <roland@hack.frob.com>
1916 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
1917 level of indirection to members `objname', `errstring', `malloced'.
1918 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1919 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
1920 it as the __longjmp argument (just pass 1 instead).
1921 (_dl_catch_error): Initialize C with argument pointers and address of
1922 volatile local ERRCODE rather than copying values out of C at return.
1924 2013-12-16 Joseph Myers <joseph@codesourcery.com>
1926 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1927 * math/auto-libm-test-out: Regenerated.
1928 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1929 (hypot_test_data): Likewise.
1930 (pow_test_data): Likewise.
1931 (pow_tonearest_test_data): Likewise.
1932 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1934 (func_calc_desc): Add mpfr_ff_f union field.
1935 (FUNC_mpfr_ff_f): New macro.
1936 (test_functions): Add atan2, hypot and pow.
1937 (special_fill_min): New function.
1938 (special_fill_minus_min): Likewise.
1939 (special_fill_min_subnorm): Likewise.
1940 (special_fill_minus_min_subnorm): Likewise.
1941 (special_real_inputs): Add min, -min, min_subnorm and
1943 (calc_generic_results): Handle mpfr_ff_f.
1944 * sysdeps/i386/fpu/libm-test-ulps: Update.
1945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1947 2013-12-16 Will Newton <will.newton@linaro.org>
1949 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1950 (Aligned Memory Blocks): Add documentation for aligned_alloc
1951 and suggest it as an alternative to posix_memalign.
1952 (Hooks for Malloc): Document __memalign_hook is also called
1953 for aligned_alloc. (Summary of Malloc): Add summary for
1954 aligned alloc. Document __memalign_hook is also called
1957 2013-12-16 Will Newton <will.newton@linaro.org>
1959 * manual/memory.texi (Malloc Examples): Clarify default
1960 alignment documentation. Suggest posix_memalign rather
1961 than memalign or valloc.
1962 (Aligned Memory Blocks): Remove suggestion to use memalign
1963 or valloc. Remove obsolete comment about BSD.
1964 Document memalign errno values and mark the function obsolete.
1965 Document posix_memalign returned error codes. Mark valloc
1966 as obsolete. (Hooks for Malloc): __memalign_hook is also
1967 called for posix_memalign and valloc.
1968 (Summary of Malloc): Add posix_memalign to function summary.
1969 __memalign_hook is also called for posix_memalign and valloc.
1971 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1973 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1977 (sloww): Use mynumber union. Expand ternary operator into
1979 (cslow): use mynumber union.
1981 2013-12-16 Allan McRae <allan@archlinux.org>
1983 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1984 * configure: Regenerated.
1986 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1989 * configure.ac: Added --enable-maintainer-mode. Check for
1990 autoconf when enabled.
1991 * configure: Regenerated.
1993 * nscd/nscd.service: New file.
1994 * nscd/nscd.tmpfiles: New file.
1996 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
1999 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
2000 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
2001 * sysdeps/x86_64/multiarch/strstr.c: ... here.
2002 (strstr): Add __strstr_sse2_unaligned ifunc.
2003 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
2004 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
2005 (strcasestr): Remove __strcasestr_sse42 ifunc.
2006 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
2007 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2008 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2010 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2012 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2013 * sysdeps/sh/bits/fenv.h: ... here.
2014 * sysdeps/sh/sh4/fpu/bits: Remove directory.
2016 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2018 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2020 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2022 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2023 hypotf multiarch implementations.
2024 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2025 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2026 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2027 multiarch hypot for PPC64.
2028 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2029 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2030 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2031 multiarch hypotf for PPC64.
2033 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2035 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2036 modff multiarch implementations.
2037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
2038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
2039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
2040 multiarch modf for PPC64.
2041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
2042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
2043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
2044 multiarch modff for PPC64.
2046 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2048 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
2049 and logl multiarch implementations.
2050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
2051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
2052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
2053 multiarch logb for PPC64.
2054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
2055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
2056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
2057 multiarch logb for PPC64.
2058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
2059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
2060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
2061 multiarch logb for PPC64.
2063 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2065 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
2066 isinff multiarch implementation.
2067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
2069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
2070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
2071 multiarch isinf for PPC64.
2072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
2074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
2075 multiarch isinff for PPC64.
2077 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2079 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
2080 finitef multiarch implementation.
2081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
2083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
2084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
2085 multiarch finite for PPC64.
2086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
2088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
2089 multiarch finitef for PPC64.
2091 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2093 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
2094 lrint multiarch implementation.
2095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
2097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
2098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
2099 multiarch llrint for PPC64.
2100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
2101 multiarch lrint for PPC64.
2103 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2105 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
2106 copysignf multiarch implementation.
2107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
2109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
2111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
2112 multiarch copysign for PPC64.
2113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
2114 multiarch copysignf for PPC64.
2116 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2118 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
2119 multiarch implementation.
2120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
2122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
2124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
2126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
2128 multiarch llround for PPC64.
2129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
2130 multiarch trunc for PPC64.
2131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
2132 multiarch truncf for PPC64.
2134 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2136 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
2137 multiarch implementation.
2138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
2140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
2142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
2144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
2146 multiarch llround for PPC64.
2147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
2148 multiarch round for PPC64.
2149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
2150 multiarch roundf for PPC64.
2152 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2154 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
2155 multiarch implementation.
2156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
2158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
2160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
2162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
2164 multiarch llround for PPC64.
2165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
2166 multiarch floor for PPC64.
2167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
2168 multiarch floorf for PPC64.
2170 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2172 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
2173 multiarch implementation.
2174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
2176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
2178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
2180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
2182 multiarch llround for PPC64.
2183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
2184 multiarch ceil for PPC64.
2185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
2186 multiarch ceilf for PPC64.
2188 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2190 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2191 multiarch implementation.
2192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
2194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
2196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
2198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
2199 multiarch llround for PPC64.
2200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
2201 multiarch lround for PPC64.
2203 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2205 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
2206 multiarch implementation.
2207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
2208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
2209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
2211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
2212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
2213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
2214 multiarch isnan for PPC64.
2215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
2216 multiarch isnanf for PPC64.
2218 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2220 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
2221 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
2222 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
2223 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
2224 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
2225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
2227 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2229 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
2230 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2231 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2232 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2234 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2236 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
2237 multiarch implementations.
2238 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2239 (__libc_ifunc_impl_list): Likewise.
2240 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2241 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
2242 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
2243 multiarch stpcpy for PPC64.
2245 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2247 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
2248 multiarch implementations.
2249 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2250 (__libc_ifunc_impl_list): Likewise.
2251 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
2252 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
2253 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
2254 multiarch strcpy for PPC64.
2256 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2258 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
2259 redefine function name.
2260 (_wordcopy_fwd_dest_aligned): Likewise.
2261 (_wordcopy_bwd_aligned): Likewise.
2262 (_wordcopy_bwd_dest_aligned): Likewise.
2263 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
2264 multiarch implementations.
2265 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2266 (__libc_ifunc_impl_list): Likewise.
2267 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
2268 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
2269 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
2270 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
2271 multiarch wcscpy for PPC64.
2273 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2275 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
2276 multiarch implementations.
2277 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2278 (__libc_ifunc_impl_list): Likewise.
2279 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
2280 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
2281 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
2282 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
2283 multiarch wcscpy for PPC64.
2285 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2287 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
2288 multiarch implementations.
2289 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2290 (__libc_ifunc_impl_list): Likewise.
2291 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
2292 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
2293 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
2294 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
2295 multiarch wcsrchr for PPC64.
2297 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2299 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
2300 multiarch implementations.
2301 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2302 (__libc_ifunc_impl_list): Likewise.
2303 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
2304 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
2305 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
2306 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
2307 multiarch wcschr for PPC64.
2309 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2311 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
2312 multiarch implementations.
2313 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2314 (__libc_ifunc_impl_list): Likewise.
2315 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
2316 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
2317 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
2318 multiarch strchrnul for PPC64.
2320 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2322 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
2324 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2325 (__libc_ifunc_impl_list): Likewise.
2326 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
2327 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
2328 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
2329 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
2332 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2334 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
2336 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2337 (__libc_ifunc_impl_list): Likewise.
2338 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
2339 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
2340 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
2341 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
2344 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2346 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
2347 multiarch implementations.
2348 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2349 (__libc_ifunc_impl_list): Likewise.
2350 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
2351 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
2352 strncasecmp for PPC64.
2353 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
2354 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
2355 multiarch strncasecmp_l for PPC64.
2357 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2359 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
2360 multiarch implementations.
2361 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2362 (__libc_ifunc_impl_list): Likewise.
2363 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
2364 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
2365 multiarch strcasecmp for PPC64.
2366 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
2368 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
2369 multiarch strcasecmp_l for PPC64.
2371 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2373 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
2375 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2376 (__libc_ifunc_impl_list): Likewise.
2377 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
2378 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
2379 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
2382 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2384 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
2386 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2387 (__libc_ifunc_impl_list): Likewise.
2388 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
2389 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
2390 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
2393 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2395 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
2397 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2398 (__libc_ifunc_impl_list): Likewise.
2399 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
2400 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
2401 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
2402 rawmemrchr for PPC64.
2404 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2406 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
2408 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2409 (__libc_ifunc_impl_list): Likewise.
2410 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
2411 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
2412 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
2415 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2417 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
2419 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2420 (__libc_ifunc_impl_list): Likewise.
2421 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
2422 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
2423 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
2426 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2428 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
2430 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2431 (__libc_ifunc_impl_list): Likewise.
2432 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
2433 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
2434 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
2437 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2439 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
2440 avoid cretion of __bzero symbol.
2441 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
2443 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
2445 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
2447 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
2448 multiarch implementations.
2449 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2450 (__libc_ifunc_impl_list): Likewise.
2451 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
2452 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
2453 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
2454 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
2456 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
2457 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
2458 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
2459 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
2460 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
2462 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
2464 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2466 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
2467 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
2469 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2470 (__libc_ifunc_impl_list): Likewise.
2471 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
2472 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
2473 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
2474 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
2477 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2479 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
2480 multiarch for POWER/PPC64.
2481 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2482 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
2483 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
2484 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
2485 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
2486 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
2487 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
2488 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
2489 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
2492 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2494 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
2495 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
2496 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
2497 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
2498 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
2499 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
2500 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
2501 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
2502 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
2503 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
2504 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
2505 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
2506 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
2507 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
2508 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
2509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
2510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
2511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
2512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
2513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
2514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
2515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
2517 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2519 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
2521 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2523 * benchtests/Makefile (bench): Add exp2 and log2.
2524 (LDLIBS-bench-exp2): Add -lm.
2525 (LDLIBS-bench-log2): Likewise.
2526 * benchtests/exp2-inputs: New inputs file.
2527 * benchtests/log2-inputs: New inputs file.
2528 * benchtests/log-inputs: Add new inputs.
2529 * benchtests/tan-inputs: Likewise.
2531 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2533 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
2535 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
2536 csloww1, csloww2): ... from here.
2538 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
2539 instead of structures.
2540 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
2541 (POLYNOMIAL): Likewise.
2542 (TAYLOR_SLOW): Likewise.
2550 (bsloww1): Likewise.
2551 (bsloww2): Likewise.
2554 (csloww1): Likewise.
2555 (csloww2): Likewise.
2557 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
2559 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
2560 (__malloc_assert, __libc_realloc, __libc_calloc,
2561 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
2563 * malloc/hooks.c (realloc_check): Likewise.
2565 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
2567 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
2568 * malloc/arena.c: Remove PER_THREAD conditional.
2569 [!PER_THREAD]: Remove code.
2570 (ptmalloc_unlock_all2): Likewise.
2571 (ptmalloc_init): Likewise.
2572 (_int_new_arena): Likewise.
2573 (arena_get2): Likewise.
2574 * malloc/hooks.c (__malloc_get_state): Likewise.
2575 (__malloc_set_state): Likewise.
2576 * malloc/malloc.c: Likewise.
2577 (struct malloc_state): Likewise.
2578 (struct malloc_par): Likewise.
2579 (__libc_realloc): Likewise.
2580 (__libc_mallopt): Likewise.
2582 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2584 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
2586 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
2588 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
2589 macro to a function. Check for zero perturb_byte.
2590 (_int_malloc, _int_free): Remove zero perturb_byte checks.
2592 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
2594 * malloc/malloc.c: (force_reg): Remove.
2595 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
2596 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
2597 force_reg by atomic_forced_read.
2598 * malloc/arena.c (ptmalloc_init): Likewise.
2599 * malloc/hooks.c (top_check): Likewise.
2601 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2605 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
2607 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2609 2013-12-08 Joseph Myers <joseph@codesourcery.com>
2611 * math/auto-libm-test-in: Add tests of lgamma.
2612 * math/auto-libm-test-out: Regenerated.
2613 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
2614 (M_LOG_2_SQRT_PIl): Likewise.
2615 (lgamma_test_data): Use AUTO_TESTS_f_f1.
2616 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2618 (func_calc_desc): Add mpfr_f_f1 union field.
2627 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
2628 (test_functions): Add lgamma.
2629 (calc_generic_results): Handle mpfr_f_f1.
2630 * sysdeps/i386/fpu/libm-test-ulps: Update.
2631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2633 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2635 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
2636 __mpn_add_n for PowerPC64/POWER7.
2637 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
2638 __mpn_sub_n for PowerPC64/POWER7.
2640 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2642 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
2643 __mpn_addmul_1 for PowerPC64.
2644 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
2645 __mpn_submul_1 for PowerPC64.
2646 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
2648 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
2651 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
2654 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
2656 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2658 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
2660 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2662 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
2663 add multiarch folders.
2664 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
2665 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
2666 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
2667 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
2668 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
2669 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
2670 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
2671 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
2672 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
2673 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
2674 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
2675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
2676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
2677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
2678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
2679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
2680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
2682 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2685 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
2686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
2688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
2690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
2691 multiarch __ieee754_hypot for PowerPC32.
2692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
2694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
2696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
2697 multiarch __ieee754_hypotf for PowerPC32.
2699 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2701 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
2702 long_double_symbol only if __logbl is defined.
2703 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
2704 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
2705 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
2706 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
2707 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
2708 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
2709 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
2710 path for implementation.
2711 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2712 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2714 logb, and logbl multiarch implementations for PowerPC32.
2715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2720 multiarch logb for PowerPC32.
2721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2726 multiarch logbf for PowerPC32.
2727 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2731 multiarch logbl implementation for PowerPC32.
2733 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2736 and modff multiarch implementations.
2737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2742 multiarch modf for PowerPC32.
2743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2748 multiarch modff for PowerPC32.
2750 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2753 and lrintf multiarch implementations.
2754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2759 multiarch lrint for PowerPC32.
2760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2761 file: multiarch lrintf for PowerPC32.
2763 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2766 and lroundf multiarch implementations.
2767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2774 multiarch lround for PowerPC32.
2775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2776 file: multiarch lroundf for PowerPC32.
2778 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2781 copysign and copysignf multiarch implementations.
2782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2787 file: multiarch copysign for PowerPC32.
2788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2789 file: multiarch copysignf for PowerPC32.
2791 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2794 and truncf multiarch implementations.
2795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2800 multiarch trunc for PowerPC32.
2801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2806 multiarch truncf for PowerPC32.
2808 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2811 and roundf multiarch implementations.
2812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2817 multiarch round for PowerPC32.
2818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2823 multiarch roundf for PowerPC32.
2825 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2828 and floorf multiarch implementations.
2829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2834 multiarch floor for PowerPC32.
2835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2840 multiarch floorf for PowerPC32.
2842 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2845 and ceilf multiarch implementations.
2846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2851 multiarch ceil for PowerPC32.
2852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2857 multiarch ceilf for PowerPC32.
2859 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2861 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2863 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2866 and finitef multiarch implementations.
2867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2872 multiarch finite for PowerPC32.
2873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2876 file: multiarch finitef for PowerPC32.
2878 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2881 and isinff multiarch implementations.
2882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2887 multiarch isinf for PowerPC32.
2888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2891 multiarch isinff for PowerPC32.
2893 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2895 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2896 alias when __isnan is defined.
2897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2898 and isnanf multiarch implementations.
2899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2908 multiarch isnan for PowerPC32.
2909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2914 multiarch isnanf for PowerPC32.
2916 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2919 and sqrtf multiarch implementations.
2920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2925 multiarch sqrt for PowerPC32.
2926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2931 multiarch sqrtf for PowerPC32.
2933 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2936 and llroundf multiarch implementations.
2937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2944 file: multiarch llround for PowerPC32.
2945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2946 file: multiarch llroundf for PowerPC32.
2948 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2951 multiarch PowerPC32 fpu implementations.
2952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2957 multiarch llrint for PowerPC32.
2958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2965 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2969 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2971 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2973 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2975 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2977 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2978 multiarch wordcopy for PPC32.
2979 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2981 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2982 (__libc_ifunc_impl_list): Likewise.
2983 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2984 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2985 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2986 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2987 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2988 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2990 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2992 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2993 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2995 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2997 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2999 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3000 multiarch wcscpy 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/power6/wcsrchr.c: Move ...
3006 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3007 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
3008 sysdeps/powerpc/power6/wcscpy.c.
3010 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3012 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3013 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3015 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3017 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3019 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3020 multiarch wcsrchr for PPC32.
3021 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3023 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3024 (__libc_ifunc_impl_list): Likewise.
3025 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3026 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3027 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3028 sysdeps/powerpc/power6/wcsrchr.c.
3030 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3032 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3034 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3036 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3037 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
3038 multiarch wcschr for PPc32.
3039 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3041 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3042 (__libc_ifunc_impl_list): Likewise.
3043 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
3044 * sysdeps/powerpc/power6/wcschr.c: ... to here.
3045 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
3046 sysdeps/powerpc/power6/wcschr.c.
3048 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3050 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
3051 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
3053 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
3054 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
3055 file: multiarch strchr for PPC32.
3056 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
3058 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3059 (__libc_ifunc_impl_list): Likewise.
3061 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3063 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
3065 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
3067 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
3069 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
3070 multiarch strchrnul for PPC32.
3071 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
3073 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3074 (__libc_ifunc_impl_list): Likewise.
3076 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3078 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
3080 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
3081 multiarch strncasecmp for PPC32.
3082 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
3084 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
3085 multiarch strncasecmp_l for PPC32.
3086 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
3087 strncasecmp multiarch objects.
3088 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3089 (__libc_ifunc_impl_list): Likewise.
3091 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3093 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
3095 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
3096 multiarch strncasecmp for PPC32.
3097 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3099 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
3100 multiarch strcasecmp_l for PPC32.
3101 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
3103 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3104 (__libc_ifunc_impl_list): Likewise.
3106 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3108 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
3110 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
3112 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
3113 multiarch strncmp for PPC32.
3114 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
3116 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3117 (__libc_ifunc_impl_list): Likewise.
3119 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3121 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
3122 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
3124 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
3125 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
3126 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
3128 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3129 (__libc_ifunc_impl_list): Likewise.
3131 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3133 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
3135 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
3137 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
3138 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
3140 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3141 (__libc_ifunc_impl_list): Likewise.
3143 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3145 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
3147 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
3149 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
3150 multiarch rawmemchr for PPC32.
3151 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
3153 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3154 (__libc_ifunc_impl_list): Likewise.
3156 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3158 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
3160 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
3162 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
3163 file: memrchr multiarch for PPC32.
3164 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
3166 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3167 (__libc_ifunc_impl_list): Likewise.
3169 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3171 * string/memchr.c (__memchr): Using macro to redefine symbol name.
3172 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
3174 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
3175 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
3176 multiarch memchr for PPC32.
3177 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
3179 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3180 (__libc_ifunc_impl_list): Likewise.
3182 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3184 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
3185 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
3187 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
3189 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
3190 file: multiarch mempcpy for PPC32.
3191 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
3193 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3194 (__libc_ifunc_impl_list): Likewise.
3196 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3198 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
3199 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
3200 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
3201 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
3202 multiarch bzero for PPC32.
3203 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
3205 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
3207 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
3208 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
3209 file: multiarch memset for PPC32.
3210 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
3211 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
3212 memset multiarch objects.
3213 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3214 (__libc_ifunc_impl_list): Likewise.
3216 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3218 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
3220 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
3221 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
3223 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
3224 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
3226 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3227 (__libc_ifunc_impl_list): Likewise.
3229 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3231 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
3232 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
3233 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
3235 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
3237 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
3239 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
3240 multiarch memcpy for PPC32.
3241 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
3243 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3244 (__libc_ifunc_impl_list): Likewise.
3246 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3248 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
3249 support multiarch for POWER/PPC32.
3250 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3252 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
3254 Implies file to make multiarch folder appers before the fpu and
3255 default folder for power4 configuration.
3257 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3259 * scripts/bench.pl: Append volatile keyword to type.
3261 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3263 * sysdeps/sh/sotruss-lib.c: New file.
3264 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
3266 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3270 2013-12-05 Joseph Myers <joseph@codesourcery.com>
3273 * math/w_tgamma.c: Include <errno.h>.
3274 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
3275 * math/w_tgammaf.c: Include <errno.h>.
3276 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
3277 * math/w_tgammal.c: Include <errno.h>.
3278 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
3279 * math/auto-libm-test-in: Do not allow missing errno on tgamma
3280 underflow. Add more tgamma tests.
3281 * math/auto-libm-test-out: Regenerated.
3282 * sysdeps/i386/fpu/libm-test-ulps: Update.
3283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3285 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
3286 sin, sinh, tan, tanh, tgamma, y0 and y1.
3287 * math/auto-libm-test-out: Regenerated.
3288 * math/libm-test.inc (TEST_COND_x86_64): New macro.
3289 (TEST_COND_x86): Likewise.
3290 (M_E2l): Remove macro.
3292 (M_2_SQRT_PIl): Likewise.
3293 (M_SQRT_PIl): Likewise.
3294 (M_1_DIV_El): Likewise.
3295 (log_test_data): Use AUTO_TESTS_f_f.
3296 (log10_test_data): Likewise.
3297 (log1p_test_data): Likewise.
3298 (log2_test_data): Likewise.
3299 (sin_test_data): Likewise.
3300 (sin_tonearest_test_data): Likewise.
3301 (sin_towardzero_test_data): Likewise.
3302 (sin_downward_test_data): Likewise.
3303 (sin_upward_test_data): Likewise.
3304 (sinh_test_data): Likewise.
3305 (sinh_tonearest_test_data): Likewise.
3306 (sinh_towardzero_test_data): Likewise.
3307 (sinh_downward_test_data): Likewise.
3308 (sinh_upward_test_data): Likewise.
3309 (tan_test_data): Likewise.
3310 (tan_tonearest_test_data): Likewise.
3311 (tan_towardzero_test_data): Likewise.
3312 (tan_downward_test_data): Likewise.
3313 (tan_upward_test_data): Likewise.
3314 (tanh_test_data): Likewise.
3315 (tgamma_test_data): Likewise.
3316 (y0_test_data): Likewise.
3317 (y1_test_data): Likewise.
3318 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
3319 (special_real_inputs): Add pi/4.
3320 * sysdeps/i386/fpu/libm-test-ulps: Update.
3321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3323 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3325 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
3326 "longjmp_target" static probes.
3327 (__longjmp): Rename to __longjmp_symbol.
3328 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3329 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
3330 on which longjmp to generate.
3331 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3332 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
3334 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3335 (__sigjmp_save): Rename to __sigjmp_save_symbol.
3336 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3337 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
3338 and __sigjmp_save_symbol based on which sigsetjmp to generated.
3339 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
3340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
3341 __longjmp_symbol based on which __longjmp to generate.
3342 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
3344 (setjmp): Rename to setjmp_symbol.
3345 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3346 (_setjmp): Rename to _setjmp_symbol.
3347 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3348 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
3349 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
3350 which setjmp to generate.
3351 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
3352 "longjmp_target" static probes.
3354 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3356 * benchtests/README: Add note about output arguments.
3357 * benchtests/bench-sincos.c: Remove file.
3358 * benchtests/sincos-inputs: New file.
3359 * scripts/bench.pl: Identify output arguments and define
3360 static variables for them.
3362 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
3365 * Makefile (INSTALL): Add install-plain.texi as the primary
3367 * manual/install-plain.texi: New file.
3368 * manual/install.texi: Include node directive only for
3369 non-plaintext output.
3371 2013-12-04 Joseph Myers <joseph@codesourcery.com>
3373 * stdlib/longlong.h: Update from GCC.
3377 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
3378 * math/w_j0f.c (y0f): Likewise.
3379 * math/w_j0l.c (__y0l): Likewise.
3380 * math/w_j1.c (y1): Likewise.
3381 * math/w_j1f.c (y1f): Likewise.
3382 * math/w_j1l.c (__y1l): Likewise
3383 * math/w_jn.c (yn): Likewise.
3384 * math/w_jnf.c (ynf): Likewise.
3385 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
3386 Bessel function pole errors in _POSIX_ mode. Use NAN as return
3387 value for Bessel function domain errors outside _SVID_ mode.
3388 Adjust sign of return value for yn (negative integer, 0).
3389 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
3390 by zero in return for negative x and set sign appropriately for
3392 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
3393 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3394 * math/libm-test.inc (y0_test_data): Add more tests and adjust
3395 expectations in error cases.
3396 (y1_test_data): Likewise.
3397 (yn_test_data): Likewise.
3398 * sysdeps/i386/fpu/libm-test-ulps: Update.
3399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3401 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3403 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
3404 "64" to "64-v1". Add "64-v2".
3405 (abi-64-options): Rename to ...
3406 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
3407 (abi-64-condition): Rename to ...
3408 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
3409 (abi-64-ld-soname): Rename to ...
3410 (abi-64-v1-ld-soname): ... this.
3411 (abi-64-v2-options): Define.
3412 (abi-64-v2-condition): Likewise.
3413 (abi-64-v2-ld-soname): Likewise.
3414 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
3415 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
3416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
3417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
3418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
3420 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3421 Alan Modra <amodra@gmail.com>
3423 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
3424 New versions for use with the ELFv2 ABI.
3425 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
3426 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
3428 (struct La_ppc64v2_retval): Likewise.
3429 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
3430 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
3431 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
3432 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
3433 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
3434 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
3435 Do not save or restore CR.
3436 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
3437 (_dl_profile_resolve): Do no save or restore CR. Support extended
3438 return values for ELFv2 ABI. Fix location of FPR return registers.
3439 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
3440 updated values for _CALL_ELF == 2.
3441 (La_regs, La_retval, int_retval): Likewise.
3443 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3445 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
3446 (FRAME_MIN_SIZE_PARM): Likewise.
3447 (FRAME_BACKCHAIN): Likewise.
3448 (FRAME_CR_SAVE): Likewise.
3449 (FRAME_LR_SAVE): Likewise.
3450 (FRAME_TOC_SAVE): Likewise.
3451 (FRAME_PARM_SAVE): Likewise.
3452 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3453 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3454 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3455 (call_mcount_parm_offset): New macro.
3456 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
3457 (PROF): Use symbolic stack frame offsets.
3458 (TAIL_CALL_SYSCALL_ERROR): Likewise.
3459 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
3460 Redefine in terms of FRAME_MIN_SIZE.
3461 (_dl_runtime_resolve): Use symbolic stack frame offsets.
3462 (_dl_profile_resolve): Likewise. Update comment.
3463 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
3464 symbols stack frame offsets.
3465 (__sigsetjmp): Likewise.
3466 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
3467 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
3468 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
3469 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
3471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
3472 (FRAME_BACKCHAIN): Remove.
3473 (FRAME_CR_SAVE): Likewise.
3474 (FRAME_LR_SAVE): Likewise.
3475 (FRAME_COMPILER_DW): Likewise.
3476 (FRAME_LINKER_DW): Likewise.
3477 (FRAME_TOC_SAVE): Likewise.
3478 (FRAME_PARM_SAVE): Likewise.
3479 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3480 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3481 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
3483 (CHECK_SP): Use symbolic stack frame offsets.
3484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
3485 zone" instead of caller's parameter save area for temp storage.
3486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3487 Likewise. Also, use symbolic stack frame offsets.
3488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
3489 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
3490 our own stack frame instead of the caller's.
3491 (__socket): Use symbolic stack frame offsets.
3493 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3494 Alan Modra <amodra@gmail.com>
3496 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
3498 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
3499 PPC64_LOCAL_ENTRY_OFFSET): Define.
3500 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
3502 (elf_machine_fixup_plt): Call it.
3503 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
3505 (elf_machine_rela): Update call to elf_machine_plt_conflict.
3506 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3507 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
3508 r2 before calling target.
3510 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3511 Alan Modra <amodra@gmail.com>
3513 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
3514 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
3515 versions of macros to support ELFv2 ABI.
3516 (LOCALENTRY): New macro.
3517 (ENTRY, EALIGN): Use it.
3518 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
3519 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
3520 fall through into ENTRY entry point.
3521 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
3522 Only define if _CALL_ELF != 2.
3524 (elf_machine_matches_host): Verify ABI version matches.
3525 (RTLD_START): Use LOCALENTRY.
3526 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
3527 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
3528 (PLT_ENTRY_WORDS): New macro.
3529 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
3530 (elf_machine_runtime_setup): Support ELFv2 ABI.
3531 (elf_machine_fixup_plt): Likewise.
3532 (elf_machine_plt_conflict): Likewise.
3533 (resolve_ifunc): Likewise.
3534 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3535 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
3538 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
3539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3540 (makecontext): Support ELFv2 ABI.
3541 * elf/elf.h (EF_PPC64_ABI): Define.
3543 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3545 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
3546 New assembler macro.
3547 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
3548 [ASSEMBLER] (ENTRY): ... but instead here ...
3549 [ASSEMBLER] (EALIGN): ... and here.
3550 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
3551 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
3552 [!ASSEMBLER] (ENTRY_2): Use it.
3553 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
3554 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
3555 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3556 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
3557 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
3558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
3559 Use PPC64_LOAD_FUNCPTR.
3561 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3563 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
3565 2013-12-04 Alan Modra <amodra@gmail.com>
3567 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
3568 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
3569 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
3570 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
3572 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
3573 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
3574 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
3575 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
3576 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
3577 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
3579 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3582 (__makecontext): Fix incorrect CFI when backtracing out of
3583 context created via makecontext.
3584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
3585 (__setcontext): Fix incorrect CFI during switch to new context.
3586 (__novec_setcontext): Likewise.
3588 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
3591 * time/strptime_l.c (__strptime_internal): Allow modifiers
3593 * time/tst-strptime.c (day_tests): Add testcase.
3596 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3598 * scripts/bench.pl: Skip over blank lines.
3600 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
3603 * manual/time.texi (Calendar Time): Clarify what timezone functions
3606 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3610 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
3612 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
3614 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3615 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3616 * debug/memset_chk.c (__memset_chk): Likewise.
3617 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
3618 * debug/strncpy_chk.c: Likewise.
3620 2013-12-03 Joseph Myers <joseph@codesourcery.com>
3624 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
3625 (__ieee754_exp): For possibly underflowing results, check size of
3626 result and force underflow exception if required.
3627 * math/auto-libm-test-in: Add more tests of exp.
3628 * math/auto-libm-test-out: Regenerated.
3629 * sysdeps/i386/fpu/libm-test-ulps: Update.
3630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3633 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
3634 * math/w_exp2f.c (__exp2f): Likewise.
3635 * math/w_exp2l.c (__exp2l): Likewise.
3636 * math/auto-libm-test-in: Do not allow missing errno on exp2
3638 * math/auto-libm-test-out: Regenerated.
3640 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
3643 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
3644 handle filename validation.
3645 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
3648 2013-12-03 Joseph Myers <joseph@codesourcery.com>
3651 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
3652 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
3653 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
3655 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
3656 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
3657 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3658 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
3659 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3660 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
3661 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3662 * math/auto-libm-test-in: Don't allow missing errno from erfc.
3663 Add more erfc tests.
3664 * math/auto-libm-test-out: Regenerated.
3665 * sysdeps/i386/fpu/libm-test-ulps: Update.
3666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3668 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
3669 exp2, expm1, j0 and j1.
3670 * math/auto-libm-test-out: Regenerated.
3671 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
3672 (erfc_test_data): Likewise.
3673 (exp_test_data): Likewise.
3674 (exp_tonearest_test_data): Likewise.
3675 (exp_towardzero_test_data): Likewise.
3676 (exp_downward_test_data): Likewise.
3677 (exp_upward_test_data): Likewise.
3678 (exp10_test_data): Likewise.
3679 (exp2_test_data): Likewise.
3680 (expm1_test_data): Likewise.
3681 (j0_test_data): Likewise.
3682 (j1_test_data): Likewise.
3683 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
3684 (input_flag_type): Add flag_xfail_rounding.
3685 (input_flags): Add xfail-rounding.
3686 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
3687 (output_for_one_input_case): Handle flag_xfail_rounding.
3688 * sysdeps/i386/fpu/libm-test-ulps: Update.
3689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3691 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
3694 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
3697 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3700 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3701 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
3702 (STAP_PROBE0): New macro.
3703 (STAP_PROBE1): Likewise.
3704 (STAP_PROBE2): Likewise.
3705 (STAP_PROBE3): Likewise.
3706 (STAP_PROBE4): Likewise.
3708 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
3710 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3712 2013-12-02 Steve Ellcey <sellcey@mips.com>
3714 * benchtests/Makefile (bench): Add sqrt.
3715 (LDLIBS-bench-sqrt): New.
3716 * benchtests/sqrt-input: New.
3718 2013-12-02 Pavel Simerda <psimerda@redhat.com>
3720 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3721 (GAIH_EAI): Likewise.
3722 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3723 (gaih_inet): Likewise.
3724 (getaddrinfo): Don't use GAIH_EAI.
3726 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3727 (struct gaih): Remove definition.
3729 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3731 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3732 Use HERRNOP directly.
3734 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3738 2013-11-30 Joseph Myers <joseph@codesourcery.com>
3740 * math/gen-auto-libm-tests.c (test_functions): Add more
3741 single-argument functions.
3742 (special_fill_pi_2): New function.
3743 (special_fill_minus_pi_2): Likewise.
3744 (special_fill_pi_6): Likewise.
3745 (special_fill_minus_pi_6): Likewise.
3746 (special_fill_pi_3): Likewise.
3747 (special_fill_2pi_3): Likewise.
3748 (special_fill_e): Likewise.
3749 (special_fill_1_e): Likewise.
3750 (special_fill_e_minus_1): Likewise.
3751 (special_real_inputs): Add more special inputs.
3752 (output_for_one_input_case): Do not require ERANGE on underflow to
3753 zero if round-to-nearest result does not underflow to zero, unless
3754 exact results required.
3755 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3756 atan, atanh, cbrt, cos and cosh.
3757 * math/auto-libm-test-out: Regenerated.
3758 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3759 (acos_tonearest_test_data): Likewise.
3760 (acos_towardzero_test_data): Likewise.
3761 (acos_downward_test_data): Likewise.
3762 (acos_upward_test_data): Likewise.
3763 (acosh_test_data): Likewise.
3764 (asin_test_data): Likewise.
3765 (asin_tonearest_test_data): Likewise.
3766 (asin_towardzero_test_data): Likewise.
3767 (asin_upward_test_data): Likewise.
3768 (asinh_test_data): Likewise.
3769 (atan_test_data): Likewise.
3770 (atanh_test_data): Likewise.
3771 (cbrt_test_data): Likewise.
3772 (cos_test_data): Likewise.
3773 (cos_tonearest_test_data): Likewise.
3774 (cos_towardzero_test_data): Likewise.
3775 (cos_downward_test_data): Likewise.
3776 (cos_upward_test_data): Likewise.
3777 (cosh_test_data): Likewise.
3778 (cosh_tonearest_test_data): Likewise.
3779 (cosh_towardzero_test_data): Likewise.
3780 (cosh_downward_test_data): Likewise.
3781 (cosh_upward_test_data): Likewise.
3782 * sysdeps/i386/fpu/libm-test-ulps: Update.
3783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3785 2013-11-29 Joseph Myers <joseph@codesourcery.com>
3788 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3789 * math/w_exp10f.c (__exp10f): Likewise.
3790 * math/w_exp10l.c (__exp10l): Likewise.
3791 * math/libm-test.inc (exp10_test_data): Add more tests and expect
3792 errno settings in existing tests.
3795 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3796 precision control set to double precision.
3797 * sysdeps/i386/fpu/w_sqrt.c: New file.
3798 * math/auto-libm-test-in: Add more tests.
3799 * math/auto-libm-test-out: Update.
3801 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3802 (sqrt_test_tonearest): New function.
3803 (sqrt_towardzero_test_data): New variable.
3804 (sqrt_test_towardzero): New function.
3805 (sqrt_downward_test_data): New variable.
3806 (sqrt_test_downward): New function.
3807 (sqrt_upward_test_data): New variable.
3808 (sqrt_test_upward): New function.
3809 (main): Call the new functions.
3811 * math/gen-auto-libm-tests.c: New file.
3812 * math/auto-libm-test-in: Likewise.
3813 * math/auto-libm-test-out: New generated file.
3814 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3816 (%beautify): Add generated representations of zero.
3817 (top level): Set $auto_input and call parse_auto_input.
3818 (beautify): Remove trailing "f" from hex float constants.
3819 (parse_args): Handle XFAIL_TEST.
3820 (convert_condition): New function.
3821 (or_value): Likewise.
3822 (or_cond_value): Likewise.
3823 (generate_testfile): Handle AUTO_TESTS_* lines.
3824 (parse_auto_input): New function.
3825 * math/libm-test.inc (XFAIL_TEST): New macro.
3826 (ERRNO_UNCHANGED): Update value.
3827 (ERRNO_EDOM): Likewise.
3828 (ERRNO_ERANGE): Likewise.
3829 (IGNORE_RESULT): Likewise.
3830 (TEST_COND_flt_32): New macro.
3831 (TEST_COND_dbl_64): Likewise.
3832 (TEST_COND_ldbl_96_intel): Likewise.
3833 (TEST_COND_ldbl_96_m68k): Likewise.
3834 (TEST_COND_ldbl_128): Likewise.
3835 (TEST_COND_ldbl_128ibm): Likewise.
3836 (TEST_COND_long32): Likewise.
3837 (TEST_COND_long64): Likewise.
3838 (TEST_COND_before_rounding): Likewise.
3839 (TEST_COND_after_rounding): Likewise.
3840 (enable_test): Handle XFAIL_TEST flag.
3841 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3842 with finite results.
3843 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3846 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3847 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3850 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3851 __tls_get_addr_internal instead of __tls_get_offset in order to
3852 avoid GOT pointer dependency. Make rtld export
3853 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3854 __tls_get_addr since we are a __tls_get_offset platform.
3855 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3856 GOT pointer being set up before.
3857 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3859 2013-11-28 Joseph Myers <joseph@codesourcery.com>
3861 * manual/math.texi (Errors in Math Functions): Document accuracy
3865 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3866 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3867 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3868 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3869 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3870 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3871 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3872 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3873 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3874 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3875 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3876 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3877 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3878 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3879 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3880 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3882 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3883 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3884 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3885 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3886 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3888 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3890 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3892 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3893 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3894 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3895 atomic-feupdateenv and flt-rounds.
3896 * sysdeps/powerpc/nofpu/Versions (libc): Add
3897 __atomic_feholdexcept, __atomic_feclearexcept,
3898 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3899 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3900 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3901 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3902 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3907 * manual/arith.texi (FP Exceptions): Document that exceptions may
3908 not be raised when matherr is used.
3909 (Math Error Reporting): Document overflow in directed rounding
3910 modes. Document that errno may not be set when finite values are
3911 returned on overflow. Document intent to set errno on underflow
3912 only for underflow to zero.
3915 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3916 round-to-nearest then adjust result for other rounding modes.
3917 * include/fenv.h (fegetround): Use libm_hidden_proto.
3918 * math/fegetround.c (fegetround): Use libm_hidden_def.
3919 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3920 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3921 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3922 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3924 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3925 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3926 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3927 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3929 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3932 * nss/Versions (libnss_files): Add
3933 _nss_files_gethostbyname3_r.
3934 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3936 (HOST_DB_LOOKUP): Remove macro.
3937 (_nss_files_gethostbyname_r): Implement function without the
3938 HOST_DB_LOOKUP macro.
3939 (_nss_files_gethostbyname2_r): Likewise.
3941 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
3943 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3945 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
3947 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3948 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3951 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3953 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3954 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3955 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3956 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3957 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3958 __fe_nomask_env_priv and attribute_hidden.
3959 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3960 (libc_feupdateenv_test_ppc): Likewise.
3961 (libc_feresetround_ppc): Likewise.
3962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3963 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3964 compat_symbol macro.
3965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3966 (__fe_nomask_env): Likewise.
3967 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3969 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3971 * string/Makefile: Remove ifunc tests.
3972 * string/test-string.h: Define TEST_IFUNC.
3973 * string/test-bcopy-ifunc.c: Remove.
3974 * string/test-bzero-ifunc.c: Likewise.
3975 * string/test-memccpy-ifunc.c: Likewise.
3976 * string/test-memchr-ifunc.c: Likewise.
3977 * string/test-memcmp-ifunc.c: Likewise.
3978 * string/test-memcpy-ifunc.c: Likewise.
3979 * string/test-memmem-ifunc.c: Likewise.
3980 * string/test-memmove-ifunc.c: Likewise.
3981 * string/test-mempcpy-ifunc.c: Likewise.
3982 * string/test-memrchr-ifunc.c: Likewise.
3983 * string/test-memset-ifunc.c: Likewise.
3984 * string/test-rawmemchr-ifunc.c: Likewise.
3985 * string/test-stpcpy-ifunc.c: Likewise.
3986 * string/test-stpncpy-ifunc.c: Likewise.
3987 * string/test-strcasecmp-ifunc.c: Likewise.
3988 * string/test-strcasestr-ifunc.c: Likewise.
3989 * string/test-strcat-ifunc.c: Likewise.
3990 * string/test-strchr-ifunc.c: Likewise.
3991 * string/test-strchrnul-ifunc.c: Likewise.
3992 * string/test-strcmp-ifunc.c: Likewise.
3993 * string/test-strcpy-ifunc.c: Likewise.
3994 * string/test-strcspn-ifunc.c: Likewise.
3995 * string/test-strlen-ifunc.c: Likewise.
3996 * string/test-strncasecmp-ifunc.c: Likewise.
3997 * string/test-strncat-ifunc.c: Likewise.
3998 * string/test-strncmp-ifunc.c: Likewise.
3999 * string/test-strncpy-ifunc.c: Likewise.
4000 * string/test-strnlen-ifunc.c: Likewise.
4001 * string/test-strpbrk-ifunc.c: Likewise.
4002 * string/test-strrchr-ifunc.c: Likewise.
4003 * string/test-strspn-ifunc.c: Likewise.
4004 * string/test-strstr-ifunc.c: Likewise.
4006 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4008 * benchtests/Makefile: Remove ifunc tests.
4009 * benchtests/bench-string.h: Define TEST_IFUNC.
4010 * benchtests/bench-bcopy-ifunc.c: Remove.
4011 * benchtests/bench-bzero-ifunc.c: Likewise.
4012 * benchtests/bench-memccpy-ifunc.c: Likewise.
4013 * benchtests/bench-memchr-ifunc.c: Likewise.
4014 * benchtests/bench-memcmp-ifunc.c: Likewise.
4015 * benchtests/bench-memcpy-ifunc.c: Likewise.
4016 * benchtests/bench-memmem-ifunc.c: Likewise.
4017 * benchtests/bench-memmove-ifunc.c: Likewise.
4018 * benchtests/bench-mempcpy-ifunc.c: Likewise.
4019 * benchtests/bench-memrchr-ifunc.c: Likewise.
4020 * benchtests/bench-memset-ifunc.c: Likewise.
4021 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4022 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4023 * benchtests/bench-stpcpy-ifunc.c: Likewise.
4024 * benchtests/bench-stpncpy-ifunc.c: Likewise.
4025 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4026 * benchtests/bench-strcasestr-ifunc.c: Likewise.
4027 * benchtests/bench-strcat-ifunc.c: Likewise.
4028 * benchtests/bench-strchr-ifunc.c: Likewise.
4029 * benchtests/bench-strchrnul-ifunc.c: Likewise.
4030 * benchtests/bench-strcmp-ifunc.c: Likewise.
4031 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4032 * benchtests/bench-strcpy-ifunc.c: Likewise.
4033 * benchtests/bench-strcspn-ifunc.c: Likewise.
4034 * benchtests/bench-strlen-ifunc.c: Likewise.
4035 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4036 * benchtests/bench-strncat-ifunc.c: Likewise.
4037 * benchtests/bench-strncmp-ifunc.c: Likewise.
4038 * benchtests/bench-strncpy-ifunc.c: Likewise.
4039 * benchtests/bench-strnlen-ifunc.c: Likewise.
4040 * benchtests/bench-strpbrk-ifunc.c: Likewise.
4041 * benchtests/bench-strrchr-ifunc.c: Likewise.
4042 * benchtests/bench-strsep-ifunc.c: Likewise.
4043 * benchtests/bench-strspn-ifunc.c: Likewise.
4044 * benchtests/bench-strstr-ifunc.c: Likewise.
4046 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4048 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4050 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4052 * resolv/netdb.h: Use __glibc_reserved instead __unused.
4053 * rt/aio.h: Likewise.
4054 * sysdeps/gnu/bits/utmp.h: Likewise.
4055 * sysdeps/gnu/bits/utmpx.h: Likewise.
4056 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4057 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4058 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4059 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4060 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4061 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4062 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
4063 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
4064 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4065 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4066 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4067 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4068 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
4070 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4071 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
4072 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4073 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4074 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4075 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4076 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
4077 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
4078 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
4079 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4080 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4081 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4082 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
4083 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4084 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4085 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4086 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4087 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
4088 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
4089 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4090 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4091 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4092 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4093 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4094 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4095 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
4096 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4097 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4099 2013-11-25 Carlos O'Donell <carlos@redhat.com>
4102 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
4103 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
4105 2013-11-25 Joseph Myers <joseph@codesourcery.com>
4107 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4108 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4111 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4113 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
4114 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
4115 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
4116 (__fesetround): Remove define.
4117 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
4118 rounding and exceptions handling.
4119 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
4120 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
4121 (__fe_nomask_env): Likewise.
4122 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
4123 __fegetround instead of fegetround.
4124 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4125 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4127 2013-11-21 Roland McGrath <roland@hack.frob.com>
4129 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
4132 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4134 2013-11-21 Meador Inge <meadori@codesourcery.com>
4137 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
4138 (encrypt_r): Likewise.
4139 * malloc/obstack.h (obstack_free): Likewise.
4140 * posix/unistd.h (encrypt): Likewise.
4142 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
4144 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
4145 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
4146 DL_CALL_DT_FINI() that call the functions directly.
4147 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
4148 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
4149 * elf/dl-fini.c: Likewise.
4151 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
4153 * malloc/hooks.c (memalign_check): Add alignment rounding.
4154 * malloc/malloc.c (_mid_memalign): New function.
4155 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
4156 Implement by calling _mid_memalign.
4157 * manual/probes.texi (Memory Allocation Probes): Remove
4158 memory_valloc_retry and memory_pvalloc_retry.
4160 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4162 * locale/programs/locarchive.c (open_archive): Add const
4163 qualifier to ARCHIVEFNAME and copy default fname to
4167 * libio/tst-widetext.input: Rename Oriya to Odia.
4168 * locale/iso-639.def: Likewise.
4170 * manual/probes.texi (Mathematical Function Probes): Add
4171 documentation for sin, cos, asin and acos probes.
4172 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
4173 (__sin32): Add slowasin probe.
4174 (__cos32): Add slowacos probe.
4175 (__mpsin): Add slowsin probe.
4176 (__mpcos): Add slowcos probe.
4178 2013-11-19 Joseph Myers <joseph@codesourcery.com>
4181 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
4182 thread-local __sim_exceptions_thread and global
4183 __sim_exceptions_global.
4184 (__sim_disabled_exceptions): Change to thread-local
4185 __sim_disabled_exceptions_thread and global
4186 __sim_disabled_exceptions_global.
4187 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4188 and global __sim_round_mode_global.
4189 (__simulate_exceptions): Use thread-local floating-point state and
4190 set global state from it as needed.
4191 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
4192 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
4193 __sim_round_mode_thread.
4194 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
4195 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
4196 and global __sim_exceptions_global.
4197 (__sim_disabled_exceptions): Change to thread-local
4198 __sim_disabled_exceptions_thread and global
4199 __sim_disabled_exceptions_global.
4200 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4201 and global __sim_round_mode_global.
4202 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
4203 (SIM_SET_GLOBAL): Likewise.
4204 * sysdeps/powerpc/soft-fp/sfp-machine.h
4205 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
4206 __sim_round_mode_thread.
4207 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
4208 __sim_disabled_exceptions_thread.
4209 (__sim_exceptions): Change to __sim_exceptions_thread.
4210 (__sim_disabled_exceptions): Change to
4211 __sim_disabled_exceptions_thread.
4212 (__sim_round_mode): Change to __sim_round_mode_thread.
4213 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
4214 thread-local floating-point state and set global state from it as
4216 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
4217 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
4218 (__sim_disabled_exceptions): Remove extern declaration.
4219 (feenableexcept): Use thread-local floating-point state and set
4220 global state from it as needed.
4221 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
4223 (__sim_disabled_exceptions): Likewise.
4224 (__sim_round_mode): Likewise.
4225 (__fegetenv): Use thread-local floating-point state.
4226 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
4227 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4228 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
4229 floating-point state and set global state from it as needed.
4230 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
4231 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4232 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
4234 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4235 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
4237 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
4238 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
4239 Use __sim_round_mode_thread.
4240 * math/test-fenv-tls.c: New file.
4241 * math/Makefile (tests): Add test-fenv-tls.
4242 ($(objpfx)test-fenv-tls): Depend on
4243 $(common-objpfx)nptl/libpthread.so.
4245 2013-11-19 Andreas Schwab <schwab@suse.de>
4247 * locale/programs/locale.c (show_info): Decode wordarray elements.
4248 * locale/categories.def (LC_MONETARY): Add element for
4249 _NL_MONETARY_CRNCYSTR.
4250 * locale/C-monetary.c (conversion_rate): New variable.
4251 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
4254 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
4256 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
4257 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
4259 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4261 * elf/Makefile (tst-auxv): New test.
4262 * elf/tst-auxv.c: New
4263 * elf/rtld.c (dl_main): Adjust AT_EXECFN
4265 2013-11-18 Joseph Myers <joseph@codesourcery.com>
4267 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
4268 (hidden_proto): Caller changed.
4269 (hidden_tls_proto): New macro.
4270 (libc_hidden_tls_proto): Likewise.
4271 (rtld_hidden_tls_proto): Likewise.
4272 (libm_hidden_tls_proto): Likewise.
4273 (libresolv_hidden_tls_proto): Likewise.
4274 (librt_hidden_tls_proto): Likewise.
4275 (libdl_hidden_tls_proto): Likewise.
4276 (libnss_files_hidden_tls_proto): Likewise.
4277 (libnsl_hidden_tls_proto): Likewise.
4278 (libnss_nisplus_hidden_tls_proto): Likewise.
4279 (libutil_hidden_tls_proto): Likewise.
4281 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
4284 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
4285 (decompose_rpath): Defer expansion to fillin_rpath.
4286 (_dl_init_paths): Pass linkmap to fillin_rpath.
4288 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4290 * benchtests/Makefile: Add strsep.
4291 * benchtests/bench-strsep.c: New file: strsep benchtest.
4292 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
4294 2013-11-18 Andreas Schwab <schwab@suse.de>
4296 * locale/programs/locale.c (show_info) [case byte]: Check for
4297 '\377' instead of '\177'.
4298 * locale/C-monetary.c (not_available): Always use "\377".
4299 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
4300 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
4301 detect unavailable sign_posn locale elements.
4302 * locale/localeconv.c (__localeconv): For grouping and
4303 mon_grouping handle "\177" and "\377" like no grouping.
4304 (INT_ELEM): New macro. Use it to set all numeric members.
4305 * locale/programs/ld-monetary.c (monetary_read)
4306 <tok_mon_grouping>: Normalize single -1 to the empty string.
4307 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
4310 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
4313 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
4314 when we match (nil).
4315 * stdio-common/tst-sscanf.c (struct test): Add testcase.
4317 2013-11-16 Joseph Myers <joseph@codesourcery.com>
4319 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
4320 (NO_TEST_INLINE): Update value.
4321 (ERRNO_UNCHANGED): Likewise.
4322 (ERRNO_EDOM): Likewise.
4323 (ERRNO_ERANGE): Likewise.
4324 (IGNORE_RESULT): Likewise.
4325 (check_float_internal): Check signs of NaN results if
4327 (check_complex): Pass TEST_NAN_SIGN flag through to second
4328 check_float_internal call.
4329 (copysign_test_data): Add tests with quiet NaNs as second
4330 argument. Use TEST_NAN_SIGN.
4331 (fabs_test_data): Add test of negative quiet NaN argument. Use
4333 (signbit_test_data): Add tests of quiet NaN argument.
4334 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
4336 * math/gen-libm-test.pl (show_exceptions): Take extra argument
4338 (parse_args): Handle function results specified as IGNORE.
4339 * math/libm-test.inc (IGNORE_RESULT): New macro.
4340 (check_float_internal): Do not check numerical result if flag
4342 (check_complex): Pass through IGNORE_RESULT to second
4343 check_float_internal call.
4344 (check_int): Do not check numerical result if flag IGNORE_RESULT
4346 (check_long): Likewise.
4347 (check_bool): Likewise.
4348 (check_longlong): Likewise.
4349 (lrint_test_data): Add tests of infinite and NaN arguments.
4350 (lrint_tonearest_test_data): Likewise.
4351 (lrint_towardzero_test_data): Likewise.
4352 (lrint_downward_test_data): Likewise.
4353 (lrint_upward_test_data): Likewise.
4354 (llrint_test_data): Likewise.
4355 (llrint_tonearest_test_data): Likewise.
4356 (llrint_towardzero_test_data): Likewise.
4357 (llrint_downward_test_data): Likewise.
4358 (llrint_upward_test_data): Likewise.
4359 (lround_test_data): Likewise.
4360 (llround_test_data): Likewise.
4362 * math/libm-test.inc (NO_TEST_INLINE): New macro.
4363 (ERRNO_UNCHANGED): Update value.
4364 (ERRNO_EDOM): Likewise.
4365 (ERRNO_ERANGE): Likewise.
4366 (NO_TEST_INLINE_FLOAT): New macro.
4367 (NO_TEST_INLINE_DOUBLE): Likewise.
4368 (enable_test): New function.
4369 (RUN_TEST_f_f): Check enable_test before running test.
4370 (RUN_TEST_2_f): Likewise.
4371 (RUN_TEST_fff_f): Likewise.
4372 (RUN_TEST_c_f): Likewise.
4373 (RUN_TEST_f_f1): Likewise.
4374 (RUN_TEST_fF_f1): Likewise.
4375 (RUN_TEST_fI_f1): Likewise.
4376 (RUN_TEST_ffI_f1): Likewise.
4377 (RUN_TEST_c_c): Likewise.
4378 (RUN_TEST_cc_c): Likewise.
4379 (RUN_TEST_f_i): Likewise.
4380 (RUN_TEST_f_i_tg): Likewise.
4381 (RUN_TEST_ff_i_tg): Likewise.
4382 (RUN_TEST_f_b): Likewise.
4383 (RUN_TEST_f_b_tg): Likewise.
4384 (RUN_TEST_f_l): Likewise.
4385 (RUN_TEST_f_L): Likewise.
4386 (RUN_TEST_fFF_11): Likewise.
4387 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
4389 (cosh_test_data): Likewise.
4390 (exp_test_data): Likewise.
4391 (expm1_test_data): Likewise.
4392 (hypot_test_data): Likewise.
4393 (pow_test_data): Likewise.
4394 (sinh_test_data): Likewise.
4395 (tanh_test_data): Likewise.
4396 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
4399 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
4400 tests with quiet NaN input and output.
4401 (acosh_test_data): Likewise.
4402 (asin_test_data): Likewise.
4403 (asinh_test_data): Likewise.
4404 (atan_test_data): Likewise.
4405 (atanh_test_data): Likewise.
4406 (atan2_test_data): Likewise.
4407 (cbrt_test_data): Likewise.
4408 (cos_test_data): Likewise.
4409 (cosh_test_data): Likewise.
4410 (erf_test_data): Likewise.
4411 (erfc_test_data): Likewise.
4412 (exp_test_data): Likewise.
4413 (exp10_test_data): Likewise.
4414 (exp2_test_data): Likewise.
4415 (expm1_test_data): Likewise.
4416 (hypot_test_data): Likewise.
4417 (j0_test_data): Likewise.
4418 (j1_test_data): Likewise.
4419 (jn_test_data): Likewise.
4420 (lgamma_test_data): Likewise.
4421 (log_test_data): Likewise.
4422 (log10_test_data): Likewise.
4423 (log1p_test_data): Likewise.
4424 (log2_test_data): Likewise.
4425 (pow_test_data): Likewise.
4426 (scalb_test_data): Likewise.
4427 (sin_test_data): Likewise.
4428 (sincos_test_data): Likewise.
4429 (sinh_test_data): Likewise.
4430 (tan_test_data): Likewise.
4431 (tanh_test_data): Likewise.
4432 (tgamma_test_data): Likewise.
4433 (y0_test_data): Likewise.
4434 (y1_test_data): Likewise.
4435 (yn_test_data): Likewise.
4438 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
4439 argument being NaN and avoid computations with second argument in
4441 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4442 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4443 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4445 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
4447 * locale/iso-639.def: Add Chitwani Tharu (the).
4449 2013-11-14 Andreas Schwab <schwab@suse.de>
4451 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
4452 word instead of empty string.
4454 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4457 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
4458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4459 (__fe_nomask_env): Likewise.
4461 2013-11-13 Steve Ellcey <sellcey@mips.com>
4463 * benchtests/bench-timing.h: Include time.h.
4465 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
4468 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
4470 * sysdeps/unix/sysv/linux/configure: Regenerated.
4472 2013-11-13 Joseph Myers <joseph@codesourcery.com>
4475 * stdlib/strtod_l.c (round_and_return): Do not consider
4476 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
4477 exponent one less than half the least subnormal exponent.
4478 * stdlib/test-strtod-round-data: Add more tests.
4479 * stdlib/tst-strtod-round.c (tests): Regenerated.
4481 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4484 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
4485 (__fe_mask_env): Likewise.
4486 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
4487 libm_hidden_proto and add function prototype.
4488 (__fe_mask_env): Add function prototype.
4489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4490 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
4491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4492 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
4493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4494 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
4496 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4498 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
4499 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
4501 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4503 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
4504 of htab_find_slot().
4506 2013-11-11 David S. Miller <davem@davemloft.net>
4509 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
4510 symbol in the non-vis3 case in static builds.
4511 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
4512 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
4513 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
4514 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
4516 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4519 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
4522 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4524 * benchtests/Makefile: Add bench-strtod.
4525 * benchtests/bench-strtod.c: New file: strtod benchtest
4527 2013-11-11 Andreas Schwab <schwab@suse.de>
4530 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
4531 terminating NUL in key length.
4533 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4535 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4536 Add artificial ODP entry for vDSO symbol for PPC64.
4537 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
4538 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4540 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
4543 * nss/getent.c (services_keys): Recognize services starting with digit.
4545 2013-11-06 David S. Miller <davem@davemloft.net>
4548 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
4549 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
4551 2013-11-06 Will Newton <will.newton@linaro.org>
4553 * manual/memory.texi (Malloc Examples): Remove register
4554 keyword from examples.
4556 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
4558 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
4560 2013-11-04 Joseph Myers <joseph@codesourcery.com>
4563 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
4564 depending on [__GCC_IEC_559 > 0].
4565 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
4566 depending on [__GCC_IEC_559_COMPLEX > 0].
4568 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
4570 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
4573 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
4575 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
4577 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
4580 * malloc/malloc (malloc_info): Do not handle first bin as
4583 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
4585 * locale/iso-639.def: Add Central Nahuatl (nhn).
4587 2013-11-01 Bruno Haible <bruno@clisp.org>
4590 * manual/math.texi (BSD Random): Specify range upper bound as
4593 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
4595 * locale/iso-639.def: Add Meadow Mari (mhr).
4597 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
4599 [BZ #14752], [BZ #15763]
4600 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
4602 * rt/tst_shm.c: Add test for escaping directory.
4604 2013-10-31 Andreas Schwab <schwab@suse.de>
4607 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
4608 followed by 'x' as part of digit sequence.
4609 * stdio-common/tst-sscanf.c (double_tests2): New tests.
4611 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4614 * configure.ac: allow GNU Make 4.0 and greater.
4615 * configure: Regenerated.
4617 2013-10-30 Will Newton <will.newton@linaro.org>
4620 * malloc/hooks.c (memalign_check): Limit alignment to the
4621 maximum representable power of two.
4622 * malloc/malloc.c (__libc_memalign): Likewise.
4623 * malloc/tst-memalign.c (do_test): Add test for very
4624 large alignment values.
4625 * malloc/tst-posix_memalign.c (do_test): Likewise.
4627 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
4630 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
4631 (munmap_chunk): Likewise.
4632 (mremap_chunk): Likewise.
4634 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
4637 * stdlib/div.c (div): Remove obsolete code.
4638 * stdlib/ldiv.c (ldiv): Likewise.
4639 * stdlib/lldiv.c (lldiv): Likewise.
4641 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4644 * nss/nss_files/files-XXX.c (get_contents_ret): New
4646 (get_contents): New function.
4647 (internal_getent): Use it. Expand size of LINEBUFLEN.
4649 2013-10-30 Mike Frysinger <vapier@gentoo.org>
4651 * configure.in: Moved to ...
4652 * configure.ac: ... here. Change reference to configure.in
4654 * sysdeps/arm/preconfigure.ac: ... here.
4655 configure.in to configure.ac.
4656 * sysdeps/gnu/configure.in: Moved to ...
4657 * sysdeps/gnu/configure.ac: ... here.
4658 * sysdeps/i386/configure.in: Moved to ...
4659 * sysdeps/i386/configure.ac: ... here.
4660 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
4661 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
4662 * sysdeps/mach/configure.in: Moved to ...
4663 * sysdeps/mach/configure.ac: ... here.
4664 * sysdeps/mach/hurd/configure.in: Moved to ...
4665 * sysdeps/mach/hurd/configure.ac: ... here.
4666 * sysdeps/powerpc/configure.in: Moved to ...
4667 * sysdeps/powerpc/configure.ac: ... here.
4668 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
4669 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
4670 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
4671 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
4672 * sysdeps/s390/s390-32/configure.in: Moved to ...
4673 * sysdeps/s390/s390-32/configure.ac: ... here.
4674 * sysdeps/s390/s390-64/configure.in: Moved to ...
4675 * sysdeps/s390/s390-64/configure.ac: ... here.
4676 * sysdeps/sh/configure.in: Moved to ...
4677 * sysdeps/sh/configure.ac: ... here.
4678 * sysdeps/sparc/configure.in: Moved to ...
4679 * sysdeps/sparc/configure.ac: ... here.
4680 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
4681 * sysdeps/unix/sysv/linux/configure.ac: ... here.
4682 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
4683 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
4684 * sysdeps/x86_64/configure.in: Moved to ...
4685 * sysdeps/x86_64/configure.ac: ... here.
4686 * sysdeps/x86_64/preconfigure.in: Moved to ...
4687 * sysdeps/x86_64/preconfigure.ac: ... here.
4688 * aclocal.m4: Change reference to configure.in to configure.ac.
4689 * config.h.in: Likewise.
4690 * manual/install.texi: Likewise.
4691 * manual/maint.texi: Likewise.
4692 * Makefile: Likewise.
4693 * malloc/Makefile: Likewise.
4694 * nscd/Makefile: Likewise.
4695 * Makeconfig: Change reference to configure.in and
4696 preconfigure.in to configure.ac and preconfigure.ac
4698 * INSTALL: Regenerated.
4699 * configure: Likewise.
4700 * sysdeps/gnu/configure: Likewise.
4701 * sysdeps/i386/configure: Likewise.
4702 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
4703 * sysdeps/mach/configure: Likewise.
4704 * sysdeps/mach/hurd/configure: Likewise.
4705 * sysdeps/powerpc/configure: Likewise.
4706 * sysdeps/powerpc/powerpc32/configure: Likewise.
4707 * sysdeps/powerpc/powerpc64/configure: Likewise.
4708 * sysdeps/s390/s390-32/configure: Likewise.
4709 * sysdeps/s390/s390-64/configure: Likewise.
4710 * sysdeps/sh/configure: Likewise.
4711 * sysdeps/sparc/configure: Likewise.
4712 * sysdeps/unix/sysv/linux/configure: Likewise.
4713 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4714 * sysdeps/x86_64/configure: Likewise.
4715 * sysdeps/x86_64/preconfigure: Likewise.
4717 2013-10-29 Andreas Schwab <schwab@suse.de>
4719 * stdio-common/Makefile (tst-swscanf-ENV): Define.
4721 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4723 * benchtests/pow-inputs: Add new inputs.
4725 * benchtests/exp-inputs: Add new inputs.
4727 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4728 conditional check for return value.
4729 (__cos32): Likewise.
4731 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4733 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4734 to provide a boost for large inputs with word alignment.
4735 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4736 implementation based on optimized PPC64 strcpy.
4737 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4738 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4739 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4740 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4742 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4745 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4747 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4750 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4751 * time/tst-strptime.c (day_tests): Add testcase.
4753 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4756 * manual/pattern.texi: Acknowledge that fnmatch can fail.
4758 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
4761 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4762 MAP_FAILED on error.
4764 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4767 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4768 heap for large requests.
4770 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
4773 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4774 result if the result has no associated interface.
4775 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4776 interface for all 127.X.Y.Z addresses.
4778 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
4780 * locale/iso-639.def: Add Ligurian (lij)
4782 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
4785 * sunrpc/rpc_main.c: Document rpcgen -5.
4787 2013-10-19 Michael Stahl <mstahl@redhat.com>
4789 * elf/rtld.c (do_preload): Print the reason why preloading failed.
4791 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4794 * posix/glob.c: Match only directories when trailing slash is present.
4795 * posix/tst-gnuglob.c (my_opendir): Do not open files.
4796 (main): Add testcase.
4798 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4801 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4803 2013-10-18 Carlos O'Donell <carlos@redhat.com>
4805 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4806 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4807 AUTH_DES and cindex for FIPS 140-2.
4808 (DES Encryption): Add cindex FIPS 46-3.
4810 * locale/locarchive.h (struct locarhandle): Add fname.
4811 * locale/programs/localedef.c (main): Pass ARGV[remaining]
4812 if an optional argument was specified to --list-archive,
4814 * locale/programs/locarchive.c (show_archive_content): Take new
4815 argument fname and pass it via ah.fname to open_archive.
4816 * locale/programs/localedef.h: Update decl.
4817 (open_archive): If AH->fname is non-null, open that file
4818 rather than the default file name, and don't ignore ENOENT.
4819 (create_archive): Set AH.fname to NULL.
4820 (delete_locales_from_archive): Likewise.
4821 (add_locales_to_archive): Likewise.
4822 * locale/programs/locfile.c (write_all_categories): Likewise.
4824 2013-10-18 Joseph Myers <joseph@codesourcery.com>
4825 Aldy Hernandez <aldyh@redhat.com>
4827 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4828 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4829 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4830 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4831 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4832 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4833 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4834 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4835 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4836 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4837 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4838 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4839 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4840 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4841 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4843 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4845 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4847 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4849 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4850 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4852 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4853 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4854 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4855 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4857 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4858 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4859 * sysdeps/powerpc/preconfigure: Likewise.
4860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4862 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4863 Replace contents of file by #include of <fenv_libc.h>.
4864 * sysdeps/powerpc/soft-fp/sfp-machine.h
4865 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4867 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4868 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4869 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4870 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4871 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4872 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4873 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4874 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4875 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4876 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4877 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4878 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4880 Allow copysignl PLT reference to be missing.
4882 2013-10-18 Richard Sandiford <richard@codesourcery.com>
4883 Joseph Myers <joseph@codesourcery.com
4886 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4888 (add_to_tablewc): Assert sequence of wide characters is nonempty.
4890 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4892 * elf/tst-tls-dlinfo.c: Don't include tls.h.
4893 * elf/tst-tls1.c: Likewise.
4894 * elf/tst-tls10.h: Likewise.
4895 * elf/tst-tls14.c: Likewise.
4896 * elf/tst-tls2.c: Likewise.
4897 * elf/tst-tls3.c: Likewise.
4898 * elf/tst-tls4.c: Likewise.
4899 * elf/tst-tls5.c: Likewise.
4900 * elf/tst-tls6.c: Likewise.
4901 * elf/tst-tls7.c: Likewise.
4902 * elf/tst-tls8.c: Likewise.
4903 * elf/tst-tls9.c: Likewise.
4904 * elf/tst-tlsmod1.c: Likewise.
4905 * elf/tst-tlsmod13.c: Likewise.
4906 * elf/tst-tlsmod13a.c: Likewise.
4907 * elf/tst-tlsmod14a.c: Likewise.
4908 * elf/tst-tlsmod16a.c: Likewise.
4909 * elf/tst-tlsmod16b.c: Likewise.
4910 * elf/tst-tlsmod2.c: Likewise.
4911 * elf/tst-tlsmod3.c: Likewise.
4912 * elf/tst-tlsmod4.c: Likewise.
4913 * elf/tst-tlsmod5.c: Likewise.
4914 * elf/tst-tlsmod6.c: Likewise.
4916 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
4919 * malloc/malloc.c: remove checks for statistics.
4921 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4924 * inet/inet_net.c (inet_network): Detect additional invalid strings.
4925 * inet/tst-network.c: Add testcase.
4927 2013-10-17 Andreas Schwab <schwab@suse.de>
4930 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4931 to determine canonical name.
4933 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4935 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4936 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4937 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4938 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4939 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4940 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4941 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4942 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4943 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4944 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4945 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4946 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4947 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4948 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4949 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4950 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4951 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4952 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4953 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4954 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4955 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4956 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4957 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4958 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4959 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4960 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4961 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4962 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4963 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4964 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4965 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4966 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4967 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4968 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4969 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4970 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4971 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4972 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4973 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4974 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4975 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4976 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4977 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4978 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4979 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4980 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4981 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4982 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4983 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4984 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4985 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4986 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4987 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4988 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4989 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4990 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4991 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4992 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4994 2013-10-17 Joseph Myers <joseph@codesourcery.com>
4997 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4998 make result into a quiet NaN.
5000 2013-10-16 Joseph Myers <joseph@codesourcery.com>
5002 * soft-fp/adddf3.c: Fix horizontal whitespace.
5003 * soft-fp/addsf3.c: Likewise.
5004 * soft-fp/addtf3.c: Likewise.
5005 * soft-fp/divdf3.c: Likewise.
5006 * soft-fp/divsf3.c: Likewise.
5007 * soft-fp/divtf3.c: Likewise.
5008 * soft-fp/double.h: Likewise.
5009 * soft-fp/eqdf2.c: Likewise.
5010 * soft-fp/eqsf2.c: Likewise.
5011 * soft-fp/eqtf2.c: Likewise.
5012 * soft-fp/extenddftf2.c: Likewise.
5013 * soft-fp/extended.h: Likewise.
5014 * soft-fp/extendsfdf2.c: Likewise.
5015 * soft-fp/extendsftf2.c: Likewise.
5016 * soft-fp/extendxftf2.c: Likewise.
5017 * soft-fp/fixdfdi.c: Likewise.
5018 * soft-fp/fixdfsi.c: Likewise.
5019 * soft-fp/fixdfti.c: Likewise.
5020 * soft-fp/fixsfdi.c: Likewise.
5021 * soft-fp/fixsfsi.c: Likewise.
5022 * soft-fp/fixsfti.c: Likewise.
5023 * soft-fp/fixtfdi.c: Likewise.
5024 * soft-fp/fixtfsi.c: Likewise.
5025 * soft-fp/fixtfti.c: Likewise.
5026 * soft-fp/fixunsdfdi.c: Likewise.
5027 * soft-fp/fixunsdfsi.c: Likewise.
5028 * soft-fp/fixunsdfti.c: Likewise.
5029 * soft-fp/fixunssfdi.c: Likewise.
5030 * soft-fp/fixunssfsi.c: Likewise.
5031 * soft-fp/fixunssfti.c: Likewise.
5032 * soft-fp/fixunstfdi.c: Likewise.
5033 * soft-fp/fixunstfsi.c: Likewise.
5034 * soft-fp/fixunstfti.c: Likewise.
5035 * soft-fp/floatdidf.c: Likewise.
5036 * soft-fp/floatdisf.c: Likewise.
5037 * soft-fp/floatditf.c: Likewise.
5038 * soft-fp/floatsidf.c: Likewise.
5039 * soft-fp/floatsisf.c: Likewise.
5040 * soft-fp/floatsitf.c: Likewise.
5041 * soft-fp/floattidf.c: Likewise.
5042 * soft-fp/floattisf.c: Likewise.
5043 * soft-fp/floattitf.c: Likewise.
5044 * soft-fp/floatundidf.c: Likewise.
5045 * soft-fp/floatundisf.c: Likewise.
5046 * soft-fp/floatunditf.c: Likewise.
5047 * soft-fp/floatunsidf.c: Likewise.
5048 * soft-fp/floatunsisf.c: Likewise.
5049 * soft-fp/floatunsitf.c: Likewise.
5050 * soft-fp/floatuntidf.c: Likewise.
5051 * soft-fp/floatuntisf.c: Likewise.
5052 * soft-fp/floatuntitf.c: Likewise.
5053 * soft-fp/fmadf4.c: Likewise.
5054 * soft-fp/fmasf4.c: Likewise.
5055 * soft-fp/fmatf4.c: Likewise.
5056 * soft-fp/gedf2.c: Likewise.
5057 * soft-fp/gesf2.c: Likewise.
5058 * soft-fp/getf2.c: Likewise.
5059 * soft-fp/ledf2.c: Likewise.
5060 * soft-fp/lesf2.c: Likewise.
5061 * soft-fp/letf2.c: Likewise.
5062 * soft-fp/muldf3.c: Likewise.
5063 * soft-fp/mulsf3.c: Likewise.
5064 * soft-fp/multf3.c: Likewise.
5065 * soft-fp/negdf2.c: Likewise.
5066 * soft-fp/negsf2.c: Likewise.
5067 * soft-fp/negtf2.c: Likewise.
5068 * soft-fp/op-1.h: Likewise.
5069 * soft-fp/op-2.h: Likewise.
5070 * soft-fp/op-4.h: Likewise.
5071 * soft-fp/op-8.h: Likewise.
5072 * soft-fp/op-common.h: Likewise.
5073 * soft-fp/quad.h: Likewise.
5074 * soft-fp/single.h: Likewise.
5075 * soft-fp/soft-fp.h: Likewise.
5076 * soft-fp/sqrtdf2.c: Likewise.
5077 * soft-fp/sqrtsf2.c: Likewise.
5078 * soft-fp/sqrttf2.c: Likewise.
5079 * soft-fp/subdf3.c: Likewise.
5080 * soft-fp/subsf3.c: Likewise.
5081 * soft-fp/subtf3.c: Likewise.
5082 * soft-fp/truncdfsf2.c: Likewise.
5083 * soft-fp/trunctfdf2.c: Likewise.
5084 * soft-fp/trunctfsf2.c: Likewise.
5085 * soft-fp/trunctfxf2.c: Likewise.
5086 * soft-fp/unorddf2.c: Likewise.
5087 * soft-fp/unordsf2.c: Likewise.
5088 * soft-fp/unordtf2.c: Likewise.
5090 2013-10-15 Joseph Myers <joseph@codesourcery.com>
5092 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
5093 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
5095 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
5097 * elf/dl-libc.c: Clear initfini list after freeing.
5099 2013-10-14 Joseph Myers <joseph@codesourcery.com>
5101 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
5102 * soft-fp/addsf3.c: Likewise.
5103 * soft-fp/addtf3.c: Likewise.
5104 * soft-fp/divdf3.c: Likewise.
5105 * soft-fp/divsf3.c: Likewise.
5106 * soft-fp/divtf3.c: Likewise.
5107 * soft-fp/double.h: Likewise.
5108 * soft-fp/eqdf2.c: Likewise.
5109 * soft-fp/eqsf2.c: Likewise.
5110 * soft-fp/eqtf2.c: Likewise.
5111 * soft-fp/extenddftf2.c: Likewise.
5112 * soft-fp/extended.h: Likewise.
5113 * soft-fp/extendsfdf2.c: Likewise.
5114 * soft-fp/extendsftf2.c: Likewise.
5115 * soft-fp/extendxftf2.c: Likewise.
5116 * soft-fp/fixdfdi.c: Likewise.
5117 * soft-fp/fixdfsi.c: Likewise.
5118 * soft-fp/fixdfti.c: Likewise.
5119 * soft-fp/fixsfdi.c: Likewise.
5120 * soft-fp/fixsfsi.c: Likewise.
5121 * soft-fp/fixsfti.c: Likewise.
5122 * soft-fp/fixtfdi.c: Likewise.
5123 * soft-fp/fixtfsi.c: Likewise.
5124 * soft-fp/fixtfti.c: Likewise.
5125 * soft-fp/fixunsdfdi.c: Likewise.
5126 * soft-fp/fixunsdfsi.c: Likewise.
5127 * soft-fp/fixunsdfti.c: Likewise.
5128 * soft-fp/fixunssfdi.c: Likewise.
5129 * soft-fp/fixunssfsi.c: Likewise.
5130 * soft-fp/fixunssfti.c: Likewise.
5131 * soft-fp/fixunstfdi.c: Likewise.
5132 * soft-fp/fixunstfsi.c: Likewise.
5133 * soft-fp/fixunstfti.c: Likewise.
5134 * soft-fp/floatdidf.c: Likewise.
5135 * soft-fp/floatdisf.c: Likewise.
5136 * soft-fp/floatditf.c: Likewise.
5137 * soft-fp/floatsidf.c: Likewise.
5138 * soft-fp/floatsisf.c: Likewise.
5139 * soft-fp/floatsitf.c: Likewise.
5140 * soft-fp/floattidf.c: Likewise.
5141 * soft-fp/floattisf.c: Likewise.
5142 * soft-fp/floattitf.c: Likewise.
5143 * soft-fp/floatundidf.c: Likewise.
5144 * soft-fp/floatundisf.c: Likewise.
5145 * soft-fp/floatunsidf.c: Likewise.
5146 * soft-fp/floatunsisf.c: Likewise.
5147 * soft-fp/floatuntidf.c: Likewise.
5148 * soft-fp/floatuntisf.c: Likewise.
5149 * soft-fp/floatuntitf.c: Likewise.
5150 * soft-fp/fmadf4.c: Likewise.
5151 * soft-fp/fmasf4.c: Likewise.
5152 * soft-fp/fmatf4.c: Likewise.
5153 * soft-fp/gedf2.c: Likewise.
5154 * soft-fp/gesf2.c: Likewise.
5155 * soft-fp/getf2.c: Likewise.
5156 * soft-fp/ledf2.c: Likewise.
5157 * soft-fp/lesf2.c: Likewise.
5158 * soft-fp/letf2.c: Likewise.
5159 * soft-fp/muldf3.c: Likewise.
5160 * soft-fp/mulsf3.c: Likewise.
5161 * soft-fp/multf3.c: Likewise.
5162 * soft-fp/negdf2.c: Likewise.
5163 * soft-fp/negsf2.c: Likewise.
5164 * soft-fp/negtf2.c: Likewise.
5165 * soft-fp/op-1.h: Likewise.
5166 * soft-fp/op-2.h: Likewise.
5167 * soft-fp/op-4.h: Likewise.
5168 * soft-fp/op-8.h: Likewise.
5169 * soft-fp/op-common.h: Likewise.
5170 * soft-fp/quad.h: Likewise.
5171 * soft-fp/single.h: Likewise.
5172 * soft-fp/soft-fp.h: Likewise.
5173 * soft-fp/sqrtdf2.c: Likewise.
5174 * soft-fp/sqrtsf2.c: Likewise.
5175 * soft-fp/sqrttf2.c: Likewise.
5176 * soft-fp/subdf3.c: Likewise.
5177 * soft-fp/subsf3.c: Likewise.
5178 * soft-fp/subtf3.c: Likewise.
5179 * soft-fp/truncdfsf2.c: Likewise.
5180 * soft-fp/trunctfdf2.c: Likewise.
5181 * soft-fp/trunctfsf2.c: Likewise.
5182 * soft-fp/trunctfxf2.c: Likewise.
5183 * soft-fp/unorddf2.c: Likewise.
5184 * soft-fp/unordsf2.c: Likewise.
5185 * soft-fp/unordtf2.c: Likewise.
5187 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
5190 * misc/error.c (error_tail): Fix possible buffer overflow.
5192 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
5195 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
5198 2013-10-14 P. J. McDermott <pj@pehjota.net>
5201 * elf/ldd.bash.in (try_trace): New function. Delete previous code
5202 testing pipefail option.
5204 2013-10-12 Joseph Myers <joseph@codesourcery.com>
5206 * soft-fp/double.h: Indent preprocessor directives inside #if.
5207 * soft-fp/extended.h: Likewise.
5208 * soft-fp/op-2.h: Likewise.
5209 * soft-fp/op-4.h: Likewise.
5210 * soft-fp/op-common.h: Likewise.
5211 * soft-fp/quad.h: Likewise.
5212 * soft-fp/single.h: Likewise.
5213 * soft-fp/soft-fp.h: Likewise.
5215 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
5217 * iconv/iconv_prog.c: Fix typos.
5218 * stdio-common/psiginfo-data.h: Likewise.
5220 2013-10-12 Reuben Thomas <rrt@sc3d.org>
5223 * locale/setlocale.c: Fix typo.
5225 2013-10-12 Joseph Myers <joseph@codesourcery.com>
5228 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
5229 signaling NaN arguments.
5230 * soft-fp/unordsf2.c (__unordsf2): Likewise.
5231 * soft-fp/unordtf2.c (__unordtf2): Likewise.
5234 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
5236 * soft-fp/gesf2.c (__gesf2): Likewise.
5237 * soft-fp/getf2.c (__getf2): Likewise.
5238 * soft-fp/ledf2.c (__ledf2): Likewise.
5239 * soft-fp/lesf2.c (__lesf2): Likewise.
5240 * soft-fp/letf2.c (__letf2): Likewise.
5242 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
5243 * soft-fp/eqsf2.c (__eqsf2): Likewise.
5244 * soft-fp/eqtf2.c (__eqtf2): Likewise.
5245 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
5246 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
5247 * soft-fp/fixdfti.c (__fixdfti): Likewise.
5248 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
5249 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
5250 * soft-fp/fixsfti.c (__fixsfti): Likewise.
5251 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
5252 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
5253 * soft-fp/fixtfti.c (__fixtfti): Likewise.
5254 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
5255 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
5256 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
5257 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
5258 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
5259 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
5260 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
5261 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
5262 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
5263 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
5264 * soft-fp/floatdisf.c (__floatdisf): Likewise.
5265 * soft-fp/floatsisf.c (__floatsisf): Likewise.
5266 * soft-fp/floattidf.c (__floattidf): Likewise.
5267 * soft-fp/floattisf.c (__floattisf): Likewise.
5268 * soft-fp/floattitf.c (__floattitf): Likewise.
5269 * soft-fp/floatundidf.c (__floatundidf): Likewise.
5270 * soft-fp/floatundisf.c (__floatundisf): Likewise.
5271 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
5272 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
5273 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
5274 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
5275 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
5276 * soft-fp/gesf2.c (__gesf2): Likewise.
5277 * soft-fp/getf2.c (__getf2): Likewise.
5278 * soft-fp/ledf2.c (__ledf2): Likewise.
5279 * soft-fp/lesf2.c (__lesf2): Likewise.
5280 * soft-fp/letf2.c (__letf2): Likewise.
5282 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
5283 Undefine and redefine.
5284 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
5285 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
5286 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
5287 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
5288 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5289 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
5290 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5291 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
5292 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5293 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
5294 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5295 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
5296 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5297 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
5298 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5301 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
5302 without decrementing exponent if mantissa >= that for the
5304 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
5305 denominator, not >. Decrement exponent in < case instead of
5306 incrementing in >= case.
5307 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
5308 without decrementing exponent if mantissa >= that for the
5311 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
5312 computing saturated result for unsigned overflow.
5314 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5315 Jeff Law <law@redhat.com>
5317 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
5318 (atan2Mp): Add systemtap probe marker.
5319 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
5320 (__ieee754_log): Add systemtap probe marker.
5321 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
5322 (atanMp): Add systemtap probe marker.
5323 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
5324 (tanMp): Add systemtap probe marker.
5325 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
5326 (__slowexp): Add systemtap probe marker.
5327 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
5328 (__slowpow): Add systemtap probe marker.
5329 * manual/probes.texi: Document probes.
5331 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
5334 * libio/fileops.c (_IO_new_file_write): Return count of bytes
5336 (_IO_new_file_xsputn): Don't return EOF if nothing has been
5338 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
5339 written to buffer but not flushed.
5340 * libio/iofwrite_u.c: Likewise.
5341 * libio/iopadn.c: Return bytes returned even if EOF was
5343 * libio/iowpadn.c: Likewise.
5344 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
5345 if _IO_padn does not write the whole buffer.
5346 [!COMPILE_WPRINTF] (PAD): Likewise.
5348 2013-10-10 David S. Miller <davem@davemloft.net>
5350 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
5353 2013-10-10 Joseph Myers <joseph@codesourcery.com>
5355 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
5356 instead of FSF address.
5357 * soft-fp/fixdfti.c: Likewise.
5358 * soft-fp/fixsfti.c: Likewise.
5359 * soft-fp/fixtfti.c: Likewise.
5360 * soft-fp/fixunsdfti.c: Likewise.
5361 * soft-fp/fixunssfti.c: Likewise.
5362 * soft-fp/fixunstfti.c: Likewise.
5363 * soft-fp/floattidf.c: Likewise.
5364 * soft-fp/floattisf.c: Likewise.
5365 * soft-fp/floattitf.c: Likewise.
5366 * soft-fp/floatuntidf.c: Likewise.
5367 * soft-fp/floatuntisf.c: Likewise.
5368 * soft-fp/floatuntitf.c: Likewise.
5369 * soft-fp/trunctfxf2.c: Likewise.
5371 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
5372 * soft-fp/fixdfti.c: Likewise.
5373 * soft-fp/fixsfti.c: Likewise.
5374 * soft-fp/fixtfti.c: Likewise.
5375 * soft-fp/fixunsdfti.c: Likewise.
5376 * soft-fp/fixunssfti.c: Likewise.
5377 * soft-fp/fixunstfti.c: Likewise.
5378 * soft-fp/floattidf.c: Likewise.
5379 * soft-fp/floattisf.c: Likewise.
5380 * soft-fp/floattitf.c: Likewise.
5381 * soft-fp/floatuntidf.c: Likewise.
5382 * soft-fp/floatuntisf.c: Likewise.
5383 * soft-fp/floatuntitf.c: Likewise.
5384 * soft-fp/trunctfxf2.c: Likewise.
5386 2013-10-10 David S. Miller <davem@davemloft.net>
5388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5390 2013-10-10 Joseph Myers <joseph@codsourcery.com>
5392 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5393 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
5394 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
5395 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
5396 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
5397 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
5398 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
5400 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
5401 for NaNs before doing comparisons on argument.
5402 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5405 2013-10-10 Will Newton <will.newton@linaro.org>
5407 * malloc/hooks.c (memalign_check): Ensure the value of bytes
5408 passed to _int_memalign does not overflow.
5410 2013-10-10 Torvald Riegel <triegel@redhat.com>
5412 * scripts/bench.pl: Add include-sources directive.
5413 * benchtests/README: Update documentation.
5415 2013-10-10 Joseph Myers <joseph@codesourcery.com>
5417 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
5418 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
5419 instead of FP_INIT_ROUNDMODE.
5420 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
5421 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
5424 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
5425 copy class of input value.
5426 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
5427 not handle exceptions.
5428 * soft-fp/negsf2.c (__negsf2): Likewise.
5429 * soft-fp/negtf2.c (__negtf2): Likewise.
5430 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
5432 2013-10-09 Joseph Myers <joseph@codesourcery.com>
5434 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
5435 semicolon. From Linux kernel.
5437 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
5439 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
5441 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
5444 * manual/socket.texi: Added statement about buffer
5445 for gethostbyname2_r.
5447 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
5449 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
5450 Use .p2align directive instead, throughout.
5451 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5452 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5453 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5454 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5455 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5456 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
5457 * sysdeps/x86_64/strchr.S: Likewise.
5458 * sysdeps/x86_64/strrchr.S: Likewise.
5460 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5462 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
5464 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
5466 * sysdeps/generic/math_private.h (__mpsin1): Remove
5468 (__mpcos1): Likewise.
5469 (__mpsin): New argument __range_reduce.
5470 (__mpcos): Likewise.
5471 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5472 (slow): Use __mpsin and __mpcos.
5479 (bsloww1): Likewise.
5480 (bsloww2): Likewise.
5483 (csloww1): Likewise.
5484 (csloww2): Likewise.
5485 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
5486 range_reduce. Merge in __mpsin1.
5487 (__mpcos): Likewise.
5489 (__mpcos1): Likewise.
5491 2013-10-07 Joseph Myers <joseph@codesourcery.com>
5493 * locale/loadlocale.c (_nl_intern_locale_data): Use
5495 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
5496 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
5497 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
5498 obstack data is appropriately aligned.
5499 (obstack_int32_grow_fast): Likewise.
5500 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
5501 * locale/programs/locfile.c (add_locale_uint32): Likewise.
5502 (add_locale_uint32_array): Likewise.
5504 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5506 * benchtests/Makefile: Remove ARGLIST and RET variables.
5507 ($(objpfx)bench-%.c): Pass only function name to the script.
5508 * benchtests/README: Update documentation.
5509 * benchtests/acos-inputs: Add new directives.
5510 * benchtests/acosh-inputs: Likewise.
5511 * benchtests/asin-inputs: Likewise.
5512 * benchtests/asinh-inputs: Likewise.
5513 * benchtests/atan-inputs: Likewise.
5514 * benchtests/atanh-inputs: Likewise.
5515 * benchtests/cos-inputs: Likewise.
5516 * benchtests/cosh-inputs: Likewise.
5517 * benchtests/exp-inputs: Likewise.
5518 * benchtests/log-inputs: Likewise.
5519 * benchtests/pow-inputs: Likewise.
5520 * benchtests/rint-inputs: Likewise.
5521 * benchtests/sin-inputs: Likewise.
5522 * benchtests/sinh-inputs: Likewise.
5523 * benchtests/tan-inputs: Likewise.
5524 * benchtests/tanh-inputs: Likewise.
5525 * scripts/bench.pl: Add support for new directives.
5527 2013-10-07 Alan Modra <amodra@gmail.com>
5529 * README: Fix careless merge.
5531 2013-10-05 Alan Modra <amodra@gmail.com>
5533 * NEWS: Mention powerpc64le support and bugs fixed.
5534 * README: Both big-endian and little-endian powerpc64 supported.
5536 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5538 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
5539 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
5540 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
5541 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
5543 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
5545 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
5548 2013-10-04 Joseph Myers <joseph@codesourcery.com>
5550 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
5551 Move -mhard-float appending from
5552 ports/sysdeps/powerpc/powerpc32/Makefile.
5553 [$(with-fp) = yes] (ASFLAGS): Likewise.
5554 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
5555 * sysdeps/powerpc/nofpu: Move directory from
5556 ports/sysdeps/powerpc/nofpu.
5557 * sysdeps/powerpc/soft-fp: Move directory from
5558 ports/sysdeps/powerpc/soft-fp.
5559 * sysdeps/powerpc/powerpc32/405: Move directory from
5560 ports/sysdeps/powerpc/powerpc32/405.
5561 * sysdeps/powerpc/powerpc32/440: Move directory from
5562 ports/sysdeps/powerpc/powerpc32/440.
5563 * sysdeps/powerpc/powerpc32/464: Move directory from
5564 ports/sysdeps/powerpc/powerpc32/464.
5565 * sysdeps/powerpc/powerpc32/476: Move directory from
5566 ports/sysdeps/powerpc/powerpc32/476.
5567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
5568 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
5569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
5570 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
5571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
5572 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
5573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
5574 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
5575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
5576 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
5577 * README: Update for powerpc-*-linux-gnu software floating point
5580 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
5581 case to powerpc/powerpc32*.
5582 * sysdeps/unix/sysv/linux/configure: Regenerated.
5584 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
5585 (_FPU_MASK_OM): Define as 0x04.
5586 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
5587 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
5589 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
5591 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
5593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
5594 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
5597 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
5600 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
5601 and setcontext_e500.
5603 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
5605 * locale/iso-3166.def: Update iso-1366.def and related occurrences
5607 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5609 * manual/threads.texi (Default Thread Attributes): Fix typo.
5611 2013-10-04 Will Newton <will.newton@linaro.org>
5613 * malloc/Makefile: Add tst-memalign.
5614 * malloc/tst-memalign.c: New file.
5616 * malloc/tst-posix_memalign.c: Add comments.
5617 (do_test): Add comments and call free on all potentially
5618 allocated pointers. Add space after cast.
5620 * malloc/tst-pvalloc.c: Add comments.
5621 (do_test): Add comments and call free on all potentially
5622 allocated pointers. Remove duplicate check for NULL pointer.
5623 Add space after cast.
5625 * malloc/tst-valloc.c: Add comments.
5626 (do_test): Add comments and call free on all potentially
5627 allocated pointers. Remove duplicate check for NULL pointer.
5628 Add space after cast.
5630 2013-10-04 Alan Modra <amodra@gmail.com>
5632 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5633 Use stdint types in rather than __attribute__((mode())).
5634 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5636 2013-10-04 Alan Modra <amodra@gmail.com>
5638 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5639 Correct handling of unaligned relocs for little-endian.
5640 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5642 2013-10-04 Alan Modra <amodra@gmail.com>
5644 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
5645 * configure: Regenerate.
5646 * nptl/shlib-versions: Powerpc*le starts at 2.18.
5647 * shlib-versions: Likewise.
5649 2013-10-04 Alan Modra <amodra@gmail.com>
5651 * string/tester.c (test_memrchr): Increment reported test cycle.
5653 2013-10-04 Alan Modra <amodra@gmail.com>
5655 * string/test-memcpy.c (do_one_test): When reporting errors, print
5656 string address and don't overrun end of string.
5658 2013-10-04 Alan Modra <amodra@gmail.com>
5660 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
5661 insrdi. Make better use of reg selection to speed exit slightly.
5662 Schedule entry path a little better. Remove useless "are we done"
5663 checks on entry to main loop. Handle wrapping around zero address.
5664 Correct main loop count. Handle single left-over word from main
5665 loop inline rather than by using loop_small. Remove extra word
5666 case in loop_small caused by wrong loop count. Add little-endian
5668 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5669 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
5671 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5672 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
5673 support. Avoid rlwimi.
5674 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
5676 2013-10-04 Alan Modra <amodra@gmail.com>
5678 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
5680 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5681 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5682 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5683 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5684 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5685 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
5687 2013-10-04 Alan Modra <amodra@gmail.com>
5689 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
5690 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5691 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5692 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
5693 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5694 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5695 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5696 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5697 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
5698 use of regs. Use power7 mtocrf. Tidy function tails.
5700 2013-10-04 Alan Modra <amodra@gmail.com>
5702 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
5703 Formatting. Consistently use rXXX register defines or rN defines.
5704 Use early exit labels that avoid restoring unused non-volatile regs.
5705 Make cr field use more consistent with rWORDn compares. Rename
5706 regs used as shift registers for unaligned loop, using rN defines
5707 for short lifetime/multiple use regs.
5708 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5709 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
5710 addi 1,1,64 to pop stack frame. Simplify return value code.
5711 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5713 2013-10-04 Alan Modra <amodra@gmail.com>
5715 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5716 support. Correct typos, formatting. Optimize tail. Use insrdi
5718 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5719 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5720 little-endian support. Correct typos.
5721 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
5723 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
5724 in loop and entry code to keep "and." results.
5725 (strchr): Add little-endian support. Comment. Move cntlzd
5727 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5729 2013-10-04 Alan Modra <amodra@gmail.com>
5731 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5732 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5733 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5734 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5736 2013-10-04 Alan Modra <amodra@gmail.com>
5738 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5739 (rTMP): Define as r11.
5740 (strcmp): Add little-endian support. Optimise tail.
5741 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5742 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5743 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5744 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5745 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5746 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5747 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5749 2013-10-04 Alan Modra <amodra@gmail.com>
5751 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5752 little-endian support. Remove unnecessary "are we done" tests.
5753 Handle "s" wrapping around zero and extremely large "size".
5754 Correct main loop count. Handle single left-over word from main
5755 loop inline rather than by using small_loop. Correct comments.
5756 Delete "zero" tail, use "end_max" instead.
5757 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5759 2013-10-04 Alan Modra <amodra@gmail.com>
5761 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5762 support. Don't branch over align.
5763 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5764 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5765 support. Rearrange tmp reg use to suit. Comment.
5766 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5768 2013-10-04 Alan Modra <amodra@gmail.com>
5770 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5772 2013-10-04 Alan Modra <amodra@gmail.com>
5774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5775 conditional form of branch and link when obtaining pc.
5776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5778 2013-10-04 Alan Modra <amodra@gmail.com>
5780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5785 2013-10-04 Alan Modra <amodra@gmail.com>
5787 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5788 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5789 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5790 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5791 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5792 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5793 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5794 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5795 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5796 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5798 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5799 Alistair Popple <alistair@ozlabs.au.ibm.com>
5800 Alan Modra <amodra@gmail.com>
5803 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5804 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5805 _dl_hwcap access for little-endian.
5806 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
5807 destroy vmx regs when saving unaligned.
5808 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5809 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
5810 destroy vmx regs when saving unaligned.
5812 2013-10-04 Alan Modra <amodra@gmail.com>
5814 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5815 Don't use a union to pack hi/low value.
5817 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5819 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5821 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5822 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5823 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5824 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5825 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5827 2013-10-04 Alan Modra <amodra@gmail.com>
5829 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5830 constants to usual value for .cst8 section, and remove redundant
5832 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5833 constant for 0x1p52. Load little-endian words of double from
5834 correct stack offsets.
5836 2013-10-04 Alan Modra <amodra@gmail.com>
5838 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5839 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5840 words of double from correct stack offsets.
5841 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5842 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5843 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5844 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5845 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5846 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5847 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5848 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5849 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5850 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5851 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5852 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5853 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5854 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5855 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5856 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5857 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5859 2013-10-04 Alan Modra <amodra@gmail.com>
5861 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5862 64-bit int/double union.
5863 (_FPU_SETCW): Likewise.
5864 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5865 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5867 2013-10-04 Alan Modra <amodra@gmail.com>
5869 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5870 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5872 2013-10-04 Alan Modra <amodra@gmail.com>
5874 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5875 use vector int constants.
5876 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5878 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5880 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5881 array with long long.
5882 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5883 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5884 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5885 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5886 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5887 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5888 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5889 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5890 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5891 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5892 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5893 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5894 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5896 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5898 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5899 (__signbit): Likewise. Correct for little-endian.
5900 (__signbitl): Call __signbit.
5901 (lrint): Correct for little-endian.
5902 (lrintf): Call lrint.
5904 2013-10-04 Alan Modra <amodra@gmail.com>
5906 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5907 union 32-bit int array member with 64-bit int array.
5908 (t515, tm256): Double rather than long double.
5909 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5911 2013-10-04 Alan Modra <amodra@gmail.com>
5913 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5915 (IEEE854_LONG_DOUBLE_BIAS): Delete.
5916 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5917 version of math_ldbl.h.
5919 2013-10-04 Alan Modra <amodra@gmail.com>
5921 [BZ #15734], [BZ #15735]
5922 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5923 all uses of ieee875 long double macros and unions. Simplify test
5924 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
5925 ldbl_extract_mantissa value for ix,iy exponents. Properly
5926 normalize after ldbl_extract_mantissa, and don't add hidden bit
5927 already handled. Don't treat low word of ieee854 mantissa like
5928 low word of IBM long double and mask off bit when testing for
5930 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5931 all uses of ieee875 long double macros and unions. Simplify tests
5932 for 0.0L and inf. Correct double adjustment of k. Delete dead code
5933 adjusting ha,hb. Simplify code setting kld. Delete two600 and
5934 two1022, instead use their values. Recognise that tests for large
5935 "a" and small "b" are mutually exclusive. Rename vars. Comment.
5936 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5937 Rewrite all uses of ieee875 long double macros and unions. Simplify
5938 test for 0.0L and nan. Correct negation.
5939 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5940 ieee875 long double macros and unions. Correct output for large
5941 magnitude x. Correct absolute value calculation.
5942 (__erfcl): Likewise.
5943 * math/libm-test.inc: Add tests for errors discovered in IBM long
5944 double versions of fmodl, remainderl, erfl and erfcl.
5946 2013-10-04 Alan Modra <amodra@gmail.com>
5948 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5949 all uses of ieee854 long double macros and unions. Simplify tests
5950 for long doubles that are fully specified by the high double.
5951 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5953 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5954 Remove dead code too.
5955 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5956 (__ieee754_ynl): Likewise.
5957 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5958 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5959 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5960 Remove dead code too.
5961 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5962 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5963 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5964 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5966 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5968 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5969 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5970 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5971 Comment on variable precision.
5972 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5973 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5975 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5976 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5977 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5978 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5979 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5981 2013-10-04 Alan Modra <amodra@gmail.com>
5983 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5984 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5985 all uses of ieee854 long double macros and unions.
5986 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5987 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5988 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5989 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5990 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5991 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5993 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5994 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5995 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5996 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5997 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5998 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5999 Simplify sign and nan test too.
6000 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
6001 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6002 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
6003 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6005 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6006 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6008 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6009 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6010 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6011 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6012 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6013 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6015 2013-10-04 Alan Modra <amodra@gmail.com>
6017 * stdio-common/printf_size.c (__printf_size): Don't use
6018 union ieee854_long_double in fpnum union.
6019 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
6020 signbit macro to retrieve sign from long double.
6021 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6022 retrieve sign from long double.
6023 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6024 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6025 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6026 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6027 * math/test-misc.c (main): Don't use union ieee854_long_double.
6029 2013-10-04 Alan Modra <amodra@gmail.com>
6032 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6033 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6034 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6035 calculation. Remove unnecessary test for denormal exponent.
6036 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6037 Correct handling of denormals. Avoid undefined shift behaviour.
6038 Correct normalisation of low mantissa when low double is denormal.
6039 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6040 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
6041 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
6042 Correct normalisation of low mantissa. Test for overflow of high
6043 mantissa and normalise.
6044 (ldbl_nearbyint): Use more readable constant for two52.
6045 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
6046 (__mpn_construct_long_double): Fix test for overflow of high
6047 mantissa and correct normalisation. Avoid undefined shift.
6049 2013-10-04 Alan Modra <amodra@gmail.com>
6051 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6052 (union ibm_extended_long_double): Define as an array of ieee754_double.
6053 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
6054 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
6055 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
6056 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6057 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6058 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
6059 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6060 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6061 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6062 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
6063 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6065 2013-10-03 Joseph Myers <joseph@codesourcery.com>
6067 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
6068 page size instead of calling getpagesize.
6070 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
6071 (LOCFILE_ALIGN_MASK): Likewise.
6072 (LOCFILE_ALIGN_UP): Likewise.
6073 (LOCFILE_ALIGNED_P): Likewise.
6074 * locale/programs/ld-collate.c (collate_output): Use the new
6075 macros instead of __alignof__ (int32_t).
6076 * locale/weight.h (findidx): Likewise.
6078 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
6081 * manual/string.texi: Fix strncat and wcsncat.
6083 2013-10-03 Brooks Moses <bmoses@google.com>
6086 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
6087 * Makerules: ...here, and adjust associated comments.
6089 2013-10-02 Will Newton <will.newton@linaro.org>
6091 * malloc/Makefile: Add tst-pvalloc.
6092 * malloc/tst-pvalloc.c: New file.
6094 2013-10-02 Will Newton <will.newton@linaro.org>
6096 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
6097 improve test coverage.
6099 2013-10-02 Will Newton <will.newton@linaro.org>
6101 * malloc/Makefile: Add tst-posix_memalign.
6102 * malloc/tst-posix_memalign.c: New file.
6104 2013-10-01 Eric Blake <eblake@redhat.com>
6106 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
6107 Use __THROWNL rather than __THROW on static functions.
6109 2013-09-30 Petr Machata <pmachata@redhat.com>
6111 * elf/elf.h (R_AARCH64_ABS16): New macro.
6112 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
6113 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
6114 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
6115 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
6116 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
6117 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
6118 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
6119 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
6120 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
6121 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
6122 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
6123 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
6124 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
6125 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
6126 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
6127 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
6128 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
6129 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
6130 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
6131 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
6132 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
6133 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
6134 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
6135 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
6136 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
6137 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
6138 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
6139 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
6140 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
6141 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
6142 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
6143 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
6144 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
6145 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
6146 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
6147 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
6148 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
6149 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
6150 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
6151 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
6152 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
6153 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
6154 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
6155 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
6156 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
6157 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
6158 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
6159 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
6160 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
6161 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
6162 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
6163 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
6164 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
6165 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
6166 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
6167 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
6168 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
6169 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
6170 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
6171 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
6172 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
6173 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
6174 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
6175 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
6176 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
6177 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
6178 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
6179 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
6180 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
6181 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
6182 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
6183 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
6184 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
6185 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
6186 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
6187 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
6188 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
6189 (R_AARCH64_TLSDESC_LDR): Likewise.
6190 (R_AARCH64_TLSDESC_ADD): Likewise.
6191 (R_AARCH64_TLSDESC_CALL): Likewise.
6193 2013-09-30 Andreas Schwab <schwab@suse.de>
6196 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
6197 the nss database lookup.
6198 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6199 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6201 2013-09-28 Mike Frysinger <vapier@gentoo.org>
6203 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
6205 2013-09-28 P. J. McDermott <pj@pehjota.net>
6207 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
6208 ${Bash-specific parameter/pattern/string} parameter expansion.
6209 * sysdeps/unix/make-syscalls.sh: Likewise.
6211 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6213 * sysdeps/sh/stackguard-macros.h: New file.
6215 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
6217 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6218 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
6219 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
6220 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
6221 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6222 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
6224 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6226 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
6227 Fix thread ID register.
6229 2013-09-25 Joseph Myers <joseph@codesourcery.com>
6231 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
6232 [POSIX || UNIX98]: Require rather than permitting all symbols from
6234 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
6235 element of struct sched_param.
6236 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
6237 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
6238 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
6239 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
6242 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
6244 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
6245 argument calculation.
6247 2013-09-24 Joseph Myers <joseph@codesourcery.com>
6249 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
6251 [POSIX] (pthread_attr_t): Do not require type.
6252 [POSIX] (pthread_cond_t): Likewise.
6253 [POSIX] (pthread_condattr_t): Likewise.
6254 [POSIX] (pthread_key_t): Likewise.
6255 [POSIX] (pthread_mutex_t): Likewise.
6256 [POSIX] (pthread_mutexattr_t): Likewise.
6257 [POSIX] (pthread_once_t): Likewise.
6258 [POSIX] (pthread_t): Likewise.
6259 [POSIX-based standards] (pthread_atfork): Expect function.
6261 2013-09-24 Joseph Myers <joseph@codesourcery.com>
6262 Richard Sandiford <richard@codesourcery.com>
6264 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
6265 (swap_endianness_p): New extern variable.
6266 (set_big_endian): New inline function.
6267 (maybe_swap_uint32): Likewise.
6268 (maybe_swap_uint32_array): Likewise.
6269 (maybe_swap_uint32_obstack): Likewise.
6270 * locale/programs/locfile.c: Include <stdbool.h>.
6271 (swap_endianness_p): New variable.
6272 (add_locale_uint32): Call maybe_swap_uint32.
6273 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
6274 (write_locale_data): Call maybe_swap_uint32_array.
6275 * locale/programs/ld-collate.c (obstack_int32_grow): Call
6277 (obstack_int32_grow_fast): Likewise.
6278 (output_weightwc): Call maybe_swap_uint32_obstack.
6279 (collate_output): Likewise.
6280 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
6281 (OPT_LITTLE_ENDIAN): Likewise.
6282 (options): Add --little-endian and --big-endian options.
6283 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
6284 * locale/programs/locarchive.c: Include "locfile.h".
6288 (create_archive): Use the new macros to access fields of
6289 structures directly mapped from or written to locale archives.
6290 (oldlocrecentcmp): Likewise.
6291 (enlarge_archive): Likewise.
6292 (insert_name): Likewise.
6293 (add_alias): Likewise.
6294 (add_locale): Likewise.
6295 (delete_locales_from_archive): Likewise.
6296 (show_archive_content): Likewise.
6297 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
6300 2013-09-24 Roland McGrath <roland@hack.frob.com>
6302 * manual/freemanuals.texi: Updated from (newly) canonical copy at
6303 http://www.gnu.org/doc/freemanuals.texi.
6304 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
6306 2013-09-24 Will Newton <will.newton@linaro.org>
6308 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
6311 2013-09-23 Joseph Myers <joseph@codesourcery.com>
6313 * locale/hashval.h (compute_hashval): Interpret bytes of key as
6316 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
6318 * manual/threads.texi (POSIX Threads): Fix a typo.
6320 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6323 * string/tst-strcoll-overflow.c: New test case.
6324 * string/Makefile (xtests): Add tst-strcoll-overflow.
6325 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
6326 cache if string sizes may cause integer overflow.
6329 * string/strcoll_l.c (coll_seq): New members rule, idx,
6330 save_idx and back_us.
6331 (get_next_seq_nocache): New function.
6332 (do_compare_nocache): New function.
6333 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
6336 2013-09-23 Carlos O'Donell <carlos@redhat.com>
6339 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
6340 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
6341 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
6344 * elf/Makefile (tests): Add tst-ptrguard1.
6345 (tests-static): Add tst-ptrguard1-static.
6346 (tst-ptrguard1-ARGS): Define.
6347 (tst-ptrguard1-static-ARGS): Define.
6348 * elf/tst-ptrguard1.c: New file.
6349 * elf/tst-ptrguard1-static.c: New file.
6350 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
6351 * sysdeps/i386/stackguard-macros.h: Likewise.
6352 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6353 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6354 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6355 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6356 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6357 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6359 2013-09-23 Hector Marco <hecmargi@upv.es>
6360 Ismael Ripoll <iripoll@disca.upv.es>
6361 Carlos O'Donell <carlos@redhat.com>
6364 * sysdeps/generic/stackguard-macros.h: Define
6365 __pointer_chk_guard_local and POINTER_CHK_GUARD.
6366 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
6367 Define __pointer_chk_guard_local.
6368 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
6369 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
6371 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
6374 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
6376 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
6378 * include/string.h (__ffs): Declare as hidden.
6379 * string/ffs.c (__ffs): Define as hidden.
6380 * sysdeps/i386/ffs.c (__ffs): Likewise.
6381 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6382 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
6383 * sysdeps/s390/ffs.c (__ffs): Likewise.
6384 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
6386 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
6388 * NEWS: Mention malloc probes.
6390 * malloc/arena.c (new_heap): New memory_heap_new probe.
6391 (grow_heap): New memory_heap_more probe.
6392 (shrink_heap): New memory_heap_less probe.
6393 (heap_trim): New memory_heap_free probe.
6394 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
6395 (systrim): New memory_sbrk_less probe.
6396 * manual/probes.texi: Document them.
6398 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
6399 * manual/probes.texi: Document it.
6401 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
6402 (__libc_realloc): Add memory_realloc_retry probe.
6403 (__libc_memalign): Add memory_memalign_retry probe.
6404 (__libc_valloc): Add memory_valloc_retry probe.
6405 (__libc_pvalloc): Add memory_pvalloc_retry probe.
6406 (__libc_calloc): Add memory_calloc_retry probe.
6407 * manual/probes.texi: Document them.
6409 * malloc/arena.c (get_free_list): Add probe
6410 memory_arena_reuse_free_list.
6411 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
6412 and memory_arena_reuse.
6413 (arena_get2) [!PER_THREAD]: Likewise.
6414 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
6415 memory_arena_reuse_realloc.
6416 * manual/probes.texi: Document them.
6418 * malloc/malloc.c (__libc_free): Add
6419 memory_mallopt_free_dyn_thresholds probe.
6420 (__libc_mallopt): Add multiple memory_mallopt probes.
6421 * manual/probes.texi: Document them.
6423 * malloc/malloc.c: Include stap-probe.h.
6424 (__libc_mallopt): Add memory_mallopt probe.
6425 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
6426 * manual/probes.texi: New.
6427 * manual/Makefile (chapters): Add probes.
6428 * manual/threads.texi: Set next node.
6430 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
6433 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
6434 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
6435 Add `Chinese' to `nan' entry name.
6437 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6439 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
6440 (POLYNOMIAL): Likewise.
6441 (TAYLOR_SINCOS): Likewise.
6442 (TAYLOR_SLOW): Likewise.
6443 (__sin): Use TAYLOR_SINCOS.
6445 (slow): Use TAYLOR_SLOW.
6450 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6452 * stdlib/strtod_l.c: Fix buffer overrun.
6454 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6456 * benchtests/Makefile (bench): Add sincos.
6457 * benchtests/bench-sincos.c: New file.
6459 * math/libm-test.inc (cos_test_data): New test inputs.
6460 (sin_test_data): Likewise.
6462 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
6470 (bsloww1): Likewise.
6471 (bsloww2): Likewise.
6473 (csloww1): Likewise.
6474 (csloww2): Likewise.
6476 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
6481 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
6485 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
6487 * config.h.in (HAVE_MIPS_NAN2008): New macro.
6488 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
6489 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
6490 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
6491 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
6492 * elf/cache.c (print_entry): Handle the new cache flags.
6494 2013-09-18 Joseph Myers <joseph@codesourcery.com>
6495 Aldy Hernandez <aldyh@redhat.com>
6497 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
6498 Change condition to [_SOFT_FLOAT].
6499 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
6500 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
6501 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
6502 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
6503 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
6504 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
6505 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
6506 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
6507 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
6508 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
6509 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
6510 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
6511 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
6512 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
6513 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
6514 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
6517 2013-09-18 Joseph Myers <joseph@codesourcery.com>
6519 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
6520 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6521 (__longjmp): Use LOAD_GP to load saved GPRs.
6522 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
6523 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6524 (__sigsetjmp): Use SAVE_GP to save GPRs.
6526 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
6527 Do not append -msoft-float.
6528 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
6530 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6532 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
6534 2013-09-17 Joseph Myers <joseph@codesourcery.com>
6537 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
6538 (_FPU_GETCW): Use initial "__" on variable and field names but not
6539 on macro parameter name.
6540 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
6541 parentheses around reference to macro parameter.
6543 2013-09-13 Richard Sandiford <richard@codesourcery.com>
6545 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
6547 (ctype_startup): Use uint32_t in cast and sizeof for
6550 2013-09-11 Jia Liu <proljc@gmail.com>
6552 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
6554 [__FreeBSD__]: Likewise.
6556 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
6558 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6559 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
6560 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
6561 (strchr): Remove __strchr_sse42 ifunc selection.
6562 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
6563 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
6565 2013-09-11 Will Newton <will.newton@linaro.org>
6567 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
6568 parameter to RES. Remove hardcoded 1000 value.
6569 * benchtests/bench-skeleton.c (main): Pass RES parameter
6570 to TIMING_INIT and multiply result by 1000.
6572 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6576 2013-09-11 Andreas Schwab <schwab@suse.de>
6578 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6580 (O_TMPFILE) [__USE_GNU]: Define.
6581 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
6584 2013-09-11 Will Newton <will.newton@linaro.org>
6587 * malloc/malloc.c (__libc_memalign): Check the value of bytes
6590 2013-09-11 Will Newton <will.newton@linaro.org>
6593 * malloc/malloc.c (__libc_valloc): Check the value of bytes
6596 2013-09-11 Will Newton <will.newton@linaro.org>
6599 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
6602 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
6604 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
6605 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6606 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6607 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6608 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6610 2013-09-10 Allan McRae <allan@archlinux.org>
6613 * manual/arith.texi (Parsing of Floats): Clarify
6617 * manual/install.texi (Running make install): Mention
6619 * INSTALL: Regenerated.
6621 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6623 * csu/init-first.c (_init): Remove the !SHARED condition around
6624 FPU control word initialization.
6625 * elf/dl-support.c (_dl_fpu_control): New variable.
6626 (_dl_aux_init) <AT_FPUCW>: Initialize it.
6627 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
6628 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
6629 * math/test-fpucw-static.c: New file.
6630 * math/test-fpucw-ieee.c: New file.
6631 * math/test-fpucw-ieee-static.c: New file.
6632 * math/Makefile (tests): Add `test-fpucw-ieee' and
6634 (tests-static): New variable.
6635 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
6637 [($(build-shared),yes)]
6638 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6640 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
6643 2013-09-09 Allan McRae <allan@archlinux.org>
6646 * manual/string.texi (Collation Functions): Fix typo in
6648 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
6651 * stdlib/isomac.c (get_null_defines): Fix memory leak.
6654 * libio/memstream.c (open_memstream): Fix memory leak.
6655 * libio/wmemstream.c (open_wmemstream): Likewise.
6658 * nscd/netgroupcache.c: Fix nesting of ifdefs.
6660 2013-09-09 Will Newton <will.newton@linaro.org>
6662 * malloc/Makefile: Add tst-realloc to tests.
6663 * malloc/tst-realloc.c: New file.
6665 2013-09-09 Allan McRae <allan@archlinux.org>
6668 * COPYING: Update from GNU website to fix FSF address.
6669 * COPYING.LIB: Likewise.
6671 2013-09-06 David S. Miller <davem@davemloft.net>
6673 * po/zh_TW.po: Update Chinese (traditional) translation from
6674 translation project.
6676 2013-09-06 Richard Sandiford <richard@codesourcery.com>
6677 Joseph Myers <joseph@codesourcery.com>
6679 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
6681 (obstack_chunk_alloc): New macro.
6682 (obstack_chunk_free): Likewise.
6683 (record_offset): New function.
6684 (init_locale_data): Likewise.
6685 (align_locale_data): Likewise.
6686 (add_locale_empty): Likewise.
6687 (add_locale_raw_data): Likewise.
6688 (add_locale_raw_obstack): Likewise.
6689 (add_locale_string): Likewise.
6690 (add_locale_wstring): Likewise.
6691 (add_locale_uint32): Likewise.
6692 (add_locale_uint32_array): Likewise.
6693 (add_locale_char): Likewise.
6694 (start_locale_structure): Likewise.
6695 (end_locale_structure): Likewise.
6696 (start_locale_prelude): Likewise.
6697 (end_locale_prelude): Likewise.
6698 (write_locale_data): Take locale_file structure rather than an
6700 * locale/programs/locfile.h: Include "obstack.h".
6701 (struct locale_file): Change to store locale file contents instead
6703 (init_locale_data): New prototype.
6704 (align_locale_data): Likewise.
6705 (add_locale_empty): Likewise.
6706 (add_locale_raw_data): Likewise.
6707 (add_locale_raw_obstack): Likewise.
6708 (add_locale_string): Likewise.
6709 (add_locale_wstring): Likewise.
6710 (add_locale_uint32): Likewise.
6711 (add_locale_uint32_array): Likewise.
6712 (add_locale_char): Likewise.
6713 (start_locale_structure): Likewise.
6714 (end_locale_structure): Likewise.
6715 (start_locale_prelude): Likewise.
6716 (end_locale_prelude): Likewise.
6717 (write_locale_data): Update prototype.
6718 * locale/programs/3level.h (struct TABLE): Remove result field.
6719 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6720 Use new locale_file interface.
6721 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6722 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6723 * locale/programs/ld-address.c (address_output): Use new
6724 locale_file interface.
6725 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6727 (collate_finish): Don't call collseq_table_finalize.
6728 (collate_output): Use new locale_file interface.
6729 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6731 (NO_FINALIZE): Change to NO_ADD_LOCALE.
6732 (TABLE): Move defines earlier in file.
6733 (ELEMENT): Likewise.
6734 (DEFAULT): Likewise.
6735 (wctrans_table_add): Move macro and inline function earlier in
6737 (struct wctype_table): Move type earlier in file.
6738 (add_locale_wctype_table): New static prototype.
6739 (struct locale_ctype_t): Use logical types instead of struct iovec
6740 pointers for members.
6741 (ctype_output): Use new locale_file interface.
6742 (wctype_table_finalize): Change to add_locale_wctype_table. Use
6743 new locale_file interface.
6744 (allocate_arrays): Update for use of new locale_file interface.
6745 * locale/programs/ld-identification.c (identification_output): Use
6746 new locale_file interface.
6747 * locale/programs/ld-measurement.c (measurement_output): Likewise.
6748 * locale/programs/ld-messages.c (messages_output): Likewise.
6749 * locale/programs/ld-monetary.c (monetary_output): Likewise.
6750 * locale/programs/ld-name.c (name_output): Likewise.
6751 * locale/programs/ld-numeric.c (numeric_output): Likewise.
6752 * locale/programs/ld-paper.c (paper_output): Likewise.
6753 * locale/programs/ld-telephone.c (telephone_output): Likewise.
6754 * locale/programs/ld-time.c (time_output): Likewise.
6756 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6758 * benchtests/Makefile: Add memrchr benchmark.
6759 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6760 benchmark as memrchr.
6761 * benchtests/bench-memrchr-ifunc.c: New file.
6762 * benchtests/bench-memrchr.c: New file.
6764 2013-09-06 Will Newton <will.newton@linaro.org>
6766 * benchtests/Makefile (string-bench): Add memcpy.
6768 2013-09-05 Carlos O'Donell <carlos@redhat.com>
6769 Cong Wang <amwang@redhat.com>
6772 * sysdeps/unix/sysv/linux/bits/in.h
6773 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6774 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6775 before __USE_KERNEL_IPV6_DEFS uses.
6776 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6778 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6779 sockaddr_in6, or ipv6_mreq.
6781 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6783 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6784 memory access for final bytes in some large inputs.
6785 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6787 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6789 * string/test-memrchr.c: New file.
6790 * string/test-memrchr-ifunc.c: New file.
6791 * string/Makefile: Add new memrchr testcase.
6793 2013-09-05 Mike Frysinger <vapier@gentoo.org>
6795 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6796 fanotify_init returns EPERM.
6798 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6800 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6802 (top level): Treat second token from macro or constant entries for
6803 allowed headers as allowed.
6804 * include/complex.h: Condition internal declarations on
6806 * include/fenv.h: Condition include of <stdbool.h> and internal
6807 declarations on [!_ISOMAC].
6809 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
6812 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6814 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6816 * configure.in (--enable-versioning): Remove configure option.
6817 (libc_cv_asm_symver_directive): Remove configure test.
6818 (libc_cv_ld_version_script_option): Likewise.
6819 (VERSIONING): Remove variable and AC_SUBST.
6820 (DO_VERSIONING): Remove AC_DEFINE.
6821 * configure: Regenerated.
6822 * config.h.in (DO_VERSIONING): Remove macro.
6823 * Makerules [$(versioning) = yes]: Change conditionals to
6824 [$(build-shared) = yes].
6825 * config.make.in (versioning): Remove variable.
6826 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6827 [$(build-shared) = yes].
6828 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6829 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6830 * elf/Makefile [$(versioning) = yes]: Change conditionals to
6831 [$(build-shared) = yes].
6832 * extra-lib.mk [$(versioning) = yes]: Likewise.
6833 * hurd/Makefile [$(versioning) = yes]: Likewise.
6834 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6836 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6838 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6839 [SHARED && !NO_HIDDEN].
6840 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6842 [SHARED && DO_VERSIONING]: Likewise..
6843 * libio/Makefile [$(versioning) = yes]: Change conditionals to
6844 [$(build-shared) = yes].
6845 * manual/install.texi (--disable-versioning): Remove
6847 * INSTALL: Regenerated.
6848 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6850 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6851 [$(build-shared) = yes].
6852 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6853 * sysdeps/i386/i686/multiarch/strstr-c.c
6854 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6855 [SHARED && !NO_HIDDEN].
6856 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6857 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6858 * sysdeps/powerpc/powerpc32/dl-machine.c
6859 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6860 * sysdeps/powerpc/powerpc32/sysdep.h
6861 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6862 to [SHARED && PIC && !NO_HIDDEN].
6863 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6864 conditional to [SHARED].
6866 2013-09-04 Will Newton <will.newton@linaro.org>
6868 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6869 * benchtests/bench-string.h: Include bench-timing.h instead
6870 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6871 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6872 call to HP_TIMING_DIFF_INIT.
6873 * benchtests/bench-memccpy.c: Use bench-timing.h macros
6874 instead of hp-timing.h macros.
6875 * benchtests/bench-memchr.c: Likewise.
6876 * benchtests/bench-memcmp.c: Likewise.
6877 * benchtests/bench-memcpy.c: Likewise.
6878 * benchtests/bench-memmem.c: Likewise.
6879 * benchtests/bench-memmove.c: Likewise.
6880 * benchtests/bench-memset.c: Likewise.
6881 * benchtests/bench-rawmemchr.c: Likewise.
6882 * benchtests/bench-strcasecmp.c: Likewise.
6883 * benchtests/bench-strcasestr.c: Likewise.
6884 * benchtests/bench-strcat.c: Likewise.
6885 * benchtests/bench-strchr.c: Likewise.
6886 * benchtests/bench-strcmp.c: Likewise.
6887 * benchtests/bench-strcpy.c: Likewise.
6888 * benchtests/bench-strcpy_chk.c: Likewise.
6889 * benchtests/bench-strlen.c: Likewise.
6890 * benchtests/bench-strncasecmp.c: Likewise.
6891 * benchtests/bench-strncat.c: Likewise.
6892 * benchtests/bench-strncmp.c: Likewise.
6893 * benchtests/bench-strncpy.c: Likewise.
6894 * benchtests/bench-strnlen.c: Likewise.
6895 * benchtests/bench-strpbrk.c: Likewise.
6896 * benchtests/bench-strrchr.c: Likewise.
6897 * benchtests/bench-strspn.c: Likewise.
6898 * benchtests/bench-strstr.c: Likewise.
6900 2013-09-04 Will Newton <will.newton@linaro.org>
6902 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6904 2013-09-03 Joseph Myers <joseph@codesourcery.com>
6907 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6908 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6909 * math/libm-test.inc (lgamma_test_data): Add more tests.
6910 * sysdeps/i386/fpu/libm-test-ulps: Update.
6911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6913 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
6915 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6916 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6918 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6919 Add strcmp-sse2-unaligned
6920 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6922 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6924 * Versions.def (libc): Add GLIBC_2.19.
6926 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6928 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6929 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6931 2013-09-02 Joseph Myers <joseph@codesourcery.com>
6934 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6935 intermediate calculations in recurrence.
6936 (__ieee754_ynf): Likewise.
6937 * math/libm-test.inc (jn_test_data): Do not allow spurious
6938 underflow exception. Add more tests.
6939 (yn_test_data): Add more tests.
6940 * sysdeps/i386/fpu/libm-test-ulps: Update.
6941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6943 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
6945 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6947 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6949 * csu/init-first.c: Fix then/than typos.
6950 * locale/programs/ld-collate.c: Likewise.
6951 * locale/programs/linereader.h: Likewise.
6952 * manual/charset.texi: Likewise.
6953 * manual/filesys.texi: Likewise.
6954 * manual/stdio.texi: Likewise.
6955 * manual/string.texi: Likewise.
6956 * stdlib/fmtmsg.c: Likewise.
6957 * sysdeps/i386/stpncpy.S: Likewise.
6958 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6959 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6960 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6961 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6963 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6965 * elf/dl-open.c: Fix typos.
6966 * iconvdata/gbbig5.c: Likewise.
6967 * iconvdata/iso-2022-jp.c: Likewise.
6968 * iconv/gconv_int.h: Likewise.
6969 * iconv/loop.c: Likewise.
6970 * nis/rpcsvc/nis.h: Likewise.
6971 * resolv/ns_name.c: Likewise.
6972 * stdio-common/vfscanf.c: Likewise.
6973 * streams/stropts.h: Likewise.
6974 * sunrpc/rpc_thread.c: Likewise.
6975 * sysdeps/i386/strpbrk.S: Likewise.
6976 * sysdeps/ieee754/k_standard.c: Likewise.
6977 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6978 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6979 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6980 * sysdeps/mach/hurd/profil.c: Likewise.
6981 * sysdeps/s390/dl-procinfo.h: Likewise.
6982 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6983 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6984 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6985 * sysdeps/x86_64/dl-trampoline.S: Likewise.
6986 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6988 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6990 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6991 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6993 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
6995 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6997 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6998 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6999 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
7000 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
7001 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
7002 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
7003 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
7004 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
7006 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7007 Roland McGrath <roland@hack.frob.com>
7009 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7010 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7012 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
7014 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7015 __executable_start symbol instead of _start.
7017 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7019 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7020 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7022 * sysdeps/gnu/ldsodefs.h: ... this new file.
7024 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7025 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7026 instead of ELFOSABI_LINUX.
7028 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
7029 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7030 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7031 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7033 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7034 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7035 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7037 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7038 (ibm_extended_long_double): Add ieee_nan member.
7039 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
7040 (do_test): New function.
7042 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7044 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7045 functions, renamed from truncdfsf_test, trunctfsf_test,
7047 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7049 (do_test): Run all these.
7051 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
7053 * argp/argp-help.c: Fix typos.
7054 * argp/argp-parse.c: Likewise.
7055 * debug/backtracesyms.c: Likewise.
7056 * elf/elf.h: Likewise.
7057 * malloc/malloc.c: Likewise.
7058 * nis/nis_print.c: Likewise.
7059 * resolv/res_comp.c: Likewise.
7060 * stdlib/stdlib.h: Likewise.
7061 * sunrpc/clnt_tcp.c: Likewise.
7062 * sunrpc/clnt_udp.c: Likewise.
7063 * sunrpc/clnt_unix.c: Likewise.
7064 * sysdeps/unix/bsd/ptsname.c: Likewise.
7065 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7066 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
7067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
7069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
7071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7073 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7075 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7077 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
7078 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7080 2013-08-27 Mike Frysinger <vapier@gentoo.org>
7083 * dlfcn/Makefile (tests): Add bug-dl-leaf.
7084 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
7085 ($(objpfx)bug-dl-leaf): New rule.
7086 ($(objpfx)bug-dl-leaf.so): Likewise.
7087 ($(objpfx)bug-dl-leaf.out): Likewise.
7088 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
7089 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
7090 * dlfcn/bug-dl-leaf.c: New test.
7091 * dlfcn/bug-dl-leaf-lib.c: Likewise.
7092 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
7093 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
7094 (dlclose): Likewise.
7095 (dlmopen): Likewise.
7097 2013-08-27 Roland McGrath <roland@hack.frob.com>
7099 * include/netdb.h [!_ISOMAC]:
7100 Don't include <tls.h>.
7101 (h_errno, __libc_h_errno): Move declaration and macros out of
7104 * include/resolv.h [_RESOLV_H_]:
7105 Don't include <tls.h>.
7106 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
7107 * resolv/res_libc.c: Don't include <tls.h>.
7108 (_res): Use __attribute__ ((nocommon)) in place of
7109 __attribute__ ((section (".bss"))).
7111 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
7112 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
7114 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
7116 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
7117 only under [SIOCGIFCONF && SIOCGIFNETMASK].
7119 * resolv/res_mkquery.c: Include <sys/time.h>.
7121 * inet/ifreq.c: Moved to ...
7122 * sysdeps/unix/ifreq.c: ... here.
7123 * inet/ifreq.c: New file, true stub version.
7125 * socket/sa_len.c: New file.
7126 * socket/Makefile (aux): Add it.
7127 * sysdeps/unix/sysv/linux/Makefile
7128 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
7129 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
7130 and #include <socket/sa_len.c>.
7131 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
7132 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
7134 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
7135 * bits/socket.h: ... here.
7137 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
7138 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
7139 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
7141 2013-08-27 Andreas Schwab <schwab@suse.de>
7144 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
7145 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
7146 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
7147 * string/test-strcasecmp.c (test_main): Run tests in several
7149 * string/test-strncasecmp.c (test_main): Likewise.
7151 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
7152 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
7153 to __strcasecmp_nonascii and __strncasecmp_nonascii.
7154 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
7155 (__strncasecmp_ssse3) [PIC]: Likewise.
7157 2013-08-26 Roland McGrath <roland@hack.frob.com>
7159 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
7161 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
7162 instead of explicitly declaring xdecrypt.
7163 * nis/nss_nis/nis-publickey.c: Likewise.
7165 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7168 * nscd/aicache.c: Include res_hconf.h.
7169 (addhstaiX): Initialize res_hconf.
7171 2013-08-26 Andreas Schwab <schwab@suse.de>
7173 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
7174 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
7176 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7178 * nscd/aicache.c (addhstaiX): Fix indentation.
7180 2013-08-25 Mike Frysinger <vapier@gentoo.org>
7182 * configure.ac: Quote $build_pt_chown test.
7183 * configure: Regenerated.
7185 2013-08-23 Joseph Myers <joseph@codesourcery.com>
7188 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
7189 * math/s_cexpf.c (__cexpf): Likewise.
7190 * math/s_cexpl.c (__cexpl): Likewise.
7191 * math/libm-test.inc (cexp_test_data): Correct expected return
7192 value for NaN + i0. Add another test.
7194 2013-08-22 David S. Miller <davem@davemloft.net>
7196 * po/ca.po: Update Catalan translation from translation project.
7197 * po/uk.po: Add Ukrainian translations from translation project.
7199 2013-08-21 Joseph Myers <joseph@codesourcery.com>
7202 * math/s_fdim.c (__fdim): Check for infinite arguments if result
7203 is infinite, not alongside NaN test.
7204 * math/s_fdimf.c (__fdimf): Likewise.
7205 * math/s_fdiml.c (__fdiml): Likewise.
7206 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
7209 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
7211 * argp/argp-help.c: Fix typos.
7212 * crypt/speeds.c: Likewise.
7213 * csu/check_fds.c: Likewise.
7214 * elf/dl-load.c: Likewise.
7215 * elf/dl-open.c: Likewise.
7216 * elf/reldep3.c: Likewise.
7217 * elf/reldep.c: Likewise.
7218 * elf/sprof.c: Likewise.
7219 * iconv/iconv_charmap.c: Likewise.
7220 * iconv/skeleton.c: Likewise.
7221 * iconv/strtab.c: Likewise.
7222 * io/lockf64.c: Likewise.
7223 * libio/libioP.h: Likewise.
7224 * resolv/gai_notify.c: Likewise.
7225 * resolv/ns_name.c: Likewise.
7226 * resolv/ns_samedomain.c: Likewise.
7227 * resolv/res_send.c: Likewise.
7228 * stdlib/random.c: Likewise.
7229 * sunrpc/rpc/xdr.h: Likewise.
7230 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
7231 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7232 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7233 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7234 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7235 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7236 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7237 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7238 * sysdeps/mach/hurd/check_fds.c: Likewise.
7239 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7240 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7241 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7242 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7243 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7244 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7245 * sysdeps/pthread/aio_notify.c: Likewise.
7246 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
7247 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
7248 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
7249 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7250 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7252 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7254 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
7255 version if bit_Slow_SSE4_2 is set.
7256 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7257 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7259 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7262 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
7263 trampoline stack frame information.
7264 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
7265 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
7266 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
7267 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
7268 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
7269 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7270 (_libc_vdso_platform_setup): Initialize the signal trampolines.
7271 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
7273 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
7274 interrupting a syscall and set with option SA_SIGINFO.
7276 2013-08-20 Joseph Myers <joseph@codesourcery.com>
7279 * math/s_cproj.c (__cproj): Only return an infinity if one part of
7280 argument is infinite.
7281 * math/s_cprojf.c (__cprojf): Likewise.
7282 * math/s_cprojl.c (__cprojl): Likewise.
7283 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
7284 * math/libm-test.inc (cproj_test_data): Add more tests.
7286 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
7288 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
7289 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
7290 size. Use __ffs to determine corresponding shift.
7292 2013-08-20 Joseph Myers <joseph@codesourcery.com>
7293 Roland McGrath <roland@hack.frob.com>
7295 * Makefile (INSTALL): Remove trailing blank lines from output of
7298 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7300 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
7301 Align 32 bit compat elf_greg to 8 bytes.
7303 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7305 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
7307 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7309 * string/strcoll_l.c (coll_seq): New structure.
7310 (get_next_seq_cached): New function.
7311 (get_next_seq): New function.
7312 (do_compare): New function.
7313 (STRCOLL): Use GNU style definition. Simplify implementation
7314 by using get_next_seq, get_next_seq_cached and do_compare.
7316 2013-08-16 Florian Weimer <fweimer@redhat.com>
7320 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
7322 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
7324 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
7325 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
7326 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
7328 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
7329 GETDENTS_64BIT_ALIGNED.
7330 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7331 * manual/filesys.texi (Reading/Closing Directory): Document
7332 ENAMETOOLONG return value of readdir_r. Recommend readdir more
7334 * manual/conf.texi (Limits for Files): Add portability note to
7336 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
7338 2013-08-13 Andreas Schwab <schwab@suse.de>
7341 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
7343 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
7344 LDBL_MAX_EXP >= 16384]: Add tests for it.
7346 2013-08-12 David S. Miller <davem@davemloft.net>
7348 * version.h (RELEASE): Set to "development".
7349 (VERSION): Set to "2.18.90".
7350 * NEWS: Add 2.19 section.
7352 2013-08-03 David S. Miller <davem@davemloft.net>
7354 * po/ko.po: Update Korean translation from translation project.
7356 2013-08-01 David S. Miller <davem@davemloft.net>
7358 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
7359 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
7362 2013-07-30 David S. Miller <davem@davemloft.net>
7364 * po/fr.po: Update French translation from translation project.
7366 2013-07-28 David S. Miller <davem@davemloft.net>
7368 * po/cs.po: Update Czech translation from translation project.
7370 * po/sv.po: Update Swedish translation from translation project.
7372 2013-07-27 David S. Miller <davem@davemloft.net>
7374 * po/eo.po: Update Esperanto translation from translation project.
7376 * po/vi.po: Update Vietnamese translation from translation project.
7378 * po/de.po: Update German translation from translation project.
7380 2013-07-26 David S. Miller <davem@davemloft.net>
7382 * po/bg.po: Update Bulgarian translation from translation project.
7384 * po/nl.po: Update Dutch translation from translation project.
7385 * po/pl.po: Update Polish translation from translation project.
7386 * po/ru.po: Update Russian translation from translation project.
7388 2013-07-24 David S. Miller <davem@davemloft.net>
7390 * po/libc.pot: Update.
7392 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7394 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
7396 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
7397 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
7398 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
7400 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7402 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
7404 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7405 Andreas Schwab <schwab@suse.de>
7406 Roland McGrath <roland@hack.frob.com>
7407 Joseph Myers <joseph@codesourcery.com>
7408 Carlos O'Donell <carlos@redhat.com>
7411 * config.h.in: Define HAVE_PT_CHOWN.
7412 * config.make.in (build-pt-chown): New variable.
7413 * configure.in (--enable-pt_chown): New configure option.
7414 * configure: Regenerate.
7415 * login/Makefile: Include Makeconfig. Build pt_chown only if
7416 build-pt-chown is enabled.
7417 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
7418 pt_chown to fix pty ownership.
7419 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
7421 * manual/install.texi (Configuring and compiling): Mention
7422 --enable-pt_chown. Add @findex for grantpt.
7423 * INSTALL: Regenerate.
7425 2013-07-20 David S. Miller <davem@davemloft.net>
7427 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
7428 difference between 32-bit and 64-bit.
7430 2013-07-15 Carlos O'Donell <carlos@redhat.com>
7433 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
7434 Avoid system header dependency with -ffreestanding.
7435 ($(objpfx)bits/syscall%d): Likewise.
7437 2013-07-13 David S. Miller <davem@davemloft.net>
7439 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
7440 underflows from atanl/atan2l due to bug 15319.
7441 (casinh_test_data): Likewise.
7443 2013-07-07 David S. Miller <davem@davemloft.net>
7445 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7447 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
7449 * sysdeps/i386/fpu/libm-test-ulps: Update.
7450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7452 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7454 * configure.in (--enable-lock-elision): Fix message text.
7455 * INSTALL: Regenerate.
7456 * configure: Regenerate.
7458 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7462 2013-07-03 Andreas Jaeger <aj@suse.de>
7464 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
7466 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
7467 (ptrace_peeksiginfo_args): Add.
7468 (__ptrace_peeksiginfo_flags): Add.
7469 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7470 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7471 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7473 2013-07-03 Allan McRae <allan@archlinux.org>
7475 * sysdeps/i386/fpu/libm-test-ulps: Update.
7477 2013-07-02 David S. Miller <davem@davemloft.net>
7479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7481 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
7483 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7485 2013-07-02 Joseph Myers <joseph@codesourcery.com>
7487 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7490 2013-07-02 Andi Kleen <ak@linux.intel.com>
7492 * config.h.in (ENABLE_LOCK_ELISION): Add.
7493 * configure.in (--enable-lock-elision): Add option.
7494 * manual/install.texi: Document --enable lock elision.
7495 * configure: Regenerate
7496 * INSTALL: Regenerate.
7498 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
7500 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
7501 SSE4.2 strcasecmp for libc.a.
7502 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7504 2013-07-02 Joseph Myers <joseph@codesourcery.com>
7507 * soft-fp/op-common.h (_FP_FMA): New macro.
7508 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
7509 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
7510 (_FP_MUL_MEAT_1_imm): ... here.
7511 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
7512 (_FP_MUL_MEAT_1_wide): ... here.
7513 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
7514 (_FP_MUL_MEAT_1_hard): ... here.
7515 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
7516 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
7517 (_FP_MUL_MEAT_2_wide): ... here.
7518 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
7519 (_FP_MUL_MEAT_2_wide_3mul): ... here.
7520 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
7521 (_FP_MUL_MEAT_2_gmp): ... here.
7522 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
7523 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
7524 (_FP_MUL_MEAT_4_wide): ... here.
7525 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
7526 (_FP_MUL_MEAT_4_gmp): ... here.
7527 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
7528 (_FP_WFRACBITS_DW_S): Likewise.
7529 (_FP_WFRACXBITS_DW_S): Likewise.
7530 (_FP_HIGHBIT_DW_S): Likewise.
7531 (FP_FMA_S): Likewise.
7532 (_FP_FRAC_HIGH_DW_S): Likewise.
7533 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
7534 (_FP_WFRACBITS_DW_D): Likewise.
7535 (_FP_WFRACXBITS_DW_D): Likewise.
7536 (_FP_HIGHBIT_DW_D): Likewise.
7537 (FP_FMA_D): Likewise.
7538 (_FP_FRAC_HIGH_DW_D): Likewise.
7539 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
7540 (_FP_WFRACBITS_DW_E): Likewise.
7541 (_FP_WFRACXBITS_DW_E): Likewise.
7542 (_FP_HIGHBIT_DW_E): Likewise.
7543 (FP_FMA_E): Likewise.
7544 (_FP_FRAC_HIGH_DW_E): Likewise.
7545 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
7546 (_FP_WFRACBITS_DW_Q): Likewise.
7547 (_FP_WFRACXBITS_DW_Q): Likewise.
7548 (_FP_HIGHBIT_DW_Q): Likewise.
7549 (FP_FMA_Q): Likewise.
7550 (_FP_FRAC_HIGH_DW_Q): Likewise.
7551 * soft-fp/fmasf4.c: New file.
7552 * soft-fp/fmadf4.c: Likewise.
7553 * soft-fp/fmatf4.c: Likewise.
7555 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7557 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
7558 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
7560 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
7562 (index_Slow_SSE4_2): Likewise.
7563 (index_Prefer_PMINUB_for_stringop): Likewise.
7564 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
7565 bit_Slow_SSE4_2 is set.
7566 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7567 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7569 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7571 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
7572 rtld_global._dl_hwcap2.
7573 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
7575 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
7576 POWER8 feature descriptions defined in _dl_hwcap2.
7577 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
7578 string handling for POWER8 feature bits.
7579 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
7580 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
7581 _dl_powerpc_cap_flags.
7582 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
7583 * sysdeps/powerpc/rtld-global-offsets.sym
7584 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
7585 _dl_hwcap2 in the rtld_global_ro structure.
7587 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7589 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
7590 hardware capabilities in support of AT_HWCAP2.
7591 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
7592 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
7594 (_dl_show_auxv): Add support for calling _dl_procinfo to display
7595 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
7596 explicitly the unknown a_type display mechanism is used.
7597 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
7598 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
7600 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
7601 to macro prototype for AT_HWCAP2 support.
7602 * sysdeps/i386/dl-procinfo.h: Likewise.
7603 * sysdeps/s390/dl-procinfo.h: Likewise.
7604 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
7605 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
7606 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
7607 return -1 for unknown a_type display fallback.
7608 * sysdeps/sparc/dl-procinfo.h: Likewise.
7609 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
7610 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
7612 2013-06-28 Joseph Myers <joseph@codesourcery.com>
7614 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
7615 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
7617 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
7620 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
7621 mprotect making __stack_prot writable.
7623 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
7624 Joseph Myers <joseph@codesourcery.com>
7626 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
7627 as being properly aligned.
7629 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
7631 * dlfcn/modstatic5.c: New file.
7632 * dlfcn/tststatic5.c: New file.
7633 * dlfcn/Makefile (tests): Add tststatic5.
7634 (tests-static): Likewise.
7635 (modules-names): Add modstatic5.
7636 (tststatic5-ENV): New variable.
7637 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
7640 * elf/dl-support.c (_dl_main_map): New variable.
7641 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
7642 (_dl_nns, _dl_load_adds): Set to 1.
7643 (_dl_initial_searchlist): Refer to _dl_main_map.
7644 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
7645 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
7646 call to _dl_get_origin.
7647 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
7649 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
7650 * dlfcn/modstatic3.c: New file.
7651 * dlfcn/tststatic3.c: New file.
7652 * dlfcn/tststatic4.c: New file.
7653 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
7654 (tests-static): Likewise.
7655 (modules-names): Add modstatic3.
7656 (tststatic3-ENV, tststatic4-ENV): New variables.
7657 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
7658 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
7660 2013-06-26 Joseph Myers <joseph@codesourcery.com>
7662 * configure.in (CC): Require GCC version 4.4 or later.
7663 * configure: Regenerated.
7664 * manual/install.texi (Tools for Compilation): Update GCC version
7666 * INSTALL: Regenerated.
7668 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7671 * string/test-memcmp.c (check2): New.
7672 (main): Call check2.
7674 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
7676 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
7679 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
7681 (dl_open_worker) [!SHARED]: ... here.
7683 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7685 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
7687 2013-06-25 Richard Henderson <rth@redhat.com>
7689 * locale/programs/locarchive.c: Include <libc-internal.h>
7691 2013-06-25 Joseph Myers <joseph@codesourcery.com>
7693 * manual/texinfo.tex: Update to version 2013-06-21.17, with
7694 trailing whitespace removed.
7696 2013-06-24 Mike Frysinger <vapier@gentoo.org>
7699 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
7700 * locale/programs/locarchive.c: Include libc-mmap.h.
7701 (prepare_address_space): Take two new outputs (the mmap base and len).
7702 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
7704 (create_archive): Declare new mmap base and len values for
7705 prepare_address_space, and store the result in ah.
7706 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
7707 (enlarge_archive): If ah->mmap_base is not NULL, use that and
7708 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7709 Declare new mmap base and len values for
7710 prepare_address_space, and store the result in new_ah.
7711 (open_archive): Declare new mmap base and len values for
7712 prepare_address_space, and store the result in ah.
7713 (close_archive): If ah->mmap_base is not NULL, use that and
7714 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7715 * sysdeps/generic/libc-mmap.h: New file.
7717 2013-06-24 Mike Frysinger <vapier@gentoo.org>
7719 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7720 (ALIGN_UP): Likewise.
7721 (PTR_ALIGN_DOWN): Likewise.
7722 (PTR_ALIGN_UP): Likewise.
7724 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7726 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7727 entry mapped to PPC_PLATFORM_POWER8.
7728 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7730 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7731 (_dl_string_platform): Add case for exporting platform position for
7733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7734 search path to sysdeps/powerpc/powerpc32/power8 directory.
7735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7736 search path to sysdeps/powerpc/powerpc64/power8 directory.
7737 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7739 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7742 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7744 * INSTALL: Regenerate.
7746 * nscd/connections.c (nscd_init): Fix comment.
7748 2013-06-22 Joseph Myers <joseph@codesourcery.com>
7750 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7753 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7754 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7756 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7758 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7760 (DL_DST_REQ_STATIC): Remove macro.
7762 2013-06-21 Joseph Myers <joseph@codesourcery.com>
7765 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7766 with a shift of 0 bits.
7768 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7770 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7773 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7776 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7778 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7780 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7781 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7782 accepts -fno-tree-loop-distribute-patterns.
7783 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7784 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7786 * string/memset.c (memset): Likewise.
7787 * string/test-memmove.c (simple_memmove): Disable loop transformation
7789 * string/test-memset.c (simple_memset): Likewise.
7790 * benchtests/bench-memmove.c (simple_memmove): Likewise.
7791 * benchtests/bench-memset.c (simple_memset): Likewise.
7792 * configure: Regenerated.
7794 2013-06-20 Joseph Myers <joseph@codesourcery.com>
7796 * math/test-misc.c (main): Ignore fesetround failure when failures
7797 of subsequent rounding tests would be ignored.
7800 * math/fedisblxcpt.c (fedisableexcept): Return 0.
7801 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7802 * math/fegetenv.c (__fegetenv): Return 0.
7803 * math/fegetexcept.c (fegetexcept): Return 0.
7804 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7806 * math/feholdexcpt.c (feholdexcept): Return 0.
7807 * math/fesetenv.c (__fesetenv): Return 0.
7808 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7809 argument FE_TONEAREST.
7810 * math/feupdateenv.c (__feupdateenv): Return 0.
7811 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7813 2013-06-18 Roland McGrath <roland@hack.frob.com>
7815 * elf/rtld-Rules (rtld-compile-command.S): New variable.
7816 (rtld-compile-command.s, rtld-compile-command.c): New variables.
7817 ($(objpfx)rtld-%.os rules): Use them.
7819 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7821 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7824 2013-06-17 Roland McGrath <roland@hack.frob.com>
7826 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7827 length of target pattern, then descending length of dependency pattern.
7828 * configure.in (AWK): Require gawk 3.1.2 or newer.
7829 * manual/install.texi (Tools for Compilation): Say that we do.
7830 * configure: Regenerated.
7832 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7833 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7834 * scripts/sysd-rules.awk: ... this new script.
7835 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7836 than a glob-style pattern.
7838 2013-06-17 Joseph Myers <joseph@codesourcery.com>
7840 * math/test-misc.c (main): Do not treat incorrectly rounded
7841 conversions as failure unless ROUNDING_TESTS passes.
7843 2013-06-15 Joseph Myers <joseph@codesourcery.com>
7846 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7847 restore exception state around main square root computation, then
7848 check for inexactness explicitly.
7850 * math/libm-test.inc (fma_test_data): Add another test.
7852 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7854 * manual/threads.texi (Non-POSIX Extensions): New document
7855 node. Document pthread_getattr_default_np and
7856 pthread_setattr_default_np.
7858 * Versions.def (libpthread): Add GLIBC_2.18.
7859 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7868 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7870 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7872 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7874 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7876 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7879 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7881 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7882 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7884 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7885 H.J. Lu <hjl.tools@gmail.com>
7888 * sysdeps/x86_64/rtld-memset.c: Remove file.
7889 * sysdeps/x86_64/rtld-memset.S: New file.
7891 2013-06-14 Joseph Myers <joseph@codesourcery.com>
7893 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7894 (test_in_one_mode): Take arguments for whether the rounding mode
7895 is supported for each floating-point type.
7896 (do_test): Pass new arguments to test_in_one_mode using
7899 2013-06-13 Roland McGrath <roland@hack.frob.com>
7901 * posix/tst-waitid.c (do_test): Distinguish different instances of
7902 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
7903 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7904 before entering the kernel for waitpid.
7906 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7908 * NEWS: Fix note on clock function precision. Text by Roland
7911 2013-06-13 Roland McGrath <roland@hack.frob.com>
7913 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7914 it into place only when and if the sanity check passes.
7916 2013-06-13 Joseph Myers <joseph@codesourcery.com>
7918 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7919 output for whether conversion result is exact. Take argument
7920 indicating whether type is IBM long double.
7921 (round_for_all): Change need_exact field to ibm_ld.
7922 * stdlib/tst-strtod-round.c (struct exactness): New type.
7923 (struct test): Change bool ld_ok field to struct exactness exact.
7924 (TEST): Update all definitions for change to field.
7925 (tests): Regenerate array contents.
7926 (test_in_one_mode): Take pointer to new field instead of old ld_ok
7927 field value. Check for IBM long double here.
7928 (do_test): Update calls to test_in_one_mode.
7930 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7933 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7934 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7936 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7939 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7940 generated by the compiler on loop optimizations.
7941 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7942 general definitions.
7944 2013-06-12 Joseph Myers <joseph@codesourcery.com>
7946 * math/bug-nextafter.c: Include <math-tests.h>.
7947 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7949 * math/bug-nexttoward.c: Include <math-tests.h>.
7950 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7952 * math/test-misc.c: Include <math-tests.h>.
7953 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7956 2013-06-12 Andreas Jaeger <aj@suse.de>
7958 * po/ia.po: Update Interlingua translation from translation
7961 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7963 * include/fenv.h: Include stdbool.h.
7964 (struct rm_ctx): New structure.
7965 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7967 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7968 (SET_RESTORE_ROUNDF): Likewise.
7969 (SET_RESTORE_ROUNDL): Likewise.
7970 (SET_RESTORE_ROUND_NOEX): Likewise.
7971 (SET_RESTORE_ROUND_NOEXF): Likewise.
7972 (SET_RESTORE_ROUND_NOEXL): Likewise.
7973 (SET_RESTORE_ROUND_53BIT): Likewise.
7974 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7975 (libc_feresetround_noexf_ctx): Likewise.
7976 (libc_feresetround_noexl_ctx): Likewise.
7977 (libc_feholdsetround_53bit_ctx): Likewise.
7978 (libc_feresetround_53bit_ctx): Likewise.
7979 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7980 (libc_feholdexcept_setround_sse_ctx): New function.
7981 (libc_fesetenv_sse_ctx): Likewise.
7982 (libc_feupdateenv_sse_ctx): Likewise.
7983 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7984 (libc_feholdexcept_setround_387_ctx): Likewise.
7985 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7986 (libc_feholdsetround_387_prec_ctx): Likewise.
7987 (libc_feholdsetround_387_ctx): Likewise.
7988 (libc_feholdsetround_387_53bit_ctx): Likewise.
7989 (libc_feholdsetround_sse_ctx): Likewise.
7990 (libc_feresetround_sse_ctx): Likewise.
7991 (libc_feresetround_387_ctx): Likewise.
7992 (libc_feupdateenv_387_ctx): Likewise.
7993 (libc_feholdexcept_setroundf_ctx): Define macro.
7994 (libc_fesetenvf_ctx): Likewise.
7995 (libc_feupdateenvf_ctx): Likewise.
7996 (libc_feholdsetroundf_ctx): Likewise.
7997 (libc_feresetroundf_ctx): Likewise.
7998 (libc_feholdexcept_setround_ctx): Likewise.
7999 (libc_fesetenv_ctx): Likewise.
8000 (libc_feupdateenv_ctx): Likewise.
8001 (libc_feholdsetround_ctx): Likewise.
8002 (libc_feresetround_ctx): Likewise.
8003 (libc_feholdexcept_setroundl_ctx): Likewise.
8004 (libc_feupdateenvl_ctx): Likewise.
8005 (libc_feholdsetroundl_ctx): Likewise.
8006 (libc_feresetroundl_ctx): Likewise.
8007 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
8008 (libc_feresetround_53bit_ctx): Likewise.
8010 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8012 * locale/iso-639.def: Convert to UTF-8.
8014 2013-06-11 Joseph Myers <joseph@codesourcery.com>
8016 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8017 (EXCEPTION_TESTS_double): Likewise.
8018 (EXCEPTION_TESTS_long_double): Likewise.
8019 (EXCEPTION_TESTS): Likewise.
8020 * math/libm-test.inc (test_exceptions): Only test exceptions if
8021 EXCEPTION_TESTS (FLOAT).
8023 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8025 * benchtests/Makefile (string-bench): Add strcpy_chk and
8027 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8028 * benchtests/bench-stpcpy_chk.c: New file.
8029 * benchtests/bench-strcpy_chk-ifunc.c: New file.
8030 * benchtests/bench-strcpy_chk.c: New file.
8031 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8033 (do_test): Likewise.
8035 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8037 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
8038 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
8039 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
8040 with tabs where appropriate.
8041 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
8043 [PPC_PLATFORM_PPC440]: Likewise.
8044 [PPC_PLATFORM_PPC464]: Likewise.
8045 [PPC_PLATFORM_PPC476]: Likewise.
8046 (_dl_string_platform): Add support for detecting ppc405, ppc440,
8047 ppc464, and ppc476 platform strings merging from ports/
8050 2013-06-11 Andreas Schwab <schwab@suse.de>
8053 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
8054 (from_ucs4_idx): Regenerate.
8055 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
8056 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
8057 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
8058 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
8059 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
8060 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
8061 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
8062 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
8063 from FROM_LOOP and TO_LOOP specific macros.
8064 (BODY): Handle combining characters.
8065 * iconvdata/BIG5HKSCS.irreversible: Update.
8066 * iconvdata/BIG5HKSCS.precomposed: New file.
8067 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
8069 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
8071 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8073 * include/sys/time.h: Fix indentation and add copyright header.
8075 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
8076 (do_test): Likewise.
8077 * string/test-memchr.c (do_one_test): Likewise.
8078 (do_test): Likewise.
8079 * string/test-memcmp.c (do_one_test): Likewise.
8080 (do_test): Likewise.
8081 * string/test-memcpy.c (do_one_test): Likewise.
8082 (do_test): Likewise.
8083 * string/test-memmem.c (do_one_test): Likewise.
8084 (do_test): Likewise.
8085 (do_random_tests): Likewise.
8086 * string/test-memmove.c (do_one_test): Likewise.
8087 (do_test): Likewise.
8088 * string/test-memset.c (do_one_test): Likewise.
8089 (do_test): Likewise.
8090 * string/test-rawmemchr.c (do_one_test): Likewise.
8091 (do_test): Likewise.
8092 * string/test-strcasecmp.c (do_one_test): Likewise.
8093 (do_test): Likewise.
8094 * string/test-strcasestr.c (do_one_test): Likewise.
8095 (do_test): Likewise.
8096 * string/test-strcat.c (do_one_test): Likewise.
8097 (do_test): Likewise.
8098 * string/test-strchr.c (do_one_test): Likewise.
8099 (do_test): Likewise.
8100 * string/test-strcmp.c (do_one_test): Likewise.
8101 (do_test): Likewise.
8102 * string/test-strcpy.c (do_one_test): Likewise.
8103 (do_test): Likewise.
8104 * string/test-string.h: Likewise.
8105 (test_init): Likewise.
8106 * string/test-strlen.c (do_one_test): Likewise.
8107 (do_test): Likewise.
8108 * string/test-strncasecmp.c (do_one_test): Likewise.
8109 (do_test): Likewise.
8110 * string/test-strncat.c (do_one_test): Likewise.
8111 (do_test): Likewise.
8112 * string/test-strncmp.c (do_one_test): Likewise.
8113 (do_test_limit): Likewise.
8114 (do_test): Likewise.
8115 * string/test-strncpy.c (do_one_test): Likewise.
8116 (do_test): Likewise.
8117 * string/test-strnlen.c (do_one_test): Likewise.
8118 (do_test): Likewise.
8119 * string/test-strpbrk.c (do_one_test): Likewise.
8120 (do_test): Likewise.
8121 * string/test-strrchr.c (do_one_test): Likewise.
8122 (do_test): Likewise.
8123 * string/test-strspn.c (do_one_test): Likewise.
8124 (do_test): Likewise.
8125 * string/test-strstr.c (do_one_test): Likewise.
8126 (do_test): Likewise.
8128 * benchtests/Makefile (string-bench): Add string benchmarks.
8129 * benchtests/bench-bcopy-ifunc.c: New file.
8130 * benchtests/bench-bcopy.c: New file.
8131 * benchtests/bench-bzero-ifunc.c: New file.
8132 * benchtests/bench-bzero.c: New file.
8133 * benchtests/bench-memccpy-ifunc.c: New file.
8134 * benchtests/bench-memccpy.c: New file.
8135 * benchtests/bench-memchr-ifunc.c: New file.
8136 * benchtests/bench-memchr.c: New file.
8137 * benchtests/bench-memcmp-ifunc.c: New file.
8138 * benchtests/bench-memcmp.c: New file.
8139 * benchtests/bench-memmem-ifunc.c: New file.
8140 * benchtests/bench-memmem.c: New file.
8141 * benchtests/bench-memmove-ifunc.c: New file.
8142 * benchtests/bench-memmove.c: New file.
8143 * benchtests/bench-mempcpy-ifunc.c: New file.
8144 * benchtests/bench-mempcpy.c: New file.
8145 * benchtests/bench-memset-ifunc.c: New file.
8146 * benchtests/bench-memset.c: New file.
8147 * benchtests/bench-rawmemchr-ifunc.c: New file.
8148 * benchtests/bench-rawmemchr.c: New file.
8149 * benchtests/bench-stpcpy-ifunc.c: New file.
8150 * benchtests/bench-stpcpy.c: New file.
8151 * benchtests/bench-stpncpy-ifunc.c: New file.
8152 * benchtests/bench-stpncpy.c: New file.
8153 * benchtests/bench-strcasecmp-ifunc.c: New file.
8154 * benchtests/bench-strcasecmp.c: New file.
8155 * benchtests/bench-strcasestr-ifunc.c: New file.
8156 * benchtests/bench-strcasestr.c: New file.
8157 * benchtests/bench-strcat-ifunc.c: New file.
8158 * benchtests/bench-strcat.c: New file.
8159 * benchtests/bench-strchr-ifunc.c: New file.
8160 * benchtests/bench-strchr.c: New file.
8161 * benchtests/bench-strchrnul-ifunc.c: New file.
8162 * benchtests/bench-strchrnul.c: New file.
8163 * benchtests/bench-strcmp-ifunc.c: New file.
8164 * benchtests/bench-strcmp.c: New file.
8165 * benchtests/bench-strcpy-ifunc.c: New file.
8166 * benchtests/bench-strcpy.c: New file.
8167 * benchtests/bench-strcspn-ifunc.c: New file.
8168 * benchtests/bench-strcspn.c: New file.
8169 * benchtests/bench-strlen-ifunc.c: New file.
8170 * benchtests/bench-strlen.c: New file.
8171 * benchtests/bench-strncasecmp-ifunc.c: New file.
8172 * benchtests/bench-strncasecmp.c: New file.
8173 * benchtests/bench-strncat-ifunc.c: New file.
8174 * benchtests/bench-strncat.c: New file.
8175 * benchtests/bench-strncmp-ifunc.c: New file.
8176 * benchtests/bench-strncmp.c: New file.
8177 * benchtests/bench-strncpy-ifunc.c: New file.
8178 * benchtests/bench-strncpy.c: New file.
8179 * benchtests/bench-strnlen-ifunc.c: New file.
8180 * benchtests/bench-strnlen.c: New file.
8181 * benchtests/bench-strpbrk-ifunc.c: New file.
8182 * benchtests/bench-strpbrk.c: New file.
8183 * benchtests/bench-strrchr-ifunc.c: New file.
8184 * benchtests/bench-strrchr.c: New file.
8185 * benchtests/bench-strspn-ifunc.c: New file.
8186 * benchtests/bench-strspn.c: New file.
8187 * benchtests/bench-strstr-ifunc.c: New file.
8188 * benchtests/bench-strstr.c: New file.
8190 * benchtests/Makefile: Disable parallel execution of targets.
8191 (string-bench): Add memcpy.
8192 (benchset): New variable to store a list of benchmark sets.
8193 (bench-func): Renamed from bench.
8194 (bench-set): New target.
8195 (bench): Depend on bench-func and bench-set.
8196 * benchtests/README: Add section on benchmark sets.
8197 * benchtests/bench-memcpy-ifunc.c: New file.
8198 * benchtests/bench-memcpy.c: New file.
8199 * benchtests/bench-string.h: New file.
8201 2013-06-11 Andreas Schwab <schwab@suse.de>
8204 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
8205 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
8206 values in the triple.
8207 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
8208 terminator in the group key.
8210 2013-06-11 Andreas Jaeger <aj@suse.de>
8212 * po/zh_TW.po: Update Chinese (traditional) translation from
8213 translation project.
8215 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8217 * include/time.h (__clock_gettime): Add libc_hidden_proto.
8218 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
8219 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
8220 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8221 (clock_getcpuclockid): Likewise.
8222 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
8223 Add weak_alias and libc_hidden_def.
8224 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8225 * rt/clock_gettime.c (clock_gettime): Rename to
8226 __clock_gettime. Add weak_alias and libc_hidden_def.
8227 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
8228 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
8229 __clock_nanosleep. Add weak_alias and libc_hidden_def.
8230 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
8231 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
8233 * rt/clock_settime.c (clock_settime): Rename to
8234 __clock_settime. Add weak_alias and libc_hidden_def.
8235 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
8237 2013-06-10 Joseph Myers <joseph@codesourcery.com>
8239 * mach/err_boot.sub: Remove trailing whitespace.
8240 * mach/err_ipc.sub: Likewise.
8241 * mach/err_mach.sub: Likewise.
8243 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
8244 (ROUNDING_TESTS_double): Likewise.
8245 (ROUNDING_TESTS_long_double): Likewise.
8246 (ROUNDING_TESTS): Likewise.
8247 * math/libm-test.inc: Include <math-tests.h>.
8248 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
8249 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8250 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8251 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8253 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8255 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
8258 2013-06-08 Joseph Myers <joseph@codesourcery.com>
8260 * sysdeps/gnu/errlist.awk: Do not generate space at end of
8261 otherwise empty TRANS lines.
8262 * sysdeps/gnu/errlist.c: Regenerated.
8264 * catgets/gencat.c (error_print): Use (void) in function
8266 * crypt/crypt_util.c (__init_des): Likewise.
8267 * crypt/speeds.c (Stop): Likewise.
8269 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
8270 * inet/ruserpass.c (token): Likewise.
8271 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
8272 * intl/localealias.c (extend_alias_table): Likewise.
8273 * intl/plural-exp.c (init_germanic_plural): Likewise.
8274 * libio/fcloseall.c (__fcloseall): Likewise.
8275 * libio/genops.c (_IO_flush_all): Likewise.
8276 (_IO_flush_all_linebuffered): Likewise.
8277 (_IO_cleanup): Likewise.
8278 (_IO_iter_begin): Likewise.
8279 (_IO_iter_end): Likewise.
8280 (_IO_list_lock): Likewise.
8281 (_IO_list_unlock): Likewise.
8282 (_IO_list_resetlock): Likewise.
8283 * libio/getchar.c (getchar): Likewise.
8284 * libio/getchar_u.c (getchar_unlocked): Likewise.
8285 * libio/getwchar.c (getwchar): Likewise.
8286 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
8287 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
8288 * login/getpt.c (__getpt): Likewise.
8289 * login/tst-utmp.c (main): Likewise.
8290 * malloc/hooks.c (__malloc_check_init): Likewise.
8291 * malloc/malloc.c (__malloc_stats): Likewise.
8292 * malloc/mtrace.c (tr_break): Likewise.
8294 (muntrace): Likewise.
8295 * misc/fstab.c (endfsent): Likewise.
8296 * misc/getclktck.c (__getclktck): Likewise.
8297 * misc/getdtsz.c (__getdtablesize): Likewise.
8298 * misc/gethostid.c (gethostid): Likewise.
8299 * misc/getpagesize.c (__getpagesize): Likewise.
8300 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
8301 (__get_nprocs): Likewise.
8302 (__get_phys_pages): Likewise.
8303 (__get_avphys_pages): Likewise.
8304 * misc/getttyent.c (getttyent): Likewise.
8305 (setttyent): Likewise.
8306 (endttyent): Likewise.
8307 * misc/getusershell.c (getusershell): Likewise.
8308 (endusershell): Likewise.
8309 (setusershell): Likewise.
8310 (initshells): Likewise.
8311 * misc/hsearch.c (__hdestroy): Likewise.
8312 * misc/sync.c (sync): Likewise.
8313 * misc/syslog.c (closelog_internal): Likewise.
8314 (closelog): Likewise.
8315 * misc/ttyslot.c (ttyslot): Likewise.
8316 * misc/vhangup.c (vhangup): Likewise.
8317 * posix/fork.c (__fork): Likewise.
8318 * posix/getegid.c (__getegid): Likewise.
8319 * posix/geteuid.c (__geteuid): Likewise.
8320 * posix/getgid.c (__getgid): Likewise.
8321 * posix/getpid.c (__getpid): Likewise.
8322 * posix/getppid.c (__getppid): Likewise.
8323 * posix/getuid.c (__getuid): Likewise.
8324 * posix/pause.c (pause): Likewise.
8325 * posix/setpgrp.c (setpgrp): Likewise.
8326 * posix/setsid.c (__setsid): Likewise.
8327 * posix/test-vfork.c (noop): Likewise.
8328 * resolv/gethnamaddr.c (_endhtent): Likewise.
8329 (_gethtent): Likewise.
8330 (ht_endhostent): Likewise.
8331 (gethostent): Likewise.
8332 (dns_service): Likewise.
8333 * stdlib/drand48.c (drand48): Likewise.
8334 * stdlib/lrand48.c (lrand48): Likewise.
8335 * stdlib/mrand48.c (mrand48): Likewise.
8336 * stdlib/rand.c (rand): Likewise.
8337 * stdlib/random.c (__random): Likewise.
8338 * stdlib/setenv.c (clearenv): Likewise.
8339 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
8340 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
8341 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
8342 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
8343 (__get_nprocs): Likewise.
8344 (__get_phys_pages): Likewise.
8345 (__get_avphys_pages): Likewise.
8346 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
8347 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
8348 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
8349 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
8350 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
8351 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
8352 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
8353 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
8354 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
8355 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
8356 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
8357 * sysdeps/mach/hurd/sync.c (sync): Likewise.
8358 * sysdeps/posix/clock.c (clock): Likewise.
8359 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
8360 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
8361 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
8362 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
8363 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
8364 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8365 (__get_nprocs_conf): Likewise.
8366 (__get_phys_pages): Likewise.
8367 (__get_avphys_pages): Likewise.
8368 * time/clock.c (clock): Likewise.
8369 * time/tzset.c (__tzname_max): Likewise.
8371 2013-06-07 Joseph Myers <joseph@codesourcery.com>
8373 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
8374 (__bswap_32): Do not use "register".
8375 * crypt/crypt.c (_ufc_doit_r): Likewise.
8376 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8377 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8378 * gmon/gmon.c (__monstartup): Likewise.
8379 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
8380 * hurd/hurdmalloc.c (more_memory): Likewise.
8383 (realloc): Likewise.
8384 (malloc_fork_prepare): Likewise.
8385 (malloc_fork_parent): Likewise.
8386 (malloc_fork_child): Likewise.
8387 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
8388 (_svcauth_des): Likewise.
8389 * inet/inet_lnaof.c (inet_lnaof): Likewise.
8390 * inet/inet_net.c (inet_network): Likewise.
8391 * inet/inet_netof.c (inet_netof): Likewise.
8392 * inet/rcmd.c (__validuser2_sa): Likewise.
8393 * io/fts.c (fts_open): Likewise.
8394 (fts_load): Likewise.
8395 (fts_close): Likewise.
8396 (fts_read): Likewise.
8397 (fts_children): Likewise.
8398 (fts_build): Likewise.
8399 (fts_stat): Likewise.
8400 (fts_sort): Likewise.
8401 (fts_alloc): Likewise.
8402 (fts_lfree): Likewise.
8403 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
8404 (_IO_file_xsgetn): Likewise.
8405 (_IO_file_xsgetn_mmap): Likewise.
8406 * libio/iofopncook.c (_IO_cookie_read): Likewise.
8407 (_IO_cookie_write): Likewise.
8408 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
8409 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
8410 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
8411 * malloc/obstack.c (_obstack_begin): Likewise.
8412 (_obstack_begin_1): Likewise.
8413 (_obstack_newchunk): Likewise.
8414 (_obstack_allocated_p): Likewise.
8415 (obstack_free): Likewise.
8416 (_obstack_memory_used): Likewise.
8417 * misc/getttyent.c (getttynam): Likewise.
8418 (getttyent): Likewise.
8421 * misc/getusershell.c (initshells): Likewise.
8422 * misc/syslog.c (__vsyslog_chk): Likewise.
8423 * misc/ttyslot.c (ttyslot): Likewise.
8424 * nis/nis_hash.c (__nis_hash): Likewise.
8425 * posix/fnmatch_loop.c (FCT): Likewise.
8426 * posix/getconf.c (print_all): Likewise.
8428 * posix/getopt.c (exchange): Likewise.
8429 * posix/glob.c (globfree): Likewise.
8430 (prefix_array): Likewise.
8431 (__glob_pattern_type): Likewise.
8432 * resolv/arpa/nameser.h (NS_GET16): Likewise.
8433 (NS_GET32): Likewise.
8434 (NS_PUT16): Likewise.
8435 (NS_PUT32): Likewise.
8436 * resolv/gethnamaddr.c (getanswer): Likewise.
8437 (gethostbyname2): Likewise.
8438 (gethostbyaddr): Likewise.
8439 (_gethtent): Likewise.
8440 (_gethtbyname2): Likewise.
8441 (_gethtbyaddr): Likewise.
8442 * resolv/ns_print.c (dst_s_get_int16): Likewise.
8443 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8444 * resolv/res_init.c (__res_vinit): Likewise.
8445 (net_mask): Likewise.
8446 * resolv/res_mkquery.c (outchar): Likewise.
8448 * stdio-common/printf_fp.c (outchar): Likewise.
8450 * stdio-common/printf_fphex.c (outchar): Likewise.
8452 * stdio-common/printf_size.c (outchar): Likewise.
8454 * stdio-common/test_rdwr.c (main): Likewise.
8455 * stdio-common/tfformat.c (matches): Likewise.
8456 * stdio-common/vfprintf.c (outchar): Likewise.
8457 (printf_unknown): Likewise.
8458 (buffered_vfprintf): Likewise.
8459 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8460 * stdio-common/xbug.c (AppendToBuffer): Likewise.
8461 (ReadFile): Likewise.
8462 * stdlib/qsort.c (SWAP): Likewise.
8463 (_quicksort): Likewise.
8464 * stdlib/setenv.c (__add_to_environ): Likewise.
8465 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8466 * stdlib/strtol_l.c (__strtol_l): Likewise.
8467 * stdlib/tst-strtod.c (main): Likewise.
8468 * stdlib/tst-strtol.c (main): Likewise.
8469 * stdlib/tst-strtoll.c (main): Likewise.
8470 * string/bits/string2.h (__strcmp_cc): Likewise.
8471 (__strcmp_cg): Likewise.
8472 (__strcspn_c1): Likewise.
8473 (__strcspn_c2): Likewise.
8474 (__strcspn_c3): Likewise.
8475 (__strspn_c1): Likewise.
8476 (__strspn_c2): Likewise.
8477 (__strspn_c3): Likewise.
8478 (__strsep_1c): Likewise.
8479 (__strsep_2c): Likewise.
8480 (__strsep_3c): Likewise.
8481 * string/memccpy.c (__memccpy): Likewise.
8482 * string/stpcpy.c (__stpcpy): Likewise.
8483 * string/strcmp.c (strcmp): Likewise.
8484 * string/strrchr.c (strrchr): Likewise.
8485 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
8487 * sysdeps/mach/hurd/getcwd.c
8488 (_hurd_canonicalize_directory_name_internal): Likewise.
8489 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
8490 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
8491 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
8492 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
8493 Likewise, in both definitions.
8494 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
8496 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
8497 64] (__bswap_64): Likewise.
8498 * time/test_time.c (main): Likewise.
8499 * time/tzfile.c (__tzfile_read): Likewise.
8500 (__tzfile_compute): Likewise.
8501 * time/tzset.c (__tzset_parse_tz): Likewise.
8502 (tzset_internal): Likewise.
8503 (compute_change): Likewise.
8504 * wcsmbs/wcscat.c (__wcscat): Likewise.
8505 * wcsmbs/wcschr.c (wcschr): Likewise.
8506 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8507 * wcsmbs/wcscspn.c (wcscspn): Likewise.
8508 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8509 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
8510 * wcsmbs/wcsspn.c (wcsspn): Likewise.
8511 * wcsmbs/wcsstr.c (wcsstr): Likewise.
8512 * wcsmbs/wmemchr.c (wmemchr): Likewise.
8513 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8514 * wcsmbs/wmemset.c (wmemset): Likewise.
8516 2013-06-06 Joseph Myers <joseph@codesourcery.com>
8518 * scripts/config.guess: Update to version 2013-05-16.
8519 * scripts/config.sub: Update to version 2013-04-24.
8520 * scripts/install-sh: Update to version 2011-11-20.07.
8521 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
8522 * scripts/move-if-change: Update to version 2012-01-06 07:23.
8524 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
8526 * debug/fgetws_u_chk.c: Fix leading whitespaces.
8527 * elf/sln.c: Likewise.
8528 * hurd/hurd/ioctl.h: Likewise.
8529 * hurd/hurdmalloc.c: Likewise.
8530 * hurd/xattr.c: Likewise.
8531 * include/shlib-compat.h: Likewise.
8532 * inet/ruserpass.c: Likewise.
8533 * libio/iofgets_u.c: Likewise.
8534 * libio/iofgetws_u.c: Likewise.
8535 * locale/programs/ld-identification.c: Likewise.
8536 * locale/programs/ld-time.c: Likewise.
8537 * mach/msg-destroy.c: Likewise.
8538 * nss/nss_files/files-netgrp.c: Likewise.
8539 * resolv/res_data.c: Likewise.
8540 * soft-fp/op-1.h: Likewise.
8541 * soft-fp/op-2.h: Likewise.
8542 * soft-fp/op-4.h: Likewise.
8543 * soft-fp/op-common.h: Likewise.
8544 * stdio-common/printf_fphex.c: Likewise.
8545 * stdlib/strtod_l.c: Likewise.
8546 * sunrpc/rpc/clnt.h: Likewise.
8547 * sysdeps/generic/framestate.c: Likewise.
8548 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8549 * sysdeps/i386/bsd-setjmp.S: Likewise.
8550 * sysdeps/i386/__longjmp.S: Likewise.
8551 * sysdeps/i386/setjmp.S: Likewise.
8552 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8553 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8554 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8555 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8556 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8557 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8558 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8559 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8560 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8561 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8562 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8563 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8564 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8565 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8566 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8567 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8568 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8569 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
8570 * sysdeps/ieee754/support.c: Likewise.
8571 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8572 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
8573 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
8574 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
8575 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
8576 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
8577 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
8578 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
8579 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
8580 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
8581 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
8582 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
8583 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
8584 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
8585 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
8586 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
8587 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8590 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
8592 * posix/transbug.c: Remove executable mode.
8594 2013-06-05 Joseph Myers <joseph@codesourcery.com>
8596 * crypt/speeds.c: Remove trailing whitespace.
8597 * dlfcn/default.c: Likewise.
8598 * elf/ifuncdep2.c: Likewise.
8599 * elf/ifuncmain1.c: Likewise.
8600 * elf/ifuncmain1vis.c: Likewise.
8601 * elf/testobj.h: Likewise.
8602 * elf/tst-stackguard1.c: Likewise.
8603 * gmon/sys/gmon.h: Likewise.
8604 * hurd/hurdmsg.c: Likewise.
8605 * hurd/new-fd.c: Likewise.
8606 * hurd/ports-get.c: Likewise.
8607 * iconvdata/ibm1008_420.c: Likewise.
8608 * inet/tst-getni1.c: Likewise.
8609 * inet/tst-getni2.c: Likewise.
8610 * libio/ioungetc.c: Likewise.
8611 * libio/wfiledoalloc.c: Likewise.
8612 * manual/libm-err-tab.pl: Likewise.
8613 * math/w_dremf.c: Likewise.
8614 * misc/ftruncate.c: Likewise.
8615 * posix/bug-glob2.c: Likewise.
8616 * posix/tst-pcre.c: Likewise.
8617 * posix/wait4.c: Likewise.
8618 * resolv/README: Likewise.
8619 * resolv/res_debug.h: Likewise.
8620 * resolv/tst-inet_ntop.c: Likewise.
8621 * setjmp/bug269-setjmp.c: Likewise.
8622 * soft-fp/extended.h: Likewise.
8623 * soft-fp/op-1.h: Likewise.
8624 * soft-fp/op-2.h: Likewise.
8625 * soft-fp/op-4.h: Likewise.
8626 * soft-fp/op-8.h: Likewise.
8627 * soft-fp/testit.c: Likewise.
8628 * stdio-common/bug16.c: Likewise.
8629 * stdlib/random.c: Likewise.
8630 * sunrpc/rpcsvc/rquota.x: Likewise.
8631 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
8632 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8633 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8634 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8635 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8636 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8637 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8638 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8639 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8640 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8641 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8642 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8643 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8644 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8645 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8646 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8647 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8648 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8649 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8650 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8651 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8652 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8653 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8654 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8655 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8656 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8657 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8658 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8659 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8660 * sysdeps/ieee754/s_lib_version.c: Likewise.
8661 * sysdeps/mach/hurd/check_fds.c: Likewise.
8662 * sysdeps/mach/hurd/getsockname.c: Likewise.
8663 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
8664 * sysdeps/mach/hurd/recvfrom.c: Likewise.
8665 * sysdeps/powerpc/bits/link.h: Likewise.
8666 * sysdeps/powerpc/dl-procinfo.c: Likewise.
8667 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
8668 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
8669 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
8670 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8671 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8672 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
8673 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8674 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
8675 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8676 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8677 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8678 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
8679 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8680 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8681 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8682 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8683 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8684 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8685 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8686 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8687 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
8688 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8689 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8690 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
8691 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8692 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8693 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8694 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8695 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8696 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8697 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8698 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8699 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8700 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
8701 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8702 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
8703 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8704 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8705 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
8706 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
8707 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
8708 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
8709 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
8710 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8711 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
8712 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
8713 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8714 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8715 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8716 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8717 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8718 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8719 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8720 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8721 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8722 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8723 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8724 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8725 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8726 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8727 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8728 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8729 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8730 * sysdeps/powerpc/sysdep.h: Likewise.
8731 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8732 * sysdeps/s390/s390-64/sub_n.S: Likewise.
8733 * sysdeps/sh/dl-trampoline.S: Likewise.
8734 * sysdeps/sh/memset.S: Likewise.
8735 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8736 * sysdeps/sh/strlen.S: Likewise.
8737 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8738 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8739 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8740 * sysdeps/sparc/sparc32/rem.S: Likewise.
8741 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8742 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8743 * sysdeps/sparc/sparc32/strchr.S: Likewise.
8744 * sysdeps/sparc/sparc32/udiv.S: Likewise.
8745 * sysdeps/sparc/sparc32/urem.S: Likewise.
8746 * sysdeps/sparc/sparc64/add_n.S: Likewise.
8747 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8748 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8749 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8750 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8751 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8752 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8753 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8754 * sysdeps/unix/bsd/times.c: Likewise.
8755 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8756 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8760 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8761 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8762 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8763 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8764 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8765 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8766 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8767 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8768 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8769 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8770 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8771 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8772 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8773 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8774 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8775 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8776 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8777 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8778 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8779 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8780 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8781 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8782 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8783 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8784 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8785 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8786 * sysdeps/x86_64/strcspn.S: Likewise.
8788 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8790 * locale/C-translit.h: Revert #include <stdint.h> because this is a
8791 generated file. Regenerate properly from gen-translit.pl.
8792 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
8793 locale/C-translit.h.
8795 2013-06-05 Andreas Schwab <schwab@suse.de>
8798 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8799 week as 6 instead of -1.
8800 * time/tst-strptime.c (day_tests): Add test case.
8802 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8804 * sysdeps/generic/math_private.h
8805 (libc_feholdexcept_setround_53bit): Replace with
8806 libc_feholdsetround_53bit.
8807 (libc_feupdateenv_53bit): Replace with
8808 libc_feresetround_53bit.
8809 (SET_RESTORE_ROUND_53BIT): Adjust.
8811 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8813 * string/test-strchrnul.c: Add copyright header.
8815 * posix/tst-getaddrinfo4.c: Increase test timeout.
8817 2013-06-03 Carlos O'Donell <carlos@redhat.com>
8820 * math/libm-test.inc (MAX_EXP): Remove
8822 (ulp): Use MIN_EXP - MANT_DIG.
8823 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8825 2013-05-31 Carlos O'Donell <carlos@redhat.com>
8827 * po/be.po: Revert last change.
8828 * po/zh_CN.po: Likewise.
8829 * po/header.pot: Likewise.
8831 2013-05-31 Joseph Myers <joseph@codesourcery.com>
8833 * Makefile ($(common-objpfx)linkobj/libc.so): Define
8834 link-libc-deps to empty as target-specific variable.
8835 * Makerules (link-libc-args): New variable.
8836 (libc-for-link): Likewise.
8837 (link-libc-deps): Likewise.
8838 (lib%.so): Depend on $(link-libc-deps). Link with
8840 (build-module): Link with $(link-libc-args).
8841 (build-module-asneeded): Likewise.
8842 (build-module-helper-objlist): Filter out $(link-libc-deps) from
8844 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8845 target-specific variable.
8846 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8847 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8848 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8850 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8852 ($(objpfx)libpcprofile.so): Likewise.
8853 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8855 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8856 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8857 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8859 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8860 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8861 * login/Makefile ($(objpfx)libutil.so): Likewise.
8862 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8863 * math/Makefile ($(objpfx)libm.so): Likewise.
8864 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8865 $(objpfx)libnsl.so): Define libc-for-link as target-specific
8866 variable instead of depending directly on libc.
8867 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8868 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8870 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8872 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8873 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8874 ($(objpfx)libanl.so): Likewise.
8875 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8877 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8879 * sysdeps/i386/fpu/Makefile: Remove file.
8880 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8881 ($(objpfx)libm.so): Remove dependency on ld.so.
8883 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
8886 * nis/yp_xdr.c (XDRMAXNAME): Define.
8887 (XDRMAXRECORD): Define.
8888 (xdr_domainname): Use XDRMAXNAME.
8889 (xdr_mapname): Likewise.
8890 (xdr_peername): Likewise.
8891 (xdr_keydat): Use XDRMAXRECORD.
8892 (xdr_valdat): Likewise.
8894 2013-05-30 Jeff Law <law@redhat.com>
8897 * manual/errno.texi (ESTALE): Update to account for more than
8898 just NFS file systems.
8899 * sysdeps/gnu/errlist.c: Regenerated.
8901 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8904 * elf/Makefile (tests): Add tst-null-argv.
8905 (modules-names): Add tst-null-argv-lib.
8906 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8907 (tst-null-argv-ENV): Set environment for tst-null-argv.
8908 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8909 (RTLD_PROGNAME): New macro.
8910 * elf/tst-null-argv.c: New test case.
8911 * elf/tst-null-argv-lib.c: Library for test case.
8912 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8913 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8914 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8915 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8916 * elf/dl-init.c (call_init): Likewise.
8917 (_dl_init): Likewise.
8918 * elf/dl-load.c (print_search_path): Likewise.
8919 (_dl_map_object): Likewise.
8920 * elf/dl-lookup.c (do_lookup_x): Likewise.
8921 (add_dependency): Likewise.
8922 (_dl_lookup_symbol_x): Likewise.
8923 (_dl_debug_bindings): Likewise.
8924 * elf/dl-open.c (_dl_show_scope): Likewise.
8925 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8926 * elf/dl-version.c (match_symbol): Likewise.
8927 (_dl_check_map_versions): Likewise.
8928 * elf/rtld.c (dl_main): Likewise.
8929 (print_unresolved): Use RTLD_PROGNAME.
8930 (print_missing_version): Likewise.
8931 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8932 (elf_machine_rela): Likewise.
8933 * sysdeps/powerpc/powerpc32/dl-machine.c
8934 (__process_machine_rela): Likewise.
8935 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8937 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8939 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8941 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8942 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8944 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8946 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8948 2013-05-28 Carlos O'Donell <carlos@redhat.com>
8950 * po/be.po: Add descriptive title.
8951 * po/zh_CN.po: Likewise.
8952 * po/header.pot: Likewise.
8954 2013-05-28 Mike Frysinger <vapier@gentoo.org>
8956 * locale/programs/locarchive.c (create_archive): Inlucde fname in
8958 (enlarge_archive): Likewise.
8960 2013-05-28 Ben North <ben@redfrontdoor.org>
8962 * manual/arith.texi (frexp): It is the magnitude of the return
8963 value which lies in [0.5, 1), not the return value itself.
8965 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8969 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
8971 * stdio-common/bug26.c (main): Correct fscanf template.
8973 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8974 declare _dl_skip_args.
8976 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8979 * manual/platform.texi: Add missing @end deftypefun.
8981 2013-05-24 Joseph Myers <joseph@codesourcery.com>
8984 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8985 bit of mantissa of 2^16382.
8986 * math/libm-test.inc (hypot_test_data): Add more tests.
8988 * math/libm-test.inc: Add drem and pow10 to list of tested
8990 (pow10_test): New function.
8991 (drem_test): Likewise.
8992 (drem_test_tonearest): Likewise.
8993 (drem_test_towardzero): Likewise.
8994 (drem_test_downward): Likewise.
8995 (drem_test_upward): Likewise.
8996 (main): Call the new functions.
8998 * math/libm-test.inc (finite_test_data): Remove.
8999 (finite_test): Run tests from isfinite_test_data.
9000 (gamma_test_data): Remove.
9001 (gamma_test): Run tests from lgamma_test_data.
9002 * sysdeps/i386/fpu/libm-test-ulps: Update.
9003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9005 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9007 * manual/platform.texi: Add PowerPC PPR function set documentation.
9008 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9011 2013-05-24 Carlos O'Donell <carlos@redhat.com>
9013 * math/libm-test.inc (MAX_EXP): Define.
9015 (ulp): New function.
9016 (check_float_internal): Use ULPDIFF.
9017 (cpow_test): Disable failing test.
9018 (check_ulp): Test ulp() implemetnation.
9019 (main): Call check_ulp before starting tests.
9021 2013-05-24 Joseph Myers <joseph@codesourcery.com>
9023 * math/gen-libm-test.pl (generate_testfile): Do not handle
9024 START_DATA and END_DATA.
9025 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9027 (acos_tonearest_test_data): Likewise.
9028 (acos_towardzero_test_data): Likewise.
9029 (acos_downward_test_data): Likewise.
9030 (acos_upward_test_data): Likewise.
9031 (acosh_test_data): Likewise.
9032 (asin_test_data): Likewise.
9033 (asin_tonearest_test_data): Likewise.
9034 (asin_towardzero_test_data): Likewise.
9035 (asin_downward_test_data): Likewise.
9036 (asin_upward_test_data): Likewise.
9037 (asinh_test_data): Likewise.
9038 (atan_test_data): Likewise.
9039 (atanh_test_data): Likewise.
9040 (atan2_test_data): Likewise.
9041 (cabs_test_data): Likewise.
9042 (cacos_test_data): Likewise.
9043 (cacosh_test_data): Likewise.
9044 (carg_test_data): Likewise.
9045 (casin_test_data): Likewise.
9046 (casinh_test_data): Likewise.
9047 (catan_test_data): Likewise.
9048 (catanh_test_data): Likewise.
9049 (cbrt_test_data): Likewise.
9050 (ccos_test_data): Likewise.
9051 (ccosh_test_data): Likewise.
9052 (ceil_test_data): Likewise.
9053 (cexp_test_data): Likewise.
9054 (cimag_test_data): Likewise.
9055 (clog_test_data): Likewise.
9056 (clog10_test_data): Likewise.
9057 (conj_test_data): Likewise.
9058 (copysign_test_data): Likewise.
9059 (cos_test_data): Likewise.
9060 (cos_tonearest_test_data): Likewise.
9061 (cos_towardzero_test_data): Likewise.
9062 (cos_downward_test_data): Likewise.
9063 (cos_upward_test_data): Likewise.
9064 (cosh_test_data): Likewise.
9065 (cosh_tonearest_test_data): Likewise.
9066 (cosh_towardzero_test_data): Likewise.
9067 (cosh_downward_test_data): Likewise.
9068 (cosh_upward_test_data): Likewise.
9069 (cpow_test_data): Likewise.
9070 (cproj_test_data): Likewise.
9071 (creal_test_data): Likewise.
9072 (csin_test_data): Likewise.
9073 (csinh_test_data): Likewise.
9074 (csqrt_test_data): Likewise.
9075 (ctan_test_data): Likewise.
9076 (ctan_tonearest_test_data): Likewise.
9077 (ctan_towardzero_test_data): Likewise.
9078 (ctan_downward_test_data): Likewise.
9079 (ctan_upward_test_data): Likewise.
9080 (ctanh_test_data): Likewise.
9081 (ctanh_tonearest_test_data): Likewise.
9082 (ctanh_towardzero_test_data): Likewise.
9083 (ctanh_downward_test_data): Likewise.
9084 (ctanh_upward_test_data): Likewise.
9085 (erf_test_data): Likewise.
9086 (erfc_test_data): Likewise.
9087 (exp_test_data): Likewise.
9088 (exp_tonearest_test_data): Likewise.
9089 (exp_towardzero_test_data): Likewise.
9090 (exp_downward_test_data): Likewise.
9091 (exp_upward_test_data): Likewise.
9092 (exp10_test_data): Likewise.
9093 (exp2_test_data): Likewise.
9094 (expm1_test_data): Likewise.
9095 (fabs_test_data): Likewise.
9096 (fdim_test_data): Likewise.
9097 (finite_test_data): Likewise.
9098 (floor_test_data): Likewise.
9099 (fma_test_data): Likewise.
9100 (fma_towardzero_test_data): Likewise.
9101 (fma_downward_test_data): Likewise.
9102 (fma_upward_test_data): Likewise.
9103 (fmax_test_data): Likewise.
9104 (fmin_test_data): Likewise.
9105 (fmod_test_data): Likewise.
9106 (fpclassify_test_data): Likewise.
9107 (frexp_test_data): Likewise.
9108 (gamma_test_data): Likewise.
9109 (hypot_test_data): Likewise.
9110 (ilogb_test_data): Likewise.
9111 (isfinite_test_data): Likewise.
9112 (isgreater_test_data): Likewise.
9113 (isgreaterequal_test_data): Likewise.
9114 (isinf_test_data): Likewise.
9115 (isless_test_data): Likewise.
9116 (islessequal_test_data): Likewise.
9117 (islessgreater_test_data): Likewise.
9118 (isnan_test_data): Likewise.
9119 (isnormal_test_data): Likewise.
9120 (issignaling_test_data): Likewise.
9121 (isunordered_test_data): Likewise.
9122 (j0_test_data): Likewise.
9123 (j1_test_data): Likewise.
9124 (jn_test_data): Likewise.
9125 (ldexp_test_data): Likewise.
9126 (lgamma_test_data): Likewise.
9127 (lrint_test_data): Likewise.
9128 (lrint_tonearest_test_data): Likewise.
9129 (lrint_towardzero_test_data): Likewise.
9130 (lrint_downward_test_data): Likewise.
9131 (lrint_upward_test_data): Likewise.
9132 (llrint_test_data): Likewise.
9133 (llrint_tonearest_test_data): Likewise.
9134 (llrint_towardzero_test_data): Likewise.
9135 (llrint_downward_test_data): Likewise.
9136 (llrint_upward_test_data): Likewise.
9137 (log_test_data): Likewise.
9138 (log10_test_data): Likewise.
9139 (log1p_test_data): Likewise.
9140 (log2_test_data): Likewise.
9141 (logb_test_data): Likewise.
9142 (logb_downward_test_data): Likewise.
9143 (lround_test_data): Likewise.
9144 (llround_test_data): Likewise.
9145 (modf_test_data): Likewise.
9146 (nearbyint_test_data): Likewise.
9147 (nextafter_test_data): Likewise.
9148 (nexttoward_test_data): Likewise.
9149 (pow_test_data): Likewise.
9150 (pow_tonearest_test_data): Likewise.
9151 (pow_towardzero_test_data): Likewise.
9152 (pow_downward_test_data): Likewise.
9153 (pow_upward_test_data): Likewise.
9154 (remainder_test_data): Likewise.
9155 (remainder_tonearest_test_data): Likewise.
9156 (remainder_towardzero_test_data): Likewise.
9157 (remainder_downward_test_data): Likewise.
9158 (remainder_upward_test_data): Likewise.
9159 (remquo_test_data): Likewise.
9160 (rint_test_data): Likewise.
9161 (rint_tonearest_test_data): Likewise.
9162 (rint_towardzero_test_data): Likewise.
9163 (rint_downward_test_data): Likewise.
9164 (rint_upward_test_data): Likewise.
9165 (round_test_data): Likewise.
9166 (scalb_test_data): Likewise.
9167 (scalbn_test_data): Likewise.
9168 (scalbln_test_data): Likewise.
9169 (signbit_test_data): Likewise.
9170 (sin_test_data): Likewise.
9171 (sin_tonearest_test_data): Likewise.
9172 (sin_towardzero_test_data): Likewise.
9173 (sin_downward_test_data): Likewise.
9174 (sin_upward_test_data): Likewise.
9175 (sincos_test_data): Likewise.
9176 (sinh_test_data): Likewise.
9177 (sinh_tonearest_test_data): Likewise.
9178 (sinh_towardzero_test_data): Likewise.
9179 (sinh_downward_test_data): Likewise.
9180 (sinh_upward_test_data): Likewise.
9181 (sqrt_test_data): Likewise.
9182 (tan_test_data): Likewise.
9183 (tan_tonearest_test_data): Likewise.
9184 (tan_towardzero_test_data): Likewise.
9185 (tan_downward_test_data): Likewise.
9186 (tan_upward_test_data): Likewise.
9187 (tanh_test_data): Likewise.
9188 (tgamma_test_data): Likewise.
9189 (trunc_test_data): Likewise.
9190 (y0_test_data): Likewise.
9191 (y1_test_data): Likewise.
9192 (yn_test_data): Likewise.
9193 (significand_test_data): Likewise.
9195 * math/gen-libm-test.pl (@functions): Remove variable.
9196 (generate_testfile): Don't handle START and END lines.
9197 * math/libm-test.inc (START): New macro.
9199 (END_COMPLEX): Likewise.
9200 (acos_test): Use END macro without arguments.
9201 (acos_test_tonearest): Likewise.
9202 (acos_test_towardzero): Likewise.
9203 (acos_test_downward): Likewise.
9204 (acos_test_upward): Likewise.
9205 (acosh_test): Likewise.
9206 (asin_test): Likewise.
9207 (asin_test_tonearest): Likewise.
9208 (asin_test_towardzero): Likewise.
9209 (asin_test_downward): Likewise.
9210 (asin_test_upward): Likewise.
9211 (asinh_test): Likewise.
9212 (atan_test): Likewise.
9213 (atanh_test): Likewise.
9214 (atan2_test): Likewise.
9215 (cabs_test): Likewise.
9216 (cacos_test): Use END_COMPLEX macro without arguments.
9217 (cacosh_test): Likewise.
9218 (carg_test): Use END macro without arguments.
9219 (casin_test): Use END_COMPLEX macro without arguments.
9220 (casinh_test): Likewise.
9221 (catan_test): Likewise.
9222 (catanh_test): Likewise.
9223 (cbrt_test): Use END macro without arguments.
9224 (ccos_test): Use END_COMPLEX macro without arguments.
9225 (ccosh_test): Likewise.
9226 (ceil_test): Use END macro without arguments.
9227 (cexp_test): Use END_COMPLEX macro without arguments.
9228 (cimag_test): Use END macro without arguments.
9229 (clog_test): Use END_COMPLEX macro without arguments.
9230 (clog10_test): Likewise.
9231 (conj_test): Likewise.
9232 (copysign_test): Use END macro without arguments.
9233 (cos_test): Likewise.
9234 (cos_test_tonearest): Likewise.
9235 (cos_test_towardzero): Likewise.
9236 (cos_test_downward): Likewise.
9237 (cos_test_upward): Likewise.
9238 (cosh_test): Likewise.
9239 (cosh_test_tonearest): Likewise.
9240 (cosh_test_towardzero): Likewise.
9241 (cosh_test_downward): Likewise.
9242 (cosh_test_upward): Likewise.
9243 (cpow_test): Use END_COMPLEX macro without arguments.
9244 (cproj_test): Likewise.
9245 (creal_test): Use END macro without arguments.
9246 (csin_test): Use END_COMPLEX macro without arguments.
9247 (csinh_test): Likewise.
9248 (csqrt_test): Likewise.
9249 (ctan_test): Likewise.
9250 (ctan_test_tonearest): Likewise.
9251 (ctan_test_towardzero): Likewise.
9252 (ctan_test_downward): Likewise.
9253 (ctan_test_upward): Likewise.
9254 (ctanh_test): Likewise.
9255 (ctanh_test_tonearest): Likewise.
9256 (ctanh_test_towardzero): Likewise.
9257 (ctanh_test_downward): Likewise.
9258 (ctanh_test_upward): Likewise.
9259 (erf_test): Use END macro without arguments.
9260 (erfc_test): Likewise.
9261 (exp_test): Likewise.
9262 (exp_test_tonearest): Likewise.
9263 (exp_test_towardzero): Likewise.
9264 (exp_test_downward): Likewise.
9265 (exp_test_upward): Likewise.
9266 (exp10_test): Likewise.
9267 (exp2_test): Likewise.
9268 (expm1_test): Likewise.
9269 (fabs_test): Likewise.
9270 (fdim_test): Likewise.
9271 (finite_test): Likewise.
9272 (floor_test): Likewise.
9273 (fma_test): Likewise.
9274 (fma_test_towardzero): Likewise.
9275 (fma_test_downward): Likewise.
9276 (fma_test_upward): Likewise.
9277 (fmax_test): Likewise.
9278 (fmin_test): Likewise.
9279 (fmod_test): Likewise.
9280 (fpclassify_test): Likewise.
9281 (frexp_test): Likewise.
9282 (gamma_test): Likewise.
9283 (hypot_test): Likewise.
9284 (ilogb_test): Likewise.
9285 (isfinite_test): Likewise.
9286 (isgreater_test): Likewise.
9287 (isgreaterequal_test): Likewise.
9288 (isinf_test): Likewise.
9289 (isless_test): Likewise.
9290 (islessequal_test): Likewise.
9291 (islessgreater_test): Likewise.
9292 (isnan_test): Likewise.
9293 (isnormal_test): Likewise.
9294 (issignaling_test): Likewise.
9295 (isunordered_test): Likewise.
9296 (j0_test): Likewise.
9297 (j1_test): Likewise.
9298 (jn_test): Likewise.
9299 (ldexp_test): Likewise.
9300 (lgamma_test): Likewise.
9301 (lrint_test): Likewise.
9302 (lrint_test_tonearest): Likewise.
9303 (lrint_test_towardzero): Likewise.
9304 (lrint_test_downward): Likewise.
9305 (lrint_test_upward): Likewise.
9306 (llrint_test): Likewise.
9307 (llrint_test_tonearest): Likewise.
9308 (llrint_test_towardzero): Likewise.
9309 (llrint_test_downward): Likewise.
9310 (llrint_test_upward): Likewise.
9311 (log_test): Likewise.
9312 (log10_test): Likewise.
9313 (log1p_test): Likewise.
9314 (log2_test): Likewise.
9315 (logb_test): Likewise.
9316 (logb_test_downward): Likewise.
9317 (lround_test): Likewise.
9318 (llround_test): Likewise.
9319 (modf_test): Likewise.
9320 (nearbyint_test): Likewise.
9321 (nextafter_test): Likewise.
9322 (nexttoward_test): Likewise.
9323 (pow_test): Likewise.
9324 (pow_test_tonearest): Likewise.
9325 (pow_test_towardzero): Likewise.
9326 (pow_test_downward): Likewise.
9327 (pow_test_upward): Likewise.
9328 (remainder_test): Likewise.
9329 (remainder_test_tonearest): Likewise.
9330 (remainder_test_towardzero): Likewise.
9331 (remainder_test_downward): Likewise.
9332 (remainder_test_upward): Likewise.
9333 (remquo_test): Likewise.
9334 (rint_test): Likewise.
9335 (rint_test_tonearest): Likewise.
9336 (rint_test_towardzero): Likewise.
9337 (rint_test_downward): Likewise.
9338 (rint_test_upward): Likewise.
9339 (round_test): Likewise.
9340 (scalb_test): Likewise.
9341 (scalbn_test): Likewise.
9342 (scalbln_test): Likewise.
9343 (signbit_test): Likewise.
9344 (sin_test): Likewise.
9345 (sin_test_tonearest): Likewise.
9346 (sin_test_towardzero): Likewise.
9347 (sin_test_downward): Likewise.
9348 (sin_test_upward): Likewise.
9349 (sincos_test): Likewise.
9350 (sinh_test): Likewise.
9351 (sinh_test_tonearest): Likewise.
9352 (sinh_test_towardzero): Likewise.
9353 (sinh_test_downward): Likewise.
9354 (sinh_test_upward): Likewise.
9355 (sqrt_test): Likewise.
9356 (tan_test): Likewise.
9357 (tan_test_tonearest): Likewise.
9358 (tan_test_towardzero): Likewise.
9359 (tan_test_downward): Likewise.
9360 (tan_test_upward): Likewise.
9361 (tanh_test): Likewise.
9362 (tgamma_test): Likewise.
9363 (trunc_test): Likewise.
9364 (y0_test): Likewise.
9365 (y1_test): Likewise.
9366 (yn_test): Likewise.
9367 (significand_test): Likewise.
9369 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
9372 * libio/genops.c (_IO_no_init): Initialize wide struct info.
9374 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
9377 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
9378 __ppc_mdoio and __ppc_mdoom.
9379 * manual/platform.texi: Document new functions __ppc_yield,
9380 __ppc_mdoio and __ppc_mdoom.
9382 2013-05-22 Carlos O'Donell <carlos@redhat.com>
9384 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
9385 (main): Mention "tls" pseudo-hwcap is legacy.
9386 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
9388 2013-05-22 Joseph Myers <joseph@codesourcery.com>
9390 * math/gen-libm-test.pl (parse_args): Output only string of
9391 arguments as text for test name, not full call or descriptions of
9392 tests for extra outputs.
9393 (generate_testfile): Do not pass function name to parse_args.
9394 Generate this_func variable from START.
9395 * math/libm-test.inc (struct test_f_f_data): Rename test_name
9397 (struct test_ff_f_data): Likewise.
9398 (test_ff_f_data_nexttoward): Likewise.
9399 (struct test_fi_f_data): Likewise.
9400 (struct test_fl_f_data): Likewise.
9401 (struct test_if_f_data): Likewise.
9402 (struct test_fff_f_data): Likewise.
9403 (struct test_c_f_data): Likewise.
9404 (struct test_f_f1_data): Likewise. Remove field extra_name.
9405 (struct test_fF_f1_data): Likewise.
9406 (struct test_ffI_f1_data): Likewise.
9407 (struct test_c_c_data): Rename test_name field to arg_str.
9408 (struct test_cc_c_data): Likewise.
9409 (struct test_f_i_data): Likewise.
9410 (struct test_ff_i_data): Likewise.
9411 (struct test_f_l_data): Likewise.
9412 (struct test_f_L_data): Likewise.
9413 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
9415 (COMMON_TEST_SETUP): New macro.
9416 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9417 (COMMON_TEST_CLEANUP): Likewise.
9418 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9419 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
9421 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
9422 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
9424 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
9425 (RUN_TEST_fff_f): Take argument string. Call new setup and
9427 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
9428 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
9430 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
9431 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
9433 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9434 (RUN_TEST_fF_f1): Take argument string. Call new setup and
9436 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9437 (RUN_TEST_fI_f1): Take argument string. Call new setup and
9439 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9440 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
9442 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9443 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
9445 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
9446 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
9448 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
9449 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
9451 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
9452 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
9454 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
9455 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
9457 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
9458 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
9460 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
9461 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
9463 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
9464 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
9466 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
9467 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
9469 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
9470 (RUN_TEST_fFF_11): Take argument string. Call new setup and
9472 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
9474 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9476 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
9477 to _sifields.sigfault.
9478 (si_addr_lsb): Define new macro.
9479 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9480 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9481 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
9483 2013-05-03 Carlos O'Donell <carlos at redhat.com>
9486 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
9488 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
9490 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
9493 2013-05-22 Joseph Myers <joseph@codesourcery.com>
9495 * math/gen-libm-test.pl (parse_args): Do not include expected
9496 result in test name.
9497 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
9498 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9499 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9500 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9501 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9504 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9506 * benchtests/Makefile: Sort function entries.
9508 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
9509 tanh, asinh, acosh, atanh.
9510 * benchtests/acos-inputs: New file.
9511 * benchtests/acosh-inputs: New file.
9512 * benchtests/asin-inputs: New file.
9513 * benchtests/asinh-inputs: New file.
9514 * benchtests/atanh-inputs: New file.
9515 * benchtests/cosh-inputs: New file.
9516 * benchtests/log-inputs: New file.
9517 * benchtests/sinh-inputs: New file.
9518 * benchtests/tanh-inputs: New file.
9520 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
9523 * posix/tst-getaddrinfo4.c: New test.
9524 * posix/Makefile (tests): Add it.
9526 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9529 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
9530 when no services were used.
9531 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
9532 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
9534 2013-05-21 Andreas Schwab <schwab@suse.de>
9537 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
9538 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
9540 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
9541 redundant variable declarations and reallocation of buffer when
9542 parsing as IPv6 address. Always set NSS status when called from
9543 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
9544 buffer too small. Correct computation of needed size.
9545 * nss/Makefile (tests): Add test-digits-dots.
9546 * nss/test-digits-dots.c: New test.
9548 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9550 * benchtests/Makefile: Remove instructions for adding
9552 * benchtests/README: New file to explain how to execute and
9553 enhance the benchmark tests.
9555 2013-05-21 Andreas Schwab <schwab@suse.de>
9558 * setjmp/Makefile (tests): Add tst-sigsetjmp.
9559 * setjmp/tst-sigsetjmp.c: New test.
9561 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
9563 * sysdeps/x86_64/memset.S (memset): New implementation.
9564 (__bzero): Likewise.
9565 (__memset_tail): New function.
9567 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
9569 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
9570 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
9571 __memcpy_sse2_unaligned ifunc selection.
9572 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9573 Add memcpy-sse2-unaligned.S.
9574 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9575 Add: __memcpy_sse2_unaligned.
9577 2013-05-19 Joseph Myers <joseph@codesourcery.com>
9580 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9581 math_force_eval before restoring floating-point envrionment.
9582 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
9583 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
9585 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
9587 (__nearbyintl): Use math_force_eval before restoring
9588 floating-point environment.
9589 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
9591 * math/gen-libm-test.pl (special_functions): Remove.
9592 (parse_args): Don't handle TEST_extra. Handle functions with no
9594 * math/libm-test.inc (struct test_sincos_data): Replace with
9595 struct test_fFF_11_data.
9596 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
9597 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
9598 (sincos_test_data): Change element type to struct
9599 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
9600 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
9601 RUN_TEST_LOOP_sincos.
9602 * math/README.libm-test: Don't mention special handling of
9603 individual functions.
9604 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
9605 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9606 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9607 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9608 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9611 * math/gen-libm-test.pl (get_variable): Remove function.
9612 (parse_args): Don't show pointer parameters to call in test
9613 names. Use "extra output N" in test names for extra outputs
9614 rather than naming variables.
9616 2013-05-18 Joseph Myers <joseph@codesourcery.com>
9619 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
9620 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
9621 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
9623 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
9625 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
9628 * math/gen-libm-test.pl (@tests): Remove variable.
9630 (new_test): Remove function.
9631 (show_exceptions): New function.
9632 (special_functions): Use show_exceptions instead of new_test.
9633 (parse_args): Likewise.
9634 (generate_testfile): Pass only function name in generated call to
9635 print_max_error or print_complex_max_error.
9636 (get_ulps): Do not handle complex tests specially.
9637 (output_test): Rename to ...
9638 (get_all_ulps_for_test): ... this. Return a string rather than
9639 printing to a file. Require ulps to be present.
9640 (output_ulps): Generate arrays rather than #defines.
9641 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
9642 (struct ulp_data): New type.
9643 (BUILD_COMPLEX_ULP): Remove macro.
9644 (compare_ulp_data): New function.
9645 (find_ulps): Likewise.
9646 (find_test_ulps): Likewise.
9647 (find_function_ulps): Likewise.
9648 (find_complex_function_ulps): Likewise.
9649 (print_max_error): Determine allowed ulps using
9651 (print_complex_max_error): Determine allowed ulps using
9652 find_complex_function_ulps.
9653 (check_float_internal): Determine max ulps using find_test_ulps.
9654 (check_float): Do not take max_ulp parameter. Update call to
9655 check_float_internal.
9656 (check_complex): Likewise.
9657 (check_int): Do not take max_ulp parameter.
9658 (check_long): Likewise.
9659 (check_bool): Likewise.
9660 (check_longlong): Likewise.
9661 (struct test_f_f_data): Remove max_ulp field.
9662 (struct test_ff_f_data): Likewise.
9663 (struct test_ff_f_data_nexttoward): Likewise.
9664 (struct test_fi_f_data): Likewise.
9665 (struct test_fl_f_data): Likewise.
9666 (struct test_if_f_data): Likewise.
9667 (struct test_fff_f_data): Likewise.
9668 (struct test_c_f_data): Likewise.
9669 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
9670 (struct test_fF_f1_data): Likewise.
9671 (struct test_ffI_f1_data): Likewise.
9672 (struct test_c_c_data): Remove max_ulp field.
9673 (struct test_cc_c_data): Likewise.
9674 (struct test_f_i_data): Likewise.
9675 (struct test_ff_i_data): Likewise.
9676 (struct test_f_l_data): Likewise.
9677 (struct test_f_L_data): Likewise.
9678 (struct test_sincos_data): Likewise.
9679 (RUN_TEST_f_f): Do not handle ulps.
9680 (RUN_TEST_LOOP_f_f): Likewise.
9681 (RUN_TEST_2_f): Likewise.
9682 (RUN_TEST_LOOP_2_f): Likewise.
9683 (RUN_TEST_fff_f): Likewise.
9684 (RUN_TEST_LOOP_fff_f): Likewise.
9685 (RUN_TEST_c_f): Likewise.
9686 (RUN_TEST_LOOP_c_f): Likewise.
9687 (RUN_TEST_f_f1): Likewise.
9688 (RUN_TEST_LOOP_f_f1): Likewise.
9689 (RUN_TEST_fF_f1): Likewise.
9690 (RUN_TEST_LOOP_fF_f1): Likewise.
9691 (RUN_TEST_fI_f1): Likewise.
9692 (RUN_TEST_LOOP_fI_f1): Likewise.
9693 (RUN_TEST_ffI_f1): Likewise.
9694 (RUN_TEST_LOOP_ffI_f1): Likewise.
9695 (RUN_TEST_c_c): Likewise.
9696 (RUN_TEST_LOOP_c_c): Likewise.
9697 (RUN_TEST_cc_c): Likewise.
9698 (RUN_TEST_LOOP_cc_c): Likewise.
9699 (RUN_TEST_f_i): Likewise.
9700 (RUN_TEST_LOOP_f_i): Likewise.
9701 (RUN_TEST_f_i_tg): Likewise.
9702 (RUN_TEST_LOOP_f_i_tg): Likewise.
9703 (RUN_TEST_ff_i_tg): Likewise.
9704 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9705 (RUN_TEST_f_b): Likewise.
9706 (RUN_TEST_LOOP_f_b): Likewise.
9707 (RUN_TEST_f_b_tg): Likewise.
9708 (RUN_TEST_LOOP_f_b_tg): Likewise.
9709 (RUN_TEST_f_l): Likewise.
9710 (RUN_TEST_LOOP_f_l): Likewise.
9711 (RUN_TEST_f_L): Likewise.
9712 (RUN_TEST_LOOP_f_L): Likewise.
9713 (RUN_TEST_sincos): Likewise.
9714 (RUN_TEST_LOOP_sincos): Likewise.
9716 2013-05-17 Joseph Myers <joseph@codesourcery.com>
9720 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9721 main case of finite arguments, set rounding mode to FE_TONEAREST
9722 and discard exceptions.
9723 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9725 (remainder_tonearest_test_data): New variable.
9726 (remainder_test_tonearest): New function.
9727 (remainder_towardzero_test_data): New variable.
9728 (remainder_test_towardzero): New function.
9729 (remainder_downward_test_data): New variable.
9730 (remainder_test_downward): New function.
9731 (remainder_upward_test_data): New variable.
9732 (remainder_test_upward): New function.
9733 (main): Call the new test functions.
9735 * math/libm-test.inc (struct test_f_f1_data): Remove field
9737 (struct test_fF_f1_data): Likewise.
9738 (struct test_ffI_f1_data): Likewise.
9739 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
9740 based on value of EXTRA_EXPECTED.
9741 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9742 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
9743 EXTRA_VAR based on value of EXTRA_EXPECTED.
9744 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9745 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
9746 EXTRA_VAR based on value of EXTRA_EXPECTED.
9747 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9748 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
9749 EXTRA_VAR based on value of EXTRA_EXPECTED.
9750 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9751 * math/gen-libm-test.pl (parse_args): Don't output initializers
9752 for extra output values.
9754 * math/libm-test.inc (check_int): Expect result to be exactly
9755 equal to expected value and do not handle ulps.
9756 (check_long): Likewise.
9757 (check_longlong): Likewise.
9759 * math/libm-test.inc (ceil_test_data): Test for "inexact"
9761 (cimag_test_data): Likewise.
9762 (conj_test_data): Likewise.
9763 (copysign_test_data): Likewise.
9764 (cproj_test_data): Likewise.
9765 (creal_test_data): Likewise.
9766 (fabs_test_data): Likewise.
9767 (fdim_test_data): Likewise.
9768 (finite_test_data): Likewise.
9769 (floor_test_data): Likewise.
9770 (fmax_test_data): Likewise.
9771 (fmin_test_data): Likewise.
9772 (fmod_test_data): Likewise.
9773 (fpclassify_test_data): Likewise.
9774 (frexp_test_data): Likewise.
9775 (ilogb_test_data): Likewise.
9776 (isfinite_test_data): Likewise.
9777 (isgreater_test_data): Likewise.
9778 (isgreaterequal_test_data): Likewise.
9779 (isinf_test_data): Likewise.
9780 (isless_test_data): Likewise.
9781 (islessequal_test_data): Likewise.
9782 (islessgreater_test_data): Likewise.
9783 (isnan_test_data): Likewise.
9784 (isnormal_test_data): Likewise.
9785 (issignaling_test_data): Likewise.
9786 (isunordered_test_data): Likewise.
9787 (ldexp_test_data): Likewise.
9788 (lrint_test_data): Likewise.
9789 (lrint_test_data) [TEST_FLOAT]: Disable one test.
9790 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9791 (lrint_tonearest_test_data): Test for "inexact" exceptions.
9792 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9793 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9794 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9796 (lrint_towardzero_test_data): Test for "inexact" exceptions.
9797 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9798 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9799 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9801 (lrint_downward_test_data): Test for "inexact" exceptions.
9802 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9803 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9804 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9806 (lrint_upward_test_data): Test for "inexact" exceptions.
9807 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9809 (llrint_test_data): Test for "inexact" exceptions.
9810 (llrint_test_data) [TEST_FLOAT]: Disable one test.
9811 (llrint_tonearest_test_data): Test for "inexact" exceptions.
9812 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9813 (llrint_towardzero_test_data): Test for "inexact" exceptions.
9814 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9815 (llrint_downward_test_data): Test for "inexact" exceptions.
9816 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9817 (llrint_upward_test_data): Test for "inexact" exceptions.
9818 (logb_test_data): Likewise.
9819 (logb_downward_test_data): Likewise.
9820 (nextafter_test_data): Likewise.
9821 (nexttoward_test_data): Likewise.
9822 (remainder_test_data): Likewise.
9823 (remquo_test_data): Likewise.
9824 (scalbn_test_data): Likewise.
9825 (scalbln_test_data): Likewise.
9826 (signbit_test_data): Likewise.
9827 (sqrt_test_data): Likewise.
9828 (significand_test_data): Likewise.
9830 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9833 * benchtests/bench-modf.c (struct args): Mark arg0 as
9835 * scripts/bench.pl: Mark members of struct args as volatile.
9837 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9840 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9841 negative infinity on POWER6 or lower.
9842 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9844 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9847 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9848 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9849 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9850 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9851 (_FP_SETQNAN): New macro.
9852 (_FP_SETQNAN_SEMIRAW): Likewise.
9853 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9854 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9855 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9856 (FP_EXTEND): Use _FP_FRAC_SNANP.
9857 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9858 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9860 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9862 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9865 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9867 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9868 with DIVIDE_BY_ZERO_EXCEPTION.
9869 (gamma_test_data): Likewise.
9870 (lgamma_test_data): Likewise.
9871 (log_test_data): Likewise.
9872 (log10_test_data): Likewise.
9873 (log2_test_data): Likewise.
9874 (tgamma_test_data): Likewise.
9876 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9877 (acos_test_tonearest): Likewise.
9878 (acos_test_towardzero): Likewise.
9879 (acos_test_downward): Likewise.
9880 (acos_test_upward): Likewise.
9881 (acosh_test): Likewise.
9882 (asin_test): Likewise.
9883 (asin_test_tonearest): Likewise.
9884 (asin_test_towardzero): Likewise.
9885 (asin_test_downward): Likewise.
9886 (asin_test_upward): Likewise.
9887 (asinh_test): Likewise.
9888 (atan_test): Likewise.
9889 (atanh_test): Likewise.
9890 (atan2_test): Likewise.
9891 (cabs_test): Likewise.
9892 (cacos_test): Likewise.
9893 (cacosh_test): Likewise.
9894 (casin_test): Likewise.
9895 (casinh_test): Likewise.
9896 (catan_test): Likewise.
9897 (catanh_test): Likewise.
9898 (cbrt_test): Likewise.
9899 (ccos_test): Likewise.
9900 (ccosh_test): Likewise.
9901 (cexp_test): Likewise.
9902 (clog_test): Likewise.
9903 (clog10_test): Likewise.
9904 (cos_test): Likewise.
9905 (cos_test_tonearest): Likewise.
9906 (cos_test_towardzero): Likewise.
9907 (cos_test_downward): Likewise.
9908 (cos_test_upward): Likewise.
9909 (cosh_test): Likewise.
9910 (cosh_test_tonearest): Likewise.
9911 (cosh_test_towardzero): Likewise.
9912 (cosh_test_downward): Likewise.
9913 (cosh_test_upward): Likewise.
9914 (cpow_test): Likewise.
9915 (csin_test): Likewise.
9916 (csinh_test): Likewise.
9917 (csqrt_test): Likewise.
9918 (ctan_test): Likewise.
9919 (ctan_test_tonearest): Likewise.
9920 (ctan_test_towardzero): Likewise.
9921 (ctan_test_downward): Likewise.
9922 (ctan_test_upward): Likewise.
9923 (ctanh_test): Likewise.
9924 (ctanh_test_tonearest): Likewise.
9925 (ctanh_test_towardzero): Likewise.
9926 (ctanh_test_downward): Likewise.
9927 (ctanh_test_upward): Likewise.
9928 (erf_test): Likewise.
9929 (erfc_test): Likewise.
9930 (exp_test): Likewise.
9931 (exp_test_tonearest): Likewise.
9932 (exp_test_towardzero): Likewise.
9933 (exp_test_downward): Likewise.
9934 (exp_test_upward): Likewise.
9935 (exp10_test): Likewise.
9936 (exp2_test): Likewise.
9937 (expm1_test): Likewise.
9938 (fmod_test): Likewise.
9939 (gamma_test): Likewise.
9940 (hypot_test): Likewise.
9941 (j0_test): Likewise.
9942 (j1_test): Likewise.
9943 (jn_test): Likewise.
9944 (lgamma_test): Likewise.
9945 (log_test): Likewise.
9946 (log10_test): Likewise.
9947 (log1p_test): Likewise.
9948 (log2_test): Likewise.
9949 (logb_test_downward): Likewise.
9950 (pow_test): Likewise.
9951 (pow_test_tonearest): Likewise.
9952 (pow_test_towardzero): Likewise.
9953 (pow_test_downward): Likewise.
9954 (pow_test_upward): Likewise.
9955 (remainder_test): Likewise.
9956 (remquo_test): Likewise.
9957 (sin_test): Likewise.
9958 (sin_test_tonearest): Likewise.
9959 (sin_test_towardzero): Likewise.
9960 (sin_test_downward): Likewise.
9961 (sin_test_upward): Likewise.
9962 (sincos_test): Likewise.
9963 (sinh_test): Likewise.
9964 (sinh_test_tonearest): Likewise.
9965 (sinh_test_towardzero): Likewise.
9966 (sinh_test_downward): Likewise.
9967 (sinh_test_upward): Likewise.
9968 (sqrt_test): Likewise.
9969 (tan_test): Likewise.
9970 (tan_test_tonearest): Likewise.
9971 (tan_test_towardzero): Likewise.
9972 (tan_test_downward): Likewise.
9973 (tan_test_upward): Likewise.
9974 (tanh_test): Likewise.
9975 (tgamma_test): Likewise.
9976 (y0_test): Likewise.
9977 (y1_test): Likewise.
9978 (yn_test): Likewise.
9980 * math/gen-libm-test.pl (adjust_arg): Remove function.
9981 (special_function): Remove argument $in_func. Only handle
9982 generating output for tables of tests, not inside functions.
9983 (parse_args): Likewise.
9984 (generate_testfile): Remove variable $in_func. Update call to
9986 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9987 (MINUS_ZERO_INIT): Rename macro to minus_zero.
9988 (PLUS_INFTY_INIT): Rename macro to plus_infty.
9989 (MINUS_INFTY_INIT): Rename macro to minus_infty.
9990 (QNAN_VALUE_INIT): Rename macro to qnan_value.
9991 (MAX_VALUE_INIT): Rename macro to max_value.
9992 (MIN_VALUE_INIT): Rename macro to min_value.
9993 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9994 (plus_zero): Remove variable.
9995 (minus_zero): Likewise.
9996 (plus_infty): Likewise.
9997 (minus_infty): Likewise.
9998 (qnan_value): Likewise.
9999 (max_value): Likewise.
10000 (min_value): Likewise.
10001 (min_subnorm_value): Likewise.
10003 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10005 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
10006 uint64_t or uint32_t usage.
10007 * crypt/sha256-block.c: Likewise.
10008 * crypt/sha256-crypt.c: Likewise.
10009 * crypt/sha256.c: Likewise.
10010 * crypt/sha512-block.c: Likewise.
10011 * crypt/sha512-crypt.c: Likewise.
10012 * crypt/sha512.c: Likewise.
10013 * debug/backtrace-tst.c: Likewise.
10014 * debug/pcprofiledump.c: Likewise.
10015 * elf/cache.c: Likewise.
10016 * elf/dl-cache.c: Likewise.
10017 * elf/dl-misc.c: Likewise.
10018 * elf/dl-profile.c: Likewise.
10019 * elf/dl-support.c: Likewise.
10020 * elf/ldconfig.c: Likewise.
10021 * elf/sprof.c: Likewise.
10022 * iconv/dummy-repertoire.c: Likewise.
10023 * iconv/iconv_charmap.c: Likewise.
10024 * iconv/skeleton.c: Likewise.
10025 * iconvdata/8bit-generic.c: Likewise.
10026 * iconvdata/cp737.h: Likewise.
10027 * iconvdata/cp775.h: Likewise.
10028 * iconvdata/ibm1008.h: Likewise.
10029 * iconvdata/ibm1025.h: Likewise.
10030 * iconvdata/ibm1046.h: Likewise.
10031 * iconvdata/ibm1097.h: Likewise.
10032 * iconvdata/ibm1112.h: Likewise.
10033 * iconvdata/ibm1122.h: Likewise.
10034 * iconvdata/ibm1123.h: Likewise.
10035 * iconvdata/ibm1124.h: Likewise.
10036 * iconvdata/ibm1129.h: Likewise.
10037 * iconvdata/ibm1130.h: Likewise.
10038 * iconvdata/ibm1132.h: Likewise.
10039 * iconvdata/ibm1133.h: Likewise.
10040 * iconvdata/ibm1137.h: Likewise.
10041 * iconvdata/ibm1140.h: Likewise.
10042 * iconvdata/ibm1141.h: Likewise.
10043 * iconvdata/ibm1142.h: Likewise.
10044 * iconvdata/ibm1143.h: Likewise.
10045 * iconvdata/ibm1144.h: Likewise.
10046 * iconvdata/ibm1145.h: Likewise.
10047 * iconvdata/ibm1146.h: Likewise.
10048 * iconvdata/ibm1147.h: Likewise.
10049 * iconvdata/ibm1148.h: Likewise.
10050 * iconvdata/ibm1149.h: Likewise.
10051 * iconvdata/ibm1153.h: Likewise.
10052 * iconvdata/ibm1154.h: Likewise.
10053 * iconvdata/ibm1155.h: Likewise.
10054 * iconvdata/ibm1156.h: Likewise.
10055 * iconvdata/ibm1157.h: Likewise.
10056 * iconvdata/ibm1158.h: Likewise.
10057 * iconvdata/ibm1160.h: Likewise.
10058 * iconvdata/ibm1161.h: Likewise.
10059 * iconvdata/ibm1162.h: Likewise.
10060 * iconvdata/ibm1163.h: Likewise.
10061 * iconvdata/ibm1164.h: Likewise.
10062 * iconvdata/ibm1166.h: Likewise.
10063 * iconvdata/ibm1167.h: Likewise.
10064 * iconvdata/ibm12712.h: Likewise.
10065 * iconvdata/ibm1390.h: Likewise.
10066 * iconvdata/ibm1399.h: Likewise.
10067 * iconvdata/ibm16804.h: Likewise.
10068 * iconvdata/ibm4517.h: Likewise.
10069 * iconvdata/ibm4899.h: Likewise.
10070 * iconvdata/ibm4909.h: Likewise.
10071 * iconvdata/ibm4971.h: Likewise.
10072 * iconvdata/ibm5347.h: Likewise.
10073 * iconvdata/ibm803.h: Likewise.
10074 * iconvdata/ibm856.h: Likewise.
10075 * iconvdata/ibm901.h: Likewise.
10076 * iconvdata/ibm902.h: Likewise.
10077 * iconvdata/ibm9030.h: Likewise.
10078 * iconvdata/ibm9066.h: Likewise.
10079 * iconvdata/ibm921.h: Likewise.
10080 * iconvdata/ibm922.h: Likewise.
10081 * iconvdata/ibm9448.h: Likewise.
10082 * iconvdata/isiri-3342.h: Likewise.
10083 * iconvdata/jis0201.h: Likewise.
10084 * include/link.h: Likewise.
10085 * include/netdb.h: Likewise.
10086 * inet/check_native.c: Likewise.
10087 * inet/check_pf.c: Likewise.
10088 * inet/getipv4sourcefilter.c: Likewise.
10089 * inet/getnameinfo.c: Likewise.
10090 * inet/getsourcefilter.c: Likewise.
10091 * inet/htonl.c: Likewise.
10092 * inet/setipv4sourcefilter.c: Likewise.
10093 * inet/setsourcefilter.c: Likewise.
10094 * inet/test-inet6_opt.c: Likewise.
10095 * inet/tst-network.c: Likewise.
10096 * locale/C-collate.c: Likewise.
10097 * locale/C-ctype.c: Likewise.
10098 * locale/C-time.c: Likewise.
10099 * locale/C-translit.h: Likewise.
10100 * locale/loadarchive.c: Likewise.
10101 * locale/programs/3level.h: Likewise.
10102 * locale/programs/charmap.c: Likewise.
10103 * locale/programs/charmap.h: Likewise.
10104 * locale/programs/ld-address.c: Likewise.
10105 * locale/programs/ld-collate.c: Likewise.
10106 * locale/programs/ld-ctype.c: Likewise.
10107 * locale/programs/ld-identification.c: Likewise.
10108 * locale/programs/ld-measurement.c: Likewise.
10109 * locale/programs/ld-messages.c: Likewise.
10110 * locale/programs/ld-monetary.c: Likewise.
10111 * locale/programs/ld-name.c: Likewise.
10112 * locale/programs/ld-numeric.c: Likewise.
10113 * locale/programs/ld-paper.c: Likewise.
10114 * locale/programs/ld-telephone.c: Likewise.
10115 * locale/programs/ld-time.c: Likewise.
10116 * locale/programs/linereader.c: Likewise.
10117 * locale/programs/locale.c: Likewise.
10118 * locale/programs/locarchive.c: Likewise.
10119 * locale/programs/locfile.h: Likewise.
10120 * locale/programs/repertoire.c: Likewise.
10121 * locale/programs/simple-hash.c: Likewise.
10122 * locale/programs/simple-hash.h: Likewise.
10123 * malloc/memusage.c: Likewise.
10124 * malloc/memusagestat.c: Likewise.
10125 * nis/nis_defaults.c: Likewise.
10126 * nis/nis_hash.c: Likewise.
10127 * nis/nis_print.c: Likewise.
10128 * nis/nis_xdr.c: Likewise.
10129 * nscd/connections.c: Likewise.
10130 * nscd/hstcache.c: Likewise.
10131 * nscd/nscd_gethst_r.c: Likewise.
10132 * nscd/nscd_getserv_r.c: Likewise.
10133 * nscd/nscd_helper.c: Likewise.
10134 * nscd/servicescache.c: Likewise.
10135 * nss/makedb.c: Likewise.
10136 * nss/nss_db/db-XXX.c: Likewise.
10137 * nss/nss_db/db-initgroups.c: Likewise.
10138 * nss/nss_db/db-netgrp.c: Likewise.
10139 * nss/nss_files/files-network.c: Likewise.
10140 * nss/nss_files/files-parse.c: Likewise.
10141 * posix/bug-regex5.c: Likewise.
10142 * posix/fnmatch_loop.c: Likewise.
10143 * posix/regcomp.c: Likewise.
10144 * posix/regexec.c: Likewise.
10145 * posix/tst-rfc3484-2.c: Likewise.
10146 * posix/tst-rfc3484-3.c: Likewise.
10147 * posix/tst-rfc3484.c: Likewise.
10148 * resolv/nss_dns/dns-canon.c: Likewise.
10149 * resolv/nss_dns/dns-network.c: Likewise.
10150 * resolv/res_init.c: Likewise.
10151 * resolv/res_mkquery.c: Likewise.
10152 * resolv/tst-aton.c: Likewise.
10153 * stdlib/cxa_atexit.c: Likewise.
10154 * stdlib/cxa_finalize.c: Likewise.
10155 * stdlib/gen-fpioconst.c: Likewise.
10156 * stdlib/strtol_l.c: Likewise.
10157 * string/tst-endian.c: Likewise.
10158 * sunrpc/auth_des.c: Likewise.
10159 * sunrpc/clnt_udp.c: Likewise.
10160 * sunrpc/rtime.c: Likewise.
10161 * sunrpc/svcauth_des.c: Likewise.
10162 * sunrpc/xdr.c: Likewise.
10163 * sunrpc/xdr_intXX_t.c: Likewise.
10164 * sunrpc/xdr_rec.c: Likewise.
10165 * sysdeps/generic/ldconfig.h: Likewise.
10166 * sysdeps/generic/ldsodefs.h: Likewise.
10167 * sysdeps/generic/memusage.h: Likewise.
10168 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10169 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
10170 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
10171 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10172 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10173 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10174 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10175 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10176 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10177 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10178 * sysdeps/posix/getaddrinfo.c: Likewise.
10179 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10180 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10181 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10182 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10183 * sysdeps/powerpc/test-gettimebase.c: Likewise.
10184 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10185 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
10186 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
10187 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10188 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
10189 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10190 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10191 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
10192 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
10193 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
10194 * sysdeps/x86_64/dl-tls.h: Likewise.
10195 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
10196 * time/alt_digit.c: Likewise.
10197 * time/era.c: Likewise.
10198 * wcsmbs/tst-c16c32-1.c: Likewise.
10200 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10202 * math/libm-test.inc (struct test_sincos_data): New type.
10203 (RUN_TEST_LOOP_sincos): New macro.
10204 (sincos_test_data): New variable.
10205 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
10207 2013-05-16 Richard Henderson <rth@redhat.com>
10209 * math/atest-exp2.c (LIMB64): New macro.
10210 (CONSTSZ): New macro.
10211 (mp_exp1, mp_exp_m1, mp_log2): New variables.
10213 (print_mpn_fp): ... to function scope.
10214 (read_mpn_hex): Remove.
10215 (get_log2): Remove.
10216 (exp2_mpn): Use mp_log2.
10217 (main): Use mp_exp1.
10219 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10221 * math/libm-test.inc: Remove comment about not testing "inexact"
10223 (INEXACT_EXCEPTION): New macro.
10224 (NO_INEXACT_EXCEPTION): Likewise.
10225 (INVALID_EXCEPTION_OK): Update value.
10226 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10227 (OVERFLOW_EXCEPTION_OK): Likewise.
10228 (UNDERFLOW_EXCEPTION_OK): Likewise.
10229 (IGNORE_ZERO_INF_SIGN): Likewise.
10230 (ERRNO_UNCHANGED): Likewise.
10231 (ERRNO_EDOM): Likewise.
10232 (ERRNO_ERANGE): Likewise.
10233 (test_exceptions): Handle testing "inexact" exceptions.
10234 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
10235 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
10236 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
10237 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
10239 (rint_towardzero_test_data): Likewise.
10240 (rint_downward_test_data): Likewise.
10241 (rint_upward_test_data): Likewise.
10243 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
10244 with OVERFLOW_EXCEPTION.
10245 (exp10_test_data): Likewise.
10246 (exp2_test_data): Likewise.
10247 (expm1_test_data): Likewise.
10248 (lgamma_test_data): Likewise.
10249 (pow_test_data): Likewise.
10250 (tgamma_test_data): Likewise.
10251 (yn_test_data): Remove duplicate test of overflow.
10253 * math/libm-test.inc (struct test_cc_c_data): New type.
10254 (RUN_TEST_LOOP_cc_c): New macro.
10255 (cpow_test_data): New variable.
10256 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
10258 * math/libm-test.inc (struct test_f_L_data): New type.
10259 (RUN_TEST_LOOP_f_L): New macro.
10260 (llrint_test_data): New variable.
10261 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
10262 (llrint_tonearest_test_data): New variable.
10263 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
10264 (llrint_towardzero_test_data): New variable.
10265 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
10266 (llrint_downward_test_data): New variable.
10267 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
10268 (llrint_upward_test_data): New variable.
10269 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
10270 (llround_test_data): New variable.
10271 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
10273 2013-05-13 Peter Collingbourne <pcc@google.com>
10275 * math/atest-exp2.c (get_log2): Remove const attribute.
10277 2013-05-15 Joseph Myers <joseph@codesourcery.com>
10279 * math/libm-test.inc (struct test_f_l_data): New type.
10280 (RUN_TEST_LOOP_f_l): New macro.
10281 (lrint_test_data): New variable.
10282 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
10283 (lrint_tonearest_test_data): New variable.
10284 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
10285 (lrint_towardzero_test_data): New variable.
10286 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
10287 (lrint_downward_test_data): New variable.
10288 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
10289 (lrint_upward_test_data): New variable.
10290 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
10291 (lround_test_data): New variable.
10292 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
10294 2013-05-15 Peter Collingbourne <pcc@google.com>
10296 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
10297 (EXTRACT_WORDS64) Use where appropriate.
10298 (INSERT_WORDS64) Likewise.
10300 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
10301 constraints with x constraints.
10302 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
10304 * malloc/obstack.c (_obstack_compat): Add initializer.
10306 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
10308 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
10309 si_trapno and add si_addr_lsb to _sifields.sigfault.
10310 (si_trapno): Remove macro.
10311 (si_addr_lsb): Define new macro.
10312 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10314 2013-05-15 Joseph Myers <joseph@codesourcery.com>
10316 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
10317 instead of TEST_f_l.
10318 (llrint_test_tonearest): Likewise.
10319 (llrint_test_towardzero): Likewise.
10320 (llrint_test_downward): Likewise.
10321 (llrint_test_upward): Likewise.
10322 (llround_test): Likewise.
10324 * math/libm-test.inc (struct test_f_i_data): Add comment.
10325 (RUN_TEST_LOOP_f_b): New macro.
10326 (RUN_TEST_LOOP_f_b_tg): Likewise.
10327 (finite_test_data): New variable.
10328 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
10329 (isfinite_test_data): New variable.
10330 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10331 (isinf_test_data): New variable.
10332 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10333 (isnan_test_data): New variable.
10334 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10335 (isnormal_test_data): New variable.
10336 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10337 (issignaling_test_data): New variable.
10338 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10339 (signbit_test_data): New variable.
10340 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10342 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
10343 with INVALID_EXCEPTION.
10344 (acosh_test_data): Likewise.
10345 (asin_test_data): Likewise.
10346 (atanh_test_data): Likewise.
10347 (fmod_test_data): Likewise.
10348 (log_test_data): Likewise.
10349 (log10_test_data): Likewise.
10350 (log2_test_data): Likewise.
10351 (pow_test_data): Likewise.
10352 (sqrt_test_data): Likewise.
10353 (y0_test_data): Likewise.
10354 (y1_test_data): Likewise.
10355 (yn_test_data): Likewise.
10357 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
10360 * math/libm-test.inc (struct test_ff_i_data): New type.
10361 (RUN_TEST_LOOP_ff_i_tg): New macro.
10362 (isgreater_test_data): New variable.
10363 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10364 (isgreaterequal_test_data): New variable.
10365 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10366 (isless_test_data): New variable.
10367 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10368 (islessequal_test_data): New variable.
10369 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10370 (islessgreater_test_data): New variable.
10371 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10372 (isunordered_test_data): New variable.
10373 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10375 2013-05-14 David S. Miller <davem@davemloft.net>
10377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10379 2013-05-14 Joseph Myers <joseph@codesourcery.com>
10381 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
10383 * math/libm-test.inc (struct test_fF_f1_data): Change type of
10385 (struct test_f_i_data): Change type of max_ulp to int.
10387 * math/libm-test.inc (test_ffI_f1_data): New type.
10388 (RUN_TEST_LOOP_ffI_f1): New macro.
10389 (remquo_test_data): New variable.
10390 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
10392 * setjmp/tst-setjmp-fp.c: New file.
10393 * setjmp/Makefile (tests): Add tst-setjmp-fp.
10394 (link-libm): New variable.
10395 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
10397 * math/libm-test.inc (struct test_f_i_data): New type.
10398 (RUN_TEST_LOOP_f_i): New macro.
10399 (RUN_TEST_LOOP_f_i_tg): Likewise.
10400 (fpclassify_test_data): New variable.
10401 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
10402 (ilogb_test_data): New variable.
10403 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
10405 * math/libm-test.inc (scalbln_test): Correct function name in END
10408 * math/libm-test.inc (struct test_f_f1_data): Add comment.
10409 (RUN_TEST_LOOP_fI_f1): New macro.
10410 (frexp_test_data): New variable.
10411 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
10413 * math/libm-test.inc (struct test_fF_f1_data): New type.
10414 (RUN_TEST_LOOP_fF_f1): New macro.
10415 (modf_test_data): New variable.
10416 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
10418 * math/libm-test.inc (struct test_f_f1_data): New type.
10419 (RUN_TEST_LOOP_f_f1): New macro.
10420 (gamma_test_data): New variable.
10421 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10422 (lgamma_test_data): New variable.
10423 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10425 2013-05-13 Carlos O'Donell <carlos@redhat.com>
10427 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
10428 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
10429 (main): Comment "tls" pseudo-hwcap.
10431 2013-05-13 Joseph Myers <joseph@codesourcery.com>
10433 * math/libm-test.inc (struct test_fl_f_data): New type.
10434 (RUN_TEST_LOOP_fl_f): New variable.
10435 (scalbln_test_data): New variable.
10436 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
10438 * math/libm-test.inc (struct test_fi_f_data): New type.
10439 (RUN_TEST_LOOP_fi_f): New macro.
10440 (ldexp_test_data): New variable.
10441 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
10442 (scalbn_test_data): New variable.
10443 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
10445 * math/libm-test.inc (struct test_c_f_data): New type.
10446 (RUN_TEST_LOOP_c_f): New macro.
10447 (cabs_test_data): New variable.
10448 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
10449 (carg_test_data): New variable.
10450 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
10451 (cimag_test_data): New variable.
10452 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
10453 (creal_test_data): New variable.
10454 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
10456 * math/libm-test.inc (struct test_if_f_data): New type.
10457 (RUN_TEST_LOOP_if_f): New macro.
10458 (jn_test_data): New variable.
10459 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
10460 (yn_test_data): New variable.
10461 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
10463 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
10465 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10467 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
10468 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
10470 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10472 * benchtests/Makefile (CPPFLAGS-nonlib): Add
10473 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
10474 (bench-deps): Add bench-timing.h.
10475 * benchtests-bench-skeleton.c: Include bench-timing.h.
10476 (main): Use TIMING_* macros instead of clock_gettime.
10477 * benchtests/bench-timing.h: New file.
10480 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
10481 Renamed from _LIB_VERSION.
10482 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
10484 2013-05-12 Joseph Myers <joseph@codesourcery.com>
10486 * math/libm-test.inc (struct test_fff_f_data): New type.
10487 (RUN_TEST_LOOP_fff_f): New macro.
10488 (fma_test_data): New variable.
10489 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
10490 (fma_towardzero_test_data): New variable.
10491 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
10492 (fma_downward_test_data): New variable.
10493 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
10494 (fma_upward_test_data): New variable.
10495 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
10497 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
10498 (struct test_c_c_data): New type.
10499 (RUN_TEST_LOOP_c_c): New macro.
10500 (cacos_test_data): New variable.
10501 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
10502 (cacosh_test_data): New variable.
10503 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
10504 (casin_test_data): New variable.
10505 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
10506 (casinh_test_data): New variable.
10507 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
10508 (catan_test_data): New variable.
10509 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
10510 (catanh_test_data): New variable.
10511 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
10512 (ccos_test_data): New variable.
10513 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
10514 (ccosh_test_data): New variable.
10515 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
10516 (cexp_test_data): New variable.
10517 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
10518 (clog_test_data): New variable.
10519 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
10520 (clog10_test_data): New variable.
10521 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
10522 (conj_test_data): New variable.
10523 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
10524 (cproj_test_data): New variable.
10525 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
10526 (csin_test_data): New variable.
10527 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
10528 (csinh_test_data): New variable.
10529 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
10530 (csqrt_test_data): New variable.
10531 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
10532 (ctan_test_data): New variable.
10533 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
10534 (ctan_tonearest_test_data): New variable.
10535 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10536 (ctan_towardzero_test_data): New variable.
10537 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10538 (ctan_downward_test_data): New variable.
10539 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10540 (ctan_upward_test_data): New variable.
10541 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10542 (ctanh_test_data): New variable.
10543 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
10544 (ctanh_tonearest_test_data): New variable.
10545 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10546 (ctanh_towardzero_test_data): New variable.
10547 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10548 (ctanh_downward_test_data): New variable.
10549 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10550 (ctanh_upward_test_data): New variable.
10551 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10552 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
10555 * math/libm-test.inc (struct test_ff_f_data): New type.
10556 (struct test_ff_f_data_nexttoward): Likewise.
10557 (RUN_TEST_LOOP_2_f): New macro.
10558 (RUN_TEST_LOOP_ff_f): Likewise.
10559 (atan2_test_data): New variable.
10560 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
10561 (copysign_test_data): New variable.
10562 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
10563 (fdim_test_data): New variable.
10564 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
10565 (fmax_test_data): New variable.
10566 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
10567 (fmin_test_data): New variable.
10568 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
10569 (fmod_test_data): New variable.
10570 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
10571 (hypot_test_data): New variable.
10572 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
10573 (nextafter_test_data): New variable.
10574 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
10575 (nexttoward_test_data): New variable.
10576 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
10577 (pow_test_data): New variable.
10578 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
10579 (pow_tonearest_test_data): New variable.
10580 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
10581 (pow_towardzero_test_data): New variable.
10582 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
10583 (pow_downward_test_data): New variable.
10584 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
10585 (pow_upward_test_data): New variable.
10586 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
10587 (remainder_test_data): New variable.
10588 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
10589 (scalb_test_data): New variable.
10590 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
10591 * sysdeps/i386/fpu/libm-test-ulps: Update.
10593 2013-05-11 Joseph Myers <joseph@codesourcery.com>
10595 * math/libm-test.inc (fma_test): Use max_value instead of local
10597 (nextafter_test): Likewise.
10599 * math/libm-test.inc (acos_towardzero_test_data): New variable.
10600 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10601 (acos_downward_test_data): New variable.
10602 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10603 (acos_upward_test_data): New variable.
10604 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10605 (acosh_test_data): New variable.
10606 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
10607 (asin_test_data): New variable.
10608 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
10609 (asin_tonearest_test_data): New variable.
10610 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10611 (asin_towardzero_test_data): New variable.
10612 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10613 (asin_downward_test_data): New variable.
10614 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10615 (asin_upward_test_data): New variable.
10616 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10617 (asinh_test_data): New variable.
10618 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
10619 (atan_test_data): New variable.
10620 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
10621 (atanh_test_data): New variable.
10622 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
10623 (cbrt_test_data): New variable.
10624 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
10625 (ceil_test_data): New variable.
10626 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
10627 (cos_test_data): New variable.
10628 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
10629 (cos_tonearest_test_data): New variable.
10630 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10631 (cos_towardzero_test_data): New variable.
10632 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10633 (cos_downward_test_data): New variable.
10634 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10635 (cos_upward_test_data): New variable.
10636 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10637 (cosh_test_data): New variable.
10638 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
10639 (cosh_tonearest_test_data): New variable.
10640 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10641 (cosh_towardzero_test_data): New variable.
10642 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10643 (cosh_downward_test_data): New variable.
10644 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10645 (cosh_upward_test_data): New variable.
10646 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10647 (erf_test_data): New variable.
10648 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
10649 (erfc_test_data): New variable.
10650 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
10651 (exp_test_data): New variable.
10652 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
10653 (exp_tonearest_test_data): New variable.
10654 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10655 (exp_towardzero_test_data): New variable.
10656 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10657 (exp_downward_test_data): New variable.
10658 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10659 (exp_upward_test_data): New variable.
10660 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10661 (exp10_test_data): New variable.
10662 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
10663 (exp2_test_data): New variable.
10664 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
10665 (expm1_test_data): New variable.
10666 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
10667 (fabs_test_data): New variable.
10668 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
10669 (floor_test_data): New variable.
10670 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
10671 (j0_test_data): New variable.
10672 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
10673 (j1_test_data): New variable.
10674 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
10675 (log_test_data): New variable.
10676 (log_test): Run tests with RUN_TEST_LOOP_f_f.
10677 (log10_test_data): New variable.
10678 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
10679 (log1p_test_data): New variable.
10680 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
10681 (log2_test_data): New variable.
10682 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
10683 (logb_test_data): New variable.
10684 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
10685 (logb_downward_test_data): New variable.
10686 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10687 (nearbyint_test_data): New variable.
10688 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
10689 (rint_test_data): New variable.
10690 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
10691 (rint_tonearest_test_data): New variable.
10692 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10693 (rint_towardzero_test_data): New variable.
10694 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10695 (rint_downward_test_data): New variable.
10696 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10697 (rint_upward_test_data): New variable.
10698 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10699 (round_test_data): New variable.
10700 (round_test): Run tests with RUN_TEST_LOOP_f_f.
10701 (sin_test_data): New variable.
10702 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
10703 (sin_tonearest_test_data): New variable.
10704 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10705 (sin_towardzero_test_data): New variable.
10706 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10707 (sin_downward_test_data): New variable.
10708 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10709 (sin_upward_test_data): New variable.
10710 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10711 (sinh_test_data): New variable.
10712 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
10713 (sinh_tonearest_test_data): New variable.
10714 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10715 (sinh_towardzero_test_data): New variable.
10716 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10717 (sinh_downward_test_data): New variable.
10718 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10719 (sinh_upward_test_data): New variable.
10720 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10721 (sqrt_test_data): New variable.
10722 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10723 (tan_test_data): New variable.
10724 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10725 (tan_tonearest_test_data): New variable.
10726 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10727 (tan_towardzero_test_data): New variable.
10728 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10729 (tan_downward_test_data): New variable.
10730 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10731 (tan_upward_test_data): New variable.
10732 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10733 (tanh_test_data): New variable.
10734 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10735 (tgamma_test_data): New variable.
10736 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10737 (trunc_test_data): New variable.
10738 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10739 (y0_test_data): New variable.
10740 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10741 (y1_test_data): New variable.
10742 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10743 (significand_test_data): New variable.
10744 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10746 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
10749 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10751 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
10753 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10755 2013-05-10 Andreas Jaeger <aj@suse.de>
10758 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10759 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10761 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10763 * math/gen-libm-test.pl (adjust_arg): New function.
10764 (special_functions): Handle generating output in both functions
10766 (parse_args): Likewise.
10767 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
10768 $in_func argument to parse_args.
10769 * math/libm-test.inc (struct test_f_f_data): New type.
10770 (IF_ROUND_INIT_): New macro.
10771 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10772 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10773 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10774 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10775 (ROUND_RESTORE_): Likewise.
10776 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10777 (ROUND_RESTORE_FE_TONEAREST): Likewise.
10778 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10779 (ROUND_RESTORE_FE_UPWARD): Likewise.
10780 (RUN_TEST_LOOP_f_f): New macro.
10781 (acos_test_data): New variable.
10782 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10783 (acos_tonearest_test_data): New variable.
10784 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10786 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10788 * benchtests/bench-skeleton.c (startup): Fix coding style.
10790 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10793 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10794 negative infinity argument.
10795 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10796 negative infinity argument.
10797 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10798 negative infinity argument.
10799 * math/libm-test.inc (tgamma_test): Expect errno to be set for
10802 2013-05-10 Florian Weimer <fweimer@redhat.com>
10804 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10805 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10806 * iconv/iconv_prog.c (main): Likewise.
10807 * locale/programs/charmap-dir.c (charmap_readdir)
10808 (fopen_uncompressed): Likewise.
10809 * locale/programs/locfile.c (siblings_uncached)
10810 (write_locale_data): Use lstat64 instead of lstat.
10811 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10814 2013-05-10 Andreas Jaeger <aj@suse.de>
10817 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10819 Include <locale.h>.
10821 2013-05-09 Carlos O'Donell <carlos@redhat.com>
10823 * elf/dl-close.c (_dl_close_worker): Add comments.
10825 2013-05-09 Joseph Myers <joseph@codesourcery.com>
10828 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10830 (__ieee754_rem_pio2l): Update comments.
10833 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10835 (__ieee754_rem_pio2l): Update comments.
10837 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10838 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10840 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10843 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10844 (M_PI_34_LOG10El): Likewise.
10845 (M_PI2_LOG10El): Likewise.
10846 (M_PI4_LOG10El): Likewise.
10847 (M_PI_LOG10El): Likewise.
10849 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10853 2013-05-08 Joseph Myers <joseph@codesourcery.com>
10855 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10856 (MINUS_ZERO_INIT): Likewise.
10857 (PLUS_INFTY_INIT): Likewise.
10858 (MINUS_INFTY_INIT): Likewise.
10859 (QNAN_VALUE_INIT): Likewise.
10860 (MAX_VALUE_INIT): Likewise.
10861 (MIN_VALUE_INIT): Likewise.
10862 (MIN_SUBNORM_VALUE_INIT): Likewise.
10863 (plus_zero): Initialize with PLUS_ZERO_INIT.
10864 (minus_zero): Initialize with MINUS_ZERO_INIT.
10865 (plus_infty): Initialize with PLUS_INFTY_INIT.
10866 (minus_infty): Initialize with MINUS_INFTY_INIT.
10867 (qnan_value): Initialize with QNAN_VALUE_INIT.
10868 (max_value): Initialize with MAX_VALUE_INIT.
10869 (min_value): Initialize with MIN_VALUE_INIT.
10870 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10872 * math/libm-test.inc (RUN_TEST_if_f): New macro.
10873 (jn_test): Use TEST_if_f instead of TEST_ff_f.
10874 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10875 (yn_test): Use TEST_if_f instead of TEST_ff_f.
10877 * math/libm-test.inc (RUN_TEST_f_f): New macro.
10878 (RUN_TEST_2_f): Likewise.
10879 (RUN_TEST_ff_f): Likewise.
10880 (RUN_TEST_fi_f): Likewise.
10881 (RUN_TEST_fl_f): Likewise.
10882 (RUN_TEST_fff_f): Likewise.
10883 (RUN_TEST_c_f): Likewise.
10884 (RUN_TEST_f_f1): Likewise.
10885 (RUN_TEST_fF_f1): Likewise.
10886 (RUN_TEST_fI_f1): Likewise.
10887 (RUN_TEST_ffI_f1): Likewise.
10888 (RUN_TEST_c_c): Likewise.
10889 (RUN_TEST_cc_c): Likewise.
10890 (RUN_TEST_f_i): Likewise.
10891 (RUN_TEST_f_i_tg): Likewise.
10892 (RUN_TEST_ff_i_tg): Likewise.
10893 (RUN_TEST_f_b): Likewise.
10894 (RUN_TEST_f_b_tg): Likewise.
10895 (RUN_TEST_f_l): Likewise.
10896 (RUN_TEST_f_L): Likewise.
10897 (RUN_TEST_sincos): Likewise.
10898 * math/gen-libm-test.pl (new_test): Take new argument to indicate
10899 whether to show exceptions. Do not include ");\n" in return
10901 (special_functions): Output call to RUN_TEST_sincos instead of
10902 check_float calls. Update calls to new_test.
10903 (parse_args): Output call to single RUN_TEST_* macro instead of
10904 check_* calls and other assignments. Update calls to new_test.
10910 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10911 input to result for tgamma overflow.
10912 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10913 (gamma_coeff): New variable.
10914 (NCOEFF): New macro.
10915 (gamma_positive): New function.
10916 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10917 underflow here. Use gamma_positive instead of exp (lgamma) for
10919 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10920 (gamma_coeff): New variable.
10921 (NCOEFF): New macro.
10922 (gammaf_positive): New function.
10923 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10924 underflow here. Use gamma_positive instead of exp (lgamma) for
10926 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10927 (gamma_coeff): New variable.
10928 (NCOEFF): New macro.
10929 (gammal_positive): New function.
10930 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10931 underflow here. Use gamma_positive instead of exp (lgamma) for
10933 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10934 (gamma_coeff): New variable.
10935 (NCOEFF): New macro.
10936 (gammal_positive): New function.
10937 (__ieee754_gammal_r): Handle positive infinity, overflow and
10938 underflow here. Handle NaN the same as positive infinity. Remove
10939 check x < 0xffffffff for negative integers. Use gamma_positive
10940 instead of exp (lgamma) for other arguments.
10941 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10942 (gamma_coeff): New variable.
10943 (NCOEFF): New macro.
10944 (gammal_positive): New function.
10945 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10946 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10947 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10948 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10949 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10950 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10951 * sysdeps/generic/math_private.h (__gamma_productf): New
10953 (__gamma_product): Likewise.
10954 (__gamma_productl): Likewise.
10955 * math/Makefile (libm-calls): Add gamma_product.
10956 * math/libm-test.inc (tgamma_test): Add more tests.
10957 * sysdeps/i386/fpu/libm-test-ulps: Update.
10958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10960 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
10962 * benchtests/bench-skeleton.c (main): Preheat CPU.
10964 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
10966 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10968 2013-05-07 Roland McGrath <roland@hack.frob.com>
10970 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10971 and _dl_skip_args_internal.
10973 2013-05-07 Carlos O'Donell <carlos@redhat.com>
10975 * manual/message.texi (Message Translation): Talk about users.
10976 Message to key mapping impacts design.
10978 2013-05-06 Roland McGrath <roland@hack.frob.com>
10980 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10982 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10984 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10985 * sysdeps/wordsize-64/glob64.c: ... here.
10987 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10988 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10991 * debug/getlogin_r_chk.c: Moved to ...
10992 * login/getlogin_r_chk.c: ... here.
10993 * debug/Makefile (routines): Move getlogin_r_chk to ...
10994 * login/Makefile (routines): ... here.
10995 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10996 * login/Versions (libc: GLIBC_2.4): ... here.
10998 * io/poll.c (__poll): Renamed from poll.
10999 Add libc_hidden_def.
11000 (poll): Define as weak alias.
11002 * debug/ptsname_r_chk.c: Moved to ...
11003 * login/ptsname_r_chk.c: ... here.
11004 * debug/Makefile (routines): Move ptsname_r_chk to ...
11005 * login/Makefile (routines): ... here.
11006 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
11007 * login/Versions (libc: GLIBC_2.4): ... here.
11009 * posix/getlogin.c: Moved to ...
11010 * login/getlogin.c: ... here.
11011 * posix/getlogin_r.c: Moved to ...
11012 * login/getlogin_r.c: ... here.
11013 * posix/getlogin_r.c: Moved to ...
11014 * login/getlogin_r.c: ... here.
11015 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11016 * login/Makefile (routines): ... here.
11017 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11018 * login/Versions (libc: GLIBC_2.0): ... here.
11020 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11021 (setrlimit): Define as weak alias.
11023 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11024 Call __ names for open, ftruncate, and close.
11025 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11026 (truncate): Define as weak alias.
11028 2013-05-06 Joseph Myers <joseph@codesourcery.com>
11030 * math/gen-libm-test.pl (parse_args): Initialize x before each
11031 test of frexp, modf and remquo.
11033 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11034 test signgam value.
11036 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11040 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11042 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11044 2013-05-06 Roland McGrath <roland@hack.frob.com>
11046 * elf/dl-writev.h: New file.
11047 * elf/dl-misc.c: Include it.
11048 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
11049 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
11051 2013-05-04 Joseph Myers <joseph@codesourcery.com>
11053 * math/libm-test.inc (noXFails): Remove variable.
11054 (noXPasses): Likewise.
11055 (BUILD_COMPLEX_INT): Remove macro.
11056 (print_screen): Remove xfail argument.
11057 (print_screen_max_error): Likewise.
11058 (update_stats): Likewise.
11059 (print_max_error): Likewise. Update calls to other affected
11061 (print_complex_max_error): Likewise.
11062 (test_single_exception): Update calls to print_screen.
11063 (test_single_errno): Likewise.
11064 (check_float_internal): Remove xfail argument. Update calls to
11065 other affected functions.
11066 (check_float): Likewise.
11067 (check_complex): Likewise.
11068 (check_int): Likewise.
11069 (check_long): Likewise.
11070 (check_bool): Likewise.
11071 (check_longlong): Likewise.
11072 (main): Don't print noXFails and noXPasses.
11073 * math/gen-libm-test.pl (top level): Don't mention expected
11074 failure handling in comment.
11075 (new_test): Don't handle expected failures.
11076 (parse_args): Don't mention expected failure handling in comment.
11077 (generate_testfile): Don't handle expected failures.
11078 (parse_ulps): Likewise.
11079 (print_ulps_file): Likewise.
11080 (get_failure): Remove function.
11081 (output_test): Don't handle expected failures.
11082 * make/README.libm-test: Don't mention expected failure handling.
11084 * math/libm-test.inc (plus_zero): Make const. Add initializer.
11085 (minus_zero): Likewise.
11086 (plus_infty): Likewise.
11087 (minus_infty): Likewise.
11088 (qnan_value): Likewise.
11089 (max_value): Likewise.
11090 (min_value): Likewise.
11091 (min_subnorm_value): Likewise.
11092 (initialize): Do not initialize those variables dynamically.
11094 2013-05-03 Roland McGrath <roland@hack.frob.com>
11096 * io/open.c (__open_2): Moved to ...
11097 * io/open_2.c: ... this new file.
11098 * io/open64.c (__open64_2): Moved to ...
11099 * io/open64_2.c: ... this new file.
11100 * io/openat.c (__openat_2): Moved to ...
11101 * io/openat_2.c: ... this new file.
11102 * io/openat64.c (__openat64_2): Moved to ...
11103 * io/openat64_2.c: ... this new file.
11104 * io/Makefile (routines): Add them.
11105 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
11106 * sysdeps/unix/sysv/linux/open_2.c: File removed.
11107 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
11108 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
11109 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
11110 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
11111 (__openat64): Add hidden_ver.
11112 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
11113 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
11115 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
11116 Separately conditionalize setting of GLRO(dl_sysinfo) so
11117 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
11118 as well, but the actual setting is only under [NEED_DL_SYSINFO].
11120 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11122 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
11123 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
11125 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
11126 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11127 (_libc_vdso_platform_setup): Add __vdso_time initialization.
11128 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
11129 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
11131 2013-05-03 Joseph Myers <joseph@codesourcery.com>
11133 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
11134 test signgam value.
11136 * math/libm-test.inc (hypot_test): Do not use
11137 IGNORE_ZERO_INF_SIGN.
11139 2013-05-03 Andreas Jaeger <aj@suse.de>
11141 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
11143 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
11144 (PF_MAX): Adjust for VSOCK change.
11146 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11150 2013-05-02 Carlos O'Donell <carlos@redhat.com>
11153 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
11154 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
11155 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
11157 2013-05-02 David S. Miller <davem@davemloft.net>
11159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11161 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
11163 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
11165 2013-05-01 Roland McGrath <roland@hack.frob.com>
11167 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
11169 2013-05-01 Richard Smith <richard@metafoo.co.uk>
11172 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
11173 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11174 Use __attribute__ ((__gnu_inline__)).
11175 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11176 Don't use __attribute__ ((__gnu_inline__)).
11178 2013-05-01 Joseph Myers <joseph@codesourcery.com>
11181 * math/s_catan.c (__catan): Handle small real or imaginary part of
11182 input specially to avoid spurious underflow.
11183 * math/s_catanf.c (__catanf): Likewise.
11184 * math/s_catanh.c (__catanh): Likewise.
11185 * math/s_catanhf.c (__catanhf): Likewise.
11186 * math/s_catanhl.c (__catanhl): Likewise.
11187 * math/s_catanl.c (__catanl): Likewise.
11188 * math/libm-test.inc (catan_test): Add more tests.
11189 (catanh_test): Likewise.
11190 * sysdeps/i386/fpu/libm-test-ulps: Update.
11191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11193 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11197 2013-04-30 Joseph Myers <joseph@codesourcery.com>
11200 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
11201 accurately for denominator in atan2.
11202 * math/s_catanf.c (__catanf): Likewise.
11203 * math/s_catanh.c (__catanh): Likewise.
11204 * math/s_catanhf.c (__catanhf): Likewise.
11205 * math/s_catanhl.c (__catanhl): Likewise.
11206 * math/s_catanl.c (__catanl): Likewise.
11207 * math/libm-test.inc (catan_test): Add more tests.
11208 (catanh_test): Likewise.
11209 * sysdeps/i386/fpu/libm-test-ulps: Update.
11210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11212 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11214 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
11216 * benchtests/Makefile (bench): Remove slow benchmarks.
11217 * benchtests/atan-inputs: Add slow benchmark inputs.
11218 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
11219 (BENCH_FUNC): Accept variant offset.
11221 * benchtests/bench-skeleton.c (main): Run benchmark for each
11223 * benchtests/cos-inputs: Add slow benchmark inputs.
11224 * benchtests/exp-inputs: Likewise.
11225 * benchtests/pow-inputs: Likewise.
11226 * benchtests/sin-inputs: Likewise.
11227 * benchtests/slowatan-inputs: Remove.
11228 * benchtests/slowatan.c: Remove.
11229 * benchtests/slowcos-inputs: Remove.
11230 * benchtests/slowcos.c: Remove.
11231 * benchtests/slowexp-inputs: Remove.
11232 * benchtests/slowexp.c: Remove.
11233 * benchtests/slowpow-inputs: Remove.
11234 * benchtests/slowpow.c: Remove.
11235 * benchtests/slowsin-inputs: Remove.
11236 * benchtests/slowsin.c: Remove.
11237 * benchtests/slowtan-inputs: Remove.
11238 * benchtests/slowtan.c: Remove.
11239 * benchtests/tan-inputs: Add slow benchmark inputs.
11240 * scripts/bench.pl: Parse comments and directives.
11242 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
11244 ($(objpfx)bench-%.c): Remove *-ITER.
11245 * benchtests/bench-modf.c: Remove definition of ITER.
11246 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
11247 (main): Loop for DURATION seconds instead of fixed number of
11249 * scripts/bench.pl: Don't expect iterations in parameters.
11251 2013-04-29 Roland McGrath <roland@hack.frob.com>
11253 * io/fchdir.c (__fchdir): Renamed from fchdir.
11254 (fchdir): Define as weak alias.
11256 2013-04-29 Joseph Myers <joseph@codesourcery.com>
11258 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
11259 (ERRNO_EDOM): Likewise.
11260 (ERRNO_ERANGE): Likewise.
11261 (noErrnoTests): New variable.
11262 (init_max_error): Set errno to 0.
11263 (test_single_errno): New function.
11264 (test_errno): Likewise.
11265 (check_float_internal): Call test_errno. Set errno to 0.
11266 (check_complex): Refer to errno tests in comment.
11267 (check_int): Call test_errno. Set errno to 0.
11268 (check_long): Likewise.
11269 (check_bool): Likewise.
11270 (check_longlong): Likewise.
11271 (cos_test): Use ERRNO_* flags for errno tests instead of
11273 (expm1_test): Likewise.
11274 (fmod_test): Likewise.
11275 (ilogb_test): Likewise.
11276 (lgamma_test): Likewise.
11277 (pow_test): Likewise.
11278 (remainder_test): Likewise.
11279 (sin_test): Likewise.
11280 (tan_test): Likewise.
11281 (yn_test): Likewise.
11282 (initialize): Set errno to 0.
11283 (main): Print number of errno tests.
11284 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
11286 2013-04-29 Andreas Jaeger <aj@suse.de>
11289 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
11293 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
11294 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
11298 * stdlib/random.c (__initstate): Return NULL if
11302 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
11303 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
11306 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11310 2013-04-29 Joseph Myers <joseph@codesourcery.com>
11312 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
11313 of individual tests.
11314 (casin_test): Likewise.
11315 (casinh_test): Likewise.
11317 2013-04-27 Joseph Myers <joseph@codesourcery.com>
11320 * math/s_catan.c (__catan): Handle arguments with large real or
11321 imaginary part separately without squaring.
11322 * math/s_catanf.c (__catanf): Likewise.
11323 * math/s_catanh.c (__catanh): Likewise.
11324 * math/s_catanhf.c (__catanhf): Likewise.
11325 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11327 (__catanhl): Handle arguments with large real or imaginary part
11328 separately without squaring.
11329 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11331 (__catanl): Handle arguments with large real or imaginary part
11332 separately without squaring.
11333 * math/libm-test.inc (catan_test): Add more tests.
11334 (catanh_test): Likewise.
11335 * sysdeps/i386/fpu/libm-test-ulps: Update.
11336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11338 2013-04-27 Andreas Jaeger <aj@suse.de>
11341 * stdlib/stdlib.h: Update guards for qecvt.
11342 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
11345 2013-04-27 Allan McRae <allan@archlinux.org>
11347 * sysdeps/i386/fpu/libm-test-ulps: Update.
11349 2013-04-26 Joseph Myers <joseph@codesourcery.com>
11352 * math/s_catan.c: Include <float.h>.
11353 (__catan): Ensure underflow exception occurs for underflowed
11355 * math/s_catanf.c: Include <float.h>.
11356 (__catanf): Ensure underflow exception occurs for underflowed
11358 * math/s_catanh.c: Include <float.h>.
11359 (__catanh): Ensure underflow exception occurs for underflowed
11361 * math/s_catanhf.c: Include <float.h>.
11362 (__catanhf): Ensure underflow exception occurs for underflowed
11364 * math/s_catanhl.c: Include <float.h>.
11365 (__catanhl): Ensure underflow exception occurs for underflowed
11367 * math/s_catanl.c: Include <float.h>.
11368 (__catanl): Ensure underflow exception occurs for underflowed
11370 * math/libm-test.inc (catan_test): Add more tests.
11371 (catanh_test): Likewise.
11374 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
11375 underflowed result.
11376 * math/s_ccoshf.c (__ccoshf): Likewise.
11377 * math/s_ccoshl.c (__ccoshl): Likewise.
11378 * math/s_csin.c (__csin): Likewise.
11379 * math/s_csinf.c (__csinf): Likewise.
11380 * math/s_csinh.c (__csinh): Likewise.
11381 * math/s_csinhf.c (__csinhf): Likewise.
11382 * math/s_csinhl.c (__csinhl): Likewise.
11383 * math/s_csinl.c (__csinl): Likewise.
11384 * math/libm-test.inc (ccos_test): Add more tests.
11385 (ccosh_test): Likewise.
11386 (csin_test): Likewise.
11387 (csinh_test): Likewise.
11389 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11391 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
11392 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
11393 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
11394 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
11395 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
11396 powerpc/power5+/fpu folders.
11397 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11400 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11402 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11404 2013-04-25 Joseph Myers <joseph@codesourcery.com>
11406 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
11407 additions to variable.
11408 [$(config-machine) = x86_64] (modules-names): Likewise.
11409 ($(objpfx)tst-audit3): Remove dependency.
11410 ($(objpfx)tst-audit3.out): Likewise.
11411 ($(objpfx)tst-audit4): Likewise.
11412 ($(objpfx)tst-audit4.out): Likewise.
11413 ($(objpfx)tst-audit5): Likewise.
11414 ($(objpfx)tst-audit5.out): Likewise.
11415 ($(objpfx)tst-audit6): Likewise.
11416 ($(objpfx)tst-audit6.out): Likewise.
11417 ($(objpfx)tst-audit7): Likewise.
11418 ($(objpfx)tst-audit7.out): Likewise.
11419 (tst-audit3-ENV): Remove variable.
11420 (tst-audit4-ENV): Likewise.
11421 (tst-audit5-ENV): Likewise.
11422 (tst-audit6-ENV): Likewise.
11423 (tst-audit7-ENV): Likewise.
11424 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
11425 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
11426 addition to variable.
11427 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
11428 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
11429 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
11430 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
11431 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
11432 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
11433 tst-audit3, tst-audit4 and tst-audit5.
11434 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
11435 tst-audit6 and tst-audit7.
11436 [$(subdir) = elf] (modules-names): Add audit modules for those
11438 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
11439 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
11440 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
11441 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
11442 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
11443 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
11444 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
11445 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
11446 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
11447 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
11448 [$(subdir) = elf] (tst-audit3-ENV): New variable.
11449 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
11450 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
11451 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
11452 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
11453 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
11455 [$(subdir) = elf && $(config-cflags-avx) = yes]
11456 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
11457 [$(subdir) = elf && $(config-cflags-avx) = yes]
11458 (CFLAGS-tst-auditmod4a.c): Likewise.
11459 [$(subdir) = elf && $(config-cflags-avx) = yes]
11460 (CFLAGS-tst-auditmod4b.c): Likewise.
11461 [$(subdir) = elf && $(config-cflags-avx) = yes]
11462 (CFLAGS-tst-auditmod6b.c): Likewise.
11463 [$(subdir) = elf && $(config-cflags-avx) = yes]
11464 (CFLAGS-tst-auditmod6c.c): Likewise.
11465 [$(subdir) = elf && $(config-cflags-avx) = yes]
11466 (CFLAGS-tst-auditmod7b.c): Likewise.
11467 * elf/tst-audit3.c: Move to ...
11468 * sysdeps/x86_64/tst-audit3.c: ... here.
11469 * elf/tst-audit4.c: Move to ...
11470 * sysdeps/x86_64/tst-audit4.c: ... here.
11471 * elf/tst-audit5.c: Move to ...
11472 * sysdeps/x86_64/tst-audit5.c: ... here.
11473 * elf/tst-audit6.c: Move to ...
11474 * sysdeps/x86_64/tst-audit6.c: ... here.
11475 * elf/tst-audit7.c: Move to ...
11476 * sysdeps/x86_64/tst-audit7.c: ... here.
11477 * elf/tst-auditmod3a.c: Move to ...
11478 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
11479 * elf/tst-auditmod3b.c: Move to ...
11480 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
11481 * elf/tst-auditmod4a.c: Move to ...
11482 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
11483 * elf/tst-auditmod4b.c: Move to ...
11484 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
11485 * elf/tst-auditmod5a.c: Move to ...
11486 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
11487 * elf/tst-auditmod5b.c: Move to ...
11488 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
11489 * elf/tst-auditmod6a.c: Move to ...
11490 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
11491 * elf/tst-auditmod6b.c: Move to ...
11492 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
11493 * elf/tst-auditmod6c.c: Move to ...
11494 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
11495 * elf/tst-auditmod7a.c: Move to ...
11496 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
11497 * elf/tst-auditmod7b.c: Move to ...
11498 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
11500 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
11503 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
11504 define unconditionally.
11505 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
11506 define unconditionally.
11507 (INT8_C, INT16_C, etc.): Likewise.
11509 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
11511 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
11512 __ehdr_start with hidden visibility.
11514 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
11516 2013-04-24 Carlos O'Donell <carlos@redhat.com>
11518 * math/libm-test.inc (cos_test): Use accurate hex constants.
11519 (sincost_test): Likewise.
11521 2013-04-24 Joseph Myers <joseph@codesourcery.com>
11523 * math/libm-test.inc (catan_test): Add more tests.
11524 (catanh_test): Likewise.
11526 * math/s_catanf.c (__catanf): Use suffixed floating-point
11528 * math/s_catanhf.c (__catanhf): Likewise.
11529 * math/s_catanhl.c (__catanhl): Likewise.
11530 * math/s_catanl.c (__catanl): Likewise.
11533 * math/s_catan.c (__catan): Calculate imaginary part of result
11534 with log1p not log unless computing log of number close to 0.
11535 * math/s_catanf.c (__catanf): Likewise.
11536 * math/s_catanl.c (__catanl): Likewise.
11537 * math/s_catanh.c (__catanh): Calculate real part of result with
11538 log1p not log unless computing log of number close to 0.
11539 * math/s_catanhf.c (__catanhf): Likewise.
11540 * math/s_catanhl.c (__catanhl): Likewise.
11541 * math/libm-test.inc (catan_test): Add more tests.
11542 (catanh_test): Likewise.
11543 * sysdeps/i386/fpu/libm-test-ulps: Update.
11544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11546 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11548 * benchtests/Makefile: Mention files in which fast and slow
11549 paths of math functions are implemented.
11551 2013-04-23 Roland McGrath <roland@hack.frob.com>
11553 * sysdeps/posix/timespec_get.c: New file.
11555 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11557 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
11559 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
11561 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
11562 powerpc/power5/fpu folders.
11563 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
11564 * benchtests/Makefile: Add modf testcase.
11565 * benchtests/bench-modf.c: New file: Benchmark test for mo
11567 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11570 * time/Makefile (tests): Add tst-strptime-whitespace.
11571 * time/strptime_l.c (get_number): Use ISSPACE.
11572 (__strptime_internal): Likewise.
11573 * time/tst-strptime-whitespace.c: New test case.
11575 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
11577 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
11579 (_nss_files_init): Set it here.
11581 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
11583 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
11584 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
11587 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
11589 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
11591 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11593 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
11596 2013-04-21 David S. Miller <davem@davemloft.net>
11598 * po/ru.po: Update Russion translation from translation project.
11600 2013-04-17 Adam Conrad <adconrad@0c3.net>
11602 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
11605 2013-04-17 Carlos O'Donell <carlos@redhat.com>
11607 * configure.in: Remove i386 configure warning. Remove i386 case.
11608 * configure: Regenerate.
11609 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
11610 Add example to error message.
11611 * sysdeps/i386/configure: Regenerate.
11613 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11615 * benchtests/Makefile (bench): Add cos, tan, slowcos and
11617 * benchtests/cos-inputs: New file.
11618 * benchtests/slowcos-inputs: New file.
11619 * benchtests/slowcos.c: New file.
11620 * benchtests/slowtan-inputs: New file.
11621 * benchtests/slowtan.c: New file.
11622 * benchtests/tan-inputs: New file.
11624 2013-04-16 Roland McGrath <roland@hack.frob.com>
11626 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
11629 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11631 * benchtests/Makefile: Include cppflags-iterator.mk to add
11632 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
11634 * Makefile.in (bench-clean): New target.
11635 * benchtests/Makefile (bench-clean): Likewise.
11637 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
11639 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
11641 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
11643 * stdio-common/tstdiomisc.c: Fix coding-style violation.
11645 2013-04-15 Andreas Schwab <schwab@suse.de>
11647 * nscd/grpcache.c (cache_addgr): Properly check for short write.
11648 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11649 * nscd/pwdcache.c (cache_addpw): Likewise.
11650 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
11653 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11655 * benchtests/Makefile (bench): Write all output to
11656 bench-out.tmp together.
11658 2013-04-15 Andreas Schwab <schwab@suse.de>
11660 * nscd/nscd.c (main): Don't fork again after closing files.
11662 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11664 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
11666 * benchtests/Rules (bench-deps): Collect dependencies into a
11667 single variable. Add Makefile to dependencies.
11668 ($(objpfx)bench-%.c): Depend on bench-deps.
11670 2013-04-12 Roland McGrath <roland@hack.frob.com>
11671 Xavier Roche <roche+kml2@exalead.com>
11674 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
11675 just that it's a file descriptor.
11676 * manual/llio.texi (Synchronizing AIO Operations): Update description
11677 for EBADF error from aio_fsync.
11679 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11681 * Rules (bench): Move target definition...
11682 * benchtests/Makefile: ... here.
11684 2013-04-11 Carlos O'Donell <carlos@redhat.com>
11686 * math/libm-test.inc (cos_test): Fix PI/2 test.
11687 (sincos_test): Likewise.
11688 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11689 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11691 2013-04-11 Andreas Schwab <schwab@suse.de>
11694 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
11695 accept exponent character only when digits were seen.
11696 * stdio-common/Makefile (tests): Add bug26.
11697 * stdio-common/bug26.c: New file.
11700 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
11703 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11705 * Makeconfig (rtld-prefix): Define built linker prefix.
11706 * Rules (run-bench): Use it.
11707 * math/Makefile (run-regen-ulps): Likewise.
11709 * Rules (bench): Remove eval.
11711 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11712 Roland McGrath <roland@hack.frob.com>
11713 Ondrej Bilka <neleai@seznam.cz>
11716 * time/getdate.c: Include ctype.h and alloca.h.
11717 (__getdate_r): Trim leading and trailing spaces of input.
11718 * time/tst-getdate.c (tests): Add tests with leading and
11721 2013-04-08 Roland McGrath <roland@hack.frob.com>
11724 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11725 when computing value.
11727 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11729 * math/README.libm-test (How can I generate "libm-test-ulps"?):
11730 Use testrun.sh to run libm tests.
11733 * elf/dl-open.c (dl_open_worker): memset all of seen array.
11735 2013-04-06 Marko Myllynen <myllynen@redhat.com>
11738 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11740 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11742 * Makefile.in (regen-ulps): New target.
11743 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11744 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11745 [ifneq (no,$(PERL)] (regen-ulps): New target.
11746 [ifeq (no,$(PERL)] (regen-ulps): New target.
11747 * math/libm-test.inc (ulps_file_name): Define.
11748 (output_dir): New variable.
11749 (options): Add "output-dir" option.
11750 (parse_opt): Handle 'o' case.
11751 (main): If output_dir is non-NULL use it as a prefix
11753 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11755 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11757 [BZ #10060, #10062]
11758 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11759 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11760 fail configure if __sync_val_compare_and_swap is not inlined.
11761 * sysdeps/i386/configure: Regenerate.
11762 * configure.in: Build for i686 when configured for i386.
11763 * configure: Regenerate.
11764 * README: Remove i386 reference.
11766 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11768 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11769 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11771 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
11773 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11774 (lmsnanval): New variables.
11775 (F): Add conversion tests.
11776 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11777 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11779 * stdio-common/tstdiomisc.c (F): Properly collect individual
11782 [BZ #14686, #15336]
11783 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11784 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11785 Instead, use input NaN values or generate a qNaN by arithmetic
11786 operation. Also fix bugs to comply with the standard.
11787 * math/libm-test.inc (remainder_test): Add more tests.
11789 [BZ #15335, #15342]
11790 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11791 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11792 input NaN values or generate a qNaN by arithmetic operation.
11794 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11797 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11800 2013-04-03 Joseph Myers <joseph@codesourcery.com>
11803 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11804 underflowed result.
11805 * math/s_cexpf.c (__cexpf): Likewise.
11806 * math/s_cexpl.c (__cexpl): Likewise.
11807 * math/libm-test.inc (cexp_test): Add more tests.
11809 2013-04-03 Andreas Schwab <schwab@suse.de>
11812 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11813 order arrays from heap if bigger than alloca cutoff.
11815 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
11817 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11818 (SNAN_TESTS_double): Refer to GCC PR56831.
11819 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11822 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11824 * Rules (bench): Move bench.out after the run is complete.
11826 * Rules (bench): Echo currently running benchmark.
11828 * benchtests/Makefile (bench): Add atan and slowatan.
11829 * benchtests/atan-inputs: New file.
11830 * benchtests/slowatan-inputs: New file.
11831 * benchtests/slowatan.c: New file.
11833 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11834 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11838 * sysdeps/unix/sysv/linux/kernel-features.h
11839 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11840 __ASSUME_XFS_RESTRICTED_CHOWN.
11841 * sysdeps/unix/sysv/linux/pathconf.c
11842 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11843 Save and restore errno.
11845 2013-04-02 Joseph Myers <joseph@codesourcery.com>
11848 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11849 arguments using __kernel_casinh.
11850 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11851 arguments using __kernel_casinhf.
11852 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11853 arguments using __kernel_casinhl.
11854 * math/libm-test.inc (cacosh_test): Add more tests.
11855 * sysdeps/i386/fpu/libm-test-ulps: Update.
11856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11858 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11860 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11861 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11863 * bench/Makefile (bench): Add sin and slowsin.
11864 * benchtests/sin-inputs: New file.
11865 * benchtests/slowsin-inputs: New file.
11866 * benchtests/slowsin.c: New file.
11868 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11869 (bench): Add slowexp and slowpow.
11870 (exp-ITER): Increase iterations.
11871 (pow-ITER): Likewise.
11872 * benchtests/exp-inputs: Change input.
11873 * benchtests/pow-inputs: Likewise.
11874 * benchtests/slowexp-inputs: New file.
11875 * benchtests/slowexp.c: New file.
11876 * benchtests/slowpow-inputs: New file.
11877 * benchtests/slowpow.c: New file.
11879 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11881 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11883 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11884 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11885 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11886 * benchtests/Makefile: Add rint benchtest.
11887 * benchtests/rint-inputs: Input for rint benchtest.
11889 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
11891 * Versions.def (libm): Add GLIBC_2.18.
11892 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11893 hidden libm prototypes.
11894 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11895 * math/Makefile (libm-calls): Add s_issignaling.
11896 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11897 __issignalingf, __issignalingl. Adjust all libm.abilist files.
11898 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11900 * math/math.h [__USE_GNU] (issignaling): New macro.
11901 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11902 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11903 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11904 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11905 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11906 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11907 * manual/arith.texi (issignaling): New section.
11908 * manual/libm-err-tab.pl (@all_functions): Update comment.
11909 * math/gen-libm-test.pl (parse_args): Apply special handling for
11911 * math/libm-test.inc (print_float, issignaling_test): New
11913 (check_float_internal): Add issignaling checks.
11914 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11915 default definition.
11916 * sysdeps/powerpc/math-tests.h: New file.
11917 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11919 * math/test-snan.c (TEST_FUNC): Likewise.
11921 2013-03-30 David S. Miller <davem@davemloft.net>
11923 * po/de.po: Update from translation team.
11925 2013-03-30 Joseph Myers <joseph@codesourcery.com>
11928 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11929 imaginary part less than 1.0 and real part less than 0.5
11931 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11932 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11933 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11934 (cacos_test): Add more tests.
11935 (casin_test): Likewise.
11936 (casinh_test): Likewise.
11937 * sysdeps/i386/fpu/libm-test-ulps: Update.
11938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11940 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11942 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11943 ONE with its value.
11945 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11946 (__pow_mp): Replace ONE and MONE with their values.
11947 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11948 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11949 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11950 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11951 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11952 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11954 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11956 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11957 (__pow_mp): Replace ZERO and MZERO with their values.
11958 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11959 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11960 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11961 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11962 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11963 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11966 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11968 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11970 2013-03-28 Roland McGrath <roland@hack.frob.com>
11972 * include/stdlib.h [!SHARED] (__call_tls_dtors):
11973 Declare with __attribute__ ((weak)).
11974 * stdlib/exit.c (__libc_atexit) [!SHARED]:
11975 Call __call_tls_dtors only if it's not NULL.
11977 2013-03-28 Roland McGrath <roland@hack.frob.com>
11979 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11980 didn't do it already, then set _dl_phdr and _dl_phnum based on the
11981 magic __ehdr_start linker symbol if it's defined.
11982 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11983 them up here if it was already done.
11985 * elf/dl-support.c (_dl_phdr): Make pointer to const.
11986 (_dl_aux_init): Use const in cast when setting it.
11987 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11988 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11989 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11991 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11993 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11994 * csu/libc-tls.c: Nor here.
11995 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11997 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11998 (__libc_message): Never call vsyslog.
12000 2013-03-28 Alan Modra <amodra@gmail.com>
12002 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12004 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12007 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12010 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12014 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12017 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12018 Don't add gid passed as argument.
12020 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12022 2013-03-27 Joseph Myers <joseph@codesourcery.com>
12025 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12026 imaginary part between 1.0 and 1.5 and real part less than 0.5
12028 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12029 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12030 * math/libm-test.inc (cacos_test): Add more tests.
12031 (casin_test): Likewise.
12032 (casinh_test): Likewise.
12033 * sysdeps/i386/fpu/libm-test-ulps: Update.
12034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12036 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12038 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12041 (denorm): Likewise.
12042 (__dbl_mp): Likewise.
12043 (add_magnitudes): Likewise.
12044 (sub_magnitudes): Likewise.
12052 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
12054 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
12055 (__dubcos): Likewise.
12056 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
12057 (__ieee754_acos): Likewise.
12058 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12059 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
12060 (__exp1): Likewise.
12061 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12062 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12064 (my_log2): Likewise.
12065 (checkint): Likewise.
12066 * sysdeps/ieee754/dbl-64/e_remainder.c
12067 (__ieee754_remainder): Likewise.
12068 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12069 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12070 (bsloww): Likewise.
12071 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12073 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12074 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
12075 MANTISSA_STORE_T to store computations on mantissa. Use
12076 macros for rounding and division.
12077 (denorm): Likewise.
12078 (__dbl_mp): Likewise.
12079 (add_magnitudes): Likewise.
12080 (sub_magnitudes): Likewise.
12083 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12084 powers of two in terms of TWOPOW macro.
12085 (mp_no): Make type of mantissa as MANTISSA_T.
12086 [!RADIXI]: Define RADIXI.
12087 [!TWO52]: Define TWO52.
12088 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12090 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12092 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
12093 llroundl symbol when building for PPC32.
12095 2013-03-24 Mark H Weaver <mhw@netris.org>
12097 * manual/arith.texi (Normalization Functions): Fix prototypes for
12098 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
12100 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12103 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
12104 high value to check if expl overflow.
12105 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
12106 to check for underflow and overflow.
12107 * math/libm-test.inc: Add exp test.
12109 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
12112 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
12115 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12117 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
12120 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
12122 * math/gen-libm-test.pl (parse_args, special_functions): Properly
12123 wrap blocks consisting of several statements.
12125 * sysdeps/generic/math-tests.h: New file.
12126 * sysdeps/i386/fpu/math-tests.h: Likewise.
12127 * math/test-snan.c: Include it.
12128 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
12130 2013-03-21 Joseph Myers <joseph@codesourcery.com>
12133 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
12134 (__ieee754_j0l): Do not improve calculations using cos of twice
12135 input for inputs above LDBL_MAX / 2.0L.
12136 (__ieee754_y0l): Likewise.
12137 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
12138 (__ieee754_j1l): Do not improve calculations using cos of twice
12139 input for inputs above LDBL_MAX / 2.0L.
12140 (__ieee754_y1l): Likewise.
12141 * math/libm-test.inc (j0_test): Add another test.
12142 (j1_test): Likewise.
12143 (y0_test): Likewise.
12144 (y1_test): Likewise.
12145 * sysdeps/i386/fpu/libm-test-ulps: Update.
12147 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12149 * Rules ($(objpfx)bench-%.c): Include code from a C source
12152 2013-03-21 Joseph Myers <joseph@codesourcery.com>
12155 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12156 imaginary part 1.0 and real part less than 0.5 specially.
12157 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12158 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12159 * math/libm-test.inc (cacos_test): Add more tests.
12160 (casin_test): Likewise.
12161 (casinh_test): Likewise.
12162 * sysdeps/i386/fpu/libm-test-ulps: Update.
12163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12165 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12167 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
12168 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
12170 2013-03-20 Joseph Myers <joseph@codesourcery.com>
12172 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
12173 * config.make.in (config-cflags-sse4): Remove variable.
12174 (config-cflags-avx): Likewise.
12175 (config-cflags-sse2avx): Likewise.
12176 (config-cflags-novzeroupper): Likewise.
12177 (config-asflags-i686): Likewise.
12178 (have-mfma4): Likewise.
12179 (have-as-vis3): Likewise.
12181 * configure.in (MIG): Do not AC_SUBST.
12182 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
12183 (libc_cv_cc_sse4): Do not AC_SUBST.
12184 (libc_cv_cc_avx): Likewise.
12185 (libc_cv_cc_sse2avx): Likewise.
12186 (libc_cv_cc_novzeroupper): Likewise.
12187 (libc_cv_cc_fma4): Likewise.
12188 (libc_cv_as_i686): Likewise.
12189 (libc_cv_sparc_as_vis3): Likewise.
12190 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
12192 (config-asflags-i686): Likewise.
12193 (config-cflags-avx): Likewise.
12194 (config-cflags-sse2avx): Likewise.
12195 (have-mfma4): Likewise.
12196 (config-cflags-novzeroupper): Likewise.
12197 * sysdeps/mach/configure.in (MIG): Likewise.
12198 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
12199 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
12201 (config-cflags-avx): Likewise.
12202 (config-cflags-sse2avx): Likewise.
12203 (have-mfma4): Likewise.
12204 (config-cflags-novzeroupper): Likewise.
12205 * configure: Regenerated.
12206 * sysdeps/i386/configure: Likewise.
12207 * sysdeps/mach/configure: Likewise.
12208 * sysdeps/sparc/configure: Likewise.
12209 * sysdeps/x86_64/configure: Likewise.
12211 2013-03-20 Roland McGrath <roland@hack.frob.com>
12214 * locale/programs/localedef.c (options): Put N_ translation marker
12215 on argument names, not just descriptions.
12217 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12219 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
12221 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
12224 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
12226 2013-03-19 Roland McGrath <roland@hack.frob.com>
12228 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
12229 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
12230 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
12231 [!BEFORE_ABORT] (before_abort): New function.
12232 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
12233 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
12234 (writev_for_fatal): New function.
12235 (WRITEV_FOR_FATAL): New macro; call that.
12236 (backtrace_and_maps): New function.
12237 (BEFORE_ABORT): New macro; call that.
12238 (struct str_list): Type removed.
12239 (__libc_message, __libc_fatal): Functions removed.
12240 Include <sysdeps/posix/libc_fatal.c> instead.
12242 2013-03-19 Joseph Myers <joseph@codesourcery.com>
12244 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
12246 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
12249 2013-03-19 Andreas Schwab <schwab@suse.de>
12251 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
12252 * sysdeps/gnu/configure: Regenerate.
12254 * configure.in: Substitute libc_cv_rtlddir.
12255 * configure: Regenerate.
12256 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
12257 * Makeconfig (rtlddir, inst_rtlddir): New variables.
12258 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
12259 * elf/Makefile (install-others, CFLAGS-interp.c)
12260 (ldso_install, common-ldd-rewrite): Likewise.
12261 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
12262 $(inst_slibdir)/$(rtld-installed-name).
12263 * scripts/rellns-sh: Add -p option.
12264 * Makerules (make-shlib-link): Use rellns-sh to get relative name
12267 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12269 * manual/nptl.texi: Renamed to ...
12270 * manual/threads.texi: ... this.
12271 * manual/Makefile (chapters): Update.
12273 2013-03-18 Roland McGrath <roland@hack.frob.com>
12276 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
12277 on argument names, not just descriptions.
12278 * malloc/memusagestat.c (options): Likewise.
12279 * nss/getent.c (options): Likewise.
12281 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
12284 * iconv/iconv_prog.c (options): Put N_ translation marker
12285 on argument names, not just descriptions.
12286 * iconv/iconvconfig.c (options): Likewise.
12288 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
12290 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
12291 implementation which is faster on all x86_64 architectures.
12292 Tested on AMD, Intel Nehalem, SNB, IVB.
12293 * sysdeps/x86_64/strnlen.S: Likewise.
12295 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12296 Remove all multiarch strlen and strnlen versions.
12297 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12298 Remove strlen and strnlen related parts.
12300 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
12301 Inline strlen part.
12302 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12304 * sysdeps/x86_64/multiarch/strlen.S: Remove.
12305 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
12306 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
12307 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
12308 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12309 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
12311 2013-03-17 Carlos O'Donell <carlos@redhat.com>
12313 * manual/memory.texi (Malloc Tunable Parameters):
12314 Sort parameters alphabetically. Add comments for missing entries.
12316 2013-03-17 David S. Miller <davem@davemloft.net>
12318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12320 2013-03-16 Joseph Myers <joseph@codesourcery.com>
12323 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
12324 for arguments at most half maximum finite value.
12325 * math/libm-test.inc (j0_test): Add more tests.
12326 (j1_test): Likewise.
12327 (y0_test): Likewise.
12328 (y1_test): Likewise.
12329 * sysdeps/i386/fpu/libm-test-ulps: Update.
12330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12333 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
12334 1 / x and functions P and Q for arguments above 0x1p256L.
12335 (__ieee754_y0l): Likewise.
12336 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12337 (__ieee754_y1l): Likewise.
12338 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
12339 (j1_test): Likewise.
12340 (y0_test): Likewise.
12341 (y1_test): Likewise.
12343 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
12345 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
12348 2013-03-15 Roland McGrath <roland@hack.frob.com>
12350 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
12351 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
12352 zero since it's initialized to EXEC_PAGESIZE.
12354 * sysdeps/unix/sysv/linux/ldsodefs.h
12355 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
12356 * sysdeps/generic/ldsodefs.h: ... here.
12358 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
12360 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
12362 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
12364 * math/test-snan.c: Renamed from
12365 sysdeps/powerpc/fpu/test-powerpc-snan.c.
12366 * math/Makefile (tests): Add test-snan.
12367 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
12370 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
12371 SUFFIX. Initialize qNaN_var with __builtin_nan family of
12373 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
12374 __builtin_nan family of functions.
12375 * math/libm-test.inc (initialize): Initialize qnan_value with
12376 __builtin_nan family of functions.
12377 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
12379 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
12381 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
12382 storage class. Initialize qNaN_var and sNaN_var with
12383 __builtin_nan and __builtin_nans families of functions,
12386 * math/libm-test.inc (acosh_test): Also test with qNaN input.
12387 (sqrt_test): Remove duplicate test with qNaN input.
12388 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
12389 (round_test, signbit_test, significand_test): Note missing +/-Inf
12390 as well as qNaN tests.
12392 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
12393 qNaN_var. Fix a few strings, too.
12394 * math/libm-test.inc (nan_value): Rename to qnan_value.
12395 * math/gen-libm-test.pl (%beautify): Adjust to that.
12396 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
12397 * math/test-misc.c (main): Likewise.
12398 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
12399 to __qnan_bytes, and __qnan_union, respectively.
12400 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
12402 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
12403 and lqnanval, respectively.
12404 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
12405 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
12406 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
12407 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
12409 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
12410 * math/test-misc.c (main) [__x86_64__]: Enable test for long
12413 * math/test-misc.c (main): Fix copy'n'pastos.
12414 * misc/tst-efgcvt.c (special): Likewise.
12416 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
12417 Remove declarations.
12419 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12421 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
12422 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
12423 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
12424 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
12426 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12428 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
12429 macro to return vdso values correctly in IFUNC implementations.
12430 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12431 Optimization by using IFUNC.
12433 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12434 Richard Henderson <rth@redhat.com>
12435 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12437 * Makefile.in (bench): New target.
12438 * NEWS: Mention the benchmark framework.
12439 * Rules (bench): Likewise.
12440 (binaries-bench): Generate binaries for functions to
12442 * benchtests/Makefile: New makefile for benchmark tests.
12443 * benchtests/bench-skeleton.c: New skeleton file for benchmark
12445 * benchtests/exp-inputs: New input file for EXP function.
12446 * benchtests/pow-inputs: New input file for POW function.
12447 * scripts/bench.pl: New script to generate source files for
12448 benchmark programs.
12450 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12452 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12453 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
12454 computations on mantissa. Use macros for rounding and
12456 (denorm): Likewise.
12457 (__dbl_mp): Likewise.
12458 (add_magnitudes): Likewise.
12459 (sub_magnitudes): Likewise.
12462 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12463 powers of two in terms of TWOPOW macro.
12464 (mp_no): Make type of mantissa as MANTISSA_T.
12465 [!RADIXI]: Define RADIXI.
12466 [!TWO52]: Define TWO52.
12467 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12469 * manual/nptl.texi (cindex): Modify threads to pthreads.
12471 2013-03-15 Joseph Myers <joseph@codesourcery.com>
12473 * sysdeps/x86_64/preconfigure: Regenerated.
12475 2013-03-14 Joseph Myers <joseph@codesourcery.com>
12478 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
12480 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
12481 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
12483 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
12484 * math/libm-test.inc (j0_test): Do not allow one spurious
12485 underflow exception.
12486 (y1_test): Likewise.
12488 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12490 * manual/Makefile (chapters): Add nptl.
12491 * manual/debug.texi (Debugging Support): Add link to Threads
12493 * manual/nptl.texi: New file.
12495 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
12497 2013-03-14 Petr Baudis <pasky@ucw.cz>
12499 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
12500 for non-NULL pointer before the memory validity test. Pointed
12501 out by Holger Brunck <holger.brunck@keymile.com>.
12503 2013-03-13 Andreas Schwab <schwab@suse.de>
12505 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
12508 2013-03-13 Joseph Myers <joseph@codesourcery.com>
12510 * timezone/zic.c: Update from tzcode 2013b.
12512 2013-03-12 Carlos O'Donell <carlos@redhat.com>
12514 * manual/install.texi (Configuring and compiling):
12515 Mention i686 and i586.
12516 * INSTALL: Regenerate.
12518 2013-03-12 Roland McGrath <roland@hack.frob.com>
12520 * sysdeps/init_array/elf-init.c: New file.
12522 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
12523 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
12525 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
12526 __gmon_start__ as global, but as static with a .preinit_array pointer.
12527 * sysdeps/init_array/gmon-start.c: New file. Use that.
12528 * sysdeps/init_array/crti.S: New file, empty except for comments.
12529 * sysdeps/init_array/crtn.S: Likewise.
12531 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
12533 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
12535 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12536 Remove Prefer_SSE_for_memop.
12537 * sysdeps/x86_64/multiarch/init-arch.h: Remove
12538 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
12539 HAS_PREFER_SSE_FOR_MEMOP.
12540 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12542 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12543 Remove bzero, memset ifunc support.
12544 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
12545 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
12546 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12547 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12549 2013-03-11 Andreas Schwab <schwab@suse.de>
12552 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
12554 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
12555 (GLIBC_2.16): Remove pthread_atfork.
12557 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
12559 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
12560 (ptestcases.h): Likewise.
12562 2013-03-08 Roland McGrath <roland@hack.frob.com>
12564 * Makeconfig ($(common-objpfx)config.status): Depend on
12565 sysdeps/*/preconfigure{,.in} too.
12567 2013-03-08 Joseph Myers <joseph@codesourcery.com>
12569 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
12570 (__free_hook): Use void * instead of __malloc_ptr_t.
12571 (__malloc_hook): Likewise.
12572 (__realloc_hook): Likewise.
12573 (__memalign_hook): Likewise.
12574 (__after_morecore_hook): Likewise.
12575 * malloc/arena.c (save_malloc_hook): Likewise.
12576 (save_free_hook): Likewise.
12577 * malloc/hooks.c (malloc_hook_ini): Likewise.
12578 (realloc_hook_ini): Likewise.
12579 (memalign_hook_ini): Likewise.
12580 * malloc/malloc.c (malloc_hook_ini): Likewise.
12581 (realloc_hook_ini): Likewise.
12582 (memalign_hook_ini): Likewise.
12583 (__free_hook): Likewise.
12584 (__malloc_hook): Likewise.
12585 (__realloc_hook): Likewise.
12586 (__memalign_hook): Likewise.
12587 (__libc_malloc): Likewise.
12588 (__libc_free): Likewise.
12589 (__libc_realloc): Likewise.
12590 (__libc_memalign): Likewise.
12591 (__libc_valloc): Likewise.
12592 (__libc_pvalloc): Likewise.
12593 (__libc_calloc): Likewise.
12594 (__posix_memalign): Likewise.
12595 * malloc/morecore.c (__sbrk): Likewise.
12596 (__default_morecore): Likewise.
12598 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
12600 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
12601 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
12602 __malloc_ptrdiff_t.
12604 * malloc/malloc.h (__malloc_size_t): Remove macro.
12605 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
12607 (old_memalign_hook): Likewise.
12608 (old_realloc_hook): Likewise.
12609 (struct hdr): Likewise.
12611 (mallochook): Likewise.
12612 (memalignhook): Likewise.
12613 (reallochook): Likewise.
12614 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
12615 (tr_old_realloc_hook): Likewise.
12616 (tr_old_memalign_hook): Likewise.
12617 (tr_mallochook): Likewise.
12618 (tr_reallochook): Likewise.
12619 (tr_memalignhook): Likewise.
12621 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12623 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
12624 default_ldbl_pack and using as default implementation.
12625 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
12627 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
12628 redundant definition.
12629 (ldbl_insert_mantissa): Likewise.
12630 (ldbl_canonicalize): Likewise.
12631 (ldbl_nearbyint): Likewise.
12632 (ldbl_pack): Rename to ldbl_pack_ppc.
12633 (ldbl_unpack): Rename to ldbl_unpack_ppc.
12634 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
12635 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
12637 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12639 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
12640 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
12641 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
12642 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
12643 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
12644 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
12645 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
12646 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
12648 2013-03-07 Andreas Jaeger <aj@suse.de>
12650 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12653 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12655 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
12656 Include mpa.h and declare __MPEXP.
12657 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
12658 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12659 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12660 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
12661 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12662 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12663 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
12665 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
12666 (__slowpow): Use long double EXPL and LOGL functions to
12668 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12669 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12670 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
12671 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12672 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12673 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
12675 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
12676 intermediate variable to calculate exponent.
12678 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12682 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
12683 [!NO__SQR]: Define __sqr.
12684 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
12685 and NO__SQR. Remove all code except __mul and __sqr. Include
12686 sysdeps/ieee754/dbl-64/mpa.c.
12687 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12690 * posix/Makefile (tests): Add tst-pathconf.
12691 * posix/tst-pathconf.c: New test case.
12692 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12694 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
12696 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
12698 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
12700 2013-03-06 Andreas Jaeger <aj@suse.de>
12702 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
12703 definition via __MAP_ANONYMOUS.
12705 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12706 it's not part of Linux headers.
12708 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12709 (MAP_HUGE_MASK): Define.
12711 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12713 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12714 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12716 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12717 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12719 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12720 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12722 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12724 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12725 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12726 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12727 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12728 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12729 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12731 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12734 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12735 Handle f2fs and efivarfs.
12737 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12740 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12741 (EFIVARFS_MAGIC): Add.
12742 (F2FS_LINK_MAX): Add.
12744 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12746 * stdio-common/vfprintf.c: Replace __builtin_expect with
12749 2013-03-06 Joseph Myers <joseph@codesourcery.com>
12752 * sysdeps/generic/bp-sym.h: Remove file.
12753 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12754 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12755 <bp-sym.h> and <bp-asm.h>.
12756 (__longjmp): Don't use BP_SYM.
12757 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12759 (memcpy): Don't use BP_SYM.
12760 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12761 <bp-sym.h> and <bp-asm.h>.
12762 (memcpy): Don't use BP_SYM.
12763 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12765 (memcpy): Don't use BP_SYM.
12766 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12768 (memset): Don't use BP_SYM.
12769 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12770 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12771 (__bzero): Don't use BP_SYM.
12772 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12773 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12774 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12775 <bp-sym.h> and <bp-asm.h>.
12776 (memcmp): Don't use BP_SYM. Remove comment about bounded
12778 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12779 <bp-sym.h> and <bp-asm.h>.
12780 (memcpy): Don't use BP_SYM.
12781 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12782 <bp-sym.h> and <bp-asm.h>.
12783 (memset): Don't use BP_SYM.
12784 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12785 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12786 (__bzero): Don't use BP_SYM.
12787 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12788 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12789 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12790 <bp-sym.h> and <bp-asm.h>.
12791 (strncmp): Don't use BP_SYM. Remove comment about bounded
12793 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12794 <bp-sym.h> and <bp-asm.h>.
12795 (memcpy): Don't use BP_SYM.
12796 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12797 <bp-sym.h> and <bp-asm.h>.
12798 (memset): Don't use BP_SYM.
12799 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12800 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12801 (__bzero): Don't use BP_SYM.
12802 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12803 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12804 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12805 <bp-sym.h> and <bp-asm.h>.
12806 (__memchr): Don't use BP_SYM.
12807 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12808 <bp-sym.h> and <bp-asm.h>.
12809 (memcmp): Don't use BP_SYM. Remove comment about bounded
12811 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12812 <bp-sym.h> and <bp-asm.h>.
12813 (memcpy): Don't use BP_SYM.
12814 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12815 <bp-sym.h> and <bp-asm.h>.
12816 (__mempcpy): Don't use BP_SYM.
12817 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12818 <bp-sym.h> and <bp-asm.h>.
12819 (__memrchr): Don't use BP_SYM.
12820 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12821 <bp-sym.h> and <bp-asm.h>.
12822 (memset): Don't use BP_SYM.
12823 (__bzero): Likewise.
12824 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12825 <bp-sym.h> and <bp-asm.h>.
12826 (__rawmemchr): Don't use BP_SYM.
12827 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12828 <bp-sym.h> and <bp-asm.h>.
12829 (__STRCMP): Don't use BP_SYM.
12830 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12831 <bp-sym.h> and <bp-asm.h>.
12832 (strchr): Don't use BP_SYM.
12833 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12834 <bp-sym.h> and <bp-asm.h>.
12835 (__strchrnul): Don't use BP_SYM.
12836 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12837 <bp-sym.h> and <bp-asm.h>.
12838 (strlen): Don't use BP_SYM.
12839 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12840 <bp-sym.h> and <bp-asm.h>.
12841 (strncmp): Don't use BP_SYM. Remove comment about bounded
12843 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12844 <bp-sym.h> and <bp-asm.h>.
12845 (__strnlen): Don't use BP_SYM.
12846 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12847 <bp-sym.h> and <bp-asm.h>.
12848 (__GI__setjmp): Don't use BP_SYM.
12849 (_setjmp): Likewise.
12850 (__sigsetjmp): Likewise.
12851 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12852 (L(start_addresses)): Don't use BP_SYM.
12853 (_start): Likewise.
12854 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12856 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12857 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12858 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12859 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12860 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12862 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12863 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
12864 about bounded pointers.
12865 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12866 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12867 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12869 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12870 about bounded pointers. Remove GKM FIXME comments.
12871 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12872 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12874 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12875 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
12876 Remove GKM FIXME comments.
12877 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12878 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12879 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12881 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12882 about bounded pointers. Remove GKM FIXME comment.
12883 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12885 (strncmp): Don't use BP_SYM. Remove comment about bounded
12887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12888 <bp-sym.h> and <bp-asm.h>.
12889 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12891 <bp-sym.h> and <bp-asm.h>.
12892 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12895 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12897 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12900 2013-03-05 David S. Miller <davem@davemloft.net>
12902 * po/es.po: Update from translation team.
12904 2013-03-05 Andreas Jaeger <aj@suse.de>
12906 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12907 <bits/mman-linux.h>.
12908 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12910 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12911 <bits/mman-linux.h> to end of file.
12912 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12914 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12915 <bits/mman-linux.h> to end of file.
12916 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12918 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12919 <bits/mman-linux.h> to end of file.
12921 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12922 (MCL_CURRENT, MCL_FUTURE): Define here.
12924 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12927 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12929 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12931 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12933 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12934 fourth parameter needed for rt_sigprocmask syscall.
12935 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12936 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12937 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12938 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12939 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12940 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12942 2013-03-04 Joseph Myers <joseph@codesourcery.com>
12945 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12946 comment about bounded pointers.
12947 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12948 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12950 2013-03-04 Andreas Jaeger <aj@suse.de>
12952 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12953 common definitions.
12955 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12956 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12957 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12958 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12959 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12960 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12962 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12965 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12966 __ieee754_sqrl instead of __sqrl.
12968 2013-03-01 Joseph Myers <joseph@codesourcery.com>
12970 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12971 * sysdeps/powerpc/fpu_control.h: ... here.
12972 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12973 * sysdeps/powerpc/bits/fenvinline.h: ... here.
12974 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12975 * sysdeps/powerpc/bits/mathinline.h: ... here.
12977 2013-03-01 Roland McGrath <roland@hack.frob.com>
12979 * elf/dl-hwcaps.c (_dl_important_hwcaps):
12980 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12981 to just [NEED_DL_SYSINFO_DSO].
12982 * elf/dl-support.c: Likewise.
12983 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12984 * elf/rtld.c (dl_main): Likewise.
12985 * elf/setup-vdso.h (setup_vdso): Likewise.
12986 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12987 * sysdeps/unix/sysv/linux/dl-sysdep.c
12988 (_dl_discover_osversion): Likewise.
12990 2013-03-01 Carlos O'Donell <carlos@redhat.com>
12992 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12993 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12995 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12997 * NEWS: Mention libm performance improvements and non-x86 PI
13000 * csu/libc-start.c (__pthread_initialize_minimal): Change
13001 function arguments.
13002 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13004 2013-02-28 Joseph Myers <joseph@codesourcery.com>
13007 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
13008 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
13009 <bp-sym.h> and <bp-asm.h>.
13010 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13011 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13013 (memcpy): Don't use BP_SYM.
13014 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13016 (__mpn_add_n): Don't use BP_SYM.
13017 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13018 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13020 (__mpn_addmul_1): Don't use BP_SYM.
13021 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13022 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13024 (_setjmp): Don't use BP_SYM.
13025 (__novmx_setjmp): Likewise.
13026 (__GI__setjmp): Likewise.
13027 (__vmx_setjmp): Likewise.
13028 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13030 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13031 (__bzero): Don't use BP_SYM.
13032 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13033 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13034 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13035 <bp-sym.h> and <bp-asm.h>.
13036 (memcpy): Don't use BP_SYM.
13037 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
13038 <bp-sym.h> and <bp-asm.h>.
13039 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13040 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
13041 <bp-sym.h> and <bp-asm.h>.
13042 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13043 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
13045 (__mpn_lshift): Don't use BP_SYM.
13046 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13047 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
13049 (memset): Don't use BP_SYM.
13050 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13051 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13052 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
13054 (__mpn_mul_1): Don't use BP_SYM.
13055 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13056 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
13057 <bp-sym.h> and <bp-asm.h>.
13058 (memcmp): Don't use BP_SYM.
13059 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
13060 <bp-sym.h> and <bp-asm.h>.
13061 (memcpy): Don't use BP_SYM.
13062 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
13063 <bp-sym.h> and <bp-asm.h>.
13064 (memset): Don't use BP_SYM.
13065 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
13066 <bp-sym.h> and <bp-asm.h>.
13067 (strncmp): Don't use BP_SYM.
13068 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
13069 <bp-sym.h> and <bp-asm.h>.
13070 (memcpy): Don't use BP_SYM.
13071 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
13072 <bp-sym.h> and <bp-asm.h>.
13073 (memset): Don't use BP_SYM.
13074 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
13075 <bp-sym.h> and <bp-asm.h>.
13076 (__memchr): Don't use BP_SYM.
13077 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
13078 <bp-sym.h> and <bp-asm.h>.
13079 (memcmp): Don't use BP_SYM.
13080 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
13081 <bp-sym.h> and <bp-asm.h>.
13082 (memcpy): Don't use BP_SYM.
13083 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
13084 <bp-sym.h> and <bp-asm.h>.
13085 (__mempcpy): Don't use BP_SYM.
13086 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
13087 <bp-sym.h> and <bp-asm.h>.
13088 (__memrchr): Don't use BP_SYM.
13089 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
13090 <bp-sym.h> and <bp-asm.h>.
13091 (memset): Don't use BP_SYM.
13092 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
13093 <bp-sym.h> and <bp-asm.h>.
13094 (__rawmemchr): Don't use BP_SYM.
13095 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
13096 <bp-sym.h> and <bp-asm.h>.
13097 (__STRCMP): Don't use BP_SYM.
13098 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
13099 <bp-sym.h> and <bp-asm.h>.
13100 (strchr): Don't use BP_SYM.
13101 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
13102 <bp-sym.h> and <bp-asm.h>.
13103 (__strchrnul): Don't use BP_SYM.
13104 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
13105 <bp-sym.h> and <bp-asm.h>.
13106 (strlen): Don't use BP_SYM.
13107 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
13108 <bp-sym.h> and <bp-asm.h>.
13109 (strncmp): Don't use BP_SYM.
13110 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
13111 <bp-sym.h> and <bp-asm.h>.
13112 (__strnlen): Don't use BP_SYM.
13113 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
13115 (__mpn_rshift): Don't use BP_SYM.
13116 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13117 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
13118 <bp-sym.h> and <bp-asm.h>.
13119 (__sigsetjmp): Don't use BP_SYM.
13120 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
13121 (L(start_addresses)): Don't use BP_SYM.
13122 (_start): Likewise.
13123 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
13125 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
13126 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13127 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13128 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
13130 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
13131 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13132 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13133 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
13135 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13137 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13138 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
13140 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
13142 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13143 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13144 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
13146 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13148 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
13150 (strncmp): Don't use BP_SYM,
13151 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
13153 (__mpn_sub_n): Don't use BP_SYM.
13154 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13155 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
13157 (__mpn_submul_1): Don't use BP_SYM.
13158 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
13160 <bp-sym.h> and <bp-asm.h>.
13161 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
13163 <bp-sym.h> and <bp-asm.h>.
13164 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13167 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13169 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
13170 Use ZK to minimize writes to Z.
13171 (sub_magnitudes): Simplify code a bit.
13172 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
13173 Use ZK to minimize writes to Z.
13174 (sub_magnitudes): Simplify code a bit.
13176 2013-02-27 Roland McGrath <roland@hack.frob.com>
13178 * csu/gmon-start.c: Add special exception to license text.
13180 2013-02-27 Richard Henderson <rth@redhat.com>
13182 * scripts/config.guess: Update from config.git.
13183 * scripts/config.sub: Likewise.
13185 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13187 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
13189 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
13191 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
13193 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
13195 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
13197 2013-02-26 Roland McGrath <roland@hack.frob.com>
13199 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
13200 [$(build-shared = yes].
13202 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13204 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
13205 (__mul): Reduce iterations for calculating mantissa.
13207 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
13209 (__mpranred): Likewise.
13212 * malloc/memusagestat.c (main): Draw graphs for heap and stack
13213 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
13215 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
13217 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
13218 Define __attribute__.
13220 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13222 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
13224 * posix/regex_internal.h (__attribute): Remove.
13225 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
13226 (re_string_context_at): Likewise.
13227 (bitset_not): Use __attribute__ and mark function as possibly
13229 (bitset_merge): Likewise.
13230 (bitset_mask): Likewise.
13231 (re_string_char_size_at): Likewise.
13232 (re_string_wchar_at): Likewise.
13233 (re_string_elem_size_at): Likewise.
13235 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13237 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
13241 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
13245 (denorm): Likewise.
13246 (__dbl_mp): Likewise.
13247 (add_magnitudes): Likewise.
13248 (sub_magnitudes): Likewise.
13252 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
13255 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
13258 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
13261 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
13262 up changes with default code.
13263 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
13266 2013-02-24 Allan McRae <allan@archlinux.org>
13268 * manual/socket.texi (The Internet Namespace): Order menu items
13269 to match that in the file.
13271 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
13272 node listing of the info page menu.
13274 2013-02-21 Joseph Myers <joseph@codesourcery.com>
13277 * sysdeps/i386/bp-asm.h: Remove file.
13278 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13279 (PARMS): Do not use macros from bp-asm.h.
13283 (__mpn_add_n): Do not use BP_SYM
13284 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
13286 (PARMS): Do not use macros from bp-asm.h.
13289 (__mpn_addmul_1): Do not use BP_SYM
13290 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
13292 (PARMS): Do not use macros from bp-asm.h.
13293 (SIGMSK): Likewise.
13294 (_setjmp): Likewise. Do not use BP_SYM.
13295 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
13297 (PARMS): Do not use macros from bp-asm.h.
13298 (SIGMSK): Likewise.
13299 (setjmp): Likewise. Do not use BP_SYM.
13300 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
13302 (PARMS): Do not use macros from bp-asm.h.
13303 (__frexp): Do not use BP_SYM.
13305 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
13307 (PARMS): Do not use macros from bp-asm.h.
13308 (__frexpf): Do not use BP_SYM.
13309 (frexpf): Likewise.
13310 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
13312 (PARMS): Do not use macros from bp-asm.h.
13313 (__frexpl): Do not use BP_SYM.
13314 (frexpl): Likewise.
13315 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
13317 (PARMS): Do not use macros from bp-asm.h.
13318 (__remquo): Do not use BP_SYM.
13319 (remquo): Likewise.
13320 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
13322 (PARMS): Do not use macros from bp-asm.h.
13323 (__remquof): Do not use BP_SYM.
13324 (remquof): Likewise.
13325 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
13327 (PARMS): Do not use macros from bp-asm.h.
13328 (__remquol): Do not use BP_SYM.
13329 (remquol): Likewise.
13330 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
13332 (PARMS): Do not use macros from bp-asm.h.
13335 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
13336 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
13338 (PARMS): Do not use macros from bp-asm.h.
13339 (strlen): Do not use BP_SYM.
13340 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
13342 (PARMS): Do not use macros from bp-asm.h.
13346 (__mpn_add_n): Do not use BP_SYM.
13347 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
13349 (PARMS): Do not use macros from bp-asm.h.
13352 (__mpn_addmul_1): Do not use BP_SYM.
13353 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
13356 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
13358 (PARMS): Do not use macros from bp-asm.h.
13361 (__mpn_lshift): Do not use BP_SYM.
13362 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
13364 (PARMS): Do not use macros from bp-asm.h.
13368 (memcpy): Likewise. Do not use BP_SYM.
13369 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
13370 libc_hidden_def and weak_alias.
13371 (mempcpy): Do not use BP_SYM in weak_alias.
13372 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
13374 (PARMS): Do not use macros from bp-asm.h.
13377 [!BZERO_P] (CHR): Likewise.
13378 (memset): Likewise. Do not use BP_SYM.
13379 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
13381 (PARMS): Do not use macros from bp-asm.h.
13384 (__mpn_mul_1): Do not use BP_SYM.
13385 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
13387 (PARMS): Do not use macros from bp-asm.h.
13390 (__mpn_rshift): Do not use BP_SYM.
13391 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
13393 (PARMS): Do not use macros from bp-asm.h.
13396 (strchr): Likewise. Do not use BP_SYM.
13397 (index): Do not use BP_SYM in weak_alias.
13398 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
13400 (PARMS): Do not use macros from bp-asm.h.
13403 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
13404 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
13406 (PARMS): Do not use macros from bp-asm.h.
13407 (strlen): Do not use BP_SYM.
13408 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
13410 (PARMS): Do not use macros from bp-asm.h.
13414 (__mpn_sub_n): Do not use BP_SYM.
13415 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
13417 (PARMS): Do not use macros from bp-asm.h.
13420 (__mpn_submul_1): Do not use BP_SYM.
13421 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
13423 (PARMS): Do not use macros from bp-asm.h.
13427 (__mpn_add_n): Do not use BP_SYM.
13428 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
13431 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
13433 (PARMS): Do not use macros from bp-asm.h.
13436 (memcmp): Do not use BP_SYM.
13437 (bcmp): Do not use BP_SYM in weak_alias.
13438 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
13440 (PARMS): Do not use macros from bp-asm.h.
13444 (memcpy): Likewise. Do not use BP_SYM.
13445 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
13447 (PARMS): Do not use macros from bp-asm.h.
13451 (memmove): Likewise. Do not use BP_SYM.
13452 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
13454 (PARMS): Do not use macros from bp-asm.h.
13458 (__mempcpy): Likewise. Do not use BP_SYM.
13459 (mempcpy): Do not use BP_SYM in weak_alias.
13460 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
13462 (PARMS): Do not use macros from bp-asm.h.
13465 [!BZERO_P] (CHR): Likewise.
13466 (memset): Likewise. Do not use BP_SYM.
13467 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
13469 (PARMS): Do not use macros from bp-asm.h.
13471 (strcmp): Do not use BP_SYM.
13472 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
13474 (PARMS): Do not use macros from bp-asm.h.
13477 [USE_AS_STRTOK_R] (SAVE): Likewise.
13478 (FUNCTION): Likewise. Do not use BP_SYM.
13479 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
13481 (strtok_r): Likewise.
13482 (__GI___strtok_r): Likewise.
13483 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13484 (PARMS): Do not use macros from bp-asm.h.
13487 (__mpn_lshift): Do not use BP_SYM.
13488 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13489 (PARMS): Do not use macros from bp-asm.h.
13492 (__memchr): Do not use BP_SYM.
13493 (memchr): Do not use BP_SYM in weak_alias.
13494 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13495 (PARMS): Do not use macros from bp-asm.h.
13498 (memcmp): Do not use BP_SYM.
13499 (bcmp): Do not use BP_SYM in weak_alias.
13500 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
13501 (PARMS): Do not use macros from bp-asm.h.
13504 (__mpn_mul_1): Do not use BP_SYM.
13505 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
13507 (PARMS): Do not use macros from bp-asm.h.
13510 (__rawmemchr): Do not use BP_SYM.
13511 (rawmemchr): Do not use BP_SYM in weak_alias.
13512 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13513 (PARMS): Do not use macros from bp-asm.h.
13516 (__mpn_rshift): Do not use BP_SYM.
13517 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13518 (PARMS): Do not use macros from bp-asm.h.
13519 (SIGMSK): Likewise.
13520 (__sigsetjmp): Likewise. Do not use BP_SYM.
13521 * sysdeps/i386/start.S: Do not include "bp-sym.h".
13522 (_start): Do not use BP_SYM.
13523 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
13524 (PARMS): Do not use macros from bp-asm.h.
13527 (__stpcpy): Likewise. Do not use BP_SYM.
13528 (stpcpy): Do not use BP_SYM in weak_alias.
13529 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
13531 (PARMS): Do not use macros from bp-asm.h.
13535 (__stpncpy): Likewise. Do not use BP_SYM.
13536 (stpncpy): Do not use BP_SYM in weak_alias.
13537 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13538 (PARMS): Do not use macros from bp-asm.h.
13541 (strchr): Likewise. Do not use BP_SYM.
13542 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
13544 (PARMS): Do not use macros from bp-asm.h.
13547 (__strchrnul): Likewise. Do not use BP_SYM.
13548 (strchrnul): Do not use BP_SYM in weak_alias.
13549 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
13551 (PARMS): Do not use macros from bp-asm.h.
13553 (strcspn): Do not use BP_SYM.
13554 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
13556 (PARMS): Do not use macros from bp-asm.h.
13559 (strpbrk): Likewise. Do not use BP_SYM.
13560 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
13562 (PARMS): Do not use macros from bp-asm.h.
13565 (strrchr): Likewise. Do not use BP_SYM.
13566 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
13567 (PARMS): Do not use macros from bp-asm.h.
13569 (strspn): Do not use BP_SYM.
13570 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
13571 (PARMS): Do not use macros from bp-asm.h.
13575 (FUNCTION): Likewise. Do not use BP_SYM.
13576 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
13578 (strtok_r): Likewise.
13579 (__GI___strtok_r): Likewise.
13580 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13581 (PARMS): Do not use macros from bp-asm.h.
13585 (__mpn_sub_n): Do not use BP_SYM.
13586 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
13588 (PARMS): Do not use macros from bp-asm.h.
13591 (__mpn_submul_1): Do not use BP_SYM.
13592 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
13594 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
13596 (PARMS): Do not use macros from bp-asm.h.
13601 (__clone): Do not use BP_SYM.
13602 (clone): Do not use BP_SYM in weak_alias.
13603 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
13605 (PARMS): Do not use macros from bp-asm.h.
13607 (__mmap64): Do not use BP_SYM.
13608 (mmap64): Do not use BP_SYM in weak_alias.
13609 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13610 <bp-sym.h> and <bp-asm.h>.
13611 (PARMS): Do not use macros from bp-asm.h.
13612 (__posix_fadvise64_l64): Do not use BP_SYM.
13613 * sysdeps/unix/sysv/linux/i386/semtimedop.S
13614 (PARMS): Do not use macros from bp-asm.h.
13616 (semtimedop): Do not use BP_SYM.
13617 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
13620 2013-02-21 Allan McRae <allan@archlinux.org>
13622 * manual/message.texi (Charset conversion in gettext):
13623 Move @end statement to beginning of line.
13625 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13627 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
13629 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13632 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
13633 (denorm): Likewise.
13634 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
13635 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
13637 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13639 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
13640 tail-call to the resolved function if pltexit isn't needed.
13642 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13644 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
13645 or Y being zero as being unlikely.
13646 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13649 2013-02-20 Carlos O'Donell <carlos@redhat.com>
13651 * manual/nss.texi (System Databases and Name Service Switch):
13652 Remove frobnicate @pxref.
13654 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13656 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13657 __attribute__ ((unused)) to __attribute__ ((__unused__)).
13659 2013-02-20 Petr Machata <pmachata@redhat.com>
13661 * elf/elf.h (R_ARM_TARGET1): New macro.
13662 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
13663 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
13664 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
13665 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
13666 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
13667 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
13668 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
13669 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
13670 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
13671 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
13672 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
13673 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
13674 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
13675 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
13676 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
13677 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
13678 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
13679 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
13680 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
13681 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
13682 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
13683 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
13684 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
13685 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
13686 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
13687 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
13688 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
13689 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
13690 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
13691 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
13692 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
13693 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
13694 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
13695 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
13696 (R_ARM_THM_GOT_BREL12): Likewise.
13697 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
13698 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
13699 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
13700 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
13701 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
13702 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
13703 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
13704 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
13705 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
13707 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13709 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13710 __attribute_used__ to __attribute__ ((unused)).
13712 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13714 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13716 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13717 comment formatting.
13718 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13720 2013-02-19 Joseph Myers <joseph@codesourcery.com>
13723 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13725 (ENTER): Remove both macro definitions.
13727 (CHECK_BOUNDS_LOW): Likewise.
13728 (CHECK_BOUNDS_HIGH): Likewise.
13729 (CHECK_BOUNDS_BOTH): Likewise.
13730 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13731 (RETURN_BOUNDED_POINTER): Likewise.
13732 (RETURN_NULL_BOUNDED_POINTER): Likewise.
13733 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13734 (POP_ERRNO_LOCATION_RETURN): Likewise.
13735 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13736 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13737 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13739 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13740 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13741 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13742 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13743 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13744 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13745 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13746 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13747 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13748 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13749 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13750 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13751 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13752 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13754 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13755 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13757 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13758 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13759 * sysdeps/i386/i586/memset.S (memset): Likewise.
13760 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13761 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13762 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13764 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13765 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13766 Change uses of L(2) to L(out).
13767 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13768 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13769 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13770 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13771 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13773 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13774 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13776 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13777 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13778 (RETURN): Do not use macro LEAVE.
13779 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13780 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13781 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13782 * sysdeps/i386/i686/memset.S (memset): Likewise.
13783 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13784 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13785 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13786 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13788 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13789 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
13790 L(1_2) and L(1_3) into L(1).
13791 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13792 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13793 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13794 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13795 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13796 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13797 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13798 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13799 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13801 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13802 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13803 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13804 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13805 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13806 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13807 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13808 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13809 * sysdeps/i386/strcspn.S (strcspn): Likewise.
13810 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13811 * sysdeps/i386/strrchr.S (strrchr): Likewise.
13812 * sysdeps/i386/strspn.S (strspn): Likewise.
13813 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13815 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13816 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13817 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13818 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
13819 L(1_3) into L(1_1).
13820 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13821 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13822 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13824 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13826 2013-02-19 Jakub Jelinek <jakub@redhat.com>
13828 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13831 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13833 * math/atest-exp.c (exp_mpn): Remove ROUND.
13834 * math/atest-exp2.c (exp_mpn): Likewise.
13835 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13837 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13838 * stdlib/tst-tls-atexit-lib.c: Likewise.
13839 * stdlib/tst-tls-atexit.c: Likewise.
13841 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13843 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13844 and __attribute_alloc_size__.
13846 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13848 * include/programs/xmalloc.h: Change __attribute_alloc_size to
13849 __attribute_alloc_size__.
13850 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13851 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13853 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13855 * include/programs/xmalloc.h: New file.
13856 * catgets/gencat.c: Include it.
13857 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13858 * elf/pldd.c: Likewise.
13859 * iconv/iconv_charmap.c: Likewise.
13860 * iconv/iconvconfig.c: Likewise.
13861 * iconv/strtab.c: Likewise.
13862 * locale/programs/locale.c: Likewise.
13863 * locale/programs/localedef.h: Likewise.
13864 * locale/programs/simple-hash.c: Likewise.
13865 * nscd/nscd.h: Likewise.
13866 * nss/makedb.c: Likewise.
13867 * sysdeps/generic/ldconfig.h: Likewise.
13869 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13871 * Versions.def: Add GLIBC_2.18.
13872 * include/link.h (struct link_map): New member l_tls_dtor_count.
13873 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13874 (__call_tls_dtors): Likewise.
13875 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13876 __cxa_thread_atexit_impl.
13877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13883 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13885 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13886 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13888 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13891 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13893 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13894 (tests): Add test case tst-tls-atexit.
13895 (modules-names): Add shared library for tst-tls-atexit.
13896 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13897 (GLIBC_PRIVATE): Add __call_tls_dtors.
13898 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13900 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13901 * stdlib/tst-tls-atexit.c: New test case.
13902 * stdlib/tst-tls-atexit-lib.c: New test case.
13904 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13906 * elf/Versions (ld): Add _dl_find_dso_for_object.
13907 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13908 * elf/dl-open.c (_dl_find_dso_for_object): New function.
13909 (dl_open_worker): Use _dl_find_dso_for_object.
13910 * elf/dl-sym.c (do_sym): Likewise.
13911 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13913 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13915 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13916 Syntactic changes only.
13917 (_dl_runtime_profile): Do a tail-call to the resolved function.
13919 2013-02-17 Joseph Myers <joseph@codesourcery.com>
13922 * sysdeps/x86_64/bp-asm.h: Remove file.
13923 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13924 <bp-sym.h> and <bp-asm.h>.
13925 (__clone): Do not use BP_SYM.
13926 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13927 <bp-sym.h> and <bp-asm.h>.
13928 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13929 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13931 (_setjmp): Do not use BP_SYM.
13932 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13934 (setjmp): Do not use BP_SYM.
13935 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13937 (mempcpy): Do not use BP_SYM in weak_alias.
13938 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13940 (strchr): Do not use BP_SYM.
13941 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13943 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13944 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13945 (_start): Do not use BP_SYM.
13946 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13948 (strcat): Do not use BP_SYM.
13949 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13951 (STRCMP): Do not use BP_SYM.
13952 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13954 (STRCPY): Do not use BP_SYM.
13955 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13957 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13959 (FUNCTION): Do not use BP_SYM.
13960 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13962 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13964 2013-02-17 Andreas Jaeger <aj@suse.de>
13966 * time/Versions: Sort entries.
13967 * string/Versions: Likewise.
13968 * resolv/Versions: Likewise.
13969 * posix/Versions: Likewise.
13970 * iconv/Versions: Likewise.
13971 * elf/Versions: Likewise.
13972 * wcsmbs/Versions: Likewise.
13974 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13976 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13977 loop termination condition.
13979 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13980 variable to calculate EZ.
13983 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13984 the lower precision input.
13986 2013-02-15 Joseph Myers <joseph@codesourcery.com>
13989 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13990 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13991 (run-via-rtld-prefix): Do not handle %-bp tests.
13992 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13993 (all-object-suffixes): Remove .ob.
13994 (bppfx): Remove variable.
13995 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13996 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13997 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13998 [$(build-bounded) = yes] (libtype.ob): Likewise.
13999 * Makerules (elide-routines.ob): Remove variable.
14000 (do-tests-clean): Do not handle *-bp.out.
14001 (common-mostlyclean): Do not handle *-bp and *-bp.out.
14002 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
14003 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
14004 (tests): Do not include $(tests-bp.out).
14005 (xtests): Do not include $(xtests-bp.out).
14006 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
14007 [$(build-bounded) = yes] ($(addprefix
14008 $(objpfx),$(binaries-bounded))): Remove rule.
14009 ($(objpfx)%-bp.out): Remove rule.
14010 * config.make.in (build-bounded): Remove variable.
14011 * crypt/Makefile [$(build-bounded) = yes]
14012 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14013 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14014 append to variable.
14015 [$(build-bounded) = yes] (install-lib): Likewise.
14016 [$(build-bounded) = yes] (generated): Likewise.
14017 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14019 * intl/Makefile [$(build-bounded) = yes]
14020 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14021 * math/Makefile [$(build-bounded) = yes]
14022 ($(tests:%=$(objpfx)%-bp): Likewise.
14023 * misc/Makefile [$(build-bounded) = yes]
14024 ($(objpfx)tst-tsearch-bp): Likewise.
14025 * nptl/Makeconfig (bounded-thread-library): Remove variable.
14026 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14028 * string/Makefile (o-objects.ob): Remove variable.
14029 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14030 (CFLAGS-.ob): Remove variable.
14031 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14032 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14033 both definitions of variable.
14034 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14035 (ASFLAGS-.ob): Remove variable.
14037 2013-02-14 Joseph Myers <joseph@codesourcery.com>
14040 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
14041 Remove __BOUNDED_POINTERS__ from condition.
14042 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
14043 * string/bits/string2.h [!__NO_STRING_INLINES &&
14044 !__BOUNDED_POINTERS__]: Likewise.
14045 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
14047 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
14048 Remove conditional code.
14049 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
14050 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
14051 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
14055 * csu/libc-start.c: Do not include <bp-sym.h>.
14056 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
14057 * elf/dl-open.c: Do not include <bp-sym.h>.
14058 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
14059 * math/fegetenv.c: Do not include <bp-sym.h>.
14060 (fegetenv): Do not use BP_SYM in versioned symbols.
14061 * nptl/sysdeps/pthread/bits/libc-lockP.h
14062 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
14064 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14065 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
14066 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14067 (__pthread_mutex_destroy): Likewise.
14068 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14069 (__pthread_mutex_lock): Likewise.
14070 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14071 (__pthread_mutex_trylock): Likewise.
14072 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14073 (__pthread_mutex_unlock): Likewise.
14074 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14075 (__pthread_mutexattr_init): Likewise.
14076 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14077 (__pthread_mutexattr_destroy): Likewise.
14078 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14079 (__pthread_mutexattr_settype): Likewise.
14080 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14081 (__pthread_rwlock_init): Likewise.
14082 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14083 (__pthread_rwlock_destroy): Likewise.
14084 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14085 (__pthread_rwlock_rdlock): Likewise.
14086 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14087 (__pthread_rwlock_tryrdlock): Likewise.
14088 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14089 (__pthread_rwlock_wrlock): Likewise.
14090 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14091 (__pthread_rwlock_trywrlock): Likewise.
14092 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14093 (__pthread_rwlock_unlock): Likewise.
14094 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14095 (__pthread_key_create): Likewise.
14096 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14097 (__pthread_setspecific): Likewise.
14098 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14099 (__pthread_getspecific): Likewise.
14100 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
14102 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14103 (_pthread_cleanup_push_defer): Likewise.
14104 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14105 (_pthread_cleanup_pop_restore): Likewise.
14106 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14107 (pthread_setcancelstate): Likewise.
14108 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
14110 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
14111 (memchr): Do not use BP_SYM in weak_alias.
14112 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
14113 (fegetenv): Do not use BP_SYM in versioned symbols.
14114 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
14115 (fesetenv): Do not use BP_SYM in versioned symbols.
14116 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14117 (feupdateenv): Do not use BP_SYM in versioned symbols.
14118 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14119 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14120 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
14121 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
14122 (open64): Do not use BP_SYM in weak_alias.
14123 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
14124 (fegetenv): Do not use BP_SYM in versioned symbols.
14125 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
14126 (fesetenv): Do not use BP_SYM in versioned symbols.
14127 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14128 (feupdateenv): Do not use BP_SYM in versioned symbols.
14129 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
14130 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
14131 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
14132 (feraiseexcept): Do not use BP_SYM in versioned symbols.
14133 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14134 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14135 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
14137 (__libc_start_main): Do not use BP_SYM.
14139 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14141 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
14142 redundant return line.
14144 (denorm): Likewise.
14145 (dbl_mp): Likewise.
14146 (sub_magnitudes): Likewise.
14152 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
14154 (denorm): Likewise.
14155 (dbl_mp): Likewise.
14156 (sub_magnitudes): Likewise.
14163 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
14165 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14166 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
14169 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
14170 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
14171 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
14172 of __mul for squares.
14173 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
14175 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
14177 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
14178 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14180 2013-02-13 Joseph Myers <joseph@codesourcery.com>
14183 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
14185 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
14186 prototype or function definition. Rename ubp_* variables and
14187 parameters. Remove argv definitions conditional on
14188 [__BOUNDED_POINTERS__].
14189 * debug/backtrace.c (__backtrace): Do not use __unbounded.
14190 * elf/dl-runtime.c (_dl_fixup): Likewise.
14191 * include/set-hooks.h (RUN_HOOK): Likewise.
14192 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
14194 * string/strcpy.c (strcpy): Do not use __unbounded.
14195 * sysdeps/generic/frame.h (struct layout): Likewise.
14196 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
14197 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
14198 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
14199 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
14200 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
14201 (__backtrace): Likewise.
14202 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
14204 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14205 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14206 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14208 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
14209 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
14210 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14211 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14212 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
14213 Do not use __unbounded.
14214 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
14215 Rename __unboundedrlimits parameter to rlimits in prototype.
14216 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
14217 Do not use __unbounded.
14218 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
14219 not use __ptrvalue.
14220 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14221 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
14222 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14223 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
14224 __ptrvalue or __unbounded.
14225 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
14226 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
14228 (__new_msgctl): Do not use __ptrvalue.
14229 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
14231 (__libc_msgrcv): Do not use __ptrvalue.
14232 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
14233 startup_info): Do not use __unbounded.
14234 (__libc_start_main): Likewise. Rename ubp_* variables and
14235 parameters. Remove argv definitions conditional on
14236 [__BOUNDED_POINTERS__].
14237 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
14239 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
14241 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
14243 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
14245 (__new_shmctl): Do not use __ptrvalue.
14246 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14247 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14249 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14250 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
14251 (__libc_sigaction): Likewise.
14252 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
14253 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
14255 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14257 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
14259 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
14261 * string/mempcpy.c: Implement by calling memcpy.
14263 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14265 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
14267 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
14270 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
14271 values in the mantissa.
14273 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
14274 minimize writes to Z.
14275 (sub_magnitudes): Simplify code a bit.
14277 2013-02-12 Roland McGrath <roland@hack.frob.com>
14279 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
14280 from the message. The linker prefixes all warnings with that already.
14282 2013-02-12 Andreas Schwab <schwab@suse.de>
14285 * posix/regexec.c (extend_buffers): Add parameter min_len.
14286 (check_matching): Pass minimum needed length.
14287 (clean_state_log_if_needed): Likewise.
14288 (get_subexp): Likewise.
14289 * posix/Makefile (tests): Add bug-regex34.
14290 (bug-regex34-ENV): Define.
14291 * posix/bug-regex34.c: New file.
14294 * posix/regcomp.c (parse_bracket_exp): When looking up collating
14295 elements compare against the byte sequence of it, not its name.
14296 * posix/Makefile (tests): Add bug-regex35.
14297 (bug-regex35-ENV): Define.
14298 * posix/bug-regex35.c: New file.
14300 2013-02-11 Tom de Vries <tom@codesourcery.com>
14302 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
14304 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
14305 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
14306 (CHECK_EOL): Add undef.
14308 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
14310 * bits/stdlib-bsearch.h: New file.
14311 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
14312 * stdlib/stdlib.h: Likewise.
14314 2013-02-11 Roland McGrath <roland@hack.frob.com>
14316 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
14317 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
14319 * manual/search.texi (Array Search Function): Add missing const in
14321 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
14322 declaration to use rlim_t.
14323 (Basic Scheduling Functions): Remove erroneous const from
14324 sched_getparam prototype. Remove erroneous * from
14325 sched_get_priority_max and sched_get_priority_min prototypes.
14326 (Resource Usage): Fix summary @comment on vtimes to refer to
14327 sys/vtimes.h rather than vtimes.h.
14328 Add missing *s in vtimes prototype.
14329 (Limits on Resources): Fix ulimit prototype to return long int.
14330 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
14331 prototypes to use long int rather than double.
14332 (BSD Random): Fix initstate and setstate to use char *, not void *.
14333 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
14334 prototype to make second argument 'struct aiocb64 *const[]'.
14335 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
14336 (Status of AIO Operations): Remove erroneous const in aio_return and
14337 aio_return64 prototypes.
14338 (Synchronizing I/O): Fix sync prototype to return void.
14339 * manual/startup.texi (Suboptions): Remove an erroneous const in
14340 getsubopt prototype.
14341 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
14342 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
14343 use size_t rather than int.
14344 (Scanning All Users): Likewise for getpwent_r.
14345 (Setting Groups): Add missing const to setgroups prototype.
14346 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
14347 * manual/socket.texi (Host Names): Fix gethostbyaddr and
14348 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
14349 'const void *' rather than 'const char *'.
14350 (Host Address Functions): Likewise for inet_ntop.
14351 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
14352 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
14353 ssize_t for return value.
14354 (Sending Data): Likewise for send, sendto, sendmsg.
14355 (Socket Option Functions): Add a missing const in setsockopt prototype.
14356 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
14357 use wchar_t for the argument.
14358 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
14359 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
14361 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
14362 double/float/long double for second argument.
14363 Fix return types of significand, significandf, significandl.
14364 * manual/filesys.texi (Setting Permissions): Use mode_t for second
14365 argument in fchmod prototype.
14366 (File Owner): Use uid_t and gid_t in fchown prototype.
14367 (File Times): Add const to utimes, futimes, and lutimes prototypes.
14368 (Making Special Files): Use mode_t and dev_t in mknod prototype.
14369 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
14370 use 'const struct dirent **' as argument types to CMP function pointer
14372 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
14373 (File Times): Fix summary magic @comment for struct utimbuf and utime
14374 to refer to utime.h, not time.h.
14375 * manual/string.texi (Argz Functions): Add missing const in
14376 argz_extract and argz_next prototypes.
14377 (Finding Tokens in a String): Likewise for basename.
14378 (String/Array Comparison): Fix typo in wcscasecmp prototype.
14379 (Copying and Concatenation): Fix typo in wmemmove prototype.
14380 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
14381 (Signal Stack): Remove erroneous const in sigstack prototype.
14382 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
14384 (Simple Calendar Time): Likewise for stime.
14385 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
14387 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
14388 say sys/sysctl.h instead.
14389 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
14390 and vsyslog prototypes.
14392 2013-02-11 Tom de Vries <tom@codesourcery.com>
14394 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
14397 2013-02-11 Roland McGrath <roland@hack.frob.com>
14399 * misc/sys/mman.h: Fix typo in mremap comment.
14401 2013-02-08 Roland McGrath <roland@hack.frob.com>
14403 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
14404 the '\0' terminator.
14406 2013-02-08 Joseph Myers <joseph@codesourcery.com>
14409 * debug/segfault.c: Don't include <bp-checks.h>.
14410 * sysdeps/generic/bp-checks.h: Remove file.
14411 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
14412 (__GETDENTS): Don't use CHECK_N.
14413 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
14414 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14415 (__getgroups): Don't use CHECK_N.
14416 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
14417 (setgroups): Don't use CHECK_N.
14418 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
14419 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
14420 (__libc_msgrcv): Don't use CHECK_N.
14421 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
14422 (__libc_msgsnd): Don't use CHECK_N.
14423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
14425 (__libc_pread): Don't use CHECK_N.
14426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
14427 include <bp-checks.h>.
14428 (__libc_pread64): Don't use CHECK_N.
14429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
14430 include <bp-checks.h>.
14431 (__libc_pwrite): Don't use CHECK_N.
14432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
14433 include <bp-checks.h>.
14434 (__libc_pwrite64): Don't use CHECK_N.
14435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
14437 (__libc_pread): Don't use CHECK_N.
14438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
14439 include <bp-checks.h>.
14440 (__libc_pread64): Don't use CHECK_N.
14441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
14442 include <bp-checks.h>.
14443 (__libc_pwrite): Don't use CHECK_N.
14444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
14445 include <bp-checks.h>.
14446 (__libc_pwrite64): Don't use CHECK_N.
14447 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
14448 (do_pread): Don't use CHECK_N.
14449 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
14450 (do_pread64): Don't use CHECK_N.
14451 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
14452 (do_pwrite): Don't use CHECK_N.
14453 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
14454 (do_pwrite64): Don't use CHECK_N.
14455 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
14456 (__libc_readv): Don't use CHECK_N.
14457 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
14458 (semop): Don't use CHECK_N.
14459 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
14461 (semtimedop): Don't use CHECK_N.
14462 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
14463 (__libc_pread): Don't use CHECK_N.
14464 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
14466 (__libc_pread64): Don't use CHECK_N.
14467 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
14469 (__libc_pwrite): Don't use CHECK_N.
14470 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
14472 (__libc_pwrite64): Don't use CHECK_N.
14473 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
14475 (__libc_msgrcv): Don't use CHECK_N.
14476 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
14477 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
14478 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
14479 (__libc_writev): Don't use CHECK_N.
14481 2013-02-08 Roland McGrath <roland@hack.frob.com>
14483 * string/strcpy.c: Removed unused variable.
14485 * Makeconfig (+sysdep-includes): Define with := rather than =.
14486 Use an existing include/ subdir of each sysdeps dir before it.
14488 2013-02-08 Carlos O'Donell <carlos@redhat.com>
14490 * nscd/connection.c (register_traced_file): Comment function.
14491 [HAVE_INOTIFY] (union __inev): Define.
14492 [HAVE_INOTIFY] (inotify_check_files): New function.
14493 [HAVE_INOTIFY] (clear_db_cache): Likewise.
14494 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
14496 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
14498 2013-02-08 Carlos O'Donell <carlos@redhat.com>
14500 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
14501 loaded if not already and that a failure is permanent.
14503 2013-02-08 Carlos O'Donell <carlos@redhat.com>
14506 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
14507 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
14509 2013-02-08 Joseph Myers <joseph@codesourcery.com>
14512 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
14513 (CHECK_1_NULL_OK): Likewise.
14514 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
14515 (__fxstat): Do not use CHECK_1.
14516 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
14518 (___fxstat64): Do not use CHECK_1.
14519 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14521 (__fxstatat): Do not use CHECK_1.
14522 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14524 (__fxstatat64): Do not use CHECK_1.
14525 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
14527 (__fxstat): Do not use CHECK_1.
14528 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14530 (__fxstatat): Do not use CHECK_1.
14531 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14533 (__getresgid): Do not use CHECK_1.
14534 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14536 (__getresuid): Do not use CHECK_1.
14537 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
14539 (__lxstat): Do not use CHECK_1.
14540 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14542 (__old_msgctl): Do not use CHECK_1.
14543 (__new_msgctl): Likewise.
14544 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
14546 (__new_setrlimit): Do not use CHECK_1.
14547 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14549 (__old_shmctl): Do not use CHECK_1.
14550 (__new_shmctl): Likewise.
14551 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
14553 (__xstat): Do not use CHECK_1.
14554 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
14555 (__lxstat): Do not use CHECK_1.
14556 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
14558 (___lxstat64): Do not use CHECK_1.
14559 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
14560 (__old_msgctl): Do not use CHECK_1.
14561 (__new_msgctl): Likewise.
14562 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
14564 (__gettimeofday): Do not use CHECK_1.
14565 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
14566 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
14567 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
14569 (__gettimeofday): Do not use CHECK_1.
14570 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
14571 (__old_shmctl): Do not use CHECK_1_NULL_OK.
14572 (__new_shmctl): Do not use CHECK_1.
14573 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
14575 (do_sigtimedwait): Do not use CHECK_1.
14576 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
14578 (do_sigwaitinfo): Do not use CHECK_1.
14579 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
14581 (msgctl): Do not use CHECK_1.
14582 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
14584 (shmctl): Do not use CHECK_1.
14585 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
14586 (ustat): Do not use CHECK_1.
14587 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
14589 (__fxstat): Do not use CHECK_1.
14590 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14592 (__fxstatat): Do not use CHECK_1.
14593 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
14595 (__lxstat): Do not use CHECK_1.
14596 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
14598 (__xstat): Do not use CHECK_1.
14599 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
14600 (__xstat): Do not use CHECK_1.
14601 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
14602 (___xstat64): Do not use CHECK_1.
14605 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
14607 (CHECK_BOUNDS_HIGH): Likewise.
14608 * string/strcpy.c: Do not include <bp-checks.h>.
14609 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
14611 2013-02-07 Roland McGrath <roland@hack.frob.com>
14613 * nscd/nscd-client.h (__nscd_drop_map_ref):
14614 Add __attribute__ ((unused)).
14615 * nis/nss-nisplus.h (niserr2nss): Likewise.
14617 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
14618 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
14620 * csu/libc-tls.c (init_static_tls, init_slotinfo):
14621 Remove inline keyword.
14622 * include/rounding-mode.h (round_away): Likewise.
14623 * libio/wfileops.c (adjust_wide_data): Likewise.
14624 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
14625 (__m128i_strloadu_tolower): Likewise.
14626 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
14627 (__m128i_strloadu_tolower): Likewise.
14628 * time/mktime.c (ydhms_diff): Likewise.
14629 * locale/elem-hash.h (elem_hash): Likewise.
14630 * locale/setlocale.c (setdata): Likewise.
14631 * posix/regex_internal.h (re_string_char_size_at): Likewise.
14632 (re_string_wchar_at): Likewise.
14633 (bitset_not, bitset_merge, bitset_mask): Likewise.
14634 [!(__GNUC__ > 3)] (inline): Remove macro.
14635 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
14636 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
14637 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14638 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
14639 * string/memcmp.c (memcmp_bytes): Likewise.
14640 * locale/programs/locarchive.c (compute_hashval): Likewise.
14641 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
14642 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
14643 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
14644 * nss/getent.c (print_rpc, print_protocols): Likewise.
14645 (print_passwd, print_group, print_aliases): Likewise.
14646 * nis/nss-nisplus.h (niserr2nss): Likewise.
14647 * nscd/connections.c (restart_p): Likewise.
14648 Change return type to bool.
14650 2013-02-05 Roland McGrath <roland@hack.frob.com>
14652 * Makeconfig (all-Depend-files): Add existing
14653 $(sorted-subdirs:=/Depend) files.
14654 (all-subdirs): Remove nss.
14655 * sysdeps/unix/inet/Subdirs: Add it here instead.
14656 * hesiod/Depend: New file.
14658 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
14659 instead of calling alloca.
14661 * io/lseek.c (__lseek): Rename to __libc_lseek.
14662 Define __lseek as an alias.
14664 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
14666 2013-02-04 Carlos O'Donell <carlos@redhat.com>
14668 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
14669 else clause and remove check for non-standard endianness.
14671 2013-02-04 David S. Miller <davem@davemloft.net>
14673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14675 2013-02-04 Joseph Myers <joseph@codesourcery.com>
14678 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
14679 (__ubp_memchr): Remove prototype.
14680 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
14681 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14682 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
14683 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14684 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
14686 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
14687 (__ubp_memchr): Likewise.
14688 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
14689 (__ubp_memchr): Likewise.
14690 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
14691 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
14692 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
14693 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
14695 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14696 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
14697 (__getcwd): Do not use CHECK_STRING.
14698 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14700 (__real_chown): Do not use CHECK_STRING.
14701 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
14703 (fchownat): Do not use CHECK_STRING.
14704 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
14706 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14708 (__lchown): Do not use CHECK_STRING.
14709 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14710 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14711 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14712 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14714 include <bp-checks.h>.
14715 (truncate64): Do not use CHECK_STRING.
14716 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14718 (__real_chown): Do not use CHECK_STRING.
14719 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14721 (__lchown): Do not use CHECK_STRING.
14722 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14724 (__chown): Do not use CHECK_STRING.
14725 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14727 (truncate64): Do not use CHECK_STRING.
14728 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14730 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14731 (__xmknod): Do not use CHECK_STRING.
14732 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14734 (__xmknodat): Do not use CHECK_STRING.
14735 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14736 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14738 2013-02-04 Andreas Schwab <schwab@suse.de>
14741 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14742 * include/netdb.h: Likewise for h_errno.
14743 * elf/tst-stackguard1.c: Include <tls.h>.
14745 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14747 * elf/link.h (struct link_map): Extend the l_addr comment.
14748 * include/link.h (struct link_map): Likewise.
14750 2013-02-01 Joseph Myers <joseph@codesourcery.com>
14753 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14754 (BOUNDED_1): Remove macro.
14755 * debug/backtrace.c: Don't include <bp-checks.h>.
14756 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14757 (__backtrace): Likewise.
14758 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14760 (__backtrace): Don't use BOUNDED_1.
14761 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14763 (__backtrace): Don't use BOUNDED_1.
14764 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14765 (__backtrace): Don't use BOUNDED_1.
14766 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14767 (shmat): Don't use BOUNDED_N.
14769 2013-01-31 Joseph Myers <joseph@codesourcery.com>
14772 * sysdeps/generic/bp-start.h: Remove file.
14773 * csu/libc-start.c: Don't include <bp-start.h>.
14774 (LIBC_START_MAIN): Set up __environ directly instead of using
14775 INIT_ARGV_and_ENVIRON.
14776 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14780 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14782 (CHECK_FCNTL): Likewise.
14783 (CHECK_N_PAGES): Likewise.
14786 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14788 (CHECK_SIGSET_NULL_OK): Likewise.
14789 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14791 (sigpending): Don't use CHECK_SIGSET.
14792 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14794 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14795 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14797 (do_sigsuspend): Don't use CHECK_SIGSET.
14798 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14800 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14801 (do_sigwait): Don't use CHECK_SIGSET.
14802 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14804 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14805 include <bp-checks.h>.
14806 (sigpending): Don't use CHECK_SIGSET.
14807 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14808 include <bp-checks.h>.
14809 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14810 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14812 (sigpending): Don't use CHECK_SIGSET.
14813 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14815 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14818 * sysdeps/generic/bp-semctl.h: Remove file.
14819 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14820 <bp-checks.h> and <bp-semctl.h>.
14821 (__old_semctl): Don't use CHECK_SEMCTL.
14822 (__new_semctl): Likewise.
14823 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14825 (__old_semctl): Don't use CHECK_SEMCTL.
14826 (__new_semctl): Likewise.
14827 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14828 <bp-checks.h> and <bp-semctl.h>.
14829 (__old_semctl): Don't use CHECK_SEMCTL.
14830 (__new_semctl): Likewise.
14831 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14832 <bp-checks.h> and <bp-semctl.h>.
14833 (semctl): Don't use CHECK_SEMCTL.
14836 * Makerules (elide-bp-thunks): Remove variable.
14837 (elide-routines.oS): Don't use $(elide-bp-thunks).
14838 (elide-routines.os): Likewise.
14839 (elide-routines.o): Likewise.
14840 (elide-routines.op): Likewise.
14841 (elide-routines.og): Likewise.
14842 (objects): Don't use $(bp-thunks).
14843 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14845 (common-generated): Do not add s-proto-bp.d.
14846 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14849 Do not generate makefile rules for bounded-pointer thunks.
14850 * sysdeps/generic/bp-thunks.h: Remove file.
14851 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14852 * sysdeps/unix/s-proto-bp.S: Likewise.
14855 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14856 parts of result separately when argument is not close to line from
14857 -i to i and one part of argument is small.
14858 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14859 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14860 * math/libm-test.inc (cacos_test): Add more tests.
14861 (casin_test): Likewise.
14862 (casinh_test): Likewise.
14863 * sysdeps/i386/fpu/libm-test-ulps: Update.
14864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14866 2013-01-31 David S. Miller <davem@davemloft.net>
14868 * po/de.po: Update from translation team.
14870 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
14872 * time/tzfile.c: Include stdint.h for SIZE_MAX.
14874 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
14876 * configure.in (_AC_PROG_CC_C89): New definition.
14877 * configure: Regenerate.
14879 * configure.in (AC_PROG_CPP): New definition.
14880 * configure: Regenerate.
14882 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14884 * debug/tst-backtrace.h: New file.
14885 * debug/tst-backtrace2.c: Include tst-backtrace.h.
14886 (ret): Remove variable.
14888 (FAIL): Remove macro.
14889 (NO_INLINE): Likewise.
14890 (fn1): Use match function instead of strstr.
14891 * debug/tst-backtrace3.c: Include tst-backtrace.h.
14892 (ret): Remove variable.
14894 (FAIL): Remove macro.
14895 (NO_INLINE): Likewise.
14896 (fn): Use match function instead of strstr.
14897 * debug/tst-backtrace4.c: Include tst-backtrace.h.
14898 (ret): Remove variable.
14900 (FAIL): Remove macro.
14901 (NO_INLINE): Likewise.
14902 (handle_signal): Use match function instead of strstr.
14903 * debug/tst-backtrace5.c: Include tst-backtrace.h.
14904 (ret): Remove variable.
14906 (FAIL): Remove macro.
14907 (NO_INLINE): Likewise.
14908 (handle_signal): Use match function instead of strstr.
14910 2013-01-23 Roland McGrath <roland@hack.frob.com>
14912 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14914 2013-01-23 David S. Miller <davem@davemloft.net>
14916 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14917 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14918 argument of CAS if possible.
14919 * sysdeps/sparc/sparc64/bits/atomic.h
14920 (__arch_compare_and_exchange_val_32_acq): Likewise.
14921 (__arch_compare_and_exchange_val_64_acq): Likewise.
14923 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
14925 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14926 * sysdeps/posix/ulimit.c: ... this.
14927 Include <limits.h>.
14928 * sysdeps/unix/bsd/ulimit.c: Remove file.
14930 2013-01-23 Adam Conrad <adconrad@0c3.net>
14932 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14933 (LDFLAGS-tst-array5): Likewise.
14935 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14938 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14939 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14940 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14941 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14943 2013-01-21 David S. Miller <davem@davemloft.net>
14945 * sysdeps/sparc/backtrace.c: New file.
14946 * sysdeps/sparc/sparc32/backtrace.h: New file.
14947 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14948 * sysdeps/sparc/sparc64/backtrace.h: New file.
14949 * sysdeps/sparc/sparc64/backtrace.c: Delete.
14950 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14953 2013-01-21 Andreas Schwab <schwab@suse.de>
14956 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14959 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
14961 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14963 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14965 2013-01-18 Joseph Myers <joseph@codesourcery.com>
14966 Mark Mitchell <mark@codesourcery.com>
14967 Tom de Vries <tom@codesourcery.com>
14968 Paul Pluzhnikov <ppluzhnikov@google.com>
14970 * debug/tst-backtrace2.c: New file.
14971 * debug/tst-backtrace3.c: Likewise.
14972 * debug/tst-backtrace4.c: Likewise.
14973 * debug/tst-backtrace5.c: Likewise.
14974 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14975 (CFLAGS-tst-backtrace3.c): Likewise.
14976 (CFLAGS-tst-backtrace4.c): Likewise.
14977 (CFLAGS-tst-backtrace5.c): Likewise.
14978 (LDFLAGS-tst-backtrace2): Likewise.
14979 (LDFLAGS-tst-backtrace3): Likewise.
14980 (LDFLAGS-tst-backtrace4): Likewise.
14981 (LDFLAGS-tst-backtrace5): Likewise.
14982 (tests): Add new tests tst-backtrace2, tst-backtrace3,
14983 tst-backtrace4 and tst-backtrace5.
14985 2013-01-18 Anton Blanchard <anton@samba.org>
14986 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14988 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14989 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14990 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14991 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14993 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14994 "+r" and remove output regs list as redundant. Add explicit inline
14995 asm to specify register of return val to work around compiler codegen
14996 bug. Remove (int) cast on return value. Add return type parameter to
14997 use in macro so that this macro does not truncate return value for
14999 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
15000 pass to INTERNAL_VSYSCALL_NCS.
15001 (INLINE_VSYSCALL): Add 'long int' as return type to
15002 INTERNAL_VSYSCALL_NCS macro invocation.
15003 (INTERNAL_VSYSCALL): Add 'long int' as return type to
15004 INTERNAL_VSYSCALL_NCS macro invocation.
15005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15007 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15010 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15011 Fix application of SIMD FP exception mask.
15013 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15014 mp_no from a power of two.
15015 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15016 __mpexp_twomm1. Use __pow_mp.
15018 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15021 2013-01-17 David S. Miller <davem@davemloft.net>
15023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15025 2013-01-17 Joseph Myers <joseph@codesourcery.com>
15028 * include/complex.h: Condition contents on [!_COMPLEX_H].
15029 (__kernel_casinhf): New prototype.
15030 (__kernel_casinh): Likewise.
15031 (__kernel_casinhl): Likewise.
15032 * math/Makefile (libm_calls): Add k_casinh.
15033 * math/k_casinh.c: New file.
15034 * math/k_casinhf.c: Likewise.
15035 * math/k_casinhl.c: Likewise.
15036 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15037 finite nonzero arguments.
15038 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
15039 finite nonzero arguments.
15040 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
15041 finite nonzero arguments.
15042 * math/s_casinh.c: Do not include <float.h>.
15043 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
15044 * math/s_casinhf.c: Do not include <float.h>.
15045 (__casinhf): Move code for finite nonzero arguments to
15047 * math/s_casinhl.c: Do not include <float.h>.
15048 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15050 (__casinhl): Move code for finite nonzero arguments to
15052 * math/libm-test.inc (cacos_test): Add more tests.
15053 * sysdeps/i386/fpu/libm-test-ulps: Update.
15054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15056 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
15058 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
15059 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
15060 [!HAVE_MREMAP]: Remove [defined linux] case.
15061 * malloc/arena.c: Do not include <malloc-sysdep.h>.
15063 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15065 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
15067 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
15069 * elf/elf.h (R_386_SIZE32): New relocation.
15070 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
15072 (elf_machine_rela): Likewise.
15073 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15074 R_X86_64_SIZE64 and R_X86_64_SIZE32.
15076 2013-01-17 Joseph Myers <joseph@codesourcery.com>
15078 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
15079 (FP_FAST_FMA): Do not define.
15080 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
15081 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
15082 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
15083 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
15084 !_SOFT_FLOAT]: Likewise.
15085 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
15086 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
15088 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
15089 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
15090 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
15091 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
15092 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
15093 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
15096 2013-01-16 Andreas Schwab <schwab@suse.de>
15099 * include/stdlib.h (__mktemp): Add declaration.
15100 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
15101 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
15103 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15105 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
15107 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15108 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
15109 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
15111 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
15112 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
15114 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
15116 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
15117 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
15118 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
15120 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
15121 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
15123 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15125 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
15127 2013-01-15 David S. Miller <davem@davemloft.net>
15129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15130 trunc{,f} to libm-sysdep_routes.
15131 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
15134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
15135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
15137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
15139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
15140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
15141 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
15142 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
15143 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
15144 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
15145 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
15146 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
15148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15149 nearbyint{,f} to libm-sysdep_routes.
15150 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
15153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
15155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
15157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
15159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
15160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
15161 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
15163 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
15164 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
15166 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
15167 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
15168 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
15170 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15171 libc_feholdexcept and libc_fesetenv.
15173 2013-01-15 Mike Frysinger <vapier@gentoo.org>
15175 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
15177 2013-01-14 David S. Miller <davem@davemloft.net>
15179 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
15180 (SPARC_ASM_VIS2_IFUNC): Likewise.
15181 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
15182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
15183 use of 'siam' instruction.
15184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
15186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
15188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
15190 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15191 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15192 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15193 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
15196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
15198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
15200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
15202 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
15203 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
15204 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
15205 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
15206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
15208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15212 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15213 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15214 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15215 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
15217 routines to libm-sysdep_routines.
15218 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15221 fdim/fdimf to libm-sysdep_routines.
15222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
15224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
15225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
15227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
15228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
15229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
15230 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
15231 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
15232 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
15233 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
15235 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15237 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
15238 to optimize copies.
15240 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
15241 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15242 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15244 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
15245 local variable MPTWO.
15246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
15249 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15251 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
15254 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15256 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
15258 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15260 * manual/pattern.texi (glob_t): Document gl_flags.
15261 (glob64_t): Likewise.
15263 2013-01-11 David S. Miller <davem@davemloft.net>
15265 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
15266 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
15267 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
15268 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
15269 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
15270 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
15271 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
15272 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
15273 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
15274 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
15275 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
15276 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
15277 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
15279 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15280 sparc V9 rather than using V8 code.
15281 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15282 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15284 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15286 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
15289 2013-01-11 Roland McGrath <roland@hack.frob.com>
15291 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
15292 not in the main loop.
15293 * configure: Regenerated.
15295 2013-01-11 Joseph Myers <joseph@codesourcery.com>
15297 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
15298 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
15300 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
15301 [!__GLIBC_HAVE_LONG_LONG] case.
15302 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
15303 condition to just #else.
15304 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
15305 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
15306 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
15307 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
15309 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
15310 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15311 #elif condition to just #else.
15312 * sysdeps/unix/sysv/linux/sys/sysmacros.h
15313 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
15314 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15315 #elif condition to just #else.
15317 2013-01-11 Steve Ellcey <sellcey@mips.com>
15319 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
15320 (EF_MIPS_ARCH_64): Fix value.
15321 (EF_MIPS_ARCH_32R2): New.
15322 (EF_MIPS_ARCH_64R2): New.
15324 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
15326 * Makeconfig (+link-pie-before-libc): New.
15327 (+link-pie-after-libc): Likewise.
15328 (+link-pie-tests): Likewise.
15329 (+link-pie): Rewritten.
15330 (link-before-libc): Remove $(config-LDFLAGS).
15331 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
15332 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
15333 (config-LDFLAGS): Renamed to ...
15334 (rtld-LDFLAGS): This.
15335 (rtld-tests-LDFLAGS): New macro.
15336 (link-libc-rpath-link): Likewise.
15337 (link-libc-tests-rpath-link): Likewise.
15338 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
15339 (link-libc): Prepand $(link-libc-rpath-link).
15340 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
15341 (test-program-prefix): New macro.
15342 (test-via-rtld-prefix): Likewise.
15343 (test-program-cmd): Likewise.
15344 (host-test-program-cmd): Likewise.
15345 * Makefile ($(common-objpfx)testrun.sh): Replace
15346 $(run-program-prefix) with $(test-program-prefix).
15347 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
15349 ($(common-objpfx)shlib.lds): Likewise.
15350 (build-module-helper): Likewise.
15351 ($(common-objpfx)format.lds): Likewise.
15352 * Rules (binaries-pie-tests): New.
15353 (binaries-pie-notests): Likewise.
15354 (binaries-pie): Rewritten.
15355 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
15356 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
15357 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
15358 (make-test-out): Replace $(host-built-program-cmd) with
15359 $(host-test-program-cmd).
15360 * config.make.in (build-hardcoded-path-in-tests): New variable.
15361 * configure.in (--enable-hardcoded-path-in-tests): New configure
15363 (hardcoded_path_in_tests): New AC_SUBST.
15364 * configure: Regenerated.
15365 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
15366 $(built-program-cmd) with $(test-program-cmd).
15367 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
15368 (test_program_cmd): This.
15369 * elf/Makefile ($(objpfx)order.out): Run test with
15370 $(test-program-prefix).
15371 ($(objpfx)order2.out): Likewise.
15372 ($(objpfx)tst-initorder.out): Likewise.
15373 ($(objpfx)tst-initorder2.out): Likewise.
15374 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
15375 $(test-program-cmd).
15376 ($(objpfx)tst-array1-static.out): Likewise.
15377 ($(objpfx)tst-array2.out): Likewise.
15378 ($(objpfx)tst-array3.out): Likewise.
15379 ($(objpfx)tst-array4.out): Likewise.
15380 ($(objpfx)tst-array5.out): Likewise.
15381 ($(objpfx)tst-array5-static.out): Likewise.
15382 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
15383 $(test-program-cmd).
15384 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
15385 $(run-program-prefix) with $(test-program-prefix).
15386 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
15387 (test_program_prefix): This.
15388 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
15389 $(run-program-prefix) with $(test-program-prefix).
15390 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
15391 (test_program_prefix): This.
15392 * iconvdata/tst-tables.sh: Likewise.
15393 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
15394 $(run-program-prefix) with $(test-program-prefix).
15395 ($(objpfx)tst-translit.out): Likewise.
15396 ($(objpfx)tst-gettext2.out): Likewise.
15397 ($(objpfx)tst-gettext4.out): Likewise.
15398 ($(objpfx)tst-gettext6.out): Likewise.
15399 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
15400 (test_program_prefix): This.
15401 * intl/tst-gettext2.sh: Likewise.
15402 * intl/tst-gettext4.sh Likewise.
15403 * intl/tst-gettext6.sh: Likewise.
15404 * intl/tst-translit.sh: Likewise.
15405 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
15406 with $(test-program-cmd).
15407 * libio/Makefile ($(objpfx)test-freopen.out): Replace
15408 $(run-program-prefix) with $(test-program-prefix).
15409 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
15410 (test_program_prefix): This.
15411 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
15412 $(run-program-prefix) with $(test-program-prefix).
15413 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
15414 (test_program_prefix): This.
15415 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
15416 * posix/Makefile ($(objpfx)globtest.out): Replace
15417 $(run-via-rtld-prefix) and $(test-wrapper) with
15418 $(test-program-prefix) and $(test-via-rtld-prefix).
15419 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
15420 $(test-program-prefix).
15421 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
15422 $(host-test-program-cmd).
15423 (tst-spawn-ARGS): Likewise.
15424 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
15425 $(test-program-prefix).
15426 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
15427 (test_via_rtld_prefix): This.
15428 (test_wrapper): Renamed to ...
15429 (test_program_prefix): This.
15430 (run_program_prefix): Replaced by test_program_prefix.
15431 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
15432 (test_program_prefix): This.
15433 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
15434 with $(host-test-program-cmd).
15435 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
15436 $(run-program-prefix) with $(test-program-prefix).
15437 ($(objpfx)tst-printf.out): Likewise.
15438 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
15439 $(test-program-cmd).
15440 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
15441 (test_program_prefix): This.
15442 * stdio-common/tst-unbputc.sh: Likewise.
15443 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
15444 $(run-program-prefix) with $(test-program-prefix).
15445 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
15446 (test_program_prefix): This.
15447 * string/Makefile ($(objpfx)tst-svc.out): Replace
15448 $(built-program-cmd) with $(test-program-cmd).
15450 2013-01-11 Andreas Jaeger <aj@suse.de>
15453 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
15454 value. Sync with Linux 3.7.
15456 2013-01-10 David S. Miller <davem@davemloft.net>
15458 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
15459 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15460 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15462 2013-01-10 Roland McGrath <roland@hack.frob.com>
15464 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
15466 * configure: Regenerated.
15468 2013-01-10 David S. Miller <davem@davemloft.net>
15470 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15471 sparc V9 rather than using V8 code.
15472 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15473 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15475 2013-01-10 Roland McGrath <roland@hack.frob.com>
15477 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
15478 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
15479 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
15480 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
15481 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
15482 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
15483 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
15484 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
15485 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
15486 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
15487 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
15488 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
15489 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
15490 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
15491 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
15492 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
15493 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
15494 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
15495 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
15496 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
15497 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
15498 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
15499 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
15500 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
15501 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
15502 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
15503 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
15505 2013-01-10 David S. Miller <davem@davemloft.net>
15507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15509 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
15511 * posix/Makefile (tests-static): New variable.
15512 (tests): Add $(tests-static).
15513 (tst-exec-static-ARGS): New variable.
15514 (tst-spawn-static-ARGS): Likewise.
15515 * posix/tst-exec-static.c: New file.
15516 * posix/tst-spawn-static.c: Likewise.
15517 * posix/tst-exec.c: Support run directly.
15518 * posix/tst-spawn.c: Likewise.
15520 2013-01-10 Joseph Myers <joseph@codesourcery.com>
15522 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
15524 * math/bits/mathcalls.h (llrint): Likewise.
15525 (llround): Likewise.
15526 * stdlib/stdlib.h (struct drand48_data): Likewise.
15527 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
15528 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
15529 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
15531 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
15533 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
15534 (elf_greg_t): Likewise.
15535 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
15536 (__jmp_buf): Likewise.
15537 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
15539 (llrint): Likewise, for all definitions.
15540 (llrintl): Likewise.
15542 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
15543 Remove [__GNUC__] condition.
15544 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
15545 condition to just [__USE_ISOC99].
15546 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
15548 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
15551 * sysdeps/unix/sysv/linux/x86/bits/environments.h
15552 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
15554 (_POSIX_V6_ILP32_OFF32): Likewise.
15555 (_XBS5_ILP32_OFF32): Likewise.
15556 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
15557 (__ILP32_OFFBIG_LDFLAGS): Likewise.
15559 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15561 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
15563 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
15564 doubles __mpexp_twomm1. Adjust usage.
15565 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
15568 2013-01-10 Andreas Schwab <schwab@suse.de>
15571 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
15572 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
15574 2013-01-09 David S. Miller <davem@davemloft.net>
15577 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
15578 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
15579 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
15580 TCP_FASTOPEN): Define.
15581 (tcp_repair_opt): New structure.
15582 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
15584 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
15585 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
15586 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
15587 (tcp_cookie_transactions): New structure.
15589 2013-01-09 Anton Blanchard <anton@samba.org>
15591 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
15592 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
15593 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
15594 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15596 2013-01-09 Joseph Myers <joseph@codesourcery.com>
15598 * include/features.h (__USE_ANSI): Remove.
15600 2013-01-09 Roland McGrath <roland@hack.frob.com>
15602 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
15604 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
15606 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
15608 * sysdeps/s390/fpu/libm-test-ulps: Update.
15610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15612 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
15616 (denorm): Likewise.
15617 (__mp_dbl): Likewise.
15618 (__dbl_mp): Likewise.
15619 (add_magnitudes): Likewise.
15620 (sub_magnitudes): Likewise.
15626 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
15630 (denorm): Likewise.
15631 (__mp_dbl): Likewise.
15632 (__dbl_mp): Likewise.
15633 (add_magnitudes): Likewise.
15634 (sub_magnitudes): Likewise.
15640 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
15644 (denorm): Likewise.
15645 (__mp_dbl): Likewise.
15646 (__dbl_mp): Likewise.
15647 (add_magnitudes): Likewise.
15648 (sub_magnitudes): Likewise.
15655 2013-01-08 Joseph Myers <joseph@codesourcery.com>
15657 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
15658 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
15659 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
15660 2 && __USE_EXTERN_INLINES]: Likewise.
15662 2013-01-08 Andreas Jaeger <aj@suse.de>
15665 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
15667 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15668 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15670 2013-01-07 Anton Blanchard <anton@samba.org>
15672 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
15673 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15674 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
15675 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15676 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15677 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15678 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
15679 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15680 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15681 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15682 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15683 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15684 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15685 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15686 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15687 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15688 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15689 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15690 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15691 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15692 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15693 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
15694 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15695 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15696 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
15697 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15698 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15699 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15700 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
15701 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15702 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15703 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15704 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15705 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15706 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15707 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15708 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15709 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15710 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
15711 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15712 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
15713 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15714 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15716 2013-01-07 Joseph Myers <joseph@codesourcery.com>
15718 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15719 (__MALLOC_PMT): Likewise.
15720 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15721 [__GNUC__], only on [_LIBC].
15722 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15723 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15724 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15725 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15726 forward declaration.
15727 (realloc_hook_ini): Likewise.
15728 (memalign_hook_ini): Likewise.
15729 (__libc_memalign): Do not use __MALLOC_PMT in variable
15731 (__libc_valloc): Likewise.
15732 (__libc_pvalloc): Likewise.
15733 (__libc_calloc): Likewise.
15734 (__posix_memalign): Likewise.
15737 * math/s_casinh.c: Include <float.h>.
15738 (__casinh): Do not do computation with squaring and square root
15739 for large arguments.
15740 * math/s_casinhf.c: Include <float.h>.
15741 (__casinhf): Do not do computation with squaring and square root
15742 for large arguments.
15743 * math/s_casinhl.c: Include <float.h>.
15744 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15745 (__casinhl): Do not do computation with squaring and square root
15746 for large arguments.
15747 * math/libm-test.inc (casin_test): Add more tests.
15748 (casinh_test): Likewise.
15749 * sysdeps/i386/fpu/libm-test-ulps: Update.
15750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15752 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
15754 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15755 (__x86_64_raw_data_cache_size): Likewise.
15756 (__x86_64_data_cache_size_half): Likewise.
15757 (__x86_64_raw_data_cache_size_half): Likewise.
15758 (__x86_64_shared_cache_size): Likewise.
15759 (__x86_64_raw_shared_cache_size): Likewise.
15760 (__x86_64_shared_cache_size_half): Likewise.
15761 (__x86_64_raw_shared_cache_size_half): Likewise.
15762 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15764 (__x86_data_cache_size): This.
15765 (__x86_64_raw_data_cache_size): Renamed to ...
15766 (__x86_raw_data_cache_size): This.
15767 (__x86_64_data_cache_size_half): Renamed to ...
15768 (__x86_data_cache_size_half): This.
15769 (__x86_64_raw_data_cache_size_half): Renamed to ...
15770 (__x86_raw_data_cache_size_half): This.
15771 (__x86_64_shared_cache_size): Renamed to ...
15772 (__x86_shared_cache_size): This.
15773 (__x86_64_raw_shared_cache_size): Renamed to ...
15774 (__x86_raw_shared_cache_size): This.
15775 (__x86_64_shared_cache_size_half): Renamed to ...
15776 (__x86_shared_cache_size_half): This.
15777 (__x86_64_raw_shared_cache_size_half): Renamed to ...
15778 (__x86_raw_shared_cache_size_half): This.
15779 * sysdeps/x86_64/memcpy.S: Updated.
15780 * sysdeps/x86_64/memset.S: Likewise.
15781 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15782 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15783 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15785 2013-01-04 David S. Miller <davem@davemloft.net>
15787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15789 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
15791 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15792 1 to avoid redefinition warning.
15793 (__USE_GNU): Don't define.
15794 (init_signaling_nan): Protoize.
15796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15798 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15800 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15801 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15802 (__cpymn): Likewise.
15803 (norm): Remove commented code.
15804 (denorm): Likewise.
15805 (__mp_dbl): Likewise.
15807 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15808 (__cpymn): Likewise.
15809 (norm): Remove commented code.
15810 (denorm): Likewise.
15811 (__mp_dbl): Likewise.
15814 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15815 mp_no value for 1.0 and 2.0.
15816 (norm): Use RADIXI instead of radixi.d.
15817 (denorm): Likewise.
15818 (__mul): Use 0.0 instead of zero.d.
15819 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15820 mp_no value for 1.0 and 2.0.
15821 (norm): Use RADIXI instead of radixi.d.
15822 (denorm): Likewise.
15823 (__mul): Use 0.0 instead of zero.d.
15825 2013-01-04 Joseph Myers <joseph@codesourcery.com>
15828 * math/s_casinh.c (__casinh): Reduce finite argument to first
15829 quadrant then set signs of results at the end.
15830 * math/s_casinhf.c (__casinhf): Likewise.
15831 * math/s_casinhl.c (__casinhl): Likewise.
15832 * math/libm-test.inc (casin_test): Add more tests.
15833 (casinh_test): Likewise.
15834 * sysdeps/i386/fpu/libm-test-ulps: Update.
15835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15837 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15839 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15841 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15843 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15845 (denorm): Likewise.
15846 (__mp_dbl): Likewise.
15849 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15850 and adjust the header comment.
15852 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15853 variable name from declaration.
15855 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
15857 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15858 Initialize COMMON_CPUID_INDEX_7 element.
15859 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15860 (CPUID_RTM): Likewise.
15861 (HAS_RTM): Likewise.
15862 (COMMON_CPUID_INDEX_7): New enum.
15864 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
15867 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15868 size is zero, record memory as freed.
15870 2013-01-03 Andreas Jaeger <aj@suse.de>
15872 * po/ia.po: Add new Interlingua translation.
15874 2012-01-03 Allan McRae <allan@archlinux.org>
15876 * locale/programs/localedef.c: Fix description of '--posix' flag.
15878 2013-01-02 Joseph Myers <joseph@codesourcery.com>
15880 * NEWS: Update dates in second copyright notice.
15881 * README: Update copyright dates in example.
15882 * manual/libc.texinfo: Update copyright dates.
15883 * scripts/test-installation.pl: Update copyright date in --version
15886 * hurd/ctty-input.c: Fix copyright notice formatting.
15887 * hurd/ctty-output.c: Likewise.
15888 * hurd/dtable.c: Likewise.
15889 * hurd/hurd-raise.c: Likewise.
15890 * hurd/hurdprio.c: Likewise.
15891 * hurd/msgportdemux.c: Likewise.
15892 * misc/sys/file.h: Likewise.
15893 * misc/sys/ioctl.h: Likewise.
15894 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15895 * sysdeps/mach/hurd/chdir.c: Likewise.
15896 * sysdeps/mach/hurd/fchdir.c: Likewise.
15897 * sysdeps/mach/hurd/rename.c: Likewise.
15898 * sysdeps/mach/hurd/rmdir.c: Likewise.
15899 * sysdeps/mach/hurd/seekdir.c: Likewise.
15900 * sysdeps/mach/hurd/setsid.c: Likewise.
15901 * sysdeps/posix/wait3.c: Likewise.
15903 * All files with FSF copyright notices: Update copyright dates
15904 using scripts/update-copyrights.
15905 * intl/plural.c: Regenerated.
15906 * locale/programs/charmap-kw.h: Likewise.
15907 * locale/programs/locfile-kw.h: Likewise.
15909 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15911 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15914 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15915 calculation loop and add branch prediction.
15917 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15918 check access beyond bounds of m1np.
15920 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15922 (__inv): Remove local variable MPTWO to use the global
15924 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15925 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15927 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15928 MP3HALFS static const.
15930 2013-01-01 David S. Miller <davem@davemloft.net>
15932 * po/ca.po: Update from translation team.
15934 2013-01-01 Joseph Myers <joseph@codesourcery.com>
15936 * scripts/update-copyrights: New file.
15937 * Makeconfig: Reformat copyright notice.
15938 * ctype/ctype.h: Likewise.
15939 * debug/swprintf_chk.c: Likewise.
15940 * elf/dl-cache.c: Likewise.
15941 * elf/dl-debug.c: Likewise.
15942 * elf/dl-object.c: Likewise.
15943 * grp/initgroups.c: Likewise.
15944 * hurd/Makefile: Likewise.
15945 * hurd/hurd/signal.h: Likewise.
15946 * hurd/hurdfault.c: Likewise.
15947 * hurd/hurdioctl.c: Likewise.
15948 * hurd/hurdlookup.c: Likewise.
15949 * hurd/intr-msg.c: Likewise.
15950 * iconv/gconv_open.c: Likewise.
15951 * libio/swprintf.c: Likewise.
15952 * locale/lc-ctype.c: Likewise.
15953 * locale/nl_langinfo.c: Likewise.
15954 * mach/Machrules: Likewise.
15955 * mach/Makefile: Likewise.
15956 * malloc/obstack.h: Likewise.
15957 * manual/Makefile: Likewise.
15958 * manual/tsort.awk: Likewise.
15959 * misc/bits/stab.def: Likewise.
15960 * nis/nis_print_group_entry.c: Likewise.
15961 * nis/nis_table.c: Likewise.
15962 * nis/nss_compat/compat-pwd.c: Likewise.
15963 * nis/nss_compat/compat-spwd.c: Likewise.
15964 * po/Makefile: Likewise.
15965 * posix/fnmatch.c: Likewise.
15966 * posix/regex.h: Likewise.
15967 * resolv/Makefile: Likewise.
15968 * resolv/nss_dns/dns-network.c: Likewise.
15969 * resolv/res_hconf.c: Likewise.
15970 * scripts/gen-sorted.awk: Likewise.
15971 * soft-fp/soft-fp.h: Likewise.
15972 * stdio-common/printf.h: Likewise.
15973 * stdlib/monetary.h: Likewise.
15974 * stdlib/random.c: Likewise.
15975 * stdlib/random_r.c: Likewise.
15976 * sysdeps/generic/Makefile: Likewise.
15977 * sysdeps/gnu/Makefile: Likewise.
15978 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15979 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15980 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15981 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15982 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15983 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15984 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15985 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15986 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15987 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15988 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15989 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15990 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15991 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15992 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15993 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15994 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15995 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15996 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15997 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15998 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15999 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16000 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16001 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16002 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
16003 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16004 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16005 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
16006 * sysdeps/mach/hurd/errnos.awk: Likewise.
16007 * sysdeps/mach/hurd/fork.c: Likewise.
16008 * sysdeps/mach/hurd/getcwd.c: Likewise.
16009 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
16010 * sysdeps/mach/hurd/mmap.c: Likewise.
16011 * sysdeps/mach/hurd/utimes.c: Likewise.
16012 * sysdeps/mach/hurd/xmknod.c: Likewise.
16013 * sysdeps/posix/profil.c: Likewise.
16014 * sysdeps/posix/readdir_r.c: Likewise.
16015 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16016 * sysdeps/powerpc/bits/setjmp.h: Likewise.
16017 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16018 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16019 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16020 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16021 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16022 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16023 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16024 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16025 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16026 * sysdeps/pthread/lio_listio.c: Likewise.
16027 * sysdeps/sparc/dl-procinfo.h: Likewise.
16028 * sysdeps/unix/i386/sysdep.S: Likewise.
16029 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16030 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16031 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16032 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16034 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16035 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16036 * sysdeps/unix/sysv/linux/speed.c: Likewise.
16037 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16038 * sysdeps/wordsize-32/divdi3.c: Likewise.
16039 * time/sys/time.h: Likewise.
16040 * wcsmbs/Makefile: Likewise.
16042 2013-01-01 David S. Miller <davem@davemloft.net>
16044 * po/fr.po: Update from translation team.
16046 * catgets/gencat.c: Update copyright year.
16047 * csu/version.c: Likewise.
16048 * debug/catchsegv.sh: Likewise.
16049 * debug/pcprofiledump.c: Likewise.
16050 * debug/xtrace.sh: Likewise.
16051 * elf/ldconfig.c: Likewise.
16052 * elf/ldd.bash.in: Likewise.
16053 * elf/pldd.c: Likewise.
16054 * elf/sotruss.ksh: Likewise.
16055 * elf/sprof.c: Likewise.
16056 * iconv/iconv_prog.c: Likewise.
16057 * iconv/iconvconfig.c: Likewise.
16058 * locale/programs/locale.c: Likewise.
16059 * locale/programs/localedef.c: Likewise.
16060 * login/programs/pt_chown.c: Likewise.
16061 * malloc/memusage.sh: Likewise.
16062 * malloc/memusagestat.c: Likewise.
16063 * malloc/mtrace.pl: Likewise.
16064 * nscd/nscd.c: Likewise.
16065 * nss/getent.c: Likewise.
16066 * nss/makedb.c: Likewise.
16067 * posix/getconf.c: Likewise.
16069 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16071 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
16074 2012-12-30 Mike Frysinger <vapier@gentoo.org>
16076 * math/bits/mathcalls.h (modf): Use __nonnull.
16078 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16080 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
16081 (split): Use macro CN instead of the bare value.
16082 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
16084 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
16085 instead of the bare value.
16086 (power1): Likewise.
16088 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16090 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
16092 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16094 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
16096 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16097 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16098 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
16099 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16101 2012-12-28 Andreas Jaeger <aj@suse.de>
16103 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
16104 values are from Linux 3.7.
16106 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
16107 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
16109 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16111 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
16114 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
16116 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
16117 variables with preprocessor constants.
16118 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16119 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16120 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16122 2012-12-27 Bruno Haible <bruno@clisp.org>
16125 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
16128 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16130 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
16131 and use variable directly.
16132 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
16134 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16136 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
16137 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16139 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16140 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16141 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
16142 include directive. Remove local variable MPONE.
16143 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
16144 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
16145 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16147 2012-12-25 David S. Miller <davem@davemloft.net>
16149 * version.h (RELEASE): Set to "development".
16150 (VERSION): Set to "2.17.90".
16151 * NEWS: Add 2.18 section.
16153 2012-12-21 David S. Miller <davem@davemloft.net>
16155 * po/hr.po: Update from translation team.
16157 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16159 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
16161 2012-12-19 Steve Ellcey <sellcey@mips.com>
16163 * NEWS: Mention new memcpy for MIPS.
16165 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16167 * manual/contrib.texi (Contributors): Spelling correction.
16169 2012-12-15 David S. Miller <davem@davemloft.net>
16171 * po/ru.po: Update from translation team.
16173 2012-12-13 David S. Miller <davem@davemloft.net>
16175 * NEWS: Mention IFUNC testsuite enhancements.
16177 * po/pl.po: Update from translation team.
16178 * po/bg.po: Likewise.
16180 * manual/contrib.texi (Contributors): Update entries for Hongjiu
16181 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
16183 2012-12-11 David S. Miller <davem@davemloft.net>
16185 * po/sv.po: Update from translation team.
16187 * po/vi.po: Update from translation team.
16189 * po/cs.po: Update from translation team.
16191 * po/de.po: Update from translation team.
16192 * po/eo.po: Likewise.
16193 * po/nl.po: Likewise.
16195 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16198 * manual/argp.texi (Argp Helper Functions): Move node to follow
16199 Argp Parsing State.
16202 * manual/conf.texi (Limits on File System Capacity): Mention if
16203 terminating null is included in the max size.
16205 2012-12-10 Andreas Jaeger <aj@suse.de>
16207 * po/cs.po: Update from translation team.
16209 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16211 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
16212 void pointer and cast to uintptr_t.
16213 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
16215 * sysdeps/s390/s390-64/memcpy.S: Likewise.
16216 * sysdeps/s390/s390-64/memset.S: Likewise.
16218 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
16221 * menual/message.texi (Message Translation): Fix typos.
16222 (Helper programs for gettext): Likewise.
16224 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
16227 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
16230 2012-12-07 David S. Miller <davem@davemloft.net>
16232 * po/libc.pot: Update.
16234 2012-12-07 Richard Henderson <rth@redhat.com>
16237 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
16238 normal/normal case to before the switch.
16239 (_FP_DIV): Likewise.
16241 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
16242 Mike Frysinger <vapier@gentoo.org>
16244 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
16245 check for __NR_fadvise64_64.
16247 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
16249 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
16250 0, not just to plain "0" as a statement.
16251 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
16254 2012-12-06 Joseph Myers <joseph@codesourcery.com>
16256 * NEWS: Use sourceware.org in Bugzilla URL.
16258 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16261 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16263 * stdio-common/tst-put-error.c (do_test): Add newline to the
16264 padded test to ensure flush.
16266 2012-12-05 Jeff Law <law@redhat.com>
16268 * sunrpc/etc.rpc (fedfs_admin): Add entry.
16270 2012-12-05 Joseph Myers <joseph@codesourcery.com>
16272 * README: Don't refer to ports add-on as distributed separately.
16273 Mention AArch64 in list of systems supported in the ports add-on.
16275 * LICENSES: Add more non-FSF copyright and license notices.
16277 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
16280 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
16282 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
16283 10000 as width of padded output.
16285 2012-12-04 Joseph Myers <joseph@codesourcery.com>
16287 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
16289 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
16290 variable LX with __attribute__ ((unused)).
16291 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16293 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16294 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16295 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
16296 with __attribute__ ((unused)).
16298 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
16300 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
16302 2012-12-04 Joseph Myers <joseph@codesourcery.com>
16304 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
16305 (CFLAGS-nldbl-acos.c): New variable.
16306 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
16307 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
16308 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
16309 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
16310 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
16311 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
16312 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
16313 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
16314 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
16315 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
16316 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
16317 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
16318 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
16319 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
16320 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
16321 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
16322 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
16323 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
16324 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
16325 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
16326 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
16327 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
16328 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
16329 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
16330 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
16331 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
16332 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
16333 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
16334 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
16335 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
16336 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
16337 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
16338 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
16339 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
16340 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
16341 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
16342 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
16343 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
16344 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
16345 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
16346 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
16347 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
16348 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
16349 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
16350 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
16351 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
16352 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
16353 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
16354 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
16355 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
16356 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
16357 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
16358 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
16359 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
16360 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
16361 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
16362 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
16363 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
16364 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
16365 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
16366 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
16367 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
16368 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
16369 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
16370 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
16371 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
16372 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
16373 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
16374 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
16375 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
16376 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
16377 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
16378 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
16379 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
16380 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
16381 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
16382 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
16383 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
16384 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
16385 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
16386 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
16387 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
16388 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
16389 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
16390 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
16391 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
16392 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
16393 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
16394 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
16395 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
16396 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
16397 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
16398 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
16399 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
16400 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
16401 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
16402 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
16404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16405 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16408 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
16409 whole low double instead of just low 47 bits when splitting values
16412 2012-12-03 Allan McRae <allan@archlinux.org>
16414 * manual/stdio.texi (Predefined Printf Handlers): Remove
16415 @hsep and @vsep usage.
16417 2012-12-03 Mike Frysinger <vapier@gentoo.org>
16419 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
16420 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
16422 2012-12-03 Jeff Law <law@redhat.com>
16424 * time/sys/time.h (settimeofday): Do not mark TV argument
16427 2012-12-01 Mike Frysinger <vapier@gentoo.org>
16429 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
16430 when currently writing and seek to current position when not.
16431 * libio/Makefile (tests): Remove bug-fclose1.
16432 * libio/bug-fclose1.c: Delete.
16434 2012-12-01 Joseph Myers <joseph@codesourcery.com>
16436 * manual/arith.texi (feenableexcept): Fix typo.
16437 (fedisableexcept): Likewise.
16439 2012-11-30 Roland McGrath <roland@hack.frob.com>
16441 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
16442 second, differently-typed declaration, rather than a cast.
16444 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16446 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
16447 * include/rpc/svc.h: ... here.
16449 2012-11-30 Aurelien Jarno <aurel32@debian.org>
16452 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
16453 depending n and resplen2 to catch cases where answer
16456 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
16458 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
16459 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
16461 2012-11-29 Mike Frysinger <vapier@gentoo.org>
16463 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
16465 2012-11-29 Roland McGrath <roland@hack.frob.com>
16467 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
16469 2012-11-28 Jeff Law <law@redhat.com>
16472 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
16473 dataset_temporary. Track alloca usage into alloca_used.
16474 If dataset is large allocate and release it via malloc/free.
16476 2012-06-04 Florian Weimer <fweimer@redhat.com>
16479 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
16481 2012-11-28 David S. Miller <davem@davemloft.net>
16483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16485 2012-11-28 Joseph Myers <joseph@codesourcery.com>
16488 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
16489 of pi/2 rounded to nearest to 64 bits.
16490 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
16491 nearest to 64 bits.
16492 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
16495 2012-11-28 Jeff Law <law@redhat.com>
16496 Martin Osvald <mosvald@redhat.com>
16499 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
16500 * sunrpc/svc.c: Include time.h.
16501 (__svc_accept_failed): New function.
16502 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
16503 any reason other than EINTR, call __svc_accept_failed.
16504 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
16505 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
16507 2012-11-28 Andreas Schwab <schwab@suse.de>
16509 * scripts/abilist.awk: Also handle indirect functions in .opd
16512 2012-11-28 Joseph Myers <joseph@codesourcery.com>
16515 * sysdeps/x86/fpu/powl_helper.c: New file.
16516 * sysdeps/x86/fpu/Makefile: Likewise.
16517 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
16519 (__ieee754_powl): Use __powl_helper for finite arguments except
16520 integer exponents below 8.
16521 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
16523 (__ieee754_powl): Use __powl_helper for finite arguments except
16524 integer exponents below 8.
16525 * math/libm-test.inc (pow_test): Add more tests and enable some
16526 previously disabled tests.
16527 * sysdeps/i386/fpu/libm-test-ulps: Update.
16528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16530 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16531 Carlos O'Donell <carlos_odonell@mentor.com>
16533 * nss/makedb.c (is_prime): Assert that input is odd and greater
16534 than 4. Note that fact in a comment too.
16535 (next_prime): Add 4 to input.
16537 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16540 * libio/Makefile (tests): Add test case tst-fwrite-error.
16541 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
16542 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16543 * libio/tst-fwrite-error.c: New test case.
16545 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
16547 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
16548 before casting to void *.
16549 * include/libc-internal.h (__pointer_type): New macro.
16550 (__integer_if_pointer_type_sub): Likewise.
16551 (__integer_if_pointer_type): Likewise.
16552 (cast_to_integer): Likewise.
16553 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
16554 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
16555 before casting to atomic64_t.
16556 (atomic_exchange_acq): Likewise.
16557 (__arch_exchange_and_add_body): Likewise.
16558 (__arch_add_body): Likewise.
16559 (atomic_add_negative): Likewise.
16560 (atomic_add_zero): Likewise.
16562 2012-11-26 Joseph Myers <joseph@codesourcery.com>
16564 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
16565 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
16566 (add_fdes): Likewise.
16567 (linear_search_fdes): Likewise.
16568 (binary_search_unencoded_fdes): Likewise.
16570 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
16572 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
16574 2012-11-24 Adam Conrad <adconrad@0c3.net>
16576 * configure.in: Autodetect C++ header directories.
16577 * configure: Regenerated.
16579 2012-11-23 Mike Frysinger <vapier@gentoo.org>
16581 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
16583 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
16585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16587 2012-11-22 Joseph Myers <joseph@codesourcery.com>
16589 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
16590 LDBL_MANT_DIG == 106]: Disable some tests.
16591 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16593 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16597 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
16598 input for small inputs. Return +/- pi/2 for large inputs.
16599 * math/libm-test.inc (atan_test): Add more tests.
16601 * sysdeps/generic/unwind-dw2-fde-glibc.c
16602 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
16603 __attribute__ ((unused)).
16606 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
16607 x * y if x and y are nonzero and z is zero.
16610 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
16611 nonzero exponents with absolute value below 0x1p-117 to +/-
16615 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
16616 up arguments below 2**-450, not just those below 2**-500.
16617 * math/libm-test.inc (hypot_test): Add another test.
16620 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
16621 Return a+b for ratio over 2**120, not 2**60.
16622 * math/libm-test.inc (hypot_test): Add another test.
16624 * math/libm-test.inc (clog_test): Use
16625 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
16626 (clog10_test): Likewise.
16629 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
16631 2012-11-22 Andreas Schwab <schwab@suse.de>
16633 * sysdeps/i386/fpu/libm-test-ulps: Update.
16635 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
16637 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
16638 printf output with newline.
16640 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
16643 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
16644 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
16645 -z nodlopen, -z initfirst and -z execstack support.
16646 * configure: Regenerated.
16648 * elf/elf.h (DF_1_NODIRECT): New macro.
16649 (DF_1_IGNMULDEF): Likewise.
16650 (DF_1_NOKSYMS): Likewise.
16651 (DF_1_NOHDR): Likewise.
16652 (DF_1_EDITED): Likewise.
16653 (DF_1_NORELOC): Likewise.
16654 (DF_1_SYMINTPOSE): Likewise.
16655 (DF_1_GLOBAUDIT): Likewise.
16656 (DF_1_SINGLETON): Likewise.
16657 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
16658 DT_1_SUPPORTED_MASK bits.
16659 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
16661 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
16663 * sysdeps/unix/make-syscalls.sh: Document prefixes.
16665 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
16667 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
16670 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
16671 (sendmmsg): Move declarations...
16672 * socket/sys/socket.h: ... here.
16673 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
16674 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
16676 * socket/recvmmsg.c: ... this new file.
16677 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
16678 (sendmmsg): Rename to __sendmmsg, create weak alias and make
16679 definition of __sendmmsg hidden.
16680 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16681 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
16682 Move ENOSYS stub into and include it from...
16683 * socket/sendmmsg.c: ... this new file.
16684 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
16685 (sysdep_routines): Move recvmmsg and sendmmsg...
16686 * socket/Makefile (routines): ... here.
16687 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
16688 (GLIBC_PRIVATE): Add __sendmmsg.
16689 * include/sys/socket.h (__sendmmsg): Add declarations.
16690 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
16693 2012-11-20 Joseph Myers <joseph@codesourcery.com>
16695 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
16696 variable I1 with __attribute__ ((unused)).
16697 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16699 2012-11-19 Joseph Myers <joseph@codesourcery.com>
16701 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
16702 DUMMY variables with __attribute__ ((unused)).
16704 * bits/byteswap.h: Include <bits/types.h>.
16705 (__bswap_64): Use __uint64_t instead of unsigned long long int.
16707 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16709 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
16710 string_t. Do not manually set errno.
16711 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
16712 length with __strnlen. Make sure to both set errno and return it on
16715 2012-11-19 David S. Miller <davem@davemloft.net>
16717 With help from Joseph Myers.
16718 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16719 very large arguments properly.
16720 * math/libm-test.inc (atan_test): New tests.
16721 (atan2_test): New tests.
16722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16723 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16725 2012-11-19 Joseph Myers <joseph@codesourcery.com>
16728 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16731 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16732 [POSIX] (EADDRNOTAVAIL): Likewise.
16733 [POSIX] (EAFNOSUPPORT): Likewise.
16734 [POSIX] (EALREADY): Likewise.
16735 [POSIX] (ECONNABORTED): Likewise.
16736 [POSIX] (ECONNREFUSED): Likewise.
16737 [POSIX] (ECONNRESET): Likewise.
16738 [POSIX] (EDESTADDRREQ): Likewise.
16739 [POSIX] (EDQUOT): Likewise.
16740 [POSIX] (EHOSTUNREACH): Likewise.
16741 [POSIX] (EIDRM): Likewise.
16742 [POSIX] (EISCONN): Likewise.
16743 [POSIX] (ELOOP): Likewise.
16744 [POSIX] (EMULTIHOP): Likewise.
16745 [POSIX] (ENETDOWN): Likewise.
16746 [POSIX] (ENETUNREACH): Likewise.
16747 [POSIX] (ENOBUFS): Likewise.
16748 [POSIX] (ENODATA): Likewise.
16749 [POSIX] (ENOLINK): Likewise.
16750 [POSIX] (ENOMSG): Likewise.
16751 [POSIX] (ENOPROTOOPT): Likewise.
16752 [POSIX] (ENOSR): Likewise.
16753 [POSIX] (ENOSTR): Likewise.
16754 [POSIX] (ENOTCONN): Likewise.
16755 [POSIX] (ENOTSOCK): Likewise.
16756 [POSIX] (EOPNOTSUPP): Likewise.
16757 [POSIX] (EOVERFLOW): Likewise.
16758 [POSIX] (EPROTO): Likewise.
16759 [POSIX] (EPROTONOSUPPORT): Likewise.
16760 [POSIX] (EPROTOTYPE): Likewise.
16761 [POSIX] (ESTALE): Likewise.
16762 [POSIX] (ETIME): Likewise.
16763 [POSIX] (ETXTBSY): Likewise.
16764 [POSIX] (EWOULDBLOCK): Likewise.
16765 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16766 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16767 [POSIX] (SEEK_CUR): Likewise.
16768 [POSIX] (SEEK_END): Likewise.
16769 [POSIX || UNIX98] (mode_t): Do not require.
16770 [POSIX] (off_t): Likewise.
16771 [POSIX] (pid_t): Likewise.
16772 [POSIX] (sys/stat.h): Do not allow header.
16773 [POSIX] (unistd.h): Likewise.
16774 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16775 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16776 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16777 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16779 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16780 sigevent): Specify elements.
16781 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16783 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16784 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16786 * conform/data/cpio.h-data [POSIX]: Disable whole file.
16787 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16788 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16789 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16790 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16791 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16792 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16793 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16794 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16795 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16796 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16797 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16798 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16799 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16801 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16803 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16805 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16807 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16808 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16809 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16810 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16811 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16812 Specify lower bound on value.
16813 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16814 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16815 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16816 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16817 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16818 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16819 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16820 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16822 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16824 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16825 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16826 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16827 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16828 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16829 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16830 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16831 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16832 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16833 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16834 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16835 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16836 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16837 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16838 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16839 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16841 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16843 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16844 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16845 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16846 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16847 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16848 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16850 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16851 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16852 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16853 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16854 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
16855 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16856 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16858 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16859 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16860 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16861 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16862 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16863 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16864 specify as optional.
16865 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16866 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16867 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16868 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16869 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16870 [XPG3] (NL_LANGMAX): Likewise.
16871 [POSIX || XPG3] (NL_MSGMAX): Likewise.
16872 [POSIX || XPG3] (NL_NMAX): Likewise.
16873 [POSIX || XPG3] (NL_SETMAX): Likewise.
16874 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16875 [XPG3] (NZERO): Likewise.
16876 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16877 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16878 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16879 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16880 (REG_ERANGE): Expect.
16881 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16883 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16884 Use (void) in prototype.
16885 [POSIX] (*_t): Allow.
16886 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16887 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16888 (WRDE_BADVAL): Expect.
16890 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16892 [XPG3 || XPG4] (O_RSYNC): Likewise.
16893 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16895 [XPG3 || XPG4] (pthread_sigmask): Likewise.
16896 [XPG3 || XPG4] (sigqueue): Likewise.
16897 [XPG3 || XPG4] (sigtimedwait): Likewise.
16898 [XPG3 || XPG4] (sigwaitinfo): Likewise.
16899 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16900 [XPG3 || XPG4] (vsnprintf): Likewise.
16901 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16903 [XPG3 || XPG4] (blksize_t): Likewise.
16904 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16906 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16907 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16908 [XPG3 || XPG4] (struct itimerspec): Likewise.
16909 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16910 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16911 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16912 [XPG3 || XPG4] (clockid_t): Likewise.
16913 [XPG3 || XPG4] (timer_t): Likewise.
16914 [XPG3 || XPG4] (clock_getres): Likewise.
16915 [XPG3 || XPG4] (clock_gettime): Likewise.
16916 [XPG3 || XPG4] (clock_settime): Likewise.
16917 [XPG3 || XPG4] (nanosleep): Likewise.
16918 [XPG3 || XPG4] (timer_create): Likewise.
16919 [XPG3 || XPG4] (timer_delete): Likewise.
16920 [XPG3 || XPG4] (timer_gettime): Likewise.
16921 [XPG3 || XPG4] (timer_getoverrun): Likewise.
16922 [XPG3 || XPG4] (timer_settime): Likewise.
16923 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16924 [XPG3 || XPG4] (getlogin_r): Likewise.
16925 [XPG3 || XPG4] (pread): Likewise.
16926 [XPG3 || XPG4] (pthread_atfork): Likewise.
16927 [XPG3 || XPG4] (pwrite): Likewise.
16930 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16933 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16935 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16936 finalizing MALLSTREAM.
16938 * sysdeps/mach/hurd/syncfs.c: New file.
16940 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16943 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16944 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16945 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16946 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16947 (_nss_dns_gethostbyname4_r): Likewise.
16948 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16949 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16951 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
16954 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16956 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
16958 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16959 * elf/cache.c (print_entry): Print ",AArch64" for
16962 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16963 * elf/cache.c (print_entry): Print ",hard-float" for
16966 2012-11-18 David S. Miller <davem@davemloft.net>
16968 With help from Joseph Myers.
16969 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16971 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16973 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16974 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16976 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16977 * math/libm-test.inc (y0_test): New tests.
16978 (y1_test): New tests.
16979 * sysdeps/i386/fpu/libm-test-ulps: Update.
16980 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16983 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
16985 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16987 * configure: Regenerated.
16989 2012-11-17 David S. Miller <davem@davemloft.net>
16992 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16993 nonzero exponents with absolute value below 0x1p-128 to +/-
16996 2012-11-17 Joseph Myers <joseph@codesourcery.com>
16998 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17000 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17002 * posix/getconf-speclist.c: New file.
17003 * posix/posix-envs.def: Likewise.
17004 * posix/confstr.c (START_ENV_GROUP): New macro.
17005 (END_ENV_GROUP): Likewise.
17006 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17007 (KNOWN_PRESENT_ENV_STRING): Likewise.
17008 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17009 (UNKNOWN_ENVIRONMENT): Likewise.
17010 (confstr): Include posix-envs.def instead of handling
17011 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17012 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17013 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17014 (END_ENV_GROUP): Likewise.
17015 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17016 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17017 (UNKNOWN_ENVIRONMENT): Likewise.
17018 (__sysconf): Include posix-envs.def instead of handling associated
17019 cases directly here.
17020 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17021 preprocessing getconf-speclist.c rather than running getconf or
17022 generating empty file.
17024 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
17026 * scripts/check-local-headers.sh: Ignore 'mach' headers.
17028 2012-11-16 Andrej Lajovic <natrij@gmail.com>
17031 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17033 2012-11-16 David S. Miller <davem@davemloft.net>
17035 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17036 smaller than LDBL_EPSILON/2.0L, just return xm1.
17038 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
17040 * elf/tst-array1.c (init): Set constructor priority to 1000.
17041 (fini): Set destructor priority to 1000.
17042 * elf/tst-array2dep.c: Likewise.
17044 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17047 * libio/fileops.c (_IO_new_file_write): Correctly return error.
17048 (_IO_new_file_xsputn): Also return EOF if none of the input
17049 data was written when overflow failed.
17050 * libio/iopadn.c (_IO_padn): Likewise.
17051 * libio/iowpadn.c (_IO_wpadn): Likewise.
17052 * stdio-common/tst-put-error.c: Add copyright notice.
17053 (do_test): Add case for printing padded string.
17054 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
17055 _IO_padn returned error.
17056 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
17057 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
17060 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17062 * libio/libioP.h: Add comment note that the references to C++
17063 bits are now obsolete.
17065 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17067 * math/libm-test.inc (check_complex): Use asprintf.
17069 2012-11-14 Joseph Myers <joseph@codesourcery.com>
17071 * debug/pcprofiledump.c (print_version): Update copyright year.
17072 * malloc/memusagestat.c (print_version): Likewise.
17074 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
17077 * elf/Makefile (tests): Add tst-audit8.
17078 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
17079 ($(objpfx)tst-audit8.out): New target.
17080 (tst-audit8-ENV): New variable.
17081 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
17082 audit if l_reloc_result is NULL.
17083 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
17084 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
17085 * elf/tst-audit8.c: New file.
17087 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17089 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
17090 * misc/Makefile (CFLAGS-select.c): Define.
17091 * posix/Makefile (CFLAGS-pause.c): Define.
17093 2012-11-13 David S. Miller <davem@davemloft.net>
17095 * crypt/Makefile: Move test targets after toplevel Rules
17096 inclusion. Grab any necessary sysdep routines when linking.
17097 * crypt/md5.c (md5_process_block): Remove define, we will always
17098 name it __md5_process_block.
17099 (md5_finish_ctx): Update md5_process_block call.
17100 (md5_stream): Likewise.
17101 (md5_process_bytes): Likewise.
17102 (md5_process_block): Rename to __md5_process_block and move to ...
17103 * crypt/md5-block.c: ... here.
17104 * crypt/sha256.c (sha256_process_block): Move to ...
17105 * crypt/sha256-block.c: ... here.
17106 * crypt/sha512.c (sha512_process_block): Move to ...
17107 * crypt/sha512-block.c: ... here.
17108 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
17110 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
17111 * sysdeps/sparc/sparc64/multiarch/Makefile
17112 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
17114 (localedef-aux): Add md5 crypto assembler when in locale subdir.
17115 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
17117 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
17118 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
17119 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
17120 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
17121 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
17122 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
17123 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
17124 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
17125 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
17127 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
17128 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
17130 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
17132 2012-11-13 Joseph Myers <joseph@codesourcery.com>
17134 * timezone/tzselect.ksh: Update from tzcode git revision
17135 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
17136 * timezone/zdump.c: Likewise.
17137 * timezone/zic.c: Likewise.
17138 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
17139 in TZVERSION setting, not $(PKGVERSION).
17140 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
17141 REPORT_BUGS_TO settings.
17144 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
17147 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17149 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
17150 detection to immediately after _FP_ROUND().
17151 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
17154 2012-11-11 David S. Miller <davem@davemloft.net>
17156 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
17158 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
17159 __close rather than their public counterparts.
17161 2012-11-10 Joseph Myers <joseph@codesourcery.com>
17163 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
17165 [UNIX98] (sem_timedwait): Do not expect.
17166 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
17167 [XPG4 || UNIX98] (sockatmark): Do not expect.
17168 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
17169 (clock_getcpuclockid): Do not expect.
17170 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
17171 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
17173 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
17174 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
17175 [UNIX98] (vwscanf): Likewise.
17176 [UNIX98] (vswscanf): Likewise.
17178 2012-11-09 Joseph Myers <joseph@codesourcery.com>
17180 * timezone/version.h: Remove file.
17181 * timezone/README: Do not refer to version.h.
17182 * timezone/Makefile ($(objpfx)zic.o): New dependency on
17183 $(objpfx)version.h.
17184 ($(objpfx)zdump.o): Likewise.
17185 ($(objpfx)version.h): New target.
17187 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
17189 * timezone/README: Don't mention modification to tzselect.ksh.
17190 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
17191 work on unmodified tzselect.ksh. Substitute version numbers in
17194 * Makefile (format-me): Remove.
17195 (INSTALL): Adjust indentation. Use commands directly instead of
17196 using $(format-me).
17198 * aclocal.m4 (ACX_PKGVERSION): New macro.
17199 (ACX_BUGURL): Likewise.
17200 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
17201 (PKGVERSION): New AC_DEFINE_UNQUOTED.
17202 (REPORT_BUGS_TO): Likewise.
17203 * configure: Regenerated.
17204 * config.h.in (PKGVERSION): New macro.
17205 (REPORT_BUGS_TO): Likewise.
17206 * config.make.in (PKGVERSION): New variable.
17207 (PKGVERSION_TEXI): Likewise.
17208 (REPORT_BUGS_TO): Likewise.
17209 (REPORT_BUGS_TEXI): Likewise.
17210 * Makefile (format-me): Use -I$(common-objpfx)manual.
17211 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
17212 ($(common-objpfx)manual/%): New target.
17213 (manual/%): Remove target.
17214 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
17215 (print_version): Use PKGVERSION.
17216 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
17217 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
17218 and REPORT_BUGS_TO.
17219 ($(objpfx)xtrace): Likewise.
17220 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
17221 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
17222 (print_version): Use PKGVERSION.
17223 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
17224 (do_version): Use PKGVERSION.
17225 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
17227 (common-ldd-rewrite): Likewise.
17228 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
17229 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
17230 (print_version): Use PKGVERSION.
17231 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
17232 * elf/pldd.c (argp_program_bug_address): Remove variable.
17233 (more_help): New function.
17234 (argp): Use more_help.
17235 (print_version): Use PKGVERSION.
17236 * elf/sln.c (main): Use PKGVERSION.
17237 (usage): Use REPORT_BUGS_TO.
17238 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
17239 (top level): Use PKGVERSION.
17240 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
17241 (print_version): Use PKGVERSION.
17242 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
17243 (print_version): Use PKGVERSION.
17244 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
17245 (print_version): Use PKGVERSION.
17246 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
17247 (print_version): Use PKGVERSION.
17248 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
17249 (print_version): Use PKGVERSION.
17250 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
17251 (print_version): Use PKGVERSION.
17252 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
17254 ($(objpfx)memusage): Likewise.
17255 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
17256 (do_version): Use PKGVERSION.
17257 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
17258 (print_version): Use PKGVERSION.
17259 * malloc/mtrace.pl ($PACKAGE): Remove variable.
17260 ($PKGVERSION): New variable.
17261 ($REPORT_BUGS_TO): Likewise.
17262 (usage): Use $REPORT_BUGS_TO.
17263 (top level): Use $PKGVERSION.
17264 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
17265 ($(objpfx)pkgvers.texi): New rule.
17266 ($(objpfx)stamp-pkgvers): Likewise.
17267 * manual/install.texi: Include pkgvers.texi.
17268 (--with-pkgversion): Document new configure option.
17269 (--with-bugurl): Likewise.
17270 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
17271 than necessarily for this particular distribution. Use
17272 REPORT_BUGS_TO for where to report bugs.
17273 * INSTALL: Regenerated.
17274 * manual/libc.texinfo: Include pkgvers.texi.
17275 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
17276 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
17277 (print_version): Use PKGVERSION.
17278 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
17279 (print_version): Use PKGVERSION.
17280 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
17281 (print_version): Use PKGVERSION.
17282 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
17283 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
17285 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
17286 (print_version): Use PKGVERSION.
17287 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
17288 (print_version): Use PKGVERSION.
17289 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
17292 * timezone/checktab.awk: Update from tzcode 2012i.
17293 * timezone/ialloc.c: Likewise.
17294 * timezone/private.h: Likewise.
17295 * timezone/scheck.c: Likewise.
17296 * timezone/tzfile.h: Likewise.
17297 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
17298 (TZVERSION): Hardcode tzcode version number.
17299 * timezone/zdump.c: Update from tzcode 2012i.
17300 * timezone/zic.c: Likewise.
17301 * timezone/version.h: New file.
17302 * timezone/README: Describe version.h. Update upstream location.
17305 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
17306 (mktemp): Enable declaration.
17307 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
17308 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
17309 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
17310 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
17312 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
17314 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
17316 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
17318 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
17320 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
17324 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
17325 offset in buffer as u_int32_t not u_long. Consistently use memcpy
17326 for copies of such integer values.
17327 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17328 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17330 2012-11-09 Andreas Jaeger <aj@suse.de>
17332 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
17333 definitions and declarations that are provided by
17334 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17336 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17338 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
17339 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
17340 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
17343 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17345 * elf/elf.h: Update comment before AArch64 relocations.
17347 2012-11-07 David S. Miller <davem@davemloft.net>
17349 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
17350 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17351 (__start_context): Declare.
17352 (__makecontext_ret): Delete.
17353 (__makecontext): Hook up __start_context instead of
17355 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
17356 (sysdep_routines): Add __start_context when in stdlib.
17358 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17360 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
17361 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
17362 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
17364 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
17365 (READELF): New variable. Use it instead of hardcoded "readelf".
17367 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
17369 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
17370 * sysdeps/x86/Makefile: Here.
17371 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
17372 * sysdeps/x86/tst-xmmymm.sh: This.
17374 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17376 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
17378 [UNIX98] (pthread_barrier_t): Do not expect.
17379 [UNIX98] (pthread_barrierattr_t): Likewise.
17380 [UNIX98] (pthread_spinlock_t): Likewise.
17381 [UNIX98] (pthread_barrier_destroy): Likewise.
17382 [UNIX98] (pthread_barrier_init): Likewise.
17383 [UNIX98] (pthread_barrier_wait): Likewise.
17384 [UNIX98] (pthread_barrierattr_destroy): Likewise.
17385 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
17386 [UNIX98] (pthread_barrierattr_init): Likewise.
17387 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
17388 [UNIX98] (pthread_getcpuclockid): Likewise.
17389 [UNIX98] (pthread_mutex_timedlock): Likewise.
17390 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
17391 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
17392 [UNIX98] (pthread_sigmask): Likewise.
17393 [UNIX98] (pthread_spin_destroy): Likewise.
17394 [UNIX98] (pthread_spin_init): Likewise.
17395 [UNIX98] (pthread_spin_lock): Likewise.
17396 [UNIX98] (pthread_spin_trylock): Likewise.
17397 [UNIX98] (pthread_spin_unlock): Likewise.
17398 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
17400 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
17401 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
17402 [XPG3 || XPG4] (pthread_cond_t): Likewise.
17403 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
17404 [XPG3 || XPG4] (pthread_key_t): Likewise.
17405 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
17406 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
17407 [XPG3 || XPG4] (pthread_once_t): Likewise.
17408 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
17409 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
17410 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
17411 [XPG3 || XPG4] (pthread_t): Likewise.
17413 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
17415 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
17417 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
17418 Change function return type to int.
17420 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
17421 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
17422 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
17423 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
17424 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
17425 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
17426 [!POSIX] (posix_madvise): Likewise.
17427 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
17429 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
17430 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
17431 (mode_t): Likewise.
17432 (posix_mem_offset): Likewise.
17433 (posix_typed_mem_get_info): Likewise.
17434 (posix_typed_mem_open): Likewise.
17436 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
17437 Change condition to [XOPEN2K8].
17439 * conform/conformtest.pl: Preprocess allow-header data with -x c
17440 instead of from stdin.
17441 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
17442 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
17443 [C99-based standards] (cerfc): Likewise.
17444 [C99-based standards] (cexp2): Likewise.
17445 [C99-based standards] (cexpm1): Likewise.
17446 [C99-based standards] (clog10): Likewise.
17447 [C99-based standards] (clog1p): Likewise.
17448 [C99-based standards] (clog2): Likewise.
17449 [C99-based standards] (clgamma): Likewise.
17450 [C99-based standards] (ctgamma): Likewise.
17451 [C99-based standards] (cerff): Likewise.
17452 [C99-based standards] (cerfcf): Likewise.
17453 [C99-based standards] (cexp2f): Likewise.
17454 [C99-based standards] (cexpm1f): Likewise.
17455 [C99-based standards] (clog10f): Likewise.
17456 [C99-based standards] (clog1pf): Likewise.
17457 [C99-based standards] (clog2f): Likewise.
17458 [C99-based standards] (clgammaf): Likewise.
17459 [C99-based standards] (ctgammaf): Likewise.
17460 [C99-based standards] (cerfl): Likewise.
17461 [C99-based standards] (cerfcl): Likewise.
17462 [C99-based standards] (cexp2l): Likewise.
17463 [C99-based standards] (cexpm1l): Likewise.
17464 [C99-based standards] (clog10l): Likewise.
17465 [C99-based standards] (clog1pl): Likewise.
17466 [C99-based standards] (clog2l): Likewise.
17467 [C99-based standards] (clgammal): Likewise.
17468 [C99-based standards] (ctgammal): Likewise.
17469 * conform/data/inttypes.h-data [C99-based standards]: Include
17470 stdint.h-data. Remove all expectations for stdint.h contents.
17471 [C99-based standards] (PRI*): Do not allow.
17472 [C99-based standards] (SCN*): Likewise.
17473 [C99-based standards] (*_t): Likewise.
17474 [C99-based-standards] (PRId8): Expect macro.
17475 [C99-based-standards] (PRIi8): Likewise.
17476 [C99-based-standards] (PRIo8): Likewise.
17477 [C99-based-standards] (PRIu8): Likewise.
17478 [C99-based-standards] (PRIx8): Likewise.
17479 [C99-based-standards] (PRIX8): Likewise.
17480 [C99-based-standards] (SCNd8): Likewise.
17481 [C99-based-standards] (SCNi8): Likewise.
17482 [C99-based-standards] (SCNo8): Likewise.
17483 [C99-based-standards] (SCNu8): Likewise.
17484 [C99-based-standards] (SCNx8): Likewise.
17485 [C99-based-standards] (PRIdLEAST8): Likewise.
17486 [C99-based-standards] (PRIiLEAST8): Likewise.
17487 [C99-based-standards] (PRIoLEAST8): Likewise.
17488 [C99-based-standards] (PRIuLEAST8): Likewise.
17489 [C99-based-standards] (PRIxLEAST8): Likewise.
17490 [C99-based-standards] (PRIXLEAST8): Likewise.
17491 [C99-based-standards] (SCNdLEAST8): Likewise.
17492 [C99-based-standards] (SCNiLEAST8): Likewise.
17493 [C99-based-standards] (SCNoLEAST8): Likewise.
17494 [C99-based-standards] (SCNuLEAST8): Likewise.
17495 [C99-based-standards] (SCNxLEAST8): Likewise.
17496 [C99-based-standards] (PRIdFAST8): Likewise.
17497 [C99-based-standards] (PRIiFAST8): Likewise.
17498 [C99-based-standards] (PRIoFAST8): Likewise.
17499 [C99-based-standards] (PRIuFAST8): Likewise.
17500 [C99-based-standards] (PRIxFAST8): Likewise.
17501 [C99-based-standards] (PRIXFAST8): Likewise.
17502 [C99-based-standards] (SCNdFAST8): Likewise.
17503 [C99-based-standards] (SCNiFAST8): Likewise.
17504 [C99-based-standards] (SCNoFAST8): Likewise.
17505 [C99-based-standards] (SCNuFAST8): Likewise.
17506 [C99-based-standards] (SCNxFAST8): Likewise.
17507 [C99-based-standards] (PRId16): Likewise.
17508 [C99-based-standards] (PRIi16): Likewise.
17509 [C99-based-standards] (PRIo16): Likewise.
17510 [C99-based-standards] (PRIu16): Likewise.
17511 [C99-based-standards] (PRIx16): Likewise.
17512 [C99-based-standards] (PRIX16): Likewise.
17513 [C99-based-standards] (SCNd16): Likewise.
17514 [C99-based-standards] (SCNi16): Likewise.
17515 [C99-based-standards] (SCNo16): Likewise.
17516 [C99-based-standards] (SCNu16): Likewise.
17517 [C99-based-standards] (SCNx16): Likewise.
17518 [C99-based-standards] (PRIdLEAST16): Likewise.
17519 [C99-based-standards] (PRIiLEAST16): Likewise.
17520 [C99-based-standards] (PRIoLEAST16): Likewise.
17521 [C99-based-standards] (PRIuLEAST16): Likewise.
17522 [C99-based-standards] (PRIxLEAST16): Likewise.
17523 [C99-based-standards] (PRIXLEAST16): Likewise.
17524 [C99-based-standards] (SCNdLEAST16): Likewise.
17525 [C99-based-standards] (SCNiLEAST16): Likewise.
17526 [C99-based-standards] (SCNoLEAST16): Likewise.
17527 [C99-based-standards] (SCNuLEAST16): Likewise.
17528 [C99-based-standards] (SCNxLEAST16): Likewise.
17529 [C99-based-standards] (PRIdFAST16): Likewise.
17530 [C99-based-standards] (PRIiFAST16): Likewise.
17531 [C99-based-standards] (PRIoFAST16): Likewise.
17532 [C99-based-standards] (PRIuFAST16): Likewise.
17533 [C99-based-standards] (PRIxFAST16): Likewise.
17534 [C99-based-standards] (PRIXFAST16): Likewise.
17535 [C99-based-standards] (SCNdFAST16): Likewise.
17536 [C99-based-standards] (SCNiFAST16): Likewise.
17537 [C99-based-standards] (SCNoFAST16): Likewise.
17538 [C99-based-standards] (SCNuFAST16): Likewise.
17539 [C99-based-standards] (SCNxFAST16): Likewise.
17540 [C99-based-standards] (PRId32): Likewise.
17541 [C99-based-standards] (PRIi32): Likewise.
17542 [C99-based-standards] (PRIo32): Likewise.
17543 [C99-based-standards] (PRIu32): Likewise.
17544 [C99-based-standards] (PRIx32): Likewise.
17545 [C99-based-standards] (PRIX32): Likewise.
17546 [C99-based-standards] (SCNd32): Likewise.
17547 [C99-based-standards] (SCNi32): Likewise.
17548 [C99-based-standards] (SCNo32): Likewise.
17549 [C99-based-standards] (SCNu32): Likewise.
17550 [C99-based-standards] (SCNx32): Likewise.
17551 [C99-based-standards] (PRIdLEAST32): Likewise.
17552 [C99-based-standards] (PRIiLEAST32): Likewise.
17553 [C99-based-standards] (PRIoLEAST32): Likewise.
17554 [C99-based-standards] (PRIuLEAST32): Likewise.
17555 [C99-based-standards] (PRIxLEAST32): Likewise.
17556 [C99-based-standards] (PRIXLEAST32): Likewise.
17557 [C99-based-standards] (SCNdLEAST32): Likewise.
17558 [C99-based-standards] (SCNiLEAST32): Likewise.
17559 [C99-based-standards] (SCNoLEAST32): Likewise.
17560 [C99-based-standards] (SCNuLEAST32): Likewise.
17561 [C99-based-standards] (SCNxLEAST32): Likewise.
17562 [C99-based-standards] (PRIdFAST32): Likewise.
17563 [C99-based-standards] (PRIiFAST32): Likewise.
17564 [C99-based-standards] (PRIoFAST32): Likewise.
17565 [C99-based-standards] (PRIuFAST32): Likewise.
17566 [C99-based-standards] (PRIxFAST32): Likewise.
17567 [C99-based-standards] (PRIXFAST32): Likewise.
17568 [C99-based-standards] (SCNdFAST32): Likewise.
17569 [C99-based-standards] (SCNiFAST32): Likewise.
17570 [C99-based-standards] (SCNoFAST32): Likewise.
17571 [C99-based-standards] (SCNuFAST32): Likewise.
17572 [C99-based-standards] (SCNxFAST32): Likewise.
17573 [C99-based-standards] (PRId64): Likewise.
17574 [C99-based-standards] (PRIi64): Likewise.
17575 [C99-based-standards] (PRIo64): Likewise.
17576 [C99-based-standards] (PRIu64): Likewise.
17577 [C99-based-standards] (PRIx64): Likewise.
17578 [C99-based-standards] (PRIX64): Likewise.
17579 [C99-based-standards] (SCNd64): Likewise.
17580 [C99-based-standards] (SCNi64): Likewise.
17581 [C99-based-standards] (SCNo64): Likewise.
17582 [C99-based-standards] (SCNu64): Likewise.
17583 [C99-based-standards] (SCNx64): Likewise.
17584 [C99-based-standards] (PRIdLEAST64): Likewise.
17585 [C99-based-standards] (PRIiLEAST64): Likewise.
17586 [C99-based-standards] (PRIoLEAST64): Likewise.
17587 [C99-based-standards] (PRIuLEAST64): Likewise.
17588 [C99-based-standards] (PRIxLEAST64): Likewise.
17589 [C99-based-standards] (PRIXLEAST64): Likewise.
17590 [C99-based-standards] (SCNdLEAST64): Likewise.
17591 [C99-based-standards] (SCNiLEAST64): Likewise.
17592 [C99-based-standards] (SCNoLEAST64): Likewise.
17593 [C99-based-standards] (SCNuLEAST64): Likewise.
17594 [C99-based-standards] (SCNxLEAST64): Likewise.
17595 [C99-based-standards] (PRIdFAST64): Likewise.
17596 [C99-based-standards] (PRIiFAST64): Likewise.
17597 [C99-based-standards] (PRIoFAST64): Likewise.
17598 [C99-based-standards] (PRIuFAST64): Likewise.
17599 [C99-based-standards] (PRIxFAST64): Likewise.
17600 [C99-based-standards] (PRIXFAST64): Likewise.
17601 [C99-based-standards] (SCNdFAST64): Likewise.
17602 [C99-based-standards] (SCNiFAST64): Likewise.
17603 [C99-based-standards] (SCNoFAST64): Likewise.
17604 [C99-based-standards] (SCNuFAST64): Likewise.
17605 [C99-based-standards] (SCNxFAST64): Likewise.
17606 [C99-based-standards] (PRIdMAX): Likewise.
17607 [C99-based-standards] (PRIiMAX): Likewise.
17608 [C99-based-standards] (PRIoMAX): Likewise.
17609 [C99-based-standards] (PRIuMAX): Likewise.
17610 [C99-based-standards] (PRIxMAX): Likewise.
17611 [C99-based-standards] (PRIXMAX): Likewise.
17612 [C99-based-standards] (SCNdMAX): Likewise.
17613 [C99-based-standards] (SCNiMAX): Likewise.
17614 [C99-based-standards] (SCNoMAX): Likewise.
17615 [C99-based-standards] (SCNuMAX): Likewise.
17616 [C99-based-standards] (SCNxMAX): Likewise.
17617 [C99-based-standards] (PRIdPTR): Likewise.
17618 [C99-based-standards] (PRIiPTR): Likewise.
17619 [C99-based-standards] (PRIoPTR): Likewise.
17620 [C99-based-standards] (PRIuPTR): Likewise.
17621 [C99-based-standards] (PRIxPTR): Likewise.
17622 [C99-based-standards] (PRIXPTR): Likewise.
17623 [C99-based-standards] (SCNdPTR): Likewise.
17624 [C99-based-standards] (SCNiPTR): Likewise.
17625 [C99-based-standards] (SCNoPTR): Likewise.
17626 [C99-based-standards] (SCNuPTR): Likewise.
17627 [C99-based-standards] (SCNxPTR): Likewise.
17628 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
17630 * conform/data/stdint.h-data: Update comments to clarify
17632 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
17634 [C99-based standards] (INT8_MAX): Likewise.
17635 [C99-based standards] (INT16_MIN): Likewise.
17636 [C99-based standards] (INT16_MAX): Likewise.
17637 [C99-based standards] (INT32_MIN): Likewise.
17638 [C99-based standards] (INT32_MAX): Likewise.
17639 [C99-based standards] (INT64_MIN): Likewise.
17640 [C99-based standards] (INT64_MAX): Likewise.
17641 [C99-based standards] (UINT8_MAX): Likewise.
17642 [C99-based standards] (UINT16_MAX): Likewise.
17643 [C99-based standards] (UINT32_MAX): Likewise.
17644 [C99-based standards] (UINT64_MAX): Likewise.
17645 [C99-based standards] (INT_LEAST8_MIN): Likewise.
17646 [C99-based standards] (INT_LEAST8_MAX): Likewise.
17647 [C99-based standards] (INT_LEAST16_MIN): Likewise.
17648 [C99-based standards] (INT_LEAST16_MAX): Likewise.
17649 [C99-based standards] (INT_LEAST32_MIN): Likewise.
17650 [C99-based standards] (INT_LEAST32_MAX): Likewise.
17651 [C99-based standards] (INT_LEAST64_MIN): Likewise.
17652 [C99-based standards] (INT_LEAST64_MAX): Likewise.
17653 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
17654 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
17655 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
17656 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
17657 [C99-based standards] (INT_FAST8_MIN): Likewise.
17658 [C99-based standards] (INT_FAST8_MAX): Likewise.
17659 [C99-based standards] (INT_FAST16_MIN): Likewise.
17660 [C99-based standards] (INT_FAST16_MAX): Likewise.
17661 [C99-based standards] (INT_FAST32_MIN): Likewise.
17662 [C99-based standards] (INT_FAST32_MAX): Likewise.
17663 [C99-based standards] (INT_FAST64_MIN): Likewise.
17664 [C99-based standards] (INT_FAST64_MAX): Likewise.
17665 [C99-based standards] (UINT_FAST8_MAX): Likewise.
17666 [C99-based standards] (UINT_FAST16_MAX): Likewise.
17667 [C99-based standards] (UINT_FAST32_MAX): Likewise.
17668 [C99-based standards] (UINT_FAST64_MAX): Likewise.
17669 [C99-based standards] (INTPTR_MIN): Likewise.
17670 [C99-based standards] (INTPTR_MAX): Likewise.
17671 [C99-based standards] (UINTPTR_MAX): Likewise.
17672 [C99-based standards] (INTMAX_MIN): Likewise.
17673 [C99-based standards] (INTMAX_MAX): Likewise.
17674 [C99-based standards] (UINTMAX_MAX): Likewise.
17675 [C99-based standards] (PTRDIFF_MIN): Likewise.
17676 [C99-based standards] (PTRDIFF_MAX): Likewise.
17677 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
17678 [C99-based standards] (SIZE_MAX): Likewise.
17679 [C99-based standards] (WCHAR_MAX): Likewise.
17680 [C99-based standards] (WINT_MAX): Likewise.
17681 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
17682 constraint on value.
17683 [C99-based standards] (WCHAR_MIN): Likewise.
17684 [C99-based standards] (WINT_MIN): Likewise.
17685 [C99-based standards] (*_t): Allow.
17686 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
17687 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
17688 Include math.h-data and complex.h-data. Remove all expectations
17689 of math.h and complex.h contents.
17690 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
17692 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
17693 (struct tm): Expect tag.
17694 [C99-based-standards] (wcstof): Expect function.
17695 [C99-based-standards] (wcstold): Likewise.
17696 [C99-based-standards] (wcstoll): Likewise.
17697 [C99-based-standards] (wcstoull): Likewise.
17698 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
17699 macro-int-constant. Specify type.
17700 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
17701 constraint on value.
17702 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17704 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
17706 [ISO C standards]: Do not allow headers.
17707 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
17708 wcs[abcdefghijklmnopqrstuvwxyz]*.
17709 [ISO C standards] (*_t): Do not allow.
17710 * conform/data/wctype.h-data [C99-based standards] (iswblank):
17712 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17713 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17715 [ISO C standards]: Do not allow headers.
17716 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17717 is[abcdefghijklmnopqrstuvwxyz]*.
17718 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17719 to[abcdefghijklmnopqrstuvwxyz]*.
17720 [ISO C standards] (*_t): Do not allow.
17721 * conform/data/stdalign.h-data: New file.
17722 * conform/data/stdbool.h-data: Likewise.
17723 * conform/data/stdnoreturn.h-data: Likewise.
17725 2012-11-07 Roland McGrath <roland@hack.frob.com>
17728 * manual/filesys.texi (Directory Entries): Typo fix.
17729 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17731 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17733 * elf/elf.h (EM_AARCH64): New macro.
17734 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17735 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17736 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17737 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17738 (R_AARCH64_TLSDESC): Likewise.
17739 (NT_ARM_TLS): Likewise.
17740 (NT_ARM_HW_BREAK): Likewise.
17741 (NT_ARM_HW_WATCH): Likewise.
17743 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17746 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17747 (__ieee754_powl): Saturate nonzero exponents with absolute value
17748 below 0x1p-79 to +/- 0x1p-79.
17749 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17750 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17751 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17752 nonzero exponents with absolute value below 0x1p-32 to +/-
17754 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17755 (__ieee754_powl): Saturate nonzero exponents with absolute value
17756 below 0x1p-79 to +/- 0x1p-79.
17757 * math/libm-test.inc (pow_test): Add more tests.
17759 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17761 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17762 _dl_s390_cap_flags with kernel. Increase string length.
17763 (_dl_s390_platforms): Add z196 and zEC12.
17765 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17767 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17768 Change XOPEN21K to XOPEN2K.
17770 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
17772 * string/memmove.c: Use memcpy when possible.
17774 2012-11-06 Andreas Jaeger <aj@suse.de>
17776 * po/eo.po: Update from translation team.
17778 2012-11-06 Joseph Myers <joseph@codesourcery.com>
17781 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17782 exponent and small x and y exponents, scale x or y up. Increase
17783 by 2 the exponent used in scaling up.
17784 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17785 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17786 * math/libm-test.inc (fma_test): Add more tests.
17787 (fma_test_towardzero): Likewise.
17788 (fma_test_downward): Likewise.
17789 (fma_test_upward): Likewise.
17791 2012-11-05 Joseph Myers <joseph@codesourcery.com>
17794 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17798 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17799 namespace for names of struct fields.
17800 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17802 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17803 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17805 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17808 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17810 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17812 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17816 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17819 2012-11-04 Joseph Myers <joseph@codesourcery.com>
17822 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17823 definitely overflow as x * y not x * y + z.
17824 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17825 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17826 * math/libm-test.inc (fma_test): Add more tests.
17827 (fma_test_towardzero): Likewise.
17828 (fma_test_downward): Likewise.
17829 (fma_test_upward): Likewise.
17831 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17835 * include/stub-tag.h: Remove file.
17836 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17838 * manual/maint.texi (Porting): Don't reference it.
17839 * Makerules ($(objpfx)stubs): Likewise.
17840 * dirent/closedir.c: Don't include <stub-tag.h>.
17841 * dirent/dirfd.c: Likewise.
17842 * dirent/fdopendir.c: Likewise.
17843 * dirent/getdents.c: Likewise.
17844 * dirent/getdents64.c: Likewise.
17845 * dirent/opendir.c: Likewise.
17846 * dirent/readdir.c: Likewise.
17847 * dirent/readdir64.c: Likewise.
17848 * dirent/readdir64_r.c: Likewise.
17849 * dirent/readdir_r.c: Likewise.
17850 * dirent/rewinddir.c: Likewise.
17851 * dirent/seekdir.c: Likewise.
17852 * dirent/telldir.c: Likewise.
17853 * gmon/profil.c: Likewise.
17854 * grp/setgroups.c: Likewise.
17855 * inet/if_index.c: Likewise.
17856 * io/access.c: Likewise.
17857 * io/chdir.c: Likewise.
17858 * io/chmod.c: Likewise.
17859 * io/chown.c: Likewise.
17860 * io/close.c: Likewise.
17861 * io/dup.c: Likewise.
17862 * io/dup2.c: Likewise.
17863 * io/dup3.c: Likewise.
17864 * io/euidaccess.c: Likewise.
17865 * io/faccessat.c: Likewise.
17866 * io/fchdir.c: Likewise.
17867 * io/fchmod.c: Likewise.
17868 * io/fchmodat.c: Likewise.
17869 * io/fchown.c: Likewise.
17870 * io/fchownat.c: Likewise.
17871 * io/fcntl.c: Likewise.
17872 * io/flock.c: Likewise.
17873 * io/fstatfs.c: Likewise.
17874 * io/fstatfs64.c: Likewise.
17875 * io/fstatvfs.c: Likewise.
17876 * io/fstatvfs64.c: Likewise.
17877 * io/futimens.c: Likewise.
17878 * io/fxstat.c: Likewise.
17879 * io/fxstat64.c: Likewise.
17880 * io/fxstatat.c: Likewise.
17881 * io/fxstatat64.c: Likewise.
17882 * io/getcwd.c: Likewise.
17883 * io/isatty.c: Likewise.
17884 * io/lchmod.c: Likewise.
17885 * io/lchown.c: Likewise.
17886 * io/link.c: Likewise.
17887 * io/linkat.c: Likewise.
17888 * io/lseek.c: Likewise.
17889 * io/lseek64.c: Likewise.
17890 * io/lxstat64.c: Likewise.
17891 * io/mkdir.c: Likewise.
17892 * io/mkdirat.c: Likewise.
17893 * io/mkfifo.c: Likewise.
17894 * io/mkfifoat.c: Likewise.
17895 * io/open.c: Likewise.
17896 * io/open64.c: Likewise.
17897 * io/openat.c: Likewise.
17898 * io/openat64.c: Likewise.
17899 * io/pipe.c: Likewise.
17900 * io/pipe2.c: Likewise.
17901 * io/poll.c: Likewise.
17902 * io/posix_fadvise.c: Likewise.
17903 * io/posix_fadvise64.c: Likewise.
17904 * io/posix_fallocate.c: Likewise.
17905 * io/posix_fallocate64.c: Likewise.
17906 * io/read.c: Likewise.
17907 * io/readlink.c: Likewise.
17908 * io/readlinkat.c: Likewise.
17909 * io/rmdir.c: Likewise.
17910 * io/sendfile.c: Likewise.
17911 * io/sendfile64.c: Likewise.
17912 * io/statfs.c: Likewise.
17913 * io/statfs64.c: Likewise.
17914 * io/statvfs.c: Likewise.
17915 * io/statvfs64.c: Likewise.
17916 * io/symlink.c: Likewise.
17917 * io/symlinkat.c: Likewise.
17918 * io/ttyname.c: Likewise.
17919 * io/ttyname_r.c: Likewise.
17920 * io/umask.c: Likewise.
17921 * io/unlink.c: Likewise.
17922 * io/unlinkat.c: Likewise.
17923 * io/utime.c: Likewise.
17924 * io/utimensat.c: Likewise.
17925 * io/write.c: Likewise.
17926 * io/xmknod.c: Likewise.
17927 * io/xmknodat.c: Likewise.
17928 * io/xstat.c: Likewise.
17929 * io/xstat64.c: Likewise.
17930 * login/getpt.c: Likewise.
17931 * login/grantpt.c: Likewise.
17932 * login/unlockpt.c: Likewise.
17933 * math/e_acoshl.c: Likewise.
17934 * math/e_acosl.c: Likewise.
17935 * math/e_asinl.c: Likewise.
17936 * math/e_atan2l.c: Likewise.
17937 * math/e_atanhl.c: Likewise.
17938 * math/e_coshl.c: Likewise.
17939 * math/e_expl.c: Likewise.
17940 * math/e_fmodl.c: Likewise.
17941 * math/e_gammal_r.c: Likewise.
17942 * math/e_hypotl.c: Likewise.
17943 * math/e_j0l.c: Likewise.
17944 * math/e_j1l.c: Likewise.
17945 * math/e_jnl.c: Likewise.
17946 * math/e_lgammal_r.c: Likewise.
17947 * math/e_log10l.c: Likewise.
17948 * math/e_log2l.c: Likewise.
17949 * math/e_logl.c: Likewise.
17950 * math/e_powl.c: Likewise.
17951 * math/e_rem_pio2l.c: Likewise.
17952 * math/e_sinhl.c: Likewise.
17953 * math/e_sqrtl.c: Likewise.
17954 * math/fclrexcpt.c: Likewise.
17955 * math/fedisblxcpt.c: Likewise.
17956 * math/feenablxcpt.c: Likewise.
17957 * math/fegetenv.c: Likewise.
17958 * math/fegetexcept.c: Likewise.
17959 * math/fegetround.c: Likewise.
17960 * math/feholdexcpt.c: Likewise.
17961 * math/fesetenv.c: Likewise.
17962 * math/fesetround.c: Likewise.
17963 * math/feupdateenv.c: Likewise.
17964 * math/fgetexcptflg.c: Likewise.
17965 * math/fraiseexcpt.c: Likewise.
17966 * math/fsetexcptflg.c: Likewise.
17967 * math/ftestexcept.c: Likewise.
17968 * math/k_cosl.c: Likewise.
17969 * math/k_rem_pio2l.c: Likewise.
17970 * math/k_sinl.c: Likewise.
17971 * math/k_tanl.c: Likewise.
17972 * math/s_asinhl.c: Likewise.
17973 * math/s_atanl.c: Likewise.
17974 * math/s_cbrtl.c: Likewise.
17975 * math/s_erfl.c: Likewise.
17976 * math/s_expm1l.c: Likewise.
17977 * math/s_log1pl.c: Likewise.
17978 * math/s_tanhl.c: Likewise.
17979 * misc/acct.c: Likewise.
17980 * misc/brk.c: Likewise.
17981 * misc/chflags.c: Likewise.
17982 * misc/chroot.c: Likewise.
17983 * misc/fchflags.c: Likewise.
17984 * misc/fgetxattr.c: Likewise.
17985 * misc/flistxattr.c: Likewise.
17986 * misc/fremovexattr.c: Likewise.
17987 * misc/fsetxattr.c: Likewise.
17988 * misc/fsync.c: Likewise.
17989 * misc/ftruncate.c: Likewise.
17990 * misc/futimes.c: Likewise.
17991 * misc/futimesat.c: Likewise.
17992 * misc/getdomain.c: Likewise.
17993 * misc/getdtsz.c: Likewise.
17994 * misc/gethostid.c: Likewise.
17995 * misc/gethostname.c: Likewise.
17996 * misc/getloadavg.c: Likewise.
17997 * misc/getpagesize.c: Likewise.
17998 * misc/getsysstats.c: Likewise.
17999 * misc/getxattr.c: Likewise.
18000 * misc/gtty.c: Likewise.
18001 * misc/ioctl.c: Likewise.
18002 * misc/lgetxattr.c: Likewise.
18003 * misc/listxattr.c: Likewise.
18004 * misc/llistxattr.c: Likewise.
18005 * misc/lremovexattr.c: Likewise.
18006 * misc/lsetxattr.c: Likewise.
18007 * misc/lutimes.c: Likewise.
18008 * misc/madvise.c: Likewise.
18009 * misc/mincore.c: Likewise.
18010 * misc/mlock.c: Likewise.
18011 * misc/mlockall.c: Likewise.
18012 * misc/mmap.c: Likewise.
18013 * misc/mprotect.c: Likewise.
18014 * misc/msync.c: Likewise.
18015 * misc/munlock.c: Likewise.
18016 * misc/munlockall.c: Likewise.
18017 * misc/munmap.c: Likewise.
18018 * misc/preadv.c: Likewise.
18019 * misc/preadv64.c: Likewise.
18020 * misc/ptrace.c: Likewise.
18021 * misc/pwritev.c: Likewise.
18022 * misc/pwritev64.c: Likewise.
18023 * misc/readv.c: Likewise.
18024 * misc/reboot.c: Likewise.
18025 * misc/remap_file_pages.c: Likewise.
18026 * misc/removexattr.c: Likewise.
18027 * misc/revoke.c: Likewise.
18028 * misc/select.c: Likewise.
18029 * misc/setdomain.c: Likewise.
18030 * misc/setegid.c: Likewise.
18031 * misc/seteuid.c: Likewise.
18032 * misc/sethostid.c: Likewise.
18033 * misc/sethostname.c: Likewise.
18034 * misc/setregid.c: Likewise.
18035 * misc/setreuid.c: Likewise.
18036 * misc/setxattr.c: Likewise.
18037 * misc/sstk.c: Likewise.
18038 * misc/stty.c: Likewise.
18039 * misc/swapoff.c: Likewise.
18040 * misc/swapon.c: Likewise.
18041 * misc/sync.c: Likewise.
18042 * misc/syncfs.c: Likewise.
18043 * misc/syscall.c: Likewise.
18044 * misc/truncate.c: Likewise.
18045 * misc/ualarm.c: Likewise.
18046 * misc/usleep.c: Likewise.
18047 * misc/ustat.c: Likewise.
18048 * misc/utimes.c: Likewise.
18049 * misc/vhangup.c: Likewise.
18050 * misc/writev.c: Likewise.
18051 * posix/_exit.c: Likewise.
18052 * posix/alarm.c: Likewise.
18053 * posix/execve.c: Likewise.
18054 * posix/fexecve.c: Likewise.
18055 * posix/fork.c: Likewise.
18056 * posix/fpathconf.c: Likewise.
18057 * posix/getaddrinfo.c: Likewise.
18058 * posix/getegid.c: Likewise.
18059 * posix/geteuid.c: Likewise.
18060 * posix/getgid.c: Likewise.
18061 * posix/getgroups.c: Likewise.
18062 * posix/getlogin.c: Likewise.
18063 * posix/getlogin_r.c: Likewise.
18064 * posix/getpgid.c: Likewise.
18065 * posix/getpid.c: Likewise.
18066 * posix/getppid.c: Likewise.
18067 * posix/getresgid.c: Likewise.
18068 * posix/getresuid.c: Likewise.
18069 * posix/getsid.c: Likewise.
18070 * posix/getuid.c: Likewise.
18071 * posix/glob64.c: Likewise.
18072 * posix/nanosleep.c: Likewise.
18073 * posix/pathconf.c: Likewise.
18074 * posix/pause.c: Likewise.
18075 * posix/posix_madvise.c: Likewise.
18076 * posix/pread.c: Likewise.
18077 * posix/pread64.c: Likewise.
18078 * posix/pwrite.c: Likewise.
18079 * posix/pwrite64.c: Likewise.
18080 * posix/sched_getaffinity.c: Likewise.
18081 * posix/sched_getp.c: Likewise.
18082 * posix/sched_gets.c: Likewise.
18083 * posix/sched_primax.c: Likewise.
18084 * posix/sched_primin.c: Likewise.
18085 * posix/sched_rr_gi.c: Likewise.
18086 * posix/sched_setaffinity.c: Likewise.
18087 * posix/sched_setp.c: Likewise.
18088 * posix/sched_sets.c: Likewise.
18089 * posix/sched_yield.c: Likewise.
18090 * posix/setgid.c: Likewise.
18091 * posix/setlogin.c: Likewise.
18092 * posix/setpgid.c: Likewise.
18093 * posix/setresgid.c: Likewise.
18094 * posix/setresuid.c: Likewise.
18095 * posix/setsid.c: Likewise.
18096 * posix/setuid.c: Likewise.
18097 * posix/sleep.c: Likewise.
18098 * posix/spawni.c: Likewise.
18099 * posix/sysconf.c: Likewise.
18100 * posix/times.c: Likewise.
18101 * posix/wait.c: Likewise.
18102 * posix/wait3.c: Likewise.
18103 * posix/wait4.c: Likewise.
18104 * posix/waitpid.c: Likewise.
18105 * resolv/gai_sigqueue.c: Likewise.
18106 * resource/getpriority.c: Likewise.
18107 * resource/getrlimit.c: Likewise.
18108 * resource/getrusage.c: Likewise.
18109 * resource/nice.c: Likewise.
18110 * resource/setpriority.c: Likewise.
18111 * resource/setrlimit.c: Likewise.
18112 * resource/ulimit.c: Likewise.
18113 * rt/aio_cancel.c: Likewise.
18114 * rt/aio_fsync.c: Likewise.
18115 * rt/aio_read.c: Likewise.
18116 * rt/aio_sigqueue.c: Likewise.
18117 * rt/aio_suspend.c: Likewise.
18118 * rt/aio_write.c: Likewise.
18119 * rt/clock_getres.c: Likewise.
18120 * rt/clock_gettime.c: Likewise.
18121 * rt/clock_nanosleep.c: Likewise.
18122 * rt/clock_settime.c: Likewise.
18123 * rt/lio_listio.c: Likewise.
18124 * rt/mq_close.c: Likewise.
18125 * rt/mq_getattr.c: Likewise.
18126 * rt/mq_notify.c: Likewise.
18127 * rt/mq_open.c: Likewise.
18128 * rt/mq_receive.c: Likewise.
18129 * rt/mq_send.c: Likewise.
18130 * rt/mq_setattr.c: Likewise.
18131 * rt/mq_timedreceive.c: Likewise.
18132 * rt/mq_timedsend.c: Likewise.
18133 * rt/mq_unlink.c: Likewise.
18134 * rt/shm_open.c: Likewise.
18135 * rt/shm_unlink.c: Likewise.
18136 * rt/timer_create.c: Likewise.
18137 * rt/timer_delete.c: Likewise.
18138 * rt/timer_getoverr.c: Likewise.
18139 * rt/timer_gettime.c: Likewise.
18140 * rt/timer_settime.c: Likewise.
18141 * setjmp/__longjmp.c: Likewise.
18142 * setjmp/setjmp.c: Likewise.
18143 * signal/kill.c: Likewise.
18144 * signal/killpg.c: Likewise.
18145 * signal/raise.c: Likewise.
18146 * signal/sigaction.c: Likewise.
18147 * signal/sigaltstack.c: Likewise.
18148 * signal/sigblock.c: Likewise.
18149 * signal/sigignore.c: Likewise.
18150 * signal/sigintr.c: Likewise.
18151 * signal/signal.c: Likewise.
18152 * signal/sigpause.c: Likewise.
18153 * signal/sigpending.c: Likewise.
18154 * signal/sigqueue.c: Likewise.
18155 * signal/sigreturn.c: Likewise.
18156 * signal/sigset.c: Likewise.
18157 * signal/sigsetmask.c: Likewise.
18158 * signal/sigstack.c: Likewise.
18159 * signal/sigsuspend.c: Likewise.
18160 * signal/sigtimedwait.c: Likewise.
18161 * signal/sigvec.c: Likewise.
18162 * signal/sigwait.c: Likewise.
18163 * signal/sigwaitinfo.c: Likewise.
18164 * signal/sysv_signal.c: Likewise.
18165 * socket/accept.c: Likewise.
18166 * socket/accept4.c: Likewise.
18167 * socket/bind.c: Likewise.
18168 * socket/connect.c: Likewise.
18169 * socket/getpeername.c: Likewise.
18170 * socket/getsockname.c: Likewise.
18171 * socket/getsockopt.c: Likewise.
18172 * socket/isfdtype.c: Likewise.
18173 * socket/listen.c: Likewise.
18174 * socket/recv.c: Likewise.
18175 * socket/recvfrom.c: Likewise.
18176 * socket/recvmsg.c: Likewise.
18177 * socket/send.c: Likewise.
18178 * socket/sendmsg.c: Likewise.
18179 * socket/sendto.c: Likewise.
18180 * socket/setsockopt.c: Likewise.
18181 * socket/shutdown.c: Likewise.
18182 * socket/sockatmark.c: Likewise.
18183 * socket/socket.c: Likewise.
18184 * socket/socketpair.c: Likewise.
18185 * stdio-common/ctermid.c: Likewise.
18186 * stdio-common/cuserid.c: Likewise.
18187 * stdio-common/remove.c: Likewise.
18188 * stdio-common/rename.c: Likewise.
18189 * stdio-common/renameat.c: Likewise.
18190 * stdio-common/tempname.c: Likewise.
18191 * stdlib/getcontext.c: Likewise.
18192 * stdlib/makecontext.c: Likewise.
18193 * stdlib/setcontext.c: Likewise.
18194 * stdlib/swapcontext.c: Likewise.
18195 * stdlib/system.c: Likewise.
18196 * streams/fattach.c: Likewise.
18197 * streams/fdetach.c: Likewise.
18198 * streams/getmsg.c: Likewise.
18199 * streams/getpmsg.c: Likewise.
18200 * streams/putmsg.c: Likewise.
18201 * streams/putpmsg.c: Likewise.
18202 * sysdeps/unix/bsd/getpt.c: Likewise.
18203 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
18204 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
18205 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18208 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
18209 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18210 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18211 * sysvipc/msgctl.c: Likewise.
18212 * sysvipc/msgget.c: Likewise.
18213 * sysvipc/msgrcv.c: Likewise.
18214 * sysvipc/msgsnd.c: Likewise.
18215 * sysvipc/semctl.c: Likewise.
18216 * sysvipc/semget.c: Likewise.
18217 * sysvipc/semop.c: Likewise.
18218 * sysvipc/semtimedop.c: Likewise.
18219 * sysvipc/shmat.c: Likewise.
18220 * sysvipc/shmctl.c: Likewise.
18221 * sysvipc/shmdt.c: Likewise.
18222 * sysvipc/shmget.c: Likewise.
18223 * termios/tcdrain.c: Likewise.
18224 * termios/tcflow.c: Likewise.
18225 * termios/tcflush.c: Likewise.
18226 * termios/tcgetattr.c: Likewise.
18227 * termios/tcgetpgrp.c: Likewise.
18228 * termios/tcsendbrk.c: Likewise.
18229 * termios/tcsetattr.c: Likewise.
18230 * termios/tcsetpgrp.c: Likewise.
18231 * time/adjtime.c: Likewise.
18232 * time/clock.c: Likewise.
18233 * time/getitimer.c: Likewise.
18234 * time/gettimeofday.c: Likewise.
18235 * time/setitimer.c: Likewise.
18236 * time/settimeofday.c: Likewise.
18237 * time/stime.c: Likewise.
18238 * time/time.c: Likewise.
18240 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
18242 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
18245 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
18247 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
18249 2012-11-03 Joseph Myers <joseph@codesourcery.com>
18252 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
18253 FE_TONEAREST before applying Dekker multiplication and Knuth
18254 addition. Clear inexact exceptions and check for exact zero
18255 results afterwards.
18256 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18257 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18258 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18259 * math/libm-test.inc (fma_test): Add more tests.
18260 (fma_test_towardzero): Likewise.
18261 (fma_test_downward): Likewise.
18262 (fma_test_upward): Likewise.
18263 * sysdeps/generic/math_private.h (default_libc_fesetround): New
18265 (libc_fesetround): New macro.
18266 (libc_fesetroundf): Likewise.
18267 (libc_fesetroundl): Likewise.
18268 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
18270 (libc_fesetround_387): Likewise.
18271 (libc_fesetroundf): New macro.
18272 (libc_fesetround): Likewise.
18273 (libc_fesetroundl): Likewise.
18274 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
18276 (libc_fesetroundf): New macro.
18277 (libc_fesetround): Likewise.
18278 (libc_fesetroundl): Likewise.
18279 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
18280 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
18281 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
18283 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
18284 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
18286 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
18287 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
18289 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
18293 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
18294 integer constant usable in #if and use that to give value to enum
18296 (FE_DIVBYZERO): Likewise.
18297 (FE_UNDERFLOW): Likewise.
18298 (FE_OVERFLOW): Likewise.
18299 (FE_INVALID): Likewise.
18300 (FE_INVALID_SNAN): Likewise.
18301 (FE_INVALID_ISI): Likewise.
18302 (FE_INVALID_IDI): Likewise.
18303 (FE_INVALID_ZDZ): Likewise.
18304 (FE_INVALID_IMZ): Likewise.
18305 (FE_INVALID_COMPARE): Likewise.
18306 (FE_INVALID_SOFTWARE): Likewise.
18307 (FE_INVALID_SQRT): Likewise.
18308 (FE_INVALID_INTEGER_CONVERSION): Likewise.
18309 (FE_TONEAREST): Likewise.
18310 (FE_TOWARDZERO): Likewise.
18311 (FE_UPWARD): Likewise.
18312 (FE_DOWNWARD): Likewise.
18313 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
18314 (FE_DIVBYZERO): Likewise.
18315 (FE_OVERFLOW): Likewise.
18316 (FE_UNDERFLOW): Likewise.
18317 (FE_INEXACT): Likewise.
18318 (FE_TONEAREST): Likewise.
18319 (FE_DOWNWARD): Likewise.
18320 (FE_UPWARD): Likewise.
18321 (FE_TOWARDZERO): Likewise.
18322 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
18323 (FE_UNDERFLOW): Likewise.
18324 (FE_OVERFLOW): Likewise.
18325 (FE_DIVBYZERO): Likewise.
18326 (FE_INVALID): Likewise.
18327 (FE_TONEAREST): Likewise.
18328 (FE_TOWARDZERO): Likewise.
18329 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
18330 (FE_OVERFLOW): Likewise.
18331 (FE_UNDERFLOW): Likewise.
18332 (FE_DIVBYZERO): Likewise.
18333 (FE_INEXACT): Likewise.
18334 (FE_TONEAREST): Likewise.
18335 (FE_TOWARDZERO): Likewise.
18336 (FE_UPWARD): Likewise.
18337 (FE_DOWNWARD): Likewise.
18338 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
18339 (FE_DIVBYZERO): Likewise.
18340 (FE_OVERFLOW): Likewise.
18341 (FE_UNDERFLOW): Likewise.
18342 (FE_INEXACT): Likewise.
18343 (FE_TONEAREST): Likewise.
18344 (FE_DOWNWARD): Likewise.
18345 (FE_UPWARD): Likewise.
18346 (FE_TOWARDZERO): Likewise.
18348 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
18350 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
18352 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
18354 * scripts/cross-test-ssh.sh (command): Use newlines to separate
18355 commands. Quote $PWD.
18356 (blacklist_exports): Don't use remove_newlines. Replace "declare
18358 (remove_newlines): Remove.
18360 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
18362 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
18363 * stdlib/stdlib.h (atof): Moved to ...
18364 * include/bits/stdlib-float.h: Here. New file.
18365 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
18366 * stdlib/bits/stdlib-float.h: New file.
18367 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
18369 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
18372 2012-11-02 Joseph Myers <joseph@codesourcery.com>
18374 * conform/conformtest.pl (@headers): Add fenv.h.
18375 * conform/data/fenv.h-data: New file.
18376 * include/fenv.h [_ISOMAC]: Disable all contents of file except
18377 include of <math/fenv.h>.
18379 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
18380 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
18381 && !UNIX98]. Enables tests for XOPEN2K8.
18382 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
18383 POSIX2008]: Likewise.
18385 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
18386 (struct rusage): Do not expect type or its members.
18389 * math/math.h (FP_NAN): Define macro to integer constant usable in
18390 #if and use that to give value to enum constant.
18391 (FP_INFINITE): Likewise.
18392 (FP_ZERO): Likewise.
18393 (FP_SUBNORMAL): Likewise.
18394 (FP_NORMAL): Likewise.
18396 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
18398 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
18399 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
18402 2012-11-02 Roland McGrath <roland@hack.frob.com>
18404 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
18405 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
18406 autoconf-time if not.
18407 * configure.in: Remove AC_PREREQ.
18409 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18411 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
18412 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
18413 of the internal implementation.
18415 2012-11-02 Joseph Myers <joseph@codesourcery.com>
18417 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
18418 except include of <misc/sys/syslog.h>.
18420 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
18422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
18423 function returns with a NULL context exit with zero.
18425 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18427 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
18429 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
18431 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
18432 (run_program_cmd): This.
18433 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
18434 (tst_langinfo): New variable. Use it.
18436 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
18438 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
18439 floating point opcodes.
18441 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18443 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
18446 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
18448 * sysdeps/mach/hurd/powerpc: Remove directory.
18449 * sysdeps/mach/powerpc: Likewise.
18451 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
18453 * scripts/check-local-headers.sh: Ignore c++ headers.
18455 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18457 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
18458 __libc_cleanup_region_start argument.
18460 2012-11-01 Joseph Myers <joseph@codesourcery.com>
18464 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
18465 x * y using scaling, not as x * y + z.
18466 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18467 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18468 * math/libm-test.inc (fma_test): Add more tests.
18469 (fma_test_towardzero): Likewise.
18470 (fma_test_downward): Likewise.
18471 (fma_test_upward): Likewise.
18473 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18475 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
18477 2012-10-31 Joseph Myers <joseph@codesourcery.com>
18479 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
18482 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
18484 * rt/tst-shm.c (worker): Correct checking for mmap failure.
18486 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
18488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18493 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18496 Fix the order of the list for glibc 2.17.
18497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18500 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
18502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18504 2012-10-31 Joseph Myers <joseph@codesourcery.com>
18507 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
18508 for low part of x being zero before using __atanl (y).
18509 * math/libm-test.inc (atan2_test): Add another test.
18511 * manual/install.texi (Configuring and compiling): Document
18512 general use of test-wrapper and test-wrapper-env.
18513 * INSTALL: Regenerated.
18515 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
18516 (__fma): Do not extract and scale down low bits on after-rounding
18517 systems when result rounded to normal precision would have normal
18519 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
18520 (__fmal): Do not extract and scale down low bits on after-rounding
18521 systems when result rounded to normal precision would have normal
18523 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
18524 (__fmal): Do not extract and scale down low bits on after-rounding
18525 systems when result rounded to normal precision would have normal
18527 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
18529 (fma_test): Add more tests.
18530 (fma_test_towardzero): Likewise.
18531 (fma_test_downward): Likewise.
18532 (fma_test_upward): Likewise.
18534 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
18536 * sysdeps/i386/tininess.h: Renamed to ...
18537 * sysdeps/x86/tininess.h: This.
18538 * sysdeps/x86_64/tininess.h: Removed.
18540 2012-10-30 Joseph Myers <joseph@codesourcery.com>
18542 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
18543 input. Use $(build-program-cmd).
18544 ($(objpfx)tst-array1-static.out): Likewise.
18545 ($(objpfx)tst-array2.out): Likewise.
18546 ($(objpfx)tst-array3.out): Likewise.
18547 ($(objpfx)tst-array4.out): Likewise.
18548 ($(objpfx)tst-array5.out): Likewise.
18549 ($(objpfx)tst-array5-static.out): Likewise.
18551 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
18553 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
18556 * nss/nsswitch.h (nss_interface_function): Provide new
18557 macro for use with NSS functions.
18558 * grp/initgroups.c: Use new macro.
18559 * nss/getXXbyYY.c: Likewise.
18560 * nss/getXXbyYY_r.c: Likewise.
18561 * nss/getXXent.c: Likewise.
18562 * nss/getXXent_r.c: Likewise.
18563 * sysdeps/posix/getaddrinfo.c: Likewise.
18565 2012-10-30 Andreas Jaeger <aj@suse.de>
18567 * po/ru.po: Update Russion translation from translation project.
18569 2012-10-30 Joseph Myers <joseph@codesourcery.com>
18573 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
18574 result and shift together with sticky bit instead of replicating
18575 round-to-nearest rounding.
18576 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18577 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18578 * math/libm-test.inc (fma_test): Add more tests. Do not permit
18579 missing underflow exceptions.
18580 (fma_test_towardzero): Add more tests.
18581 (fma_test_downward): Likewise.
18582 (fma_test_upward): Likewise.
18585 * sysdeps/generic/tininess.h: New file.
18586 * sysdeps/i386/tininess.h: Likewise.
18587 * sysdeps/sh/tininess.h: Likewise.
18588 * sysdeps/x86_64/tininess.h: Likewise.
18589 * stdlib/tst-strtod-underflow.c: Likewise.
18590 * stdlib/tst-tininess.c: Likewise.
18591 * stdlib/strtod_l.c: Include <tininess.h>.
18592 (round_and_return): Do not set errno for exact underflow cases.
18593 Force an underflow exception when setting errno for underflow.
18594 Determine underflow based on rounding to normal precision if
18595 TININESS_AFTER_ROUNDING.
18596 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
18597 ERANGE for exact underflow cases.
18598 * stdlib/Makefile (tests): Add tst-tininess and
18599 tst-strtod-underflow.
18600 ($(objpfx)tst-tininess): Use $(link-libm).
18601 ($(objpfx)tst-strtod-underflow): Likewise.
18603 2012-10-30 Andreas Jaeger <aj@suse.de>
18606 * elf/Makefile (tests): Remove conditional for have-initfini-array
18607 since this is now always required and the variable does not exist
18609 (tests-static): Likewise.
18610 (modules-names): Likewise.
18612 * po/eo.po: Add Esperanto translation from translation project.
18614 * elf/tst-array1.c (fini_array): Make writeable so that it can be
18615 merged with constructor/destructor.
18616 (init_array): Likewise.
18617 * elf/tst-array2dep.c (fini_array): Likewise.
18618 (init_array): Likewise.
18620 2012-10-29 Mike Frysinger <vapier@gentoo.org>
18622 * manual/message.texi: Delete @cartouche tags.
18624 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
18626 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
18628 * sysdeps/mach/hurd/fsync.c: Likewise.
18630 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
18631 [_POSIX_REALTIME_SIGNALS]: Change condition to
18632 [_POSIX_REALTIME_SIGNALS > 0].
18634 2012-10-27 Andreas Jaeger <aj@suse.de>
18636 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
18637 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
18638 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
18639 [__WORDSIZE != 64]: Likewise.
18641 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
18643 * iconvdata/tst-table.sh: Remove ${SHELL}.
18644 * iconvdata/tst-tables.sh: Likewise.
18646 2012-10-25 David S. Miller <davem@davemloft.net>
18648 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18649 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
18652 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
18654 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18655 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
18656 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
18659 2012-10-25 Roland McGrath <roland@hack.frob.com>
18661 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18662 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
18665 2012-10-25 Joseph Myers <joseph@codesourcery.com>
18666 Jim Blandy <jimb@codesourcery.com>
18668 * scripts/cross-test-ssh.sh: New file.
18669 * manual/install.texi (Configuring and compiling): Document use of
18671 * INSTALL: Regenerated.
18673 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
18675 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
18678 2012-10-25 Joseph Myers <joseph@codesourcery.com>
18680 * Makeconfig (run-program-prefix): Fix comment.
18682 2012-10-24 Joseph Myers <joseph@codesourcery.com>
18683 Jim Blandy <jimb@codesourcery.com>
18685 * Makeconfig (test-wrapper): New variable,
18686 (test-wrapper-env): Likewise.
18687 [$(cross-compiling) = yes && $(test-wrapper) != ""]
18688 (run-built-tests): Define to yes.
18689 (run-program-prefix): Use $(test-wrapper).
18690 (built-program-cmd): Likewise.
18691 * Rules (make-test-out): Use $(test-wrapper-env) and
18692 $(host-built-program-cmd).
18693 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
18694 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
18696 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
18697 $(test-wrapper-env) to tst-rtld-load-self.sh.
18698 ($(objpfx)order2.out): Use $(test-wrapper).
18699 ($(objpfx)tst-initorder.out): Likewise.
18700 ($(objpfx)tst-initorder2.out): Likewise.
18701 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
18702 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
18703 (test_wrapper_env): New variable. Use it to run ld.so.
18704 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
18705 Use it to run ld.so.
18706 (test_wrapper_env): Likewise.
18707 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
18708 $(test-wrapper) to run-iconv-test.sh.
18709 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
18710 (ICONV): Use $test_wrapper.
18711 * posix/Makefile ($(objpfx)globtest.out): Pass
18712 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
18713 globtest.sh, not $(run-program-prefix).
18714 * posix/globtest.sh (run_via_rtld_prefix): New variable.
18715 (test_wrapper): Likewise.
18716 (test_wrapper_env): Likewise. Use it to run globtest with HOME
18717 set together with run_via_rtld_prefix.
18718 (run_program_prefix): Define in terms of test_wrapper and
18719 run_via_rtld_prefix.
18721 2012-10-24 Roland McGrath <roland@hack.frob.com>
18723 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18724 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18728 * include/time.h: Remove librt_hidden_proto (clock_gettime).
18729 Declare __clock_getres, __clock_gettime, __clock_settime,
18730 __clock_nanosleep, and __clock_getcpuclockid.
18731 * rt/clock_gettime.c: Define __clock_gettime as an alias.
18732 Remove librt_hidden_def (clock_gettime).
18733 * sysdeps/unix/clock_gettime.c: Likewise.
18734 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18735 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18736 * rt/clock_getres.c: Define __clock_getres as an alias.
18737 * sysdeps/posix/clock_getres.c: Likewise.
18738 * rt/clock_settime.c: Define __clock_settime as an alias.
18739 * sysdeps/unix/clock_settime.c: Likewise.
18740 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18741 * sysdeps/unix/clock_nanosleep.c: Likewise.
18742 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18743 * rt/clock-compat.c: New file.
18744 * rt/Makefile (librt-routines): Add clock-compat and move
18745 $(clock-routines) to ...
18746 (routines): ... here, new variable.
18747 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18748 Don't add get_clockfreq here.
18749 * rt/Versions (libc: GLIBC_2.17): New version set.
18750 Add clock_* symbols here.
18751 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
18752 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18753 (GLIBC_2.17): Add clock_* symbols.
18754 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18756 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18765 * NEWS: Mention the move.
18767 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18768 Use __open, __read, __close rather than their public counterparts.
18769 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18770 (__get_clockfreq_via_cpuinfo): Likewise.
18771 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18772 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18774 * config.h.in (HAVE_IFUNC): New #undef.
18775 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18777 * configure: Regenerated.
18779 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18781 * configure.in: Move READELF check to start of file.
18782 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18783 libc_cv_asm_gnu_indirect_function in the process.
18784 * configure: Regenerated.
18786 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18788 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18789 send the output to /dev/null.
18790 (libc_cv_cc_with_libunwind): Likewise.
18791 (libc_cv_as_noexecstack): Likewise.
18792 * configure: Regenerate.
18794 2012-10-24 Joseph Myers <joseph@codesourcery.com>
18796 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18798 * posix/globtest.sh (TMPDIR): Do not set.
18799 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18800 (testout): Likewise.
18802 2012-10-24 Andreas Jaeger <aj@suse.de>
18804 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18805 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18806 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18807 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18808 posix_fadvise64, posix_fallocate64.
18810 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18811 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18812 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18814 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18816 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18818 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18819 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18820 <bits/fcntl-linux.h>.
18821 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18823 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18824 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18825 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18826 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18827 [__WORDSIZE != 64]: Likewise.
18829 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18831 * Makeconfig (run-built-tests): New variable.
18832 * Rules [$(cross-compiling) = yes]: Change condition to
18833 [$(run-built-tests) = no].
18834 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18835 to [$(run-built-tests) = yes].
18836 * elf/Makefile [$(cross-compiling) = no]: Likewise
18837 * grp/Makefile [$(cross-compiling) = no]: Likewise.
18838 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18839 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18840 * intl/Makefile [$(cross-compiling) = no]: Likewise.
18841 * io/Makefile [$(cross-compiling) = no]: Likewise.
18842 * libio/Makefile [$(cross-compiling) = no]: Likewise.
18843 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18844 * misc/Makefile [$(cross-compiling) = no]: Likewise.
18845 * posix/Makefile [$(cross-compiling) = no]: Likewise.
18846 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18847 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18848 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18849 * string/Makefile [$(cross-compiling) = no]: Likewise.
18851 * posix/Makefile ($(objpfx)globtest.out): Pass
18852 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18853 $(rtld-installed-name).
18854 * posix/globtest.sh (elf_objpfx): Remove variable.
18855 (rtld_installed_name): Likewise.
18856 (library_path): Likewise.
18857 (run_program_prefix): New variable. Use for running globtest
18860 2012-10-23 Jim Blandy <jimb@codesourcery.com>
18861 Joseph Myers <joseph@codesourcery.com>
18863 * Makeconfig (host-built-program-cmd): New variable.
18864 * elf/Makefile (tst-stackguard1-ARGS): Use
18865 $(host-built-program-cmd).
18866 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18867 (tst-spawn-ARGS): Likewise.
18868 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18870 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18871 Jim Blandy <jimb@codesourcery.com>
18873 * Makeconfig (run-via-rtld-prefix): New variable.
18874 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18875 (built-program-cmd): Likewise.
18877 2012-10-22 Andreas Jaeger <aj@suse.de>
18879 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18880 __O_RSYNC if it exists, otherwise to O_SYNC.
18882 2012-10-22 Jim Blandy <jimb@codesourcery.com>
18883 Joseph Myers <joseph@codesourcery.com>
18885 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18887 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18889 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18892 2012-10-22 Andreas Jaeger <aj@suse.de>
18894 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18896 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18898 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18899 bits/fcntl-linux.h.
18901 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18902 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18904 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18906 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18909 2012-10-21 Jim Blandy <jimb@codesourcery.com>
18910 Joseph Myers <joseph@codesourcery.com>
18912 * config.make.in (NM): New variable.
18914 2012-10-21 Andreas Jaeger <aj@suse.de>
18916 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18917 definitions and declarations that are provided by
18918 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18920 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18923 * elf/Makefile (tests-static): Add tst-leaks1-static.
18924 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18925 ($(objpfx)tst-leaks1-static): New rule.
18926 ($(objpfx)tst-leaks1-static-mem): Likewise.
18927 (tst-leaks1-static-ENV): New macro.
18928 * elf/dl-open.c (dl_open_worker): Check the main application
18929 only if SHARED is defined.
18930 * elf/tst-leaks1-static.c: New file.
18932 2012-10-20 Andreas Jaeger <aj@suse.de>
18934 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18935 generic values for Linux.
18936 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18937 and declarations that are provided by <bits/fcntl-linux.h> and
18938 include <bits/fcntl-linux.h>.
18939 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18940 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18942 2012-10-20 Roland McGrath <roland@hack.frob.com>
18944 * io/fcntl.h: Move include of <bits/types.h> to the top and
18945 include it unconditionally.
18947 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18949 * wcsmbs/Makefile (tests-ifunc): New variable.
18950 (tests): Add $(tests-ifunc).
18951 * wcsmbs/test-wcschr-ifunc.c: New file.
18952 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18953 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18954 * wcsmbs/test-wcslen-ifunc.c: Likewise.
18955 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18956 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18958 * string/Makefile (tests-ifunc): New variable.
18959 (tests): Add $(tests-ifunc).
18960 * string/test-memccpy.c (TEST_NAME): New macro.
18961 * string/test-memchr.c (TEST_NAME): Likewise.
18962 * string/test-memcmp.c (TEST_NAME): Likewise.
18963 * string/test-memcpy.c (TEST_NAME): Likewise.
18964 * string/test-memmem.c (TEST_NAME): Likewise.
18965 * string/test-memmove.c (TEST_NAME): Likewise.
18966 * string/test-memset.c (TEST_NAME): Likewise.
18967 * string/test-rawmemchr.c (TEST_NAME): Likewise.
18968 * string/test-stpcpy.c (TEST_NAME): Likewise.
18969 * string/test-stpncpy.c (TEST_NAME): Likewise.
18970 * string/test-strcasecmp.c (TEST_NAME): Likewise.
18971 * string/test-strcasestr.c (TEST_NAME): Likewise.
18972 * string/test-strcat.c (TEST_NAME): Likewise.
18973 * string/test-strchr.c (TEST_NAME): Likewise.
18974 * string/test-strcmp.c(TEST_NAME): Likewise.
18975 * string/test-strcpy.c (TEST_NAME): Likewise.
18976 * string/test-strcspn.c (TEST_NAME): Likewise.
18977 * string/test-strlen.c (TEST_NAME): Likewise.
18978 * string/test-strncasecmp.c (TEST_NAME): Likewise.
18979 * string/test-strncmp.c (TEST_NAME): Likewise.
18980 * string/test-strncpy.c (TEST_NAME): Likewise.
18981 * string/test-strnlen.c (TEST_NAME): Likewise.
18982 * string/test-strpbrk.c (TEST_NAME): Likewise.
18983 * string/test-strrchr.c (TEST_NAME): Likewise.
18984 * string/test-strspn.c (TEST_NAME): Likewise.
18985 * string/test-strstr.c (TEST_NAME): Likewise.
18986 * string/test-bcopy-ifunc.c: New file.
18987 * string/test-bzero-ifunc.c: Likewise.
18988 * string/test-memccpy-ifunc.c: Likewise.
18989 * string/test-memchr-ifunc.c: Likewise.
18990 * string/test-memcmp-ifunc.c: Likewise.
18991 * string/test-memcpy-ifunc.c: Likewise.
18992 * string/test-memmem-ifunc.c: Likewise.
18993 * string/test-memmove-ifunc.c: Likewise.
18994 * string/test-mempcpy-ifunc.c: Likewise.
18995 * string/test-memset-ifunc.c: Likewise.
18996 * string/test-rawmemchr-ifunc.c: Likewise.
18997 * string/test-stpcpy-ifunc.c: Likewise.
18998 * string/test-stpncpy-ifunc.c: Likewise.
18999 * string/test-strcasecmp-ifunc.c: Likewise.
19000 * string/test-strcasestr-ifunc.c: Likewise.
19001 * string/test-strcat-ifunc.c: Likewise.
19002 * string/test-strchr-ifunc.c: Likewise.
19003 * string/test-strchrnul-ifunc.c: Likewise.
19004 * string/test-strcmp-ifunc.c: Likewise.
19005 * string/test-strcpy-ifunc.c: Likewise.
19006 * string/test-strcspn-ifunc.c: Likewise.
19007 * string/test-strlen-ifunc.c: Likewise.
19008 * string/test-strncasecmp-ifunc.c: Likewise.
19009 * string/test-strncat-ifunc.c: Likewise.
19010 * string/test-strncmp-ifunc.c: Likewise.
19011 * string/test-strncpy-ifunc.c: Likewise.
19012 * string/test-strnlen-ifunc.c: Likewise.
19013 * string/test-strpbrk-ifunc.c: Likewise.
19014 * string/test-strrchr-ifunc.c: Likewise.
19015 * string/test-strspn-ifunc.c: Likewise.
19016 * string/test-strstr-ifunc.c: Likewise.
19018 * debug/Makefile (tests-ifunc): New variable.
19019 (tests): Add $(tests-ifunc).
19020 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19021 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19022 * debug/test-stpcpy_chk-ifunc.c: New file.
19023 * debug/test-strcpy_chk-ifunc.c: Likewise.
19025 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19028 * elf/dl-load.c (open_verify): Retry read if the entire ELF
19029 header is not read in.
19031 2012-10-19 Joseph Myers <joseph@codesourcery.com>
19033 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
19034 script to $(SHELL) as $<. Pass $(common-objpfx) to script
19035 directly. Pass built executable to script as
19036 $(built-program-cmd).
19037 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
19038 $testprogram without using LD_LIBRARY_PATH and $ldso.
19040 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
19041 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
19042 $(rtld-installed-name).
19043 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
19044 (rtld_installed_name): Likewise.
19045 (library_path): Likewise.
19046 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
19047 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
19048 $(run-program-prefix) to tst-tables.sh.
19049 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
19050 it to run tst-table-from and tst-table-to.
19051 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
19052 Pass it to tst-table.sh.
19053 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
19054 $(run-program-prefix) to tst-gettext.sh.
19055 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
19057 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
19059 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
19060 to run tst-gettext.
19061 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
19062 to run tst-gettext2.
19063 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
19064 to run tst-translit.
19065 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
19066 $(run-program-prefix) to tst-mtrace.sh.
19067 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
19069 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
19070 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
19071 $(rtld-installed-name).
19072 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
19073 (rtld_installed_name): Likewise.
19074 (run_program_prefix): New variable. Use it to run wordexp-test.
19076 * Makeconfig (ARCH): Remove all definitions.
19077 (machine): Likewise.
19078 [ARCH]: Remove conditional code.
19079 [!objdir]: Give error.
19080 [!objdir] (objpfx): Remove.
19081 [!objdir] (common-objpfx): Likewise.
19082 [!objdir] (common-objdir): Likewise.
19083 * configure.in (config_makefile): Remove. Hardcode Makefile in
19084 AC_CONFIG_FILES call.
19085 * configure: Regenerated.
19088 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19090 (testout): Likewise.
19092 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
19093 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
19094 $(rtld-installed-name).
19095 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
19096 (rtld_installed_name): Likwise.
19097 (runit): Remove function.
19098 (run_getconf): New variable, Use it for running getconf binary.
19100 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
19103 * string/test-memmem.c (check_result): New function.
19104 (do_one_test): Use it.
19105 (check1): New function.
19106 (test_main): Use it.
19108 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
19110 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
19112 2012-10-18 Joseph Myers <joseph@codesourcery.com>
19114 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
19115 (_G_LSEEK64): Likewise.
19116 (_G_MMAP64): Likewise.
19117 (_G_FSTAT64): Likewise.
19118 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
19119 (_G_LSEEK64): Likewise.
19120 (_G_MMAP64): Likewise.
19121 (_G_FSTAT64): Likewise.
19122 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
19123 unconditional. Call __mmap64 directly.
19124 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
19125 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
19126 __lseek64 directly.
19127 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
19128 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
19130 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
19131 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
19132 __lseek64 directly.
19133 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
19134 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
19135 __lseek64 directly.
19136 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
19137 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
19138 __lseek64 directly.
19139 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
19140 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
19141 __fxstat64 directly.
19142 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
19143 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
19145 (freopen64) [!_G_OPEN64]: Remove conditional code.
19146 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
19148 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
19149 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
19151 (ftello64) [!_G_LSEEK64]: Remove conditional code.
19152 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
19154 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19155 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
19157 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
19158 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
19160 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19161 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
19163 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19164 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
19166 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19168 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19171 * manual/memory.texi (Malloc Tunable Parameters): Add note
19172 about free list pointers overwriting some perturb bytes.
19173 Wording suggested by Roland McGrath.
19175 2012-10-17 Joseph Myers <joseph@codesourcery.com>
19177 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
19178 (lgamma_test): Likewise.
19179 (tgamma_test): Likewise.
19181 2012-10-16 Florian Weimer <fweimer@redhat.com>
19184 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
19185 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
19187 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
19189 * NEWS: Mention BZ #14716.
19190 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
19191 when removing AVAILABLE1_USES_J macro.
19193 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
19195 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
19196 (__bswap_64): __uint64_t for unsigned 64-bit int.
19198 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
19200 * include/string.h (memmem): Declare libc hidden alias.
19201 * string/memmem.c (memmem): Define libc hidden alias.
19202 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
19203 __read, __close instead of open, read, close.
19205 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
19207 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
19208 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
19210 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
19211 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
19212 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
19214 (__rawmemchr_sse2): Likewise.
19215 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
19216 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
19217 (__strchr_sse2): Likewise.
19218 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
19219 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
19220 (__strcasecmp_sse2): Likewise.
19221 (__strncasecmp_sse2): Likewise.
19222 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
19223 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
19224 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
19225 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
19226 (__strrchr_sse2): Likewise.
19227 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
19229 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19230 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19231 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19232 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19233 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19234 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19235 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19236 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19237 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
19238 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
19239 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
19240 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
19241 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
19242 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19243 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19244 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19245 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19246 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19247 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
19248 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
19249 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
19250 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
19251 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
19252 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19253 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
19254 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19255 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19256 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19257 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19258 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19260 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
19262 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
19263 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
19264 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
19265 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
19267 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
19269 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
19270 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
19271 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
19272 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
19274 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19275 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19276 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19277 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19278 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19279 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19280 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19281 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19282 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19283 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19284 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19285 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19286 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19287 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
19288 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
19289 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19290 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
19291 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
19292 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19293 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19294 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19295 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19296 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19297 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19298 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19299 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
19300 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
19301 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
19302 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
19303 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19304 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
19305 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19306 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19307 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
19308 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19309 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19310 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19311 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19312 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19313 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19314 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
19316 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
19317 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
19318 * include/ifunc-impl-list.h: New file.
19319 * misc/ifunc-impl-list.c: Likewise.
19320 * misc/Makefile (routines): Add ifunc-impl-list.
19321 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
19322 * string/test-string.h: Include <ifunc-impl-list.h>.
19323 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
19324 impl_array): New variables.
19325 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
19327 (test_init): Call __libc_ifunc_impl_list to initialize
19328 func_list if TEST_IFUNC and TEST_NAME are defined.
19330 * string/Makefile (strop-tests): Add bcopy and bzero.
19331 * string/test-bcopy.c: New file.
19332 * string/test-bzero.c: Likewise.
19333 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
19335 * string/test-memset.c: Support bzero test if TEST_BZERO is
19337 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
19339 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
19341 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
19344 2012-10-10 Joseph Myers <joseph@codesourcery.com>
19346 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
19347 * configure: Regenerated.
19349 * Makeconfig (+link-static-before-libc): Don't include
19350 $(link-static-libc).
19352 * libio/libio.h (_IO_pos_t): Remove.
19354 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
19356 * NEWS: Add note about FIPS mode. Wording suggested by Roland
19359 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
19361 * crypt/crypt-entry.c: Include fips-private.h.
19362 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
19363 * crypt/md5c-test.c (main): Tolerate disabled MD5.
19364 * sysdeps/unix/sysv/linux/fips-private.h: New file.
19365 * sysdeps/generic/fips-private.h: New file, dummy fallback.
19367 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
19369 * crypt/crypt-private.h: Include stdbool.h.
19370 (_ufc_setup_salt_r): Return bool.
19371 * crypt/crypt-entry.c: Include errno.h.
19372 (__crypt_r): Return NULL with EINVAL for bad salt.
19373 * crypt/crypt_util.c (bad_for_salt): New.
19374 (_ufc_setup_salt_r): Check that salt is long enough and within
19375 the specified alphabet.
19376 * crypt/badsalttest.c: New file.
19377 * crypt/Makefile (tests): Add it.
19378 ($(objpfx)badsalttest): New.
19380 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
19382 * NEWS: Add entry for BZ #14602.
19384 2012-10-09 Joseph Myers <joseph@codesourcery.com>
19386 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
19388 * math/libm-test.inc: Update comment listing what functions and
19390 (isgreater_test): New function.
19391 (isgreaterequal_test): Likewise.
19392 (isless_test): Likewise.
19393 (islessequal_test): Likewise.
19394 (islessgreater_test): Likewise.
19395 (isunordered_test): Likewise.
19396 (main): Call the new functions.
19398 2012-10-09 Roland McGrath <roland@hack.frob.com>
19400 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
19401 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
19402 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
19403 * sysdeps/i386/configure: Regenerated.
19404 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
19405 * sysdeps/mach/configure: Regenerated.
19406 * sysdeps/mach/hurd/configure: Regenerated.
19407 * sysdeps/powerpc/configure: Regenerated.
19408 * sysdeps/powerpc/powerpc32/configure: Regenerated.
19409 * sysdeps/powerpc/powerpc64/configure: Regenerated.
19410 * sysdeps/s390/s390-32/configure: Regenerated.
19411 * sysdeps/s390/s390-64/configure: Regenerated.
19412 * sysdeps/sh/configure: Regenerated.
19413 * sysdeps/sparc/configure: Regenerated.
19414 * sysdeps/unix/sysv/linux/configure: Regenerated.
19415 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19416 * sysdeps/x86_64/configure: Regenerated.
19418 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
19419 defined. Don't check if MAP is NULL.
19421 2012-10-09 Joseph Myers <joseph@codesourcery.com>
19423 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
19424 (_G_stat64): Likewise.
19425 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
19426 (_G_stat64): Likewise.
19427 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
19428 instead of struct _G_stat64.
19429 * libio/fileops.c (mmap_remap_check): Likewise.
19430 (decide_maybe_mmap): Likewise.
19431 (_IO_new_file_seekoff): Likewise.
19432 (_IO_file_stat): Likewise.
19433 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
19435 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
19436 instead of struct _G_stat64.
19437 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19439 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
19442 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19444 (CHECK_EOL): New macro.
19445 (two_way_short_needle): Check beginning of haystack for EOL. Use
19447 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19448 Replace with CHECK_EOL.
19449 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19450 Replace with CHECK_EOL.
19452 2012-10-08 Joseph Myers <joseph@codesourcery.com>
19454 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
19456 * math/libm-test.inc: Update comment listing what functions and
19458 (finite_test): New function.
19459 (isinf_test): Likewise.
19460 (isnan_test): Likewise.
19461 (fpclassify_test): Test subnormal input.
19462 (isfinite_test): Likewise.
19463 (isnormal_test): Likewise.
19464 (main): Call the new functions.
19466 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
19469 * Makerules (%.dynsym): Force C locale when running
19470 $(OBJDUMP) --dynamic-syms.
19472 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
19474 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
19477 2012-10-06 David S. Miller <davem@davemloft.net>
19479 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
19480 upper 32-bits of the length value in %o2 since we use branch-on-register
19481 tests which consider the entire 64-bit register.
19483 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
19485 * string/test-strstr.c (check2): Add a test for page boundary.
19487 2012-10-05 David S. Miller <davem@davemloft.net>
19489 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
19490 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
19492 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19494 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19495 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
19496 and bzero when HWCAP_SPARC_CRYPTO is present.
19498 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
19501 * string/test-strstr.c (check2): New function.
19502 (test_main): Call check2.
19504 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
19506 * string/bug-strcasestr1.c (do_test): Moved to ...
19507 * string/test-strcasestr.c (check1): Here. New function.
19508 (do_one_test): Break out result checking code into ...
19509 (check_result): This. New function.
19510 (do_one_test): Call check_result.
19511 (test_main): Call check1.
19512 * string/bug-strchr1.c (do_test): Moved to ...
19513 * string/test-strchr.c (check1): Here. New function.
19514 (do_one_test): Break out result checking code into ...
19515 (check_result): This. New function.
19516 (do_one_test): Call check_result.
19517 (test_main): Call check1.
19518 * string/bug-strstr1.c (main): Moved to ...
19519 * string/test-strstr.c (check1): Here. New function.
19520 (do_one_test): Break out result checking code into ...
19521 (check_result): This. New function.
19522 (do_one_test): Call check_result.
19523 (test_main): Call check1.
19524 * string/bug-strcasestr1.c: Removed.
19525 * string/bug-strchr1.c: Likewise.
19526 * string/bug-strstr1.c: Likewise.
19528 * elf/Makefile (dl-routines): Add hwcaps.
19529 * elf/dl-support.c (_dl_important_hwcaps): Removed.
19530 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
19531 (_dl_important_hwcaps): Moved to ...
19532 * elf/dl-hwcaps.c: Here. New file.
19533 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
19536 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
19537 if IS_IN_rtld isn't defined.
19539 * elf/dl-support.c (_dl_sysinfo_map): New.
19540 Include "get-dynamic-info.h" and "setup-vdso.h".
19541 (_dl_non_dynamic_init): Call setup_vdso.
19542 * elf/dynamic-link.h: Don't include <assert.h>.
19543 (elf_get_dynamic_info): Moved to ...
19544 * elf/get-dynamic-info.h: Here. New file.
19545 * elf/dynamic-link.h: Include "get-dynamic-info.h".
19546 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
19547 * elf/setup-vdso.h: Here. New file.
19548 * elf/rtld.c: Include "setup-vdso.h".
19549 (dl_main): Call setup_vdso.
19551 2012-10-05 Joseph Myers <joseph@codesourcery.com>
19553 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
19554 creal in comment listing functions tested. List finite, isinf,
19555 isnan, isless, islessequal, isgreater, isgreaterequal,
19556 islessgreater, isunordered, lgamma_r and pow10 as functions and
19557 macros not tested. Mention which functions not tested are aliases
19558 for other functions. Fix typo. Note that signs of NaNs are not
19561 * scripts/config.guess: Update from config.git.
19562 * scripts/config.sub: Likewise.
19564 2012-10-04 Roland McGrath <roland@hack.frob.com>
19566 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
19567 * misc/madvise.c (madvise): Renamed to __madvise.
19568 Make madvise a weak alias.
19569 * include/sys/mman.h: Declare __madvise.
19570 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
19571 * sysdeps/unix/syscalls.list
19572 (madvise): Make __madvise the strong name, and madvise a weak alias.
19573 * sysdeps/unix/sysv/linux/syscalls.list
19574 (madvise, mmap): Remove redundant entries.
19575 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
19576 * malloc/malloc.c (mtrim): Likewise.
19577 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
19579 2012-10-03 Roland McGrath <roland@hack.frob.com>
19581 * sysdeps/mach/hurd/dl-cache.c: File removed.
19582 * config.h.in (USE_LDCONFIG): New #undef.
19583 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
19584 * configure: Regenerated.
19585 * elf/Makefile (dl-routines): Add dl-cache only under
19586 [$(use-ldconfig) = yes].
19587 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
19588 cache on [USE_LDCONFIG].
19589 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
19591 * elf/rtld.c (dl_main): Likewise.
19593 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
19595 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
19596 _SC_LEVEL4_CACHE_LINESIZE.
19598 2012-10-03 Roland McGrath <roland@hack.frob.com>
19600 * sysdeps/unix/bsd/confstr.h: File removed.
19602 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
19604 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
19607 2012-10-02 Roland McGrath <roland@hack.frob.com>
19609 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
19610 Make 'mapoff' field ElfW(Off) rather than off_t.
19612 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
19614 * nscd/Makefile: Remove nscd-cflags and all its users.
19615 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
19616 (CFLAGS-nonlib): Add compiler flags for nscd modules.
19619 * malloc.c (malloc_printerr): Clarify error message.
19621 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
19624 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19625 Set bit_FMA_Usable if FMA is supported.
19626 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
19628 (bit_FMA4_Usable): Updated.
19629 (index_FMA_Usable): New macro.
19630 (CPUID_FMA): Likewise
19631 (HAS_FMA): Defined with bit_FMA_Usable.
19633 2012-10-01 Roland McGrath <roland@hack.frob.com>
19635 * bits/types.h (__swblk_t): Type removed.
19636 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
19637 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
19638 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19639 (__SWBLK_T_TYPE): Likewise.
19640 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19641 (__SWBLK_T_TYPE): Likewise.
19642 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19643 (__SWBLK_T_TYPE): Likewise.
19644 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19645 (__SWBLK_T_TYPE): Likewise.
19647 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
19648 Honza Horak <hhorak@redhat.com>
19650 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
19651 (xdr_mapname): Use YPMAXMAP as maxsize.
19652 (xdr_peername): Use YPMAXPEER as maxsize.
19653 (xdr_keydat): Use YPAXRECORD as maxsize.
19654 (xdr_valdat): Use YPMAXRECORD as maxsize.
19656 2012-10-01 Roland McGrath <roland@hack.frob.com>
19658 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
19660 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
19661 * csu/init-first.c: ... here.
19662 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
19663 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19664 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19665 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19666 * sysdeps/i386/init-first.c: File removed.
19667 * sysdeps/sh/init-first.c: File removed.
19669 2012-10-01 Joseph Myers <joseph@codesourcery.com>
19672 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
19673 if x * y might underflow to zero and z is zero.
19674 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19675 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19676 * math/libm-test.inc (min_subnorm_value): New variable.
19677 (fma_test): Add more tests.
19678 (fma_test_towardzero): Likewise.
19679 (fma_test_downward): Likewise
19680 (fma_test_upward): Likewise.
19681 (initialize): Set min_subnorm_value.
19683 2012-09-29 Joseph Myers <joseph@codesourcery.com>
19686 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
19688 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
19689 mode for addition resulting in exact zero.
19690 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
19691 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
19693 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19694 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19695 * math/libm-test.inc (fma_test): Add more tests.
19696 (fma_test_towardzero): New function.
19697 (fma_test_downward): Likewise.
19698 (fma_test_upward): Likewise.
19699 (main): Call the new functions.
19701 2012-09-28 David S. Miller <davem@davemloft.net>
19703 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
19705 2012-09-28 Roland McGrath <roland@hack.frob.com>
19707 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19708 instead of SIGALRM.
19710 * sysdeps/gnu/_G_config.h: Moved to ...
19711 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
19712 * sysdeps/mach/hurd/_G_config.h: Moved to ...
19713 * sysdeps/generic/_G_config.h: ... here.
19715 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
19717 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19719 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19720 Conditionalize target on [libnss_test1.so-version].
19722 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19724 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19725 (elfobjdir): Move out of conditionals.
19727 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19728 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19729 (__nss_lookup_function): Conditionalize label remove_from_tree on
19730 [!DO_STATIC_NSS || SHARED], matching its only use.
19732 2012-09-28 David S. Miller <davem@davemloft.net>
19734 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19735 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19737 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19739 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19740 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19741 when HWCAP_SPARC_CRYPTO is present.
19743 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19745 * io/tst-mknodat.c: Create a FIFO instead of a socket.
19747 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
19750 * stdio-common/vfprintf.c (process_string_arg): Revert
19753 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
19755 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19757 * stdio-common/tst-sprintf.c: Include <locale.h>
19758 (main): Test sprintf's handling of incomplete multibyte
19761 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
19763 * elf/dl-runtime.c (VERSYMIDX): Removed.
19764 * elf/dl-version.c (VERSYMIDX): Likewise.
19765 * elf/do-rel.h (VERSYMIDX): Likewise.
19766 (VALIDX): Likewise.
19767 * elf/dynamic-link.h (VERSYMIDX): Likewise.
19768 * elf/rtld.c (VALIDX): Likewise.
19769 (ADDRIDX): Likewise.
19770 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19771 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19772 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
19773 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19774 (VALIDX): Likewise.
19775 (ADDRIDX): Likewise.
19777 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19779 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19781 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
19784 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19786 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19787 addresses are in the same scope as 192.0.2/24.
19788 * posix/gai.conf: Document new scope table defaults.
19790 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19793 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19794 for ftell. Compute offsets from write pointers instead.
19795 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19797 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19800 * libio/Makefile (tests): New test case tst-fseek.
19801 * libio/tst-fseek.c: New test case to verify that fseek/ftell
19802 combination works in wide mode.
19803 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19804 state when the external buffer state changes.
19806 2012-09-27 David S. Miller <davem@davemloft.net>
19809 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19810 pass reloc->r_addend in as the 'high' argument to
19811 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19813 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19815 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19817 * rt/tst-aio2.c: Include <pthread.h>.
19818 * rt/tst-aio3.c: Likewise.
19820 2012-09-27 Steve Ellcey <sellcey@mips.com>
19822 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19824 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
19826 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19827 contents on [SHARED].
19829 2012-09-26 Marek Polacek <polacek@redhat.com>
19833 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19834 for C++ and GCC <4.3 as well as for non GCC compilers.
19836 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19838 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19840 2012-09-25 Roland McGrath <roland@hack.frob.com>
19842 * Makefile.in (all, install): Declare with .PHONY.
19843 Reported by Michael Hope <michael.hope@linaro.org>.
19845 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19847 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19848 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19850 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19852 (sydep_routines): Add the new and the internal functions.
19853 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19854 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19856 (GLIBC_2.17): Add the new function.
19857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19858 (GLIBC_2.17): Likewise.
19859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19860 (GLIBC_2.17): Likewise.
19861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19862 (GLIBC_2.17): Likewise.
19863 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19865 2012-09-25 Alan Modra <amodra@gmail.com>
19867 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19868 Add release barrier before setting once_control to say
19869 initialisation is done. Add hints on lwarx. Use macro in
19871 (clear_once_control): Add release barrier.
19873 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19876 * math/s_clog.c (__clog): Handle more values close to |z| = 1
19878 * math/s_clog10.c (__clog10): Likewise.
19879 * math/s_clog10f.c (__clog10f): Likewise.
19880 * math/s_clog10l.c (__clog10l): Likewise.
19881 * math/s_clogf.c (__clogf): Likewise.
19882 * math/s_clogl.c (__clogl): Likewise.
19883 * math/Makefile (libm-calls): Add x2y2m1.
19884 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19885 (__x2y2m1): Likewise.
19886 (__x2y2m1l): Likewise.
19887 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19888 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19889 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19890 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19891 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19892 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19893 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19894 * sysdeps/i386/fpu/libm-test-ulps: Update.
19895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19898 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19899 int as type of variable DEPTH.
19900 (glob): Use size_t instead of int as type of variables NEWCOUNT
19903 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19905 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19906 Add s_sincosf-sse2.
19907 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19908 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19909 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19910 macros for using routine as __sincosf_ia32.
19911 Use macro for function declaration and weak_alias.
19912 * sysdeps/i386/fpu/libm-test-ulps: Update.
19914 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19915 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19917 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19918 subnormal argument.
19919 * math/s_cexpf.c (__cexpf): Likewise.
19920 * math/s_csinf.c (__csinf): Likewise.
19921 * math/s_csinhf.c (__csinhf): Likewise.
19922 * math/s_ctanf.c (__ctanf): Likewise.
19923 * math/s_ctanhf.c (__ctanhf): Likewise.
19924 * math/s_ccosh.c (__ccoshf): Likewise.
19925 * math/s_cexp.c (__cexpl): Likewise.
19926 * math/s_csin.c (__csin): Likewise.
19927 * math/s_csinh.c (__csinh): Likewise.
19928 * math/s_ctan.c (__ctan): Likewise.
19929 * math/s_ctanh.c (ctanh): Likewise.
19930 * math/s_ccoshl.c (__ccoshl): Likewise.
19931 * math/s_cexpl.c (__cexpl): Likewise.
19932 * math/s_csinl.c (__csinl): Likewise.
19933 * math/s_csinhl.c (__csinhl): Likewise.
19934 * math/s_ctanl.c (__ctanl): Likewise.
19935 * math/s_ctanhl.c (__ctanhl): Likewise.
19937 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19939 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19940 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19941 (_IO_off_t): Define to __off_t, not _G_off_t.
19942 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19943 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19944 (_IO_wint_t): Define to wint_t, not _G_wint_t.
19945 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19946 type of __dummy and __dummy2 fields.
19947 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19948 (_G_ssize_t): Likewise.
19949 (_G_off_t): Likewise.
19950 (_G_pid_t): Likewise.
19951 (_G_uid_t): Likewise.
19952 (_G_wchar_t): Likewise.
19953 (_G_wint_t): Likewise.
19954 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19955 (_G_ssize_t): Likewise.
19956 (_G_off_t): Likewise.
19957 (_G_pid_t): Likewise.
19958 (_G_uid_t): Likewise.
19959 (_G_wchar_t): Likewise.
19960 (_G_wint_t): Likewise.
19961 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19962 (_G_ssize_t): Likewise.
19963 (_G_off_t): Likewise.
19964 (_G_pid_t): Likewise.
19965 (_G_uid_t): Likewise.
19966 (_G_wchar_t): Likewise.
19967 (_G_wint_t): Likewise.
19969 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19971 * malloc/arena.c: Include malloc-sysdep.h.
19972 (shrink_heap): Use check_may_shrink_heap to decide if madvise
19973 is sufficient to shrink the heap or an unmap is needed.
19974 * sysdeps/generic/malloc-sysdep.h: New file. Define
19975 new function check_may_shrink_heap.
19976 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
19977 new function check_may_shrink_heap.
19979 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19981 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19984 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
19986 * catgets/test-gencat.sh: Add "set -e".
19987 * elf/tst-pathopt.sh: Likewise.
19988 * grp/tst_fgetgrent.sh: Likewise.
19989 * iconvdata/run-iconv-test.sh: Likewise.
19990 * intl/tst-gettext.sh: Likewise.
19991 * intl/tst-gettext2.sh: Likewise.
19992 * intl/tst-gettext4.sh: Likewise.
19993 * intl/tst-gettext6.sh: Likewise.
19994 * intl/tst-translit.sh: Likewise.
19995 * io/ftwtest-sh: Likewise.
19996 * libio/test-freopen.sh: Likewise.
19997 * malloc/tst-mtrace.sh: Likewise.
19998 * posix/globtest.sh: Likewise.
19999 * posix/tst-getconf.sh: Likewise.
20000 * posix/wordexp-tst.sh: Likewise.
20001 * stdio-common/tst-printf.sh: Likewise.
20002 * stdio-common/tst-unbputc.sh: Likewise.
20003 * stdlib/tst-fmtmsg.sh: Likewise.
20004 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20005 * catgets/Makefile: Do not specify -e option when running
20006 testsuite shell scripts.
20007 * elf/Makefile: Likewise.
20008 * grp/Makefile: Likewise.
20009 * iconvdata/Makefile: Likewise.
20010 * intl/Makefile: Likewise.
20011 * io/Makefile: Likewise.
20012 * libio/Makefile: Likewise.
20013 * malloc/Makefile: Likewise.
20014 * posix/Makefile: Likewise.
20015 * stdio-common/Makefile: Likewise.
20016 * stdlib/Makefile: Likewise.
20017 * sysdeps/x86_64/Makefile: Likewise.
20019 * io/ftwtest-sh: Add copyright header.
20020 * posix/globtest.sh: Likewise.
20021 * posix/tst-getconf.sh: Likewise.
20022 * posix/wordexp-tst.sh: Likewise.
20023 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20025 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
20028 * Makeconfig (+link): Defined as $(+link-static) if
20029 $(build-shared) isn't yes.
20030 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20032 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20034 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20037 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20038 new chunk size with MALLOC_ALIGN_MASK.
20040 2012-09-24 Joseph Myers <joseph@codesourcery.com>
20043 * stdio-common/printf_fphex.c: Include <stdbool.h> and
20045 (__printf_fphex): Determine rounding using get_rounding_mode and
20047 * stdio-common/tst-printf-round.c (struct hex_test): New
20049 (hex_tests): New variable.
20050 (test_hex_in_one_mode): New function.
20051 (do_test): Also run tests for hex float output.
20053 2012-09-21 Joseph Myers <joseph@codesourcery.com>
20055 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20056 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20057 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
20058 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20059 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20060 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
20061 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20062 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20064 2012-09-20 Joseph Myers <joseph@codesourcery.com>
20066 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
20067 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
20068 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
20069 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
20071 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
20074 * elf/rtld.c (dl_main): Limit the check for self loading to normal
20076 * elf/tst-rtld-load-self.sh: New test.
20077 * elf/Makefile: Run it.
20079 2012-09-18 Joseph Myers <joseph@codesourcery.com>
20081 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
20082 (tst-writev-ENV): Remove.
20083 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
20085 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
20087 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
20089 2012-09-17 Joseph Myers <joseph@codesourcery.com>
20091 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
20093 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
20095 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
20096 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
20097 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
20100 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
20103 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
20104 * config.make.in (have-cpp-asm-debuginfo): Removed.
20105 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
20106 * configure: Regenerated.
20108 2012-09-14 Joseph Myers <joseph@codesourcery.com>
20111 * stdio-common/printf_fp.c: Include <stdbool.h> and
20113 (___printf_fp): Determine rounding using get_rounding_mode and
20115 * stdio-common/tst-printf-round.c: New file.
20116 * stdio-common/Makefile (tests): Add tst-printf-round.
20117 (link-libm): New variable.
20118 ($(objpfx)tst-printf-round): Depend in $(link-libm).
20120 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
20123 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
20124 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
20126 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
20129 2012-09-13 Joseph Myers <joseph@codesourcery.com>
20131 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
20132 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20133 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20134 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20136 2012-09-12 Joseph Myers <joseph@codesourcery.com>
20139 * include/rounding-mode.h: New file.
20140 * sysdeps/generic/get-rounding-mode.h: Likewise.
20141 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
20142 * stdlib/strtod_l.c: Include <rounding-mode.h>.
20143 (MAX_VALUE): New macro.
20144 (MIN_VALUE): Likewise.
20145 (overflow_value): New function.
20146 (underflow_value): Likewise.
20147 (round_and_return): Use overflow_value and underflow_value to
20148 determine return values in overflow and underflow cases. Use
20149 round_away to determine rounding depending on rounding mode.
20150 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
20151 determine return values in overflow and underflow cases.
20152 * stdlib/tst-strtod-round.c: Include <fenv.h>.
20153 (struct test_results): New structure.
20154 (struct test): Use struct test_results to store expected results
20155 for all rounding modes.
20156 (TEST): Include expected results for all rounding modes.
20157 (test_in_one_mode): New function.
20158 (do_test): Use test_in_one_mode to compute and check results.
20159 Check results for all rounding modes.
20160 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
20163 2012-12-09 Allan McRae <allan@archlinux.org>
20165 * sysdeps/i386/fpu/libm-test-ulps: Update
20167 2012-09-11 Joseph Myers <joseph@codesourcery.com>
20169 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
20170 (_G_int32_t): Likewise.
20171 (_G_uint16_t): Likewise.
20172 (_G_uint32_t): Likewise.
20173 (_G_HAVE_BOOL): Likewise.
20174 (_G_HAVE_ATEXIT): Likewise.
20175 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20176 (_G_HAVE_IO_FILE_OPEN): Likewise.
20177 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
20178 (_G_int32_t): Likewise.
20179 (_G_uint16_t): Likewise.
20180 (_G_uint32_t): Likewise.
20181 (_G_HAVE_BOOL): Likewise.
20182 (_G_HAVE_ATEXIT): Likewise.
20183 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20184 (_G_HAVE_IO_FILE_OPEN): Likewise.
20185 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
20186 (_G_int32_t): Likewise.
20187 (_G_uint16_t): Likewise.
20188 (_G_uint32_t): Likewise.
20189 (_G_HAVE_BOOL): Likewise.
20190 (_G_HAVE_ATEXIT): Likewise.
20191 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20192 (_G_HAVE_IO_FILE_OPEN): Likewise.
20194 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
20196 * csu/libc-tls.c: Update copyright years.
20198 2012-09-10 Joseph Myers <joseph@codesourcery.com>
20200 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
20201 [!_G_USING_THUNKS]: Remove conditional code.
20202 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
20203 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
20205 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
20206 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
20207 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20208 (_G_VTABLE_LABEL_PREFIX): Likewise.
20209 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20210 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20211 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20212 (_G_VTABLE_LABEL_PREFIX): Likewise.
20213 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20214 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20215 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20216 (_G_VTABLE_LABEL_PREFIX): Likewise.
20217 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20219 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
20221 * libio/Makefile: Include ../Makeconfig before tests.
20222 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
20223 only if $(build-shared) is yes.
20225 * iconv/gconv_db.c: Update copyright years.
20227 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20229 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
20230 unwind info if defined PIC. Fix special cases description.
20231 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
20233 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
20235 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
20237 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
20239 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
20241 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
20244 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
20245 (LDLIBS-tst-chk4): This.
20246 (LDFLAGS-tst-chk5): Renamed to ...
20247 (LDLIBS-tst-chk5): This.
20248 (LDFLAGS-tst-chk6): Renamed to ...
20249 (LDLIBS-tst-chk6): This.
20250 (LDFLAGS-tst-lfschk4): Renamed to ...
20251 (LDLIBS-tst-lfschk4): This.
20252 (LDFLAGS-tst-lfschk5): Renamed to ...
20253 (LDLIBS-tst-lfschk5): This.
20254 (LDFLAGS-tst-lfschk6): Renamed to ...
20255 (LDLIBS-tst-lfschk6): This.
20257 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
20258 on $(common-objpfx)soversions.mk.
20260 2012-09-07 Joseph Myers <joseph@codesourcery.com>
20263 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
20266 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20268 * malloc/arena.c (arena_get_retry): New function that gets
20269 another arena for the caller to try its request on.
20270 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
20271 current arena cannot fulfill the request.
20272 (__libc_memalign): Likewise.
20273 (__libc_memalign): Likewise.
20274 (__libc_pvalloc): Likewise.
20275 (__libc_calloc): Likewise.
20277 2012-09-05 John Tobey <john.tobey@gmail.com>
20280 * manual/arith.texi (Operations on Complex): Fix description
20281 of carg branch cut.
20283 2012-09-06 Joseph Myers <joseph@codesourcery.com>
20286 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
20290 * manual/memory.texi (Memory): Make order of menu items match
20293 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20295 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
20296 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
20297 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
20299 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20301 * csu/libc-tls.c (static_dtv): Renamed to ...
20302 (_dl_static_dtv): This. Make it global.
20303 (_dl_initial_dtv): Removed.
20304 (__libc_setup_tls): Updated.
20305 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
20306 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
20309 2012-09-06 Petr Machata <pmachata@redhat.com>
20311 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
20312 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
20313 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
20314 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
20316 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20319 * csu/libc-tls.c (_dl_initial_dtv): New variable.
20320 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
20323 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20326 * Makeconfig (link-static-before-libc): Replace $(+prector)
20328 (link-static-after-libc): Replace $(+postctor) with
20330 (link-bounded): Replace $(+prector)/$(+postctor) with
20331 $(+prectorT)/$(+postctorT).
20332 (+prectorT): New macro.
20333 (+postctorT): Likewise.
20335 2012-09-06 Joseph Myers <joseph@codesourcery.com>
20337 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
20338 (round_str): Handle values above the maximum for IBM long double
20340 * stdlib/tst-strtod-round.c (tests): Regenerated.
20342 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20344 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
20346 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
20347 zarch_nohighgprs around the zarch optimized routines.
20348 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20349 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20350 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
20353 2012-09-05 David S. Miller <davem@davemloft.net>
20355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20357 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
20358 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
20359 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
20360 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20363 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20365 * malloc/arena.c: Fold copyright years.
20366 * malloc/mcheck.c, malloc/memusage.c: Likewise.
20368 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20370 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
20372 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20374 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
20376 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20378 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
20379 change internal state upon failure.
20381 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20383 * malloc/mcheck.c (mcheck_check_all): Fix typo.
20384 * malloc/memusage.c (mmap): Likewise.
20385 (mmap64, mremap): Likewise. Adjust name in comment.
20387 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20389 * libio/fileops.c: Fix typos in comments.
20390 * libio/oldfileops.c: Likewise.
20391 * libio/wfileops.c: Likewise.
20393 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20396 * malloc/Makefile (tests): Add tst-malloc-usable test case.
20397 (tst-malloc-usable-ENV): Set environment for test case.
20398 * malloc/hooks.c (malloc_check_get_size): New function to get
20400 * malloc/malloc.c (musable): Use malloc_check_get_size.
20401 * malloc/tst-malloc-usable.c: New test case.
20403 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20405 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
20407 2012-09-05 Allan McRae <allan@archlinux.org>
20410 * configure.in (CXX_SYSINCLUDES): Use compiler output to
20411 determine header location.
20412 * configure: Regenerated.
20414 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20416 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
20418 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
20419 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
20421 (test): Regenerate.
20423 2012-09-04 David S. Miller <davem@davemloft.net>
20425 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
20426 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
20427 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
20429 2012-09-04 Florian Weimer <fweimer@redhat.com>
20431 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
20434 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
20436 2012-09-04 Joseph Myers <joseph@codesourcery.com>
20439 * libio/iogetdelim.c: Include <limits.h>.
20440 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
20441 + len + 1 would overflow.
20443 2012-09-03 Andreas Jaeger <aj@suse.de>
20445 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20446 * sysdeps/i386/fpu/libm-test-ulps: Update.
20448 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20450 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20451 Add s_sinf-sse2, s_conf-sse2.
20453 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
20454 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
20455 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
20456 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
20458 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
20459 for using routine as __sinf_ia32.
20460 Use macro for function declaration and weak_alias.
20461 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
20462 for using routine as __cosf_ia32.
20463 Use macro for function declaration and weak_alias.
20465 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
20466 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
20468 * sysdeps/x86_64/fpu/s_sinf.S: New file.
20469 * sysdeps/x86_64/fpu/s_cosf.S: New file.
20470 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20472 * math/libm-test.inc (cos_test): Add more test cases.
20473 (sin_test): Likewise.
20474 (sincos_test): Likewise.
20476 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20478 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20479 (IFUNC_RESOLVE): Make pointers to the specialized implementations
20481 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20483 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
20486 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
20487 first element of the GOT.
20488 (elf_machine_load_address): Return the difference between
20489 the runtime address of _DYNAMIC and elf_machine_dynamic ().
20491 2012-09-01 Allan McRae <allan@archlinux.org>
20494 * configure.in (AWK): Require gawk version 3.0 or later.
20495 * configure: Regenerated.
20497 2012-09-01 Joseph Myers <joseph@codesourcery.com>
20499 * sysdeps/unix/sysv/linux/kernel-features.h
20500 (__ASSUME_POSIX_CPU_TIMERS): Remove.
20501 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20502 [__NR_clock_getres]: Make code unconditional.
20503 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
20504 (clock_getcpuclockid): Remove code left unreachable by removal of
20506 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
20507 code unconditional.
20508 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20509 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20510 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
20511 Make code unconditional.
20512 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20513 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20514 * sysdeps/unix/sysv/linux/clock_settime.c
20515 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
20517 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
20518 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20520 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
20523 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
20524 scripts/test-installation.pl.
20526 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
20527 and $ld_so_version if it is set.
20529 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20532 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
20533 failure if reading from procfs failed.
20534 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
20536 2012-08-27 Joseph Myers <joseph@codesourcery.com>
20538 * sysdeps/unix/sysv/linux/kernel-features.h
20539 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
20540 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20541 Remove conditional code.
20542 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20543 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
20544 Remove conditional code.
20545 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20546 * sysdeps/unix/sysv/linux/i386/fxstat.c
20547 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20548 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20549 * sysdeps/unix/sysv/linux/i386/fxstatat.c
20550 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20551 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20552 * sysdeps/unix/sysv/linux/i386/lxstat.c
20553 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20554 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20555 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
20556 Remove conditional code.
20557 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20558 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20559 Remove conditional code.
20560 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20561 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
20562 <kernel-features.h>.
20563 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
20565 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
20566 Remove conditional code.
20567 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20568 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
20569 Remove conditional.
20571 2012-08-27 Mike Frysinger <vapier@gentoo.org>
20574 * NEWS: Add fixed bug number.
20576 2012-08-27 Joseph Myers <joseph@codesourcery.com>
20579 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
20580 underflowing exponent in case of negative sign.
20581 * stdlib/tst-strtod-round-data: Add more tests.
20582 * stdlib/tst-strtod-round.c (tests): Regenerated.
20585 * stdlib/strtod_l.c (NDIG): Remove.
20586 (HEXNDIG): Likewise.
20587 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
20588 smallest representable value.
20589 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
20590 lie within an exact representation of 1/2 ulp of the result.
20591 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
20593 (TENS_P9_IDX): Define unconditionally.
20594 (TENS_P9_SIZE): Likewise.
20595 (TENS_P10_IDX): Likewise.
20596 (TENS_P10_SIZE): Likewise.
20597 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
20598 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
20599 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
20600 entries for 10^2^13 and 10^2^14.
20601 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
20602 (TENS_P13_IDX): Define.
20603 (TENS_P13_SIZE): Likewise.
20604 (TENS_P14_IDX): Likewise.
20605 (TENS_P14_SIZE): Likewise.
20606 (_fpioconst_pow10): Change array size to
20607 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
20609 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
20610 1024]: Add entries for 10^2^13 and 10^2^14.
20611 [LAST_POW10 > _LAST_POW10]: Remove #error.
20612 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
20613 (_fpioconst_pow10): Change array size to
20614 FPIOCONST_POW10_ARRAY_SIZE.
20615 * stdlib/gen-fpioconst.c: New file.
20616 * stdlib/gen-tst-strtod-round.c: Likewise.
20617 * stdlib/tst-strtod-round-data: Likewise.
20618 * stdlib/tst-strtod-round.c: Likewise.
20619 * stdlib/Makefile (tests): Add tst-strtod-round.
20622 * stdlib/strtod_l.c: Include <stdint.h>.
20623 (NDEBUG): Do not define.
20624 (round_and_return): Change EXPONENT parameter to type intmax_t.
20625 Rearrange calculations to avoid internal overflow possibilities.
20626 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
20627 Rearrange calculations to avoid internal overflow possibilities.
20628 Assert that number fits inside MPNSIZE limbs.
20629 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
20630 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
20631 calculations and add assertions to avoid internal overflow
20632 possibilities. Add casts to avoid signed/unsigned operations.
20633 * stdlib/tst-strtod-overflow.c: New file.
20634 * stdlib/Makefile (tests): Add tst-strtod-overflow.
20636 2012-08-25 Marek Polacek <polacek@redhat.com>
20638 * time/time.h: Fix some typos in comments.
20640 2012-08-23 Roland McGrath <roland@hack.frob.com>
20642 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
20643 * posix/tst-rfc3484-2.c: Likewise.
20644 * posix/tst-rfc3484-3.c: Likewise.
20646 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
20648 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
20649 (EF_ARM_ABI_FLOAT_HARD): Likewise.
20651 2012-08-23 Joseph Myers <joseph@codesourcery.com>
20653 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
20654 #include of fxstatat64.c.
20656 2012-08-22 Roland McGrath <roland@hack.frob.com>
20658 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
20659 * shadow/getspent_r.c: Likewise.
20660 * shadow/getspnam.c: Likewise.
20661 * shadow/getspnam_r.c: Likewise.
20662 * gshadow/getsgent.c: Likewise.
20663 * gshadow/getsgent_r.c: Likewise.
20664 * gshadow/getsgnam.c: Likewise.
20665 * gshadow/getsgnam_r.c: Likewise.
20666 * inet/getnetbyad.c: Likewise.
20667 * inet/getnetbyad_r.c: Likewise.
20668 * inet/getnetbynm.c: Likewise.
20669 * inet/getnetbynm_r.c: Likewise.
20670 * inet/getnetent.c: Likewise.
20671 * inet/getnetent_r.c: Likewise.
20672 * inet/getproto.c: Likewise.
20673 * inet/getproto_r.c: Likewise.
20674 * inet/getprtent.c: Likewise.
20675 * inet/getprtent_r.c: Likewise.
20676 * inet/getprtname.c: Likewise.
20677 * inet/getprtname_r.c: Likewise.
20678 * inet/getrpcbyname.c: Likewise.
20679 * inet/getrpcbyname_r.c: Likewise.
20680 * inet/getrpcbynumber.c: Likewise.
20681 * inet/getrpcbynumber_r.c: Likewise.
20682 * inet/getrpcent.c: Likewise.
20683 * inet/getrpcent_r.c: Likewise.
20684 * inet/getaliasent.c: Likewise.
20685 * inet/getaliasent_r.c: Likewise.
20686 * inet/getaliasname.c: Likewise.
20687 * inet/getaliasname_r.c: Likewise.
20688 * nscd/getgrgid_r.c: Likewise.
20689 * nscd/getgrnam_r.c: Likewise.
20690 * nscd/gethstbyad_r.c: Likewise.
20691 * nscd/gethstbynm3_r.c: Likewise.
20692 * nscd/getpwnam_r.c: Likewise.
20693 * nscd/getpwuid_r.c: Likewise.
20694 * nscd/getsrvbynm_r.c: Likewise.
20695 * nscd/getsrvbypt_r.c: Likewise.
20696 * nscd/gai.c: Likewise.
20698 * configure.in (build_nscd): New substituted variable, set
20699 by --disable-build-nscd and defaults to $use_nscd.
20700 * configure: Regenerated.
20701 * config.make.in (build-nscd): New substituted variable.
20702 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
20703 Change conditional to require [$(build-nscd) = yes] as well.
20704 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
20707 * configure.in (use_nscd): New substituted variable, set by
20708 --disable-nscd. If enabled, define USE_NSCD.
20709 * configure: Regenerated.
20710 * config.h.in: Add USE_NSCD.
20711 * config.make.in (use-nscd): New substituted variable.
20712 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20713 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20714 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20715 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20716 (CFLAGS-getgrnam_r.c): Likewise.
20717 (CFLAGS-initgroups.c): Likewise.
20718 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20719 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20721 * inet/getnetgrent_r.c
20722 (nscd_setnetgrent): New function, broken out of ...
20723 (setnetgrent): ... here. Call it.
20724 (innetgr): Conditionalize nscd bits on [USE_NSCD].
20725 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20726 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20727 * nscd/Makefile (routines, aux): Move definitions after include of
20728 Makeconfig. Conditionalize on [$(use-nscd) != no].
20729 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20730 Conditionalize on [USE_NSCD].
20731 (is_nscd, nscd_init_cb): Likewise.
20732 (nss_load_library): Conditionalize init callback on [USE_NSCD].
20733 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20734 * nss/nss_db/db-init.c: Likewise.
20735 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20737 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20738 (make_request): Use it.
20739 (cache_valid_p): New function.
20740 (__check_pf): Use it.
20741 * NEWS: Add item for --disable-nscd.
20743 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
20745 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20746 to support sed >= 4.2.1-20-ga9bf076.
20747 * configure: Regenerated.
20749 2012-08-22 Roland McGrath <roland@hack.frob.com>
20751 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20752 Conditionalize whole body on [IREL].
20754 2012-08-22 Jeff Law <law@redhat.com>
20757 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20758 if the family is PF_UNSPEC.
20760 2012-08-22 Mike Frysinger <vapier@gentoo.org>
20762 * Makerules (lib-version): Rename from V.
20763 (install-lib-nosubdir): Change V to lib-version.
20765 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
20768 * powerpc32/power6/wcschr.c: New file.
20769 * powerpc32/power6/wcscpy.c: New file.
20770 * powerpc32/power6/wcsrchr.c: New file.
20771 * powerpc64/power6/wcschr.c: New file.
20772 * powerpc64/power6/wcscpy.c: New file.
20773 * powerpc64/power6/wcsrchr.c: New file.
20775 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20777 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20778 (two_way_short_needle): Use it.
20779 * string/strstr.c (AVAILABLE1_USES_J): Define.
20780 * string/strcasestr.c: Likewise.
20782 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20784 * string/strcasestr.c (TOLOWER): Make side-effect safe.
20787 * NEWS: Add an entry.
20788 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20789 define their defaults.
20790 (two_way_short_needle): Detect end-of-string on-the-fly.
20791 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20792 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20793 * string/bug-strcasestr1.c: New test.
20794 * string/Makefile: Run it.
20796 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20799 * string/str-two-way.h (two_way_short_needle): Optimize matching of
20800 the first character.
20802 2012-08-21 Roland McGrath <roland@hack.frob.com>
20804 * csu/elf-init.c (__libc_csu_irel): Function removed.
20805 * csu/libc-start.c (apply_irel): New function.
20806 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20808 2012-08-21 Joseph Myers <joseph@codesourcery.com>
20810 * sysdeps/unix/sysv/linux/kernel-features.h
20811 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20812 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20813 <kernel-features.h>.
20814 [__NR_fadvise64_64]: Make code unconditional.
20815 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20816 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20817 !__NR_fadvise64_64)]: Likewise.
20818 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20819 !__NR_fadvise64_64))]: Likewise.
20820 [__NR_fadvise64]: Make code unconditional.
20821 [!__NR_fadvise64]: Remove conditional code.
20822 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20823 <kernel-features.h>.
20824 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20826 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20829 not include <kernel-features.h>.
20830 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20832 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20834 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20835 include <kernel-features.h>.
20836 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20838 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20841 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20843 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20844 slight instruction rearrangements per scrollpipe analysis.
20845 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20847 2012-08-20 Roland McGrath <roland@hack.frob.com>
20849 * manual/syslog.texi (syslog; vsyslog, closelog):
20850 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20851 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20853 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20854 DSOCAPS to match condition on defining it.
20856 2012-08-20 Joseph Myers <joseph@codesourcery.com>
20858 * sysdeps/unix/sysv/linux/kernel-features.h
20859 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20861 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20862 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20864 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20865 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20867 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20868 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20870 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20871 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20873 * sysdeps/unix/sysv/linux/kernel-features.h
20874 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20875 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20877 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20878 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20879 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20880 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20881 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20882 Make code unconditional.
20883 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20884 (__mmap64) [!__NR_mmap2]: Likewise.
20885 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20886 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20887 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20888 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20889 [__NR_mmap2]: Make code unconditional.
20890 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20891 (__mmap64) [!__NR_mmap2]: Likewise.
20893 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20895 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20897 2012-08-18 Andreas Jaeger <aj@suse.de>
20899 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20901 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20903 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20904 * include/unistd.h (__have_sock_cloexec): Likewise.
20905 (__have_pipe2): Likewise.
20906 (__have_dup3): Likewise.
20908 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20911 * include/unistd.h (__have_pipe2): Change define into an extern int.
20912 (__have_dup3): Likewise.
20913 * socket/have_sock_cloexec.c: Include fcntl.h.
20914 (__have_pipe2): New variable.
20915 (__have_dup3): Likewise.
20917 2012-08-17 Mike Frysinger <vapier@gentoo.org>
20919 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20921 2012-08-17 Marek Polacek <polacek@redhat.com>
20923 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20924 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20926 2012-08-17 Roland McGrath <roland@hack.frob.com>
20928 * configure.in: Add AC_SUBST for sysheaders.
20929 * configure: Regenerated.
20930 * config.make.in (sysheaders): New substituted variable.
20932 * sysdeps/unix/mkfifo.c: Moved ...
20933 * sysdeps/posix/mkfifo.c: ... here.
20934 * sysdeps/unix/mkfifoat.c: Moved ...
20935 * sysdeps/posix/mkfifoat.c: ... here.
20937 * sysdeps/unix/utime.c: Moved ...
20938 * sysdeps/posix/utime.c: ... here.
20940 * sysdeps/unix/time.c: Moved ...
20941 * sysdeps/posix/time.c: ... here.
20942 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20943 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
20945 * sysdeps/unix/nice.c: Moved ...
20946 * sysdeps/posix/nice.c: ... here.
20948 * sysdeps/unix/alarm.c: Moved ...
20949 * sysdeps/posix/alarm.c: ... here.
20951 * intl/Makefile ($(codeset_mo)): Depend on the input file.
20953 2012-08-17 Jeff Law <law@redhat.com>
20955 * intl/Makefile (codeset_mo): New variable.
20956 ($(codeset_mo)): New target.
20957 (tst-codeset.out): Depend on that. Remove explicit rule.
20958 (tst-gettext3.out, tst-gettext5.out): Likewise.
20959 (LOCPATH-ENV, tst-codeset-ENV): New variables.
20960 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20961 * intl/tst-codeset.sh: Remove.
20962 * intl/tst-gettext3.sh: Likewise.
20963 * intl/tst-gettext5.sh: Likewise.
20965 2012-08-17 Roland McGrath <roland@hack.frob.com>
20967 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
20968 * sysdeps/unix/syscalls.list: ... here.
20970 * sysdeps/posix/getaddrinfo.c
20971 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20972 (gaiconf_init, gaiconf_reload): Use them.
20973 [!_STATBUF_ST_NSEC]
20974 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20975 Define using time_t rather than struct timespec.
20977 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20978 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20980 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20982 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20983 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20986 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20987 __libc_cleanup_push argument.
20989 * bits/param.h: New file.
20990 * misc/sys/param.h: New file.
20991 * include/sys/param.h: New file.
20992 * misc/Makefile (headers): Add bits/param.h.
20993 * sysdeps/generic/sys/param.h: File removed.
20994 * sysdeps/unix/sysv/linux/bits/param.h: New file.
20995 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20996 * sysdeps/mach/hurd/bits/param.h: New file.
20997 * sysdeps/mach/hurd/sys/param.h: File removed.
20999 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21002 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21004 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21005 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21008 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
21009 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
21010 rather than -D_IO_MTSAFE_IO conditionally.
21011 * stdio-common/Makefile (CPPFLAGS): Likewise.
21012 * wcsmbs/Makefile (CPPFLAGS): Likewise.
21013 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21014 Use $(libio-mtsafe).
21015 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21016 of -D_IO_MTSAFE_IO.
21017 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21018 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21019 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21020 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21021 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21022 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21023 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21024 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21025 (CFLAGS-fread_u_chk.c): Likewise.
21026 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21027 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21028 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21029 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21030 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21031 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21032 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21033 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21034 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21036 * libio/Makefile: Test [$(libc-reentrant) = yes]
21037 instead of [$(filter %REENTRANT, $(defines)) nonempty].
21040 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
21041 * sysdeps/pthread/configure: File removed.
21042 * sysdeps/pthread/Makeconfig: New file.
21043 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
21044 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
21046 2012-08-16 Gary Benson <gbenson@redhat.com>
21048 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21049 unmapping the first object in a namespace.
21051 2012-08-16 Roland McGrath <roland@hack.frob.com>
21053 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
21054 (__internal_setnetgrent): ... this. Add internal_function to
21055 definition. Add libc_hidden_def.
21056 (setnetgrent): Update caller.
21057 (internal_endnetgrent): Renamed to ...
21058 (__internal_endnetgrent): ... this. Add internal_function to
21059 definition. Add libc_hidden_def.
21060 (endnetgrent): Update caller.
21061 (internal_getnetgrent_r): Renamed to ...
21062 (__internal_getnetgrent_r): ... this. Add internal_function to
21063 definition. Add libc_hidden_def.
21064 (__getnetgrent_r): Update caller.
21065 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
21067 2012-08-16 Joseph Myers <joseph@codesourcery.com>
21069 * stdlib/longlong.h: Update from GCC.
21071 2012-08-16 Roland McGrath <roland@hack.frob.com>
21073 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
21074 on _QL, which is set by umul_ppmm but never used.
21075 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
21076 variables, which are set by GMP macros but never used.
21077 * stdio-common/_itowa.c (_itowa): Likewise.
21078 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
21079 * stdlib/mod_1.c (mpn_mod_1): Likewise.
21081 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
21083 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
21084 struct La_sh_regs is not constant.
21085 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
21086 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
21087 and struct La_sparc64_regs are not constant.
21089 2012-08-16 Joseph Myers <joseph@codesourcery.com>
21091 * sysdeps/unix/sysv/linux/kernel-features.h
21092 (__ASSUME_POSIX_TIMERS): Remove.
21093 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21094 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21095 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
21096 Make code unconditional.
21097 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21098 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
21099 Make code unconditional.
21100 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21101 * sysdeps/unix/sysv/linux/clock_nanosleep.c
21102 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
21103 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21104 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
21105 Make code unconditional.
21106 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21107 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
21108 (__libc_missing_posix_timers): Remove.
21110 2012-08-15 Roland McGrath <roland@hack.frob.com>
21112 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
21113 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
21115 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
21117 * elf/dl-sym.c: Include <stdlib.h>.
21119 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
21120 constants, which avoids warnings in 32-bit builds.
21122 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
21123 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
21125 * misc/lseek.c: File moved to ...
21126 * io/lseek.c: ... here.
21128 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
21130 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
21131 shifting LEN more than 31 bits at once.
21133 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21136 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
21137 segmentation fault for a case of two empty input strings.
21138 * string/test-strncasecmp.c (check1): Renamed to...
21139 (bz12205): ...this.
21140 (bz14195): Add new testcase for two empty input strings and N > 0.
21141 (test_main): Call new testcase, adapt for renamed function.
21143 2012-08-15 Andreas Jaeger <aj@suse.de>
21146 * crypt/md5test2.c: New test, based on test supplied by Serge
21147 Belyshev <belyshev@depni.sinp.msu.ru>.
21148 * crypt/Makefile (xtests): Add md5test-giant..
21149 * crypt/Makefile ($(objpfx)md5test-giant): Add.
21151 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
21154 * crypt/md5.c (md5_process_block): Don't assume the buffer
21155 length is less than 2**32.
21156 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
21157 length is less than 2**64.
21159 2012-08-15 Roland McGrath <roland@hack.frob.com>
21161 * string/str-two-way.h: Include <sys/param.h>.
21162 (MAX): Macro removed.
21164 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
21165 Move #define and #undef of memmove to just before and after
21166 including <string.h>.
21168 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
21169 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
21170 and after including <string.h>. Move declarations of
21171 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
21172 to before #include "string/memmove.c".
21174 * include/dirent.h: Declare __getdirentries.
21176 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
21177 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
21179 2012-08-14 Mike Frysinger <vapier@gentoo.org>
21181 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
21182 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
21183 * sysdeps/i386/configure: Regenerated.
21184 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
21185 STABS_CURRENT_FILE, and STABS_FUN.
21186 (END): Remove call to STABS_FUN_END.
21187 (STABS_CURRENT_FILE1): Delete.
21188 (STABS_CURRENT_FILE): Likewise.
21189 (STABS_FUN): Likewise.
21190 (STABS_FUN_END): Likewise.
21191 (STABS_FUN2): Likewise.
21192 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
21193 * sysdeps/x86_64/configure: Regenerated.
21195 2012-08-14 Roland McGrath <roland@hack.frob.com>
21197 * elf/dl-open.c: Include <atomic.h>.
21198 * elf/dl-lookup.c: Likewise.
21200 2012-08-14 Joseph Myers <joseph@codesourcery.com>
21202 * sysdeps/unix/sysv/linux/kernel-features.h
21203 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
21204 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
21206 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
21208 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
21209 condition on __ASSUME_CLONE_THREAD_FLAGS.
21211 2012-08-14 Andreas Jaeger <aj@suse.de>
21213 * sysdeps/i386/fpu/libm-test-ulps: Update.
21215 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
21217 * include/atomic.h (atomic_exchange_and_add): Split into ...
21218 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
21221 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
21223 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21225 2012-08-13 Jeff Law <law@redhat.com>
21227 * manual/stdio.texi (snprintf): Clarify handling of the trailing
21228 null byte in the output string.
21230 2012-08-10 Joseph Myers <joseph@codesourcery.com>
21232 * sysdeps/unix/sysv/linux/kernel-features.h
21233 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
21234 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
21235 (__ASSUME_ARG_MAX_STACK_BASED): Define.
21236 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21237 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
21238 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
21239 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
21241 2012-08-09 Jeff Law <law@redhat.com>
21244 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
21245 When avoid_arena is set, don't retry in the that arena. Pick the
21246 next one, whatever it might be.
21247 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
21248 (arena_lock): Pass in new parameter to arena_get2.
21249 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
21251 (__libc_malloc): Unify retrying after main arena failure with
21252 __libc_memalign version.
21253 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
21255 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
21258 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
21259 to __redirect_strstr.
21260 (__strstr_sse42): Use typeof __redirect_strstr.
21261 (__strstr_ia32): Likewise.
21262 (__libc_strstr): New prototype.
21263 (strstr): Renamed to ...
21264 (__libc_strstr): This.
21265 (strstr): New strong alias of __libc_strstr.
21266 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21267 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
21270 (__libc_time): New prototype.
21271 (time_ifunc): Replace time with __libc_time.
21272 (time): New strong alias and hidden definition of __libc_time.
21273 (__GI_time): Remove strong alias.
21274 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
21275 Include <stddef.h>.
21276 (memmove): Redefined to __redirect_memmove.
21277 (__memmove_sse2): Use typeof __redirect_memmove.
21278 (__memmove_ssse3): Likewise.
21279 (__memmove_ssse3_back): Likewise.
21280 (__libc_memmove): New prototype.
21281 (memmove): Renamed to ...
21282 (__libc_memmove): This.
21283 (memmove): New strong alias of __libc_memmove.
21285 2012-08-08 Mark Salter <msalter@redhat.com>
21288 (R_MN10300_TLS_GD): Define.
21289 (R_MN10300_TLS_LD): Likewise.
21290 (R_MN10300_TLS_LDO): Likewise.
21291 (R_MN10300_TLS_GOTIE): Likewise.
21292 (R_MN10300_TLS_IE): Likewise.
21293 (R_MN10300_TLS_LE): Likewise.
21294 (R_MN10300_TLS_DTPMOD): Likewise.
21295 (R_MN10300_TLS_DTPOFF): Likewise.
21296 (R_MN10300_TLS_TPOFF): Likewise.
21297 (R_MN10300_SYM_DIFF): Likewise.
21298 (R_MN10300_ALIGN): Likewise.
21299 (R_MN10300_NUM): Update.
21301 2012-08-08 Joseph Myers <joseph@codesourcery.com>
21303 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
21306 2012-08-08 Roland McGrath <roland@hack.frob.com>
21308 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
21310 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
21311 sysdeps/unix -> sysdeps/posix move.
21312 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21314 2012-08-07 Allan McRae <allan@archlinux.org>
21317 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
21318 (SUNOS_CPP): Likewise.
21319 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
21321 (open_input): Call CPP using execvp.
21323 2012-08-07 Joseph Myers <joseph@codesourcery.com>
21325 * sysdeps/unix/sysv/linux/kernel-features.h
21326 (__ASSUME_PROT_GROWSUPDOWN): Remove.
21327 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21328 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21329 (__ASSUME_WAITID_SYSCALL): Likewise.
21330 * sysdeps/unix/sysv/linux/dl-execstack.c
21331 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
21332 code unconditional.
21333 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
21335 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
21336 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
21337 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
21339 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
21341 [__ASSUME_WAITID_SYSCALL]: Likewise.
21342 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
21344 2012-08-07 Roland McGrath <roland@hack.frob.com>
21346 * sysdeps/unix/closedir.c: Renamed to ...
21347 * sysdeps/posix/closedir.c: ... here.
21348 * sysdeps/unix/dirfd.c: Renamed to ...
21349 * sysdeps/posix/dirfd.c: ... here.
21350 * sysdeps/unix/dirstream.h: Renamed to ...
21351 * sysdeps/posix/dirstream.h: ... here.
21352 * sysdeps/unix/fdopendir.c: Renamed to ...
21353 * sysdeps/posix/fdopendir.c: ... here.
21354 * sysdeps/unix/opendir.c: Renamed to ...
21355 * sysdeps/posix/opendir.c: ... here.
21356 * sysdeps/unix/readdir.c: Renamed to ...
21357 * sysdeps/posix/readdir.c: ... here.
21358 * sysdeps/unix/readdir_r.c: Renamed to ...
21359 * sysdeps/posix/readdir_r.c: ... here.
21360 * sysdeps/unix/rewinddir.c: Renamed to ...
21361 * sysdeps/posix/rewinddir.c: ... here.
21362 * sysdeps/unix/seekdir.c: Renamed to ...
21363 * sysdeps/posix/seekdir.c: ... here.
21364 * sysdeps/unix/telldir.c: Renamed to ...
21365 * sysdeps/posix/telldir.c: ... here.
21366 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
21367 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
21368 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
21369 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
21371 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
21372 * bits/fcntl.h: ... here.
21374 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
21376 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
21377 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
21378 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
21379 (struct flock): Move l_start, l_len to the beginning.
21380 Use __pid_t for l_pid.
21381 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
21382 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
21383 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
21384 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
21385 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
21386 [__USE_LARGEFILE64] (struct flock64): New type.
21387 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
21389 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
21390 * bits/dirent.h: ... here.
21392 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
21393 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
21395 2012-08-07 Joseph Myers <joseph@codesourcery.com>
21397 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21398 Change from 2.6.0 to 2.6.16.
21399 * sysdeps/unix/sysv/linux/configure: Regenerated.
21400 * sysdeps/unix/sysv/linux/kernel-features.h
21401 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
21402 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
21404 (__ASSUME_UTIMES): Likewise.
21405 (__ASSUME_CLONE_STOPPED): Remove.
21406 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
21407 architectures, not kernel version.
21408 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
21409 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21410 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21411 (__ASSUME_WAITID_SYSCALL): Likewise.
21412 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
21413 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
21414 * README: State 2.6.16 as minimum Linux kernel version. Do not
21415 refer to older versions.
21417 2012-08-06 Roland McGrath <roland@hack.frob.com>
21419 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
21420 Define alphasort64 as an alias.
21421 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
21422 Define versionsort64 as an alias.
21423 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
21424 Define scandir64 as an alias.
21425 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
21426 Define scandirat64 as an alias.
21427 * dirent/alphasort64.c (alphasort64):
21428 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
21429 * dirent/versionsort64.c: Likewise.
21430 * dirent/scandir64.c: Likewise.
21431 * dirent/scandirat64.c: Likewise.
21432 * sysdeps/wordsize-64/alphasort.c: File removed.
21433 * sysdeps/wordsize-64/alphasort64.c: File removed.
21434 * sysdeps/wordsize-64/scandir.c: File removed.
21435 * sysdeps/wordsize-64/scandir64.c: File removed.
21436 * sysdeps/wordsize-64/scandirat.c: File removed.
21437 * sysdeps/wordsize-64/scandirat64.c: File removed.
21438 * sysdeps/wordsize-64/versionsort.c: File removed.
21439 * sysdeps/wordsize-64/versionsort64.c: File removed.
21440 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
21441 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
21442 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
21443 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
21444 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
21445 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
21446 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
21447 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
21449 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
21450 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21451 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
21452 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21453 [defined __arch64__ || defined __sparcv9]
21454 (__INO_T_MATCHES_INO64_T): New macro.
21455 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21456 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
21457 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
21458 * sysdeps/unix/sysv/linux/bits/dirent.h
21459 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
21460 (_DIRENT_MATCHES_DIRENT64): New macro.
21462 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
21463 Define lockf64 as an alias.
21464 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
21465 Define fseeko64 as an alias.
21466 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
21467 Define ftello64 as an alias.
21468 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
21469 Define _IO_fgetpos64 and fgetpos64 as aliases.
21470 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
21471 Define _IO_fsetpos64 and fsetpos64 as aliases.
21472 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
21473 Conditionalize body on this.
21474 * libio/fseeko64.c: Likewise.
21475 * libio/ftello64.c: Likewise.
21476 * libio/iofgetpos64.c: Likewise.
21477 * libio/iofsetpos64.c: Likewise.
21478 * sysdeps/wordsize-64/lockf.c: File removed.
21479 * sysdeps/wordsize-64/lockf64.c: File removed.
21480 * sysdeps/wordsize-64/fseeko.c: File removed.
21481 * sysdeps/wordsize-64/fseeko64.c: File removed.
21482 * sysdeps/wordsize-64/ftello.c: File removed.
21483 * sysdeps/wordsize-64/ftello64.c: File removed.
21484 * sysdeps/wordsize-64/iofgetpos.c: File removed.
21485 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
21486 * sysdeps/wordsize-64/iofsetpos.c: File removed.
21487 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
21488 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
21489 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
21490 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
21491 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
21492 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
21493 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
21494 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
21495 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
21496 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
21497 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
21499 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21500 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21501 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
21502 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21503 [defined __arch64__ || defined __sparcv9]
21504 (__OFF_T_MATCHES_OFF64_T): New macro.
21505 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21506 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21507 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21508 (__OFF_T_MATCHES_OFF64_T): New macro.
21510 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
21512 * stdlib/secure-getenv.c (__secure_getenv): Replace
21513 GLIBC_2_16 with GLIBC_2_17.
21515 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
21517 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
21518 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21520 2012-08-03 David S. Miller <davem@davemloft.net>
21522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21524 2012-08-03 Joseph Myers <joseph@codesourcery.com>
21526 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
21528 (__ASSUME_CORRECT_SI_PID): Likewise.
21529 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
21530 (__ASSUME_TMPFS_NAME): Likewise.
21531 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
21532 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
21533 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
21534 (HAVE_AUX_SECURE): Make definition unconditional.
21535 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
21536 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
21538 2012-08-03 Roland McGrath <roland@hack.frob.com>
21540 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
21541 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
21542 * sysdeps/mach/hurd/eloop-threshold.h: New file.
21543 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21544 __eloop_threshold instead of SYMLOOP_MAX.
21546 * sysdeps/generic/eloop-threshold.h: New file.
21547 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
21549 * elf/chroot_canon.c (chroot_canon): Likewise.
21551 2012-08-03 Joseph Myers <joseph@codesourcery.com>
21554 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21555 Change to 2.6.0 everywhere.
21556 * sysdeps/unix/sysv/linux/configure: Regenerated.
21557 * sysdeps/unix/sysv/linux/kernel-features.h
21558 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
21559 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
21561 (__ASSUME_POSIX_TIMERS): Define unconditionally.
21562 (__ASSUME_FUTEX_REQUEUE): Remove.
21563 (__ASSUME_STATFS64): Define unconditionally.
21564 (__ASSUME_AT_SECURE): Likewise.
21565 (__ASSUME_CORRECT_SI_PID): Likewise.
21566 (__ASSUME_TGKILL): Define without depending on kernel version for
21568 (__ASSUME_UTIMES): Likewise.
21569 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
21571 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
21572 (__ASSUME_TMPFS_NAME): Likewise.
21573 * README: Update reference to Linux kernel versions.
21575 2012-08-02 Marek Polacek <polacek@redhat.com>
21578 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
21579 libc_cv_asm_type_prefix with %.
21580 * configure: Regenerated.
21581 * include/libc-symbols.h: Remove comment about
21582 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21583 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
21584 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
21585 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
21586 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
21587 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21588 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
21589 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
21590 * elf/tst-unique2mod1.c: Likewise.
21591 * elf/tst-unique1mod2.c: Likewise.
21592 * elf/tst-unique1mod1.c: Likewise.
21593 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
21594 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
21595 Replace ASM_TYPE_DIRECTIVE with .type.
21596 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21597 * sysdeps/i386/sysdep.h: Likewise.
21598 * sysdeps/x86_64/sysdep.h: Likewise.
21599 * sysdeps/sh/sysdep.h: Likewise.
21600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21601 Do not define ASM_TYPE_DIRECTIVE.
21602 * sysdeps/powerpc/sysdep.h: Likewise.
21603 * sysdeps/powerpc/powerpc32/sysdep.h:
21604 Replace ASM_TYPE_DIRECTIVE with .type.
21605 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21606 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21607 * sysdeps/i386/fpu/e_powf.S: Likewise.
21608 * sysdeps/i386/fpu/e_expl.S: Likewise.
21609 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21610 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21611 * sysdeps/i386/fpu/e_pow.S: Likewise.
21612 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21613 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21614 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21615 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21616 * sysdeps/i386/fpu/e_log2.S: Likewise.
21617 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21618 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21619 * sysdeps/i386/fpu/e_powl.S: Likewise.
21620 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21621 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21622 * sysdeps/i386/fpu/e_logl.S: Likewise.
21623 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21624 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21625 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21626 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21627 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21628 * sysdeps/i386/fpu/e_log.S: Likewise.
21629 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21630 * sysdeps/i386/fpu/e_logf.S: Likewise.
21631 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21632 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21633 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21634 * sysdeps/i386/fpu/e_log10.S: Likewise.
21635 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21636 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21637 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21638 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21639 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21640 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
21641 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21642 * sysdeps/i386/i686/strtok.S: Likewise.
21643 * sysdeps/i386/i386-mcount.S: Likewise.
21644 * sysdeps/i386/strtok.S: Likewise.
21645 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
21646 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21647 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21648 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21649 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21650 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21651 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21652 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21653 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21654 * sysdeps/x86_64/_mcount.S: Likewise.
21655 * sysdeps/x86_64/strtok.S: Likewise.
21656 * sysdeps/sh/_mcount.S: Likewise.
21658 2012-08-01 Roland McGrath <roland@hack.frob.com>
21660 * libio/iofopen.c: Include <fcntl.h>.
21661 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
21662 (_IO_fopen64, fopen64): Define as aliases.
21663 * libio/iofopen64.c: Include <fcntl.h>.
21664 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
21665 Conditionalize body on this.
21666 * sysdeps/wordsize-64/iofopen.c: File removed.
21667 * sysdeps/wordsize-64/iofopen64.c: File removed.
21669 2012-08-01 Marek Polacek <polacek@redhat.com>
21671 * libc/Makeconfig: Use elf in place of binfmt-subdir.
21672 Use dlfcn directly instead of a variable.
21673 (binfmt-subdir): Do not define.
21676 2012-08-01 Joseph Myers <joseph@codesourcery.com>
21678 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
21679 Remove all definitions.
21680 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
21681 <kernel-features.h>.
21682 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21683 (miss_F_GETOWN_EX): Remove all definitions.
21684 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
21686 [!__ASSUME_FCNTL64]: Remove conditional code.
21687 [__ASSUME_FCNTL64]: Make code unconditional.
21688 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
21689 <kernel-features.h>.
21690 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21691 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
21692 (lockf64) [__NR_fcntl64]: Make code unconditional.
21693 (lockf64) [__ASSUME_FCNTL64]: Likewise.
21695 * sysdeps/unix/sysv/linux/kernel-features.h
21696 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
21697 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
21698 Make code unconditional.
21699 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21700 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
21702 [__NR_vfork]: Make code unconditional.
21703 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21704 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
21706 [__NR_vfork]: Make code unconditional.
21707 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21708 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21710 2012-08-01 Roland McGrath <roland@hack.frob.com>
21712 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21713 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21715 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21716 Define mkstemp64 as an alias.
21717 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21718 Define mkstemps64 as an alias.
21719 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21720 Define mkostemp64 as an alias.
21721 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21722 Define mkostemps64 as an alias.
21723 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21724 Conditionalize body on this.
21725 * misc/mkostemp64.c: Likewise.
21726 * misc/mkostemps64.c: Likewise.
21727 * misc/mkstemps64.c: Likewise.
21728 * sysdeps/wordsize-64/mkstemp64.c: File removed.
21729 * sysdeps/wordsize-64/mkostemp64.c: File removed.
21730 * sysdeps/wordsize-64/mkostemp.c: File removed.
21731 * sysdeps/wordsize-64/mkstemp.c: File removed.
21732 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21733 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21734 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21735 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21738 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21739 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21740 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21741 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21743 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21744 compat_symbol macros from <shlib-compat.h> rather than the underlying
21745 default_symbol_version and symbol_version macros, so that DEFAULT
21746 lines in shlib-versions are respected.
21747 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21749 2012-08-01 Florian Weimer <fweimer@redhat.com>
21751 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21752 Declare with warn_unused_result.
21753 (setgid, setregid, setegid, setresgid): Likewise.
21754 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21756 * WUR-REPORT: Remove set*id functions.
21758 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
21760 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21762 2012-07-31 Roland McGrath <roland@hack.frob.com>
21765 * include/sys/socket.h (__libc_accept, __libc_accept4):
21766 Add attribute_hidden.
21767 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21769 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21771 * inet/getnetgrent_r.c (setup): Likewise.
21773 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21775 2012-07-31 David S. Miller <davem@davemloft.net>
21777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21779 2012-07-31 Joseph Myers <joseph@codesourcery.com>
21782 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21783 value between 1.0 and 2.0 and smaller part has absolute value less
21785 * math/s_clog10.c (__clog10): Likewise.
21786 * math/s_clog10f.c (__clog10f): Likewise.
21787 * math/s_clog10l.c (__clog10l): Likewise.
21788 * math/s_clogf.c (__clogf): Likewise.
21789 * math/s_clogl.c (__clogl): Likewise.
21790 * math/libm-test.inc (clog_test): Add more tests.
21791 (clog10_test): Likewise.
21792 * sysdeps/i386/fpu/libm-test-ulps: Update.
21793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21795 2012-07-31 Florian Weimer <fweimer@redhat.com>
21797 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21798 Exit with zero in case no suitable GID is found, and write a
21799 message to standard error.
21801 2012-07-30 Roland McGrath <roland@hack.frob.com>
21803 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21805 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21806 (MAXPATHLEN): Removed.
21807 (NOGROUP, NODEV): New macros.
21808 (setbit, clrbit, isset, isclr): New macros.
21809 (howmany, roundup, powerof2): New macros.
21810 (DEV_BSIZE): New macro.
21812 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21813 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21815 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21816 definition on [!__NO_LONG_DOUBLE_MATH].
21818 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21819 PTR_MANGLE and PTR_DEMANGLE.
21821 * socket/accept4.c (accept4): Rename to __libc_accept4.
21822 Define accept4 as a weak alias.
21824 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21825 on [_DIRENT_HAVE_D_TYPE].
21826 * io/ftw.c (ftw_dir): Likewise.
21828 * io/xmknod.c (__xmknod): Don't check PATH for being null.
21830 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21832 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21833 Use the BSD numbers rather than the arbitrary ones we had.
21834 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21835 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21836 (SIGXCPU, SIGXFSZ): New macros.
21839 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21840 initializer on [_LIBC_REENTRANT].
21842 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21843 definitions inside [_POSIX_MAPPED_FILES].
21845 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21847 * dirent/opendir.c: Include <fcntl.h>.
21849 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21850 (__libc_getspecific): Likewise.
21851 (__libc_key_create): Likewise.
21853 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21854 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21855 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21856 (tmpfile64): Define as alias.
21857 * sysdeps/wordsize-64/tmpfile.c: File removed.
21858 * sysdeps/wordsize-64/tmpfile64.c: File removed.
21859 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21860 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21862 * stdio-common/vfscanf.c: Include <stdbool.h>.
21863 * nss/makedb.c: Likewise.
21864 * stdio-common/_i18n_number.h: Likewise.
21865 * argp/argp-help.c: Likewise.
21866 * posix/wordexp.c: Likewise.
21867 * sysdeps/posix/spawni.c: Likewise.
21868 * nss/nss_files/files-initgroups.c: Likewise.
21869 * stdio-common/reg-modifier.c: Include <stdlib.h>.
21870 * nss/nss_files/files-initgroups.c: Likewise.
21871 * nss/nss_db/db-netgrp.c: Likewise.
21872 * nss/nss_db/db-initgroups.c: Likewise.
21873 * io/fchmodat.c: Include <sys/stat.h>.
21875 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21876 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21878 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21881 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21882 Add multiple inclusion protection.
21884 2012-07-27 David S. Miller <davem@davemloft.net>
21886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21888 2012-07-27 Gary Benson <gbenson@redhat.com>
21891 * elf/rtld.c: Include <stap-probe.h>.
21892 (dl_main): Added static probes "init_start" and "init_complete".
21893 * elf/dl-load.c: Include <stap-probe.h>.
21894 (lose): Take new parameter "nsid".
21895 Added static probe "map_failed".
21896 (_dl_map_object_from_fd): Pass namespace id to lose.
21897 Added static probe "map_start".
21898 (open_verify): Pass namespace id to lose.
21899 * elf/dl-open.c: Include <stap-probe.h>.
21900 (dl_open_worker) Added static probes "map_complete", "reloc_start"
21901 and "reloc_complete".
21902 * elf/dl-close.c: Include <stap-probe.h>.
21903 (_dl_close_worker): Added static probes "unmap_start" and
21905 * elf/rtld-debugger-interface.txt: New file documenting the above.
21907 2012-07-26 Roland McGrath <roland@hack.frob.com>
21909 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21910 rather than a string variable.
21911 * sunrpc/rpc_main.c (h_output): Likewise.
21912 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21914 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
21916 * inet/check_native.c: New file.
21918 2012-07-26 Joseph Myers <joseph@codesourcery.com>
21921 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21922 if larger part has absolute value 1.0.
21923 * math/s_clog10.c (__clog10): Likewise.
21924 * math/s_clog10f.c (__clog10f): Likewise.
21925 * math/s_clog10l.c (__clog10l): Likewise.
21926 * math/s_clogf.c (__clogf): Likewise.
21927 * math/s_clogl.c (__clogl): Likewise.
21928 * math/libm-test.inc (clog_test): Add more tests.
21929 (clog10_test): Likewise.
21930 * sysdeps/i386/fpu/libm-test-ulps: Update.
21931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21933 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21934 (pltexit): Likewise.
21935 (La_regs): Likewise.
21936 (La_retval): Likewise.
21937 (int_retval): Likewise.
21938 Update #error for removed macros to refer only to definitions in
21940 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21942 (pltexit): Likewise.
21943 (La_regs): Likewise.
21944 (La_retval): Likewise.
21945 (int_retval): Likewise.
21946 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21948 (pltexit): Likewise.
21949 (La_regs): Likewise.
21950 (La_retval): Likewise.
21951 (int_retval): Likewise.
21952 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21954 (pltexit): Likewise.
21955 (La_regs): Likewise.
21956 (La_retval): Likewise.
21957 (int_retval): Likewise.
21958 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21960 (pltexit): Likewise.
21961 (La_regs): Likewise.
21962 (La_retval): Likewise.
21963 (int_retval): Likewise.
21964 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21966 (pltexit): Likewise.
21967 (La_regs): Likewise.
21968 (La_retval): Likewise.
21969 (int_retval): Likewise.
21970 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21972 (pltexit): Likewise.
21973 (La_regs): Likewise.
21974 (La_retval): Likewise.
21975 (int_retval): Likewise.
21976 * sysdeps/generic/tst-audit.h: Update comment to refer only to
21977 macro definitions in tst-audit.h.
21978 * sysdeps/i386/tst-audit.h: New file.
21979 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21980 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21981 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21982 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21983 * sysdeps/sh/tst-audit.h: Likewise.
21984 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21985 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21986 * sysdeps/x86_64/tst-audit.h: Likewise.
21988 2012-07-26 Andreas Jaeger <aj@suse.de>
21990 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21993 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21994 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21995 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21997 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21998 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21999 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
22001 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22004 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22006 (si_call_addr, si_syscall, si_arch): Define new macro.
22007 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22009 (si_call_addr, si_syscall, si_arch): Define new marcro.
22010 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22012 (si_call_addr, si_syscall, si_arch): Define new macro.
22013 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22015 (si_call_addr, si_syscall, si_arch): Define new macro.
22017 2012-07-25 Joseph Myers <joseph@codesourcery.com>
22020 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22021 Change to 2.4.21 where previously 2.4.1.
22022 * sysdeps/unix/sysv/linux/configure: Regenerated.
22023 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22024 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22025 Linux kernel version.
22026 (__ASSUME_STD_AUXV): Remove.
22027 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22029 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22030 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22031 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22032 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22033 (__ASSUME_NETLINK_SUPPORT): Likewise.
22034 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22035 (__no_netlink_support): Remove conditional definition.
22036 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22038 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22039 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
22040 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
22041 (if_nameindex_ioctl): Remove.
22042 (if_nameindex_netlink): Do not handle __no_netlink_support.
22043 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22045 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22046 Remove conditional code.
22047 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22049 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
22051 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22052 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
22053 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
22055 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
22056 [!__ASSUME_STD_AUXV]: Remove conditional code.
22057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
22058 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
22059 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
22060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
22061 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
22062 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22064 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22066 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
22067 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22069 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22071 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22074 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
22077 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22078 code unconditional.
22079 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22081 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22083 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22086 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22088 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22091 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22092 code unconditional.
22093 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22095 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22097 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22100 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22101 code unconditional.
22102 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22104 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22106 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22109 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
22111 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
22112 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
22113 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22114 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
22115 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
22116 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22117 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22118 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22119 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
22120 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22121 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
22122 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
22123 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
22124 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22125 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
22126 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
22127 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
22128 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
22129 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22130 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
22131 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
22132 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
22133 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22135 2012-07-25 Florian Weimer <fweimer@redhat.com>
22137 * Versions.def: Add GLIBC_2.17.
22138 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
22139 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
22140 Introduce __libc_secure_getenv.
22141 * stdlib/Versions (2.17): Add secure_getenv
22142 (GLIBC_PRIVATE): Add __libc_secure_getenv.
22143 * stdlib/secure-getenv.c: Rename __secure_getenv to
22144 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
22145 symbol __secure_getenv for GLIBC_2.0.
22146 * stdlib/tst-secure-getenv.c: New.
22147 * stdlib/Makefile (tests): Add testcase.
22148 * manual/startup.texi (Environment Access): Document
22150 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
22151 __libc_secure_getenv.
22152 * inet/ruserpass.c (ruserpass): Likewise.
22153 * malloc/mtrace.c (mtrace): Likewise.
22154 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
22155 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
22156 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
22157 * sysdeps/posix/tempname.c: Likewise. Evaluate
22158 HAVE_SECURE_GETENV.
22159 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
22160 __secure_getenv to __libc_secure_getenv.
22161 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
22162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22168 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22174 2012-07-25 Joseph Myers <joseph@codesourcery.com>
22176 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
22177 (struct La_i86_retval): Likewise.
22178 (struct La_x86_64_regs): Likewise.
22179 (struct La_x86_64_retval): Likewise.
22180 (struct La_x32_regs): Likewise.
22181 (struct La_x32_retval): Likewise.
22182 (struct La_ppc32_regs): Likewise.
22183 (struct La_ppc32_retval): Likewise.
22184 (struct La_ppc64_regs): Likewise.
22185 (struct La_ppc64_retval): Likewise.
22186 (struct La_sh_regs): Likewise.
22187 (struct La_sh_retval): Likewise.
22188 (struct La_s390_32_regs): Likewise.
22189 (struct La_s390_32_retval): Likewise.
22190 (struct La_s390_64_regs): Likewise.
22191 (struct La_s390_64_retval): Likewise.
22192 (struct La_sparc32_regs): Likewise.
22193 (struct La_sparc32_retval): Likewise.
22194 (struct La_sparc64_regs): Likewise.
22195 (struct La_sparc64_retval): Likewise.
22196 (struct audit_ifaces): Remove architecture-specific pltenter and
22198 * sysdeps/i386/ldsodefs.h: New file.
22199 * sysdeps/powerpc/ldsodefs.h: Likewise.
22200 * sysdeps/s390/ldsodefs.h: Likewise.
22201 * sysdeps/sh/ldsodefs.h: Likewise.
22202 * sysdeps/sparc/ldsodefs.h: Likewise.
22203 * sysdeps/x86_64/ldsodefs.h: Likewise.
22205 2012-07-25 Marek Polacek <polacek@redhat.com>
22208 * math/libm-test.inc (yn_test): Add another test.
22209 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
22210 to ERANGE when the result is +-Inf.
22211 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22212 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
22213 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
22214 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
22216 2012-07-24 Joseph Myers <joseph@codesourcery.com>
22218 * conform/data/time.h-data (NULL): Use macro-constant. Require
22220 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
22222 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
22224 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
22226 * configure.in <sysdeps resolving>: Correct printing
22228 * configure: Regenerate.
22230 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
22232 * math/w_ilogb.c: Include <limits.h>.
22233 * math/w_ilogbl.c: Likewise.
22235 2012-07-20 Joseph Myers <joseph@codesourcery.com>
22237 * manual/lang.texi (__va_copy): Document primarily as ISO C99
22238 va_copy. Document allowing for unavailable va_copy only as
22239 pre-C99 compatibility.
22240 * manual/string.texi (Copying and Concatenation): Use va_copy
22241 instead of __va_copy in concat example.
22243 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
22245 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
22246 (__sendto): Use create_address_port. Initialize APORT and deallocate
22249 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
22250 with O_NOLINK passed to __file_name_lookup.
22252 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
22253 with O_NOLINK passed to __file_name_lookup.
22255 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
22256 negative N or less than NGIDS.
22258 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
22259 type to string_t. Set ERANGE as errno and return it if NAME is not big
22260 enough. Use memcpy instead of strncpy.
22262 2012-07-20 Joseph Myers <joseph@codesourcery.com>
22264 * elf/Makefile (check-data): Remove.
22265 (localplt.data): New vpath directive.
22266 ($(objpfx)check-localplt.out): Use localplt.data from vpath
22267 instead of $(check-data).
22268 * scripts/data/localplt-generic.data: Move to ...
22269 * sysdeps/generic/localplt.data: ... here.
22270 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
22271 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
22272 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
22273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22275 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
22276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22278 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
22279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
22281 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
22282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22284 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
22285 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
22287 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
22288 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
22291 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22293 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
22294 PPC32 and PPC64 files.
22295 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
22296 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
22298 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22300 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
22301 __makecontext_ret to ...
22302 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
22303 ... here and call exit if uc_link is NULL. New file.
22304 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
22305 __makecontext_ret.S.
22306 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
22307 __makecontext_ret to ...
22308 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
22309 ... here and call exit if uc_link is NULL. New file.
22310 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
22311 __makecontext_ret.S.
22313 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22315 * elf/elf.h (R_390_IRELATIVE): New definition.
22316 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
22317 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
22318 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
22319 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22320 (elf_machine_lazy_rel): Likewise.
22321 * sysdeps/s390/dl-irel.h: New file.
22322 * sysdeps/s390/s390-64/memcpy.S: New asm code.
22323 * sysdeps/s390/s390-64/memset.S: New asm code.
22324 * sysdeps/s390/s390-64/memcmp.S: New asm code.
22325 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
22326 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
22327 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
22328 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
22329 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
22330 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
22331 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
22332 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
22333 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
22334 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
22335 * sysdeps/s390/s390-32/memcpy.S: New asm code.
22336 * sysdeps/s390/s390-32/memset.S: New asm code.
22337 * sysdeps/s390/s390-32/memcmp.S: New asm code.
22339 2012-07-17 Marek Polacek <polacek@redhat.com>
22342 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
22343 * sysdeps/s390/s390-64/configure.in: Likewise.
22344 * sysdeps/sparc/configure.in: Likewise.
22345 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
22346 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
22347 * sysdeps/i386/configure.in: Likewise.
22348 * sysdeps/x86_64/configure.in: Likewise.
22349 * sysdeps/sh/configure.in: Likewise.
22350 * sysdeps/s390/s390-32/configure: Regenerated.
22351 * sysdeps/s390/s390-64/configure: Likewise.
22352 * sysdeps/x86_64/configure: Likewise.
22353 * sysdeps/sh/configure: Likewise.
22354 * sysdeps/powerpc/powerpc64/configure: Likewise.
22355 * sysdeps/powerpc/powerpc32/configure: Likewise.
22356 * sysdeps/sparc/configure: Likwise.
22357 * sysdeps/i386/configure: Likewise.
22359 * elf/dl-open.c: Comment fixes.
22361 2012-07-17 Joseph Myers <joseph@codesourcery.com>
22363 * Makefile [CXX] (check-data): Remove.
22364 [CXX] (c++-types.data): New vpath directive.
22365 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
22366 vpath. Do not allow for C++ type data being missing.
22367 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
22368 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
22369 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
22370 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
22371 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
22372 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
22373 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
22374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22376 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
22377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22379 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
22380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
22382 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
22383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
22385 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
22386 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
22388 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
22389 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
22391 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
22392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
22394 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
22395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
22397 * elf/tls-macros.h (TLS_LE): Move architecture-specific
22398 definitions to architecture-specific files.
22399 (TLS_IE): Likewise.
22400 (TLS_LD): Likewise.
22401 (TLS_GD): Likewise.
22402 * sysdeps/i386/tls-macros.h: New file.
22403 * sysdeps/powerpc/tls-macros.h: Likewise.
22404 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22405 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22406 * sysdeps/sh/tls-macros.h: Likewise.
22407 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
22408 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
22409 * sysdeps/x86_64/tls-macros.h: Likewise.
22411 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22413 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
22414 zero value for regular exit case.
22416 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22417 (__start_context): Preserve zero value for regular exit case.
22419 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22420 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22422 * manual/setjmp.texi (setcontext): Clarify normal process
22423 termination when uc_link is the null pointer.
22424 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
22427 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
22429 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
22430 preprocessor. Test for each exception mask separately.
22432 2012-07-16 Andreas Jaeger <aj@suse.de>
22434 * po/ru.po: Update from translation team.
22436 2012-07-15 Joseph Myers <joseph@codesourcery.com>
22438 * conform/data/string.h-data (NULL): Use macro-constant. Require
22440 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22441 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22442 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
22443 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
22444 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22446 2012-07-13 Andreas Jaeger <aj@suse.de>
22448 * po/fr.po: Update from translation team.
22450 2012-07-12 Marek Polacek <polacek@redhat.com>
22453 * math/libm-test.inc (yn_test): Add test for BZ #14173.
22454 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
22457 2012-07-12 Joseph Myers <joseph@codesourcery.com>
22460 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22461 Change to 2.4.1 where previously 2.4.0.
22462 * sysdeps/unix/sysv/linux/configure: Regenerated.
22463 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
22464 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
22466 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
22467 (__ASSUME_AT_CLKTCK): Remove.
22468 (__ASSUME_AT_PAGESIZE): Likewise.
22469 (__ASSUME_AT_XID): Likewise.
22470 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
22471 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
22472 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
22474 (HAVE_AUX_PAGESIZE): Likewise.
22475 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
22476 [__ASSUME_AT_CLKTCK]: Make code unconditional.
22477 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
22479 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
22482 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
22483 the temporary buffer used to invoke __gethostbyname2_r,
22484 __gethostbyaddr_r and gethostbyname4_r to make room for struct
22485 host_data / struct gaih_addrtuple.
22486 * resolv/nss_dns/dns-host.c (global scope): Move definition of
22487 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
22488 header file nss/nsswitch.h.
22489 * nss/nsswitch.h (global scope): Add definition of implementation
22490 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
22491 resolv/nss_dns/dns-host.c).
22493 2012-07-11 Andreas Jaeger <aj@suse.de>
22495 * po/fr.po: Update from translation team.
22497 * po/sv.po: Update from translation team
22498 * po/fr.po: Another update from translation team.
22500 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22502 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
22503 for subnormals or multiply small sinh result by itself.
22504 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22507 2012-07-11 David S. Miller <davem@davemloft.net>
22509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22511 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
22514 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
22515 (INTERNAL_MARK): Shift it here.
22517 2012-07-10 Marek Polacek <polacek@redhat.com>
22520 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
22521 libc_cv_asm_global_directive with .globl.
22522 * configure: Regenerated.
22523 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
22525 * sysdeps/i386/configure: Regenerated.
22526 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
22528 * sysdeps/x86_64/configure: Regenerated.
22529 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
22530 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
22531 * elf/tst-unique2mod2.c: Likewise.
22532 * elf/tst-unique2mod1.c: Likewise.
22533 * elf/tst-unique1mod2.c: Likewise.
22534 * elf/tst-unique1mod1.c: Likewise.
22535 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22536 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22537 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22538 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22539 * sysdeps/mach/sysdep.h: Likewise.
22540 * sysdeps/i386/sysdep.h: Likewise.
22541 * sysdeps/i386/i386-mcount.S: Likewise.
22542 * sysdeps/x86_64/_mcount.S: Likewise.
22543 * sysdeps/x86_64/sysdep.h: Likewise.
22544 * sysdeps/sh/_mcount.S: Likewise.
22545 * sysdeps/sh/sysdep.h: Likewise.
22546 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
22547 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
22548 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
22549 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22550 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
22551 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
22552 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
22553 * locale/localeinfo.h: Likewise.
22554 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
22555 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
22557 2012-07-09 Roland McGrath <roland@hack.frob.com>
22560 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
22562 * manual/message.texi (The Uniforum approach): Likewise.
22563 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
22564 (glibc iconv Implementation): Likewise.
22566 2012-07-09 Joseph Myers <joseph@codesourcery.com>
22569 * math/s_clog.c (__clog): Avoid scaling a value down where that
22570 could result in underflow.
22571 * math/s_clog10.c (__clog10): Likewise.
22572 * math/s_clog10f.c (__clog10f): Likewise.
22573 * math/s_clog10l.c (__clog10l): Likewise.
22574 * math/s_clogf.c (__clogf): Likewise.
22575 * math/s_clogl.c (__clogl): Likewise.
22576 * math/libm-test.inc (clog_test): Add more tests.
22577 (clog10_test): Likewise.
22578 * sysdeps/i386/fpu/libm-test-ulps: Update.
22579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22581 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
22584 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
22585 by 7 not 8 to examine high bit of fractional part.
22588 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
22589 for call to __mcount_internal.
22590 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
22591 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
22592 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
22594 2012-07-06 Joseph Myers <joseph@codesourcery.com>
22597 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
22598 approximation for values within 0x1p-13f of an odd multiple of
22600 * math/libm-test.inc (tan_test): Do not allow spurious underflow
22601 exception. Add more tests.
22602 * sysdeps/i386/fpu/libm-test-ulps: Update.
22605 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
22606 inputs and return -1 for them. Do not check for +Inf in case not
22607 reachable for +Inf.
22608 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22609 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
22610 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22611 and return -1 for them. Do not check for +Inf in case not
22612 reachable for +Inf.
22613 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
22615 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22616 and return -1 for them. Do not check for +Inf in case not
22617 reachable for +Inf.
22618 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
22619 spurious underflow.
22620 * sysdeps/i386/fpu/libm-test-ulps: Update.
22621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22623 2012-07-06 Mike Frysinger <vapier@gentoo.org>
22625 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
22627 2012-07-05 Joseph Myers <joseph@codesourcery.com>
22631 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
22632 could result in spurious underflow. Scale down values above
22633 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
22634 * math/s_csqrtf.c (__csqrtf): Likewise.
22635 * math/s_csqrtl.c (__csqrtl): Likewise.
22636 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
22637 spurious underflow.
22638 * sysdeps/i386/fpu/libm-test-ulps: Update.
22639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22641 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
22643 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
22645 * catgets/xopen-msg.awk: New file.
22646 * catgets/xopen-msg.sed: Removed.
22648 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
22650 * intl/po2test.awk: New file.
22651 * intl/po2test.sed: Removed.
22653 2012-07-04 Joseph Myers <joseph@codesourcery.com>
22656 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
22657 or multiply small sinh result by itself.
22658 * math/s_ctanf.c (__ctanf): Likewise.
22659 * math/s_ctanh.c (__ctanh): Likewise.
22660 * math/s_ctanhf.c (__ctanhf): Likewise.
22661 * math/s_ctanhl.c (__ctanhl): Likewise.
22662 * math/s_ctanl.c (__ctanl): Likewise.
22663 * math/libm-test.inc (ctan_test_tonearest): New function.
22664 (ctan_test_towardzero): Likewise.
22665 (ctan_test_downward): Likewise.
22666 (ctan_test_upward): Likewise.
22667 (ctanh_test_tonearest): Likewise.
22668 (ctanh_test_towardzero): Likewise.
22669 (ctanh_test_downward): Likewise.
22670 (ctanh_test_upward): Likewise.
22671 (main): Call these new functions.
22672 * sysdeps/i386/fpu/libm-test-ulps: Update.
22673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22675 2012-07-03 Mike Frysinger <vapier@gentoo.org>
22677 * .gitignore: Delete /ports entry.
22679 2012-07-03 Andreas Jaeger <aj@suse.de>
22681 * po/bg.po: Update from translation team.
22682 * po/cs.po: Likewise.
22683 * po/de.po: Likewise.
22684 * po/hr.po: Likewise.
22685 * po/nl.pl: Likewise.
22686 * po/pl.po: Likewise.
22687 * po/vi.po: Likewise.
22689 2012-07-03 Joseph Myers <joseph@codesourcery.com>
22691 * Makeconfig [!+link] (+link-before-libc): New variable.
22692 [!+link] (+link-after-libc): Likewise.
22693 [!+link] (+link-tests): Likewise.
22694 [!+link] (+link): Define in terms of $(+link-before-libc) and
22695 $(+link-after-libc).
22696 [!+link-static] (+link-static-before-libc): New variable.
22697 [!+link-static] (+link-static-after-libc): Likewise.
22698 [!+link-static] (+link-static-tests): Likewise.
22699 [!+link-static] (+link-static): Define in terms of
22700 $(+link-static-before-libc) and $(+link-static-after-libc).
22701 [build-shared] (link-libc-before-gnulib): New variable.
22702 [build-shared] (link-libc-tests): Likewise.
22703 [build-shared] (link-libc): Define in terms of
22704 $(link-libc-before-gnulib).
22705 [!build-shared] (link-libc-tests): New variable.
22706 (link-libc-static-tests): New variable.
22707 [!gnulib] (gnulib-arch): New variable.
22708 [!gnulib] (gnulib-tests): Likewise.
22709 [!gnulib] (static-gnulib-arch): Likewise.
22710 [!gnulib] (static-gnulib-tests): Likewise.
22711 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
22712 Define with "=" instead of ":=".
22713 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
22714 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
22715 * Rules (binaries-all-notests): New variable.
22716 (binaries-all-tests): Likewise.
22717 (binaries-static-notests): Likewise.
22718 (binaries-static-tests): Likewise.
22719 (binaries-all): Define using $(binaries-all-notests) and
22720 $(binaries-all-tests).
22721 (binaries-static): Define using $(binaries-static-notests) and
22722 $(binaries-static-tests).
22723 (binaries-shared-tests): New variable.
22724 (binaries-shared-notests): Likewise.
22725 (binaries-shared): Remove variable.
22726 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22727 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22728 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22729 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22730 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22731 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22732 * elf/Makefile (sln-modules): New variable.
22733 (extra-objs): Add $(sln-modules:=.o).
22734 (ldconfig-modules): Add static-stubs.
22735 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22736 * elf/static-stubs.c: New file.
22739 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22740 by 7 not 8 to examine high bit of fractional part. Use volatile
22741 variables when splitting into final array of floats if
22742 __FLT_EVAL_METHOD__ != 0.
22743 * math/libm-test.inc (cos_test): Add another test.
22744 (sin_test): Likewise.
22745 * sysdeps/i386/fpu/libm-test-ulps: Update.
22748 * math/libm-test.inc (cosh_test): Add more tests.
22750 * version.h (RELEASE): Set to "development".
22751 (VERSION): Set to "2.16.90".
22753 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
22755 * NEWS: Update copyright. Remove last-updated date.
22756 Mention math library bug fixes and timezone data changes.
22757 * README: Mention GNU/Hurd, x32, and HPPA support status.
22759 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
22761 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22763 2012-06-27 Andreas Jaeger <aj@suse.de>
22765 * manual/contrib.texi (Contributors): Add Samuel Thibault.
22767 2012-06-25 Andreas Jaeger <aj@suse.de>
22769 * sysdeps/s390/fpu/libm-test-ulps: Update.
22771 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
22772 Thomas Schwinge <thomas@codesourcery.com>
22774 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22775 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22776 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22779 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
22781 * sysdeps/mach/start.c: Remove file.
22782 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22783 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22784 * sysdeps/sh/init-first.c: Likewise.
22786 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22787 registers for frame unwinding purposes, add CFI directives.
22788 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22789 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22790 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22793 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22794 __fortify_fail returning.
22795 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22797 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22798 sysdeps/sh/____longjmp_chk.S.
22799 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22800 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22801 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22802 (gen-as-const-headers): Append sigaltstack-offsets.sym.
22804 * sysdeps/sh/abort-instr.h: New file.
22805 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22806 process in case exit returns.
22808 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22809 initialize the GOT register before use.
22811 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22812 calculation of ARGC > 4.
22814 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22815 meaningful names to some local labels.
22817 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22818 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22820 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22821 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22822 (__arch_compare_and_exchange_val_16_acq): Likewise.
22823 (__arch_compare_and_exchange_val_32_acq): Likewise.
22824 (atomic_exchange_and_add): Fix gUSA sequence.
22825 (atomic_add): Likewise.
22826 (atomic_add_negative): Likewise.
22827 (atomic_add_zero): Likewise.
22828 (atomic_bit_test_set): Likewise.
22830 2012-06-22 Andreas Schwab <schwab@redhat.com>
22833 * include/link.h (struct link_map): Add l_free_initfini.
22834 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22836 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22837 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22838 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22841 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
22843 * configure.in: Use AC_LANG_SOURCE.
22844 * configure: Regenerate.
22846 2012-06-22 Roland McGrath <roland@hack.frob.com>
22848 * configure.in (libc_cv_localstatedir): New substituted variable.
22849 * configure: Regenerated.
22850 * config.make.in (localstatedir): New variable, substituted from
22851 libc_cv_localstatedir.
22852 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22853 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22854 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22855 * sysdeps/gnu/configure: Regenerated.
22857 2012-06-21 Jeff Law <law@redhat.com>
22860 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22861 free. Simplify list management for _LIBC case.
22863 2012-06-21 Joseph Myers <joseph@codesourcery.com>
22866 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22867 Clear sign bit of 64-bit integer value before comparing against
22870 * sysdeps/mach/configure: Regenerated.
22872 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
22875 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22877 2012-06-21 Jeff Law <law@redhat.com>
22880 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
22881 uint16_t for elements in the "seen" array to avoid char overflows.
22882 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22883 * elf/dl-open.c (dl_open_worker): Likewise.
22885 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
22887 * scripts/list-sources.sh: Scan PORTS for translations.
22888 * po/libc.pot: Regenerated.
22890 2012-06-21 Andreas Jaeger <aj@suse.de>
22893 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22895 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22896 * bits/byteswap-16.h (__bswap_16): Likewise.
22897 * bits/byteswap.h (__bswap_constant_16): Likewise.
22899 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
22902 * sysdeps/i386/fpu_control.h: Removed.
22903 * sysdeps/x86_64/fpu_control.h: Moved to ...
22904 * sysdeps/x86/fpu_control.h: Here.
22906 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22907 (_FPU_SETCW): Likewise.
22909 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
22912 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22913 * sysdeps/x86/fpu/bits/mathinline.h: This.
22914 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22918 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22919 functions if __x86_64__ is defined.
22921 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
22923 * string/endian.h: Add !__ASSEMBLER__ condition for including
22924 conversion interfaces.
22926 2012-06-15 Joseph Myers <joseph@codesourcery.com>
22929 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22930 of ABS(x) in calculating zero to negative powers other than odd
22932 * math/libm-test.inc (pow_test): Add more tests.
22934 2012-06-15 Andreas Jaeger <aj@suse.de>
22936 * manual/contrib.texi (Contributors): Update entry of Liubov
22937 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22940 2012-06-15 Cyril Hrubis <metan@ucw.cz>
22942 * string/string.h: Add __wur to GNU version of strerror_r.
22944 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
22947 * string/Makefile (tests): Add tst-strtok_r.
22948 * string/tst-strtok_r.c: New file.
22949 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22950 RAX_LP/RDX_LP on SAVE_PTR.
22952 2012-06-14 Roland McGrath <roland@hack.frob.com>
22954 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22956 2012-06-14 Joseph Myers <joseph@codesourcery.com>
22958 * libm_test.inc (csqrt_test): Allow more spurious underflow
22960 (j0_test): Likewise.
22961 (j1_test): Likewise.
22962 (y0_test): Likewise.
22963 (y1_test): Likewise.
22965 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
22967 * po/Makefile (libc.pot): Use UTF-8 charset.
22969 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
22972 Suppress sign-conversion warning from FD_SET.
22973 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22974 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22975 not unsigned long int.
22976 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22978 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
22982 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22983 __extern_always_inline instead of __extern_inline.
22984 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22985 (__signbit): Likewise.
22986 (__signbitl): Support C++ namespace.
22987 (lrintf): New inline function.
22989 (llrintf): Likewise.
22990 (llrint): Likewise.
23000 (floorf): Likewise.
23001 (nearbyint): Likewise.
23002 (nearbyintf): Likewise.
23004 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
23006 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23007 non-default versions.
23009 2012-06-11 Roland McGrath <roland@hack.frob.com>
23012 * manual/argp.texi (Argp): Reword argp_parse description slightly.
23014 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
23016 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23017 (FE_UPWARD, FE_DOWNWARD): Don't define.
23018 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23019 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23021 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23023 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23024 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23026 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23028 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23029 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23030 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23031 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23033 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
23036 * sysdeps/i386/fpu/bits/fenv.h: Removed.
23037 * sysdeps/i386/fpu/Implies: New file.
23038 * sysdeps/x86_64/fpu/Implies: Likewise.
23039 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
23040 * sysdeps/x86/fpu/bits/fenv.h: This.
23042 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23045 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23048 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23049 character 0xffff that matches the last element of the
23052 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23054 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23057 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23059 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
23060 values higher than 25.6283.
23062 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23064 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
23065 subnormal exponent extraction and add some __builtin_expect.
23066 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
23067 Fix for subnormal mantissa calculation.
23069 2012-06-04 Mike Frysinger <vapier@gentoo.org>
23071 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
23072 cpu2 is -1 and errno is not ENOSYS.
23074 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
23077 * sysdeps/i386/i486/bits/string.h: Renamed to ...
23078 * sysdeps/x86/bits/string.h: This.
23079 * sysdeps/x86_64/bits/string.h: Removed.
23081 * sysdeps/i386/i486/bits/string.h: Define inline functions only
23082 if not compiling for x86-64, but compiling for >= i486.
23084 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
23085 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
23087 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
23088 New macro from Linux kernel 3.4.0.
23089 (FP_XSTATE_MAGIC2): Likewise.
23090 (FP_XSTATE_MAGIC2_SIZE): Likewise.
23091 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
23092 (struct _fpx_sw_bytes): New struct.
23093 (struct _xsave_hdr): Likewise.
23094 (struct _ymmh_state): Likewise.
23095 (struct _xstate): Likewise.
23097 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
23098 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
23099 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
23100 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
23101 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
23102 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
23104 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
23105 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
23106 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
23107 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
23108 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
23109 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
23111 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23114 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
23115 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
23116 (sysdep_headers): Include sys/platform/ppc.h.
23117 * sysdeps/powerpc/test-gettimebase.c: Test for
23118 __ppc_get_timebase() to catch future ISA opcode/insn changes.
23119 * manual/Makefile (appendices): Include platform.texi.
23120 * manual/contrib.texi (Contributors): Update @node pointers.
23121 * manual/maint.texi (Maintenance): Likewise.
23122 (Platform): New node.
23123 * manual/platform.texi: New file. Document the new features.
23125 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23126 Jakub Jelinek <jakub@redhat.com>
23129 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
23130 where __builtin_expect is unavailable.
23132 2012-06-03 David S. Miller <davem@davemloft.net>
23134 * stdlib/longlong.h: Updated from GCC.
23136 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
23139 * sysdeps/powerpc/powerpc32/mcount.c: New file.
23140 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
23142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23143 (GLIBC_2.16): Likewise.
23145 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23147 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
23149 2012-06-01 Joseph Myers <joseph@codesourcery.com>
23151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
23152 (default-abi): New variable.
23153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
23154 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
23156 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
23158 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
23160 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
23163 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
23164 definition. Document in comment.
23166 2012-06-01 David S. Miller <davem@davemloft.net>
23168 * stdlib/longlong.h: Updated from GCC.
23170 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23173 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
23174 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
23175 sys/debugreg.h sys/io.h here.
23176 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
23177 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
23179 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
23180 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
23181 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
23182 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
23183 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
23184 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
23186 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
23187 Define only if __x86_64__ is defined.
23189 2012-06-01 Joseph Myers <joseph@codesourcery.com>
23192 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
23193 Use int64_t for variable i.
23194 * math/libm-test.inc (fmod_test): Add more tests.
23196 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
23197 z computation is not scheduled after fetestexcept.
23198 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
23199 Use math_force_eval instead of asm to ensure calculation scheduled
23200 before exception test.
23201 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
23202 Ensure a1 + u.d computation is not scheduled after fetestexcept.
23204 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
23206 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
23207 computation is not scheduled after fetestexcept.
23209 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23212 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
23213 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
23215 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23217 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
23218 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23220 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23223 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
23225 (__WCHAR_MIN): Support __WORDSIZE == 64.
23226 (__WCHAR_MAX): Likewise.
23228 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
23229 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
23232 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
23233 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
23236 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
23237 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
23239 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
23240 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
23242 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
23243 Defined to 1 if __x86_64__ isn't defined.
23244 (_STAT_VER_LINUX_OLD): New.
23245 (st_atime): Remove duplicate.
23246 (st_mtime): Likewise.
23247 (st_ctime): Likewise.
23249 2012-05-31 David S. Miller <davem@davemloft.net>
23251 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
23254 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
23256 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
23260 * elf/dl-reloc.c: Include <_itoa.h>.
23261 (_dl_reloc_bad_type): Remove use of INTUSE.
23262 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
23263 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
23264 * stdio-common/psiginfo.c (psiginfo): Likewise.
23265 * stdio-common/psignal.c (psignal): Likewise.
23266 * string/strsignal.c (strsignal): Likewise.
23267 * include/signal.h (_sys_siglist): Declare hidden proto.
23268 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
23269 INTVARDEF with libc_hidden_data_def.
23270 * stdio-common/itoa-udigits.c: Likewise.
23271 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
23272 (_itoa_lower_digits_internal): Remove declaration.
23273 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
23274 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
23275 (_sys_sigabbrev_internal): Remove aliases.
23276 (_sys_siglist): Define hidden alias.
23278 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
23280 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23283 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23286 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
23287 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
23289 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
23290 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
23291 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
23292 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
23293 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
23294 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
23296 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
23297 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
23298 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
23300 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
23308 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
23309 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
23310 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
23312 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
23313 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
23314 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
23315 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
23316 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
23317 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
23319 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
23320 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
23322 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
23323 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
23325 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
23326 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
23327 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
23329 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
23330 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
23332 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
23334 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
23335 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
23336 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
23338 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
23340 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
23342 2012-05-31 Joseph Myers <joseph@codesourcery.com>
23344 * math/math.h (M_El): Use two more decimal places.
23345 (M_LOG2El): Likewise.
23346 (M_LOG10El): Likewise.
23347 (M_LN2l): Likewise.
23348 (M_LN10l): Likewise.
23350 (M_PI_2l): Likewise.
23351 (M_PI_4l): Likewise.
23352 (M_1_PIl): Likewise.
23353 (M_2_PIl): Likewise.
23354 (M_2_SQRTPIl): Likewise.
23355 (M_SQRT2l): Likewise.
23356 (M_SQRT1_2l): Likewise.
23358 2012-05-31 David S. Miller <davem@davemloft.net>
23360 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
23361 values between float registers.
23362 * sysdeps/sparc/sparc64/memset.S: Likewise.
23363 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23365 2012-05-31 Mike Frysinger <vapier@gentoo.org>
23367 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
23368 -D_FORTIFY_SOURCE=1.
23369 (CPPFLAGS-tst-longjmp_chk.c): Define.
23370 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
23371 (CPPFLAGS-tst-longjmp_chk2.c): Define.
23372 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
23373 CFLAGS-tst-wchar-h.c.
23375 2012-05-31 Marek Polacek <polacek@redhat.com>
23378 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
23379 __endmntent_internal): Remove declaration.
23380 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
23381 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
23382 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
23384 2012-05-30 David S. Miller <davem@davemloft.net>
23386 * sysdeps/sparc/sparc32/soft-fp/q_util.c
23387 (___Q_simulate_exceptions): Use real FP ops rather than writing
23389 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
23392 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23395 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
23396 * sysdeps/x86/bits/xtitypes.h: This.
23398 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
23399 * sysdeps/x86/bits/wordsize.h: This.
23401 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
23402 * sysdeps/x86/bits/huge_vall.h: This.
23404 * sysdeps/i386/bits/select.h: Removed.
23405 * sysdeps/x86_64/bits/select.h: Renamed to ...
23406 * sysdeps/x86/bits/select.h: This.
23408 * sysdeps/i386/bits/setjmp.h: Removed.
23409 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
23410 * sysdeps/x86/bits/setjmp.h: This.
23412 * sysdeps/i386/bits/mathdef.h: Removed.
23413 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
23414 * sysdeps/x86/bits/mathdef.h: This.
23416 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
23419 * include/sys/socket.h (__connect_internal)
23420 (__libc_sa_len_internal): Remove declaration.
23421 (__connect, __libc_sa_len): Declare hidden_proto.
23422 (SA_LEN): Remove use of INTUSE.
23423 * socket/connect.c: Add libc_hidden_def.
23424 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
23425 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
23426 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
23428 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23429 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
23430 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
23431 of adding _internal alias.
23433 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23436 * sysdeps/i386/bits/link.h: Removed.
23437 * sysdeps/i386/bits/linkmap.h: Likewise.
23438 * sysdeps/x86_64/bits/link.h: Renamed to ...
23439 * sysdeps/x86/bits/link.h: This.
23440 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
23441 * sysdeps/x86/bits/linkmap.h: This.
23443 * sysdeps/i386/bits/endian.h: Removed.
23444 * sysdeps/x86_64/bits/endian.h: Renamed to ...
23445 * sysdeps/x86/bits/endian.h: This.
23447 * sysdeps/i386/bits/byteswap.h: Removed.
23448 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23449 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
23450 * sysdeps/x86/bits/byteswap.h: This.
23451 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
23452 * sysdeps/x86/bits/byteswap-16.h: This.
23453 * sysdeps/i386/Implies: Add x86.
23454 * sysdeps/x86_64/Implies: Likewise.
23456 2012-05-30 David S. Miller <davem@davemloft.net>
23458 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
23459 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
23460 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23461 (FP_TRAPPING_EXCEPTIONS): Define.
23462 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23463 (FP_TRAPPING_EXCEPTIONS): Define.
23464 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
23465 subnormals only when inexact has been signalled or underflow
23466 exceptions are enabled.
23467 (_FP_PACK_CANONICAL): Likewise.
23469 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23472 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
23473 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
23475 2012-05-30 Richard Henderson <rth@twiddle.net>
23477 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
23478 with #ifndef NOT_IN_libc.
23480 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
23481 marked to avoid plt entry.
23483 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23486 * Makeconfig (default-abi): New macro.
23487 (abi-includes): Likewise.
23488 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
23489 $(abi-$(default-abi)-lib-soname) for soname if defined.
23490 ($(common-objpfx)gnu/lib-names.stmp): Generate from
23492 * Makefile (installed-stubs): Likewise.
23493 * include/stubs-biarch.h: Removed.
23494 * scripts/lib-names.awk: Only handle one library at a time.
23495 * scripts/soversions.awk: Remove WORDSIZE support.
23496 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
23498 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
23500 (syscall-list-default-condition): Likewise.
23501 (syscall-list-default-condition): Likewise.
23502 (syscall-list-includes): Likewise.
23503 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
23504 syscall-list-* with abi-*. Handle undefined abi-variants.
23505 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
23506 * sysdeps/unix/sysv/linux/i386/Implies: New file.
23507 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
23508 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
23509 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
23510 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
23512 (syscall-list-32-options): Likewise.
23513 (syscall-list-32-condition): Likewise.
23514 (syscall-list-64-options): Likewise.
23515 (syscall-list-64-condition): Likewise.
23516 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
23518 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
23521 (abi-64-ld-soname): New macro.
23522 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
23523 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
23526 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
23527 * sysdeps/x86_64/x32/shlib-versions: Likewise.
23529 2012-05-30 Joseph Myers <joseph@codesourcery.com>
23531 * sysdeps/unix/sysv/linux/kernel-features.h
23532 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
23533 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
23534 include <kernel-features.h>.
23535 [!__NR_ftruncate64]: Remove conditional code.
23536 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23537 [__NR_ftruncate64]: Make code unconditional.
23538 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23539 * sysdeps/unix/sysv/linux/truncate64.c: Do not
23540 include <kernel-features.h>.
23541 [!__NR_ftruncate64]: Remove conditional code.
23542 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23543 [__NR_ftruncate64]: Make code unconditional.
23544 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
23546 include <kernel-features.h>.
23547 [!__NR_ftruncate64]: Remove conditional code.
23548 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23549 [__NR_ftruncate64]: Make code unconditional.
23550 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23552 include <kernel-features.h>.
23553 [!__NR_ftruncate64]: Remove conditional code.
23554 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23555 [__NR_ftruncate64]: Make code unconditional.
23556 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23558 * configure.in (libc_cv_fpie): Weaken to a compile test using
23559 LIBC_TRY_CC_OPTION.
23560 * configure: Regenerated.
23562 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
23565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
23566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
23567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
23570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
23571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
23572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
23573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
23574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23577 2012-05-27 David S. Miller <davem@davemloft.net>
23579 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
23581 (__Q_simulate_exceptions): Return void. Change to simulate
23582 exceptions by writing into the %fsr.
23583 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
23584 (__Qp_handle_exceptions): Likewise.
23586 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
23587 __Qp_handle_exceptions.
23588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
23589 __Qp_handle_exceptions.
23590 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23591 as unused and give dummy FP_RND_NEAREST initializer.
23592 (FP_INHIBIT_RESULTS): Define.
23593 (___Q_simulate_exceptions): Update declaration.
23594 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
23596 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23597 as unused and give dummy FP_RND_NEAREST initializer.
23598 (__Qp_handle_exceptions): Update declaration.
23599 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
23602 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
23604 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
23605 the temporary FPU control word.
23606 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23607 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
23608 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23609 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23610 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23611 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23612 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23613 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23614 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23615 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23616 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23618 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23620 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
23623 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
23625 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
23626 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
23627 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
23628 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
23630 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
23631 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
23634 2012-05-27 Ulrich Drepper <drepper@gmail.com>
23636 * po/h.po: Update from translation team.
23638 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
23640 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
23642 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
23643 handling of denormals.
23644 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23645 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23646 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23647 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23648 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23649 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
23650 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
23653 2012-05-26 Marek Polacek <polacek@redhat.com>
23656 * math/libm-test.inc (fma_test): Don't always expect underflow
23659 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23662 * elf/tst-execstack.c: Include stackinfo.h.
23663 (do_test): Adjust test case to ensure that pthread_getattr_np
23664 behaviour remains the same after marking stack executable.
23666 2012-05-25 Joseph Myers <joseph@codesourcery.com>
23668 * sysdeps/unix/sysv/linux/kernel-features.h
23669 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
23670 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
23672 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23673 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23674 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
23676 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23677 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23679 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
23681 * configure.in: Define the default includes to being none.
23682 * configure: Regenerated.
23684 2012-05-25 Roland McGrath <roland@hack.frob.com>
23686 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
23687 * sysdeps/x86_64/setjmp.S: Likewise.
23688 * sysdeps/i386/bsd-setjmp.S: Likewise.
23689 * sysdeps/i386/bsd-_setjmp.S: Likewise.
23690 * sysdeps/i386/setjmp.S: Likewise.
23691 * sysdeps/i386/__longjmp.S: Likewise.
23692 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23693 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
23695 * include/stap-probe.h: New file.
23696 * configure.in: Handle --enable-systemtap.
23697 * configure: Regenerated.
23698 * config.h.in (USE_STAP_PROBE): New #undef.
23699 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
23700 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
23701 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23703 2012-05-25 Joseph Myers <joseph@codesourcery.com>
23706 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23707 to 2.4.0 where earlier.
23708 * sysdeps/unix/sysv/linux/configure: Regenerated.
23709 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23710 <kernel-features.h>.
23711 [__ASSUME_32BITUIDS]: Make code unconditional.
23712 [!__ASSUME_32BITUIDS]: Remove conditional code.
23713 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
23714 <kernel-features.h>.
23715 [__ASSUME_32BITUIDS]: Make code unconditional.
23716 [!__ASSUME_32BITUIDS]: Remove conditional code.
23717 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
23718 [__ASSUME_32BITUIDS]: Make code unconditional.
23719 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23720 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
23721 <kernel-features.h>.
23722 [__ASSUME_32BITUIDS]: Make code unconditional.
23723 [!__ASSUME_32BITUIDS]: Remove conditional code.
23724 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
23725 <kernel-features.h>.
23726 [__ASSUME_32BITUIDS]: Make code unconditional.
23727 [!__ASSUME_32BITUIDS]: Remove conditional code.
23728 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
23729 <kernel-features.h>.
23730 [__ASSUME_32BITUIDS]: Make code unconditional.
23731 [!__ASSUME_32BITUIDS]: Remove conditional code.
23732 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
23733 <kernel-features.h>.
23734 [__ASSUME_32BITUIDS]: Make code unconditional.
23735 [!__ASSUME_32BITUIDS]: Remove conditional code.
23736 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23737 <kernel-features.h>.
23738 [__ASSUME_32BITUIDS]: Make code unconditional.
23739 [!__ASSUME_32BITUIDS]: Remove conditional code.
23740 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23741 <kernel-features.h>.
23742 [__ASSUME_32BITUIDS]: Make code unconditional.
23743 [!__ASSUME_32BITUIDS]: Remove conditional code.
23744 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
23745 <kernel-features.h>.
23746 [__ASSUME_32BITUIDS]: Make code unconditional.
23747 [!__ASSUME_32BITUIDS]: Remove conditional code.
23748 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23749 <kernel-features.h>.
23750 [__ASSUME_32BITUIDS]: Make code unconditional.
23751 [!__ASSUME_32BITUIDS]: Remove conditional code.
23752 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23753 <kernel-features.h>.
23754 [__ASSUME_32BITUIDS]: Make code unconditional.
23755 [!__ASSUME_32BITUIDS]: Remove conditional code.
23756 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
23757 <kernel-features.h>.
23758 [__ASSUME_32BITUIDS]: Make code unconditional.
23759 [!__ASSUME_32BITUIDS]: Remove conditional code.
23760 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
23761 <kernel-features.h>.
23762 [__NR_setresgid] (__setresgid): Do not declare.
23763 [__ASSUME_32BITUIDS]: Make code unconditional.
23764 [!__ASSUME_32BITUIDS]: Remove conditional code.
23765 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23766 <kernel-features.h>.
23767 [__NR_setresuid] (__setresuid): Do not declare.
23768 [__ASSUME_32BITUIDS]: Make code unconditional.
23769 [!__ASSUME_32BITUIDS]: Remove conditional code.
23770 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.c: Do not include
23783 <kernel-features.h>.
23784 [__ASSUME_32BITUIDS]: Make code unconditional.
23785 [!__ASSUME_32BITUIDS]: Remove conditional code.
23786 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23787 <kernel-features.h>.
23788 [__ASSUME_32BITUIDS]: Make code unconditional.
23789 [!__ASSUME_32BITUIDS]: Remove conditional code.
23790 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23791 <kernel-features.h>.
23792 [__ASSUME_32BITUIDS]: Make code unconditional.
23793 [!__ASSUME_32BITUIDS]: Remove conditional code.
23794 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23795 <kernel-features.h>.
23796 [__ASSUME_32BITUIDS]: Make code unconditional.
23797 [!__ASSUME_32BITUIDS]: Remove conditional code.
23798 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23799 <kernel-features.h>.
23800 [__ASSUME_32BITUIDS]: Make code unconditional.
23801 [!__ASSUME_32BITUIDS]: Remove conditional code.
23802 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23803 <kernel-features.h>.
23804 [__ASSUME_32BITUIDS]: Make code unconditional.
23805 [!__ASSUME_32BITUIDS]: Remove conditional code.
23806 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23807 <kernel-features.h>.
23808 [__ASSUME_32BITUIDS]: Make code unconditional.
23809 [!__ASSUME_32BITUIDS]: Remove conditional code.
23810 * sysdeps/unix/sysv/linux/kernel-features.h
23811 (__ASSUME_SETRESUID_SYSCALL): Remove.
23812 (__ASSUME_SETRESGID_SYSCALL): Likewise.
23813 (__ASSUME_32BITUIDS): Likewise.
23814 (__ASSUME_LDT_WORKS): Likewise.
23815 (__ASSUME_O_DIRECTORY): Likewise.
23816 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23817 architecture but not kernel version.
23818 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23819 (__ASSUME_MMAP2_SYSCALL): Likewise.
23820 (__ASSUME_STAT64_SYSCALL): Likewise.
23821 (__ASSUME_IPC64): Likewise.
23822 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23823 <kernel-features.h>.
23824 [__ASSUME_32BITUIDS]: Make code unconditional.
23825 [!__ASSUME_32BITUIDS]: Remove conditional code.
23826 * sysdeps/unix/sysv/linux/opendir.c: Do not include
23827 <kernel-features.h>.
23828 [__ASSUME_O_DIRECTORY]: Make code unconditional.
23829 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23830 132096]: Remove conditional code.
23831 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23832 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23833 <kernel-features.h>.
23834 [__ASSUME_32BITUIDS]: Make code unconditional.
23835 [!__ASSUME_32BITUIDS]: Remove conditional code.
23836 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23837 <kernel-features.h>.
23838 [__ASSUME_32BITUIDS]: Make code unconditional.
23839 [!__ASSUME_32BITUIDS]: Remove conditional code.
23840 * sysdeps/unix/sysv/linux/setegid.c: Do not include
23841 <kernel-features.h>.
23842 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23844 (__setresgid): Do not declare.
23845 [__ASSUME_32BITUIDS]: Make code unconditional.
23846 [!__ASSUME_32BITUIDS]: Remove conditional code.
23847 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23848 <kernel-features.h>.
23849 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23851 (__setresuid): Do not declare.
23852 [__ASSUME_32BITUIDS]: Make code unconditional.
23853 [!__ASSUME_32BITUIDS]: Remove conditional code.
23854 * sysdeps/unix/sysv/linux/sh/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/sparc/sparc32/semctl.c: Do not include
23859 <kernel-features.h>.
23860 [__ASSUME_32BITUIDS]: Make code unconditional.
23861 [!__ASSUME_32BITUIDS]: Remove conditional code.
23863 2012-05-25 Richard Henderson <rth@twiddle.net>
23865 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23866 dl_hwcap to ifunc resolver.
23867 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23869 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23870 dl_hwcap to ifunc resolver.
23871 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23873 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23876 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23877 for |x| <= 2**-26, not 2**-57.
23878 * math/libm-test.inc (acos_test): Do not allow spurious underflow
23881 2012-05-24 Jeff Law <law@redhat.com>
23883 * stdio-common/Makefile (tests): Add bug25.
23884 * stdio-common/bug25.c: New test.
23886 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23889 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23890 multiple of MALLOC_ALIGNMENT in size.
23891 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23893 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23895 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23897 (FILENAME_MAX): Use macro-int-constant.
23898 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
23899 (_IOFBF): Use macro-int-constant.
23900 (_IOLBF): Likewise.
23901 (_IONBF): Likewise.
23902 (SEEK_CUR): Likewise.
23903 (SEEK_END): Likewise.
23904 (SEEK_SET): Likewise.
23905 (TMP_MAX): Likewise.
23906 (EOF): Use macro-int-constant. Require < 0.
23907 (NULL): Use macro-constant. Require == 0.
23908 (stdin): Require type to be FILE *.
23909 (stdout): Likewise.
23910 (stderr): Likewise.
23911 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23912 macro-int-constant.
23913 (EXIT_SUCCESS): Likewise.
23914 (NULL): Use macro-constant. Require == 0.
23915 (RAND_MAX): Use macro-int-constant.
23916 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23917 [C99-based standards] (strtof): Require function.
23918 [C99-based standards] (strtold): Likewise.
23919 [C99-based standards] (strtoll): Likewise.
23920 [C99-based standards] (strtoull): Likewise.
23921 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23922 [ISO || ISO99 || ISO11] (limits.h): Likewise.
23923 [ISO || ISO99 || ISO11] (math.h): Likewise.
23924 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23925 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23926 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23928 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
23931 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23932 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23933 * intl/dgettext.c (DCGETTEXT): Likewise.
23934 * intl/gettext.c (DCGETTEXT): Likewise.
23935 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23936 * posix/regex_internal.h (gettext): Likewise.
23937 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23938 Remove declaration.
23939 * include/argz.h (__argz_count_internal)
23940 (__argz_stringify_internal): Remove declaration.
23941 (__argz_count, __argz_stringify): Declare hidden proto.
23942 * intl/dcgettext.c: Remove use of INTDEF.
23943 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23944 * string/argz-stringify.c: Likewise.
23945 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23946 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23947 Declare hidden proto.
23948 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23949 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23950 Declare hidden proto.
23951 * include/stdio.h (__asprintf_internal): Don't declare.
23952 (__asprintf): Don't define as macro. Declare hidden proto.
23953 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23954 (__fsetlocking): Declare hidden proto.
23955 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23956 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23958 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23959 (_IO_setlinebuf): Remove use of INTUSE.
23960 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23961 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23962 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23963 Remove declaration.
23964 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23965 (_IO_do_flush): Remove use of INTUSE.
23966 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23967 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23968 (_IO_adjust_column, _IO_least_wmarker)
23969 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23970 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23971 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23972 (_IO_default_doallocate, _IO_wdefault_doallocate)
23973 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23974 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23975 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23976 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23977 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23978 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23979 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23980 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23981 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23982 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23983 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23984 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23985 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23987 (_IO_flush_all_internal, _IO_adjust_column_internal)
23988 (_IO_default_uflow_internal, _IO_default_finish_internal)
23989 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23990 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23991 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23992 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23993 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23994 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23995 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23996 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23997 (_IO_file_close_internal, _IO_file_close_it_internal)
23998 (_IO_file_underflow_internal, _IO_file_overflow_internal)
23999 (_IO_file_init_internal, _IO_file_attach_internal)
24000 (_IO_file_fopen_internal, _IO_file_read_internal)
24001 (_IO_file_sync_internal, _IO_file_seek_internal)
24002 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
24003 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
24004 (_IO_str_underflow_internal, _IO_str_overflow_internal)
24005 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
24006 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
24007 (_IO_list_all_internal, _IO_link_in_internal)
24008 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
24009 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
24010 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24011 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24012 (_IO_do_write_internal, _IO_padn_internal)
24013 (_IO_getline_info_internal, _IO_getline_internal)
24014 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24015 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24016 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24017 (_IO_vfscanf_internal, _IO_vfprintf_internal)
24018 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24019 (_IO_init_internal, _IO_un_link_internal): Don't declare.
24020 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24021 with libc_hidden_ver, remove use of INTUSE.
24022 * libio/genops.c: Likewise.
24023 * libio/freopen.c: Likewise.
24024 * libio/freopen64.c: Likewise.
24025 * libio/iofclose.c: Likewise.
24026 * libio/iofdopen.c: Likewise.
24027 * libio/iofflush.c: Likewise.
24028 * libio/iofflush_u.c: Likewise.
24029 * libio/iofgets.c: Likewise.
24030 * libio/iofgets_u.c: Likewise.
24031 * libio/iofopen.c: Likewise.
24032 * libio/iofopncook.c: Likewise.
24033 * libio/iofread.c: Likewise.
24034 * libio/iofread_u.c: Likewise.
24035 * libio/ioftell.c: Likewise.
24036 * libio/iofwrite.c: Likewise.
24037 * libio/iogetline.c: Likewise.
24038 * libio/iogets.c: Likewise.
24039 * libio/iogetwline.c: Likewise.
24040 * libio/iopadn.c: Likewise.
24041 * libio/iopopen.c: Likewise.
24042 * libio/ioseekoff.c: Likewise.
24043 * libio/ioseekpos.c: Likewise.
24044 * libio/iosetbuffer.c: Likewise.
24045 * libio/iosetvbuf.c: Likewise.
24046 * libio/ioungetc.c: Likewise.
24047 * libio/ioungetwc.c: Likewise.
24048 * libio/iovdprintf.c: Likewise.
24049 * libio/iovsprintf.c: Likewise.
24050 * libio/iovsscanf.c: Likewise.
24051 * libio/memstream.c: Likewise.
24052 * libio/obprintf.c: Likewise.
24053 * libio/oldfileops.c: Likewise.
24054 * libio/oldiofclose.c: Likewise.
24055 * libio/oldiofdopen.c: Likewise.
24056 * libio/oldiofopen.c: Likewise.
24057 * libio/oldiopopen.c: Likewise.
24058 * libio/oldstdfiles.c: Likewise.
24059 * libio/putc.c: Likewise.
24060 * libio/setbuf.c: Likewise.
24061 * libio/setlinebuf.c: Likewise.
24062 * libio/stdfiles.c: Likewise.
24063 * libio/strops.c: Likewise.
24064 * libio/vasprintf.c: Likewise.
24065 * libio/vscanf.c: Likewise.
24066 * libio/vsnprintf.c: Likewise.
24067 * libio/vswprintf.c: Likewise.
24068 * libio/wfiledoalloc.c: Likewise.
24069 * libio/wfileops.c: Likewise.
24070 * libio/wgenops.c: Likewise.
24071 * libio/wmemstream.c: Likewise.
24072 * libio/wstrops.c: Likewise.
24073 * libio/__fpurge.c: Likewise.
24074 * libio/__fsetlocking.c: Likewise.
24075 * assert/assert.c: Likewise.
24076 * debug/fgets_chk.c: Likewise.
24077 * debug/fgets_u_chk.c: Likewise.
24078 * debug/fread_chk.c: Likewise.
24079 * debug/fread_u_chk.c: Likewise.
24080 * debug/gets_chk.c: Likewise.
24081 * debug/obprintf_chk.c: Likewise.
24082 * debug/vasprintf_chk.c: Likewise.
24083 * debug/vdprintf_chk.c: Likewise.
24084 * debug/vsnprintf_chk.c: Likewise.
24085 * debug/vsprintf_chk.c: Likewise.
24086 * malloc/mtrace.c: Likewise.
24087 * misc/error.c: Likewise.
24088 * misc/syslog.c: Likewise.
24089 * stdio-common/asprintf.c: Likewise.
24090 * stdio-common/fxprintf.c: Likewise.
24091 * stdio-common/getw.c: Likewise.
24092 * stdio-common/isoc99_fscanf.c: Likewise.
24093 * stdio-common/isoc99_scanf.c: Likewise.
24094 * stdio-common/isoc99_vfscanf.c: Likewise.
24095 * stdio-common/isoc99_vscanf.c: Likewise.
24096 * stdio-common/isoc99_vsscanf.c: Likewise.
24097 * stdio-common/printf-prs.c: Likewise.
24098 * stdio-common/printf_fp.c: Likewise.
24099 * stdio-common/printf_fphex.c: Likewise.
24100 * stdio-common/printf_size.c: Likewise.
24101 * stdio-common/putw.c: Likewise.
24102 * stdio-common/scanf.c: Likewise.
24103 * stdio-common/sprintf.c: Likewise.
24104 * stdio-common/tmpfile.c: Likewise.
24105 * stdio-common/vfprintf.c: Likewise.
24106 * stdio-common/vfscanf.c: Likewise.
24107 * stdlib/strfmon_l.c: Likewise.
24108 * sunrpc/openchild.c: Likewise.
24109 * sunrpc/xdr_stdio.c: Likewise.
24110 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24111 * sysdeps/mach/hurd/tmpfile.c: Likewise.
24113 2012-05-24 Roland McGrath <roland@hack.frob.com>
24115 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24117 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
24118 in the third column, to generate for the shared library an IFUNC
24119 that uses _dl_vdso_vsym.
24120 * Makerules (COMPILE.c, compile-stdin.c): New variables.
24121 * Makeconfig (object-suffixes-noshared): New variable.
24123 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
24124 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
24125 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
24126 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
24129 * include/sys/time.h (__gettimeofday): Remove macro.
24130 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
24131 * time/gettimeofday.c (__gettimeofday): Remove #undef.
24133 (__gettimeofday): Add libc_hidden_def.
24134 (gettimeofday): Add libc_hidden_weak.
24135 * sysdeps/mach/gettimeofday.c: Likewise.
24136 * sysdeps/posix/gettimeofday.c: Likewise.
24137 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24138 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24139 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
24140 (__gettimeofday_internal): Remove strong_alias.
24141 (__gettimeofday): Add libc_hidden_def.
24142 (gettimeofday): Add libc_hidden_weak.
24143 * sysdeps/unix/syscalls.list (gettimeofday):
24144 Remove __gettimeofday_internal alias.
24146 2012-05-24 Daniel Jacobowitz <drow@false.org>
24147 H.J. Lu <hongjiu.lu@intel.com>
24150 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
24151 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
24152 (largebin_index_32_big): New.
24153 (largebin_index): Use it for 16-byte alignment.
24154 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
24155 correction with front_misalign.
24157 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24159 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
24160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
24164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24166 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
24168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
24170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
24172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
24174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
24178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
24180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
24185 * scripts/data/c++-types-x32-linux-gnu.data: New file.
24186 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
24188 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24192 * math/libm-test.inc (exp_test): Add test from bug 14036.
24193 (pow_test): Add test from bug 10846.
24195 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
24197 (special_function): Do not include flags in test name.
24198 (parse_args): Likewise.
24199 * sysdeps/i386/fpu/libm-test-ulps: Update.
24200 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24201 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24202 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24205 * math/gen-libm-test.pl (%beautify): Add entries for underflow
24207 * math/libm-test.inc ("Philosophy"): Update comment about
24209 (UNDERFLOW_EXCEPTION): New macro.
24210 (UNDERFLOW_EXCEPTION_OK): Likewise.
24211 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
24212 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
24213 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
24214 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
24215 (INVALID_EXCEPTION_OK): Update value.
24216 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24217 (OVERFLOW_EXCEPTION_OK): Likewise.
24218 (IGNORE_ZERO_INF_SIGN): Likewise.
24219 (test_exceptions): Handle underflow exceptions.
24220 (acos_test): Update for underflow exception expectations.
24221 (cexp_test): Likewise.
24222 (clog_test): Likewise.
24223 (clog10_test): Likewise.
24224 (csqrt_test): Likewise.
24225 (ctan_test): Likewise.
24226 (ctanh_test): Likewise.
24227 (exp_test): Likewise.
24228 (exp10_test): Likewise.
24229 (exp2_test): Likewise.
24230 (expm1_test): Likewise.
24231 (fma_test): Likewise.
24232 (j0_test): Likewise.
24233 (jn_test): Likewise.
24234 (nexttoward_test): Likewise.
24235 (pow_test): Likewise.
24236 (scalbn_test): Likewise.
24237 (scalbln_test): Likewise.
24238 (tan_test): Likewise.
24239 (y1_test): Likewise.
24240 * sysdeps/i386/fpu/libm-test-ulps: Update.
24241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24243 2012-05-23 David S. Miller <davem@davemloft.net>
24245 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24246 (__libc_sigaction): Remove unused local variables.
24248 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24250 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
24252 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
24254 mktime: avoid signed integer overflow
24255 * time/mktime.c (__mktime_internal): Do not mishandle the case
24256 where diff == INT_MIN.
24258 mktime: simplify computation of average
24259 * time/mktime.c (ranged_convert): Use new time_t_avg function
24260 instead of rolling our own (probably-slower) code.
24262 mktime: do not assume signed right shift propagates sign bit
24263 * time/mktime.c (isdst_differ): New static function.
24264 (__mktime_internal): No need to normalize tm_isdst now.
24265 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
24268 mktime: merge another wrapv change from gnulib
24269 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
24270 from some compilers.
24272 mktime: remove incorrect attempt at unusual arithmetics
24273 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
24274 The code didn't really work on such machines anyway.
24275 (TYPE_MINIMUM): Assume two's complement.
24276 (twos_complement_arithmetic): Verify that long_int and time_t
24277 are two's complement (or unsigned, in the latter case).
24279 mktime: check signed shifts on long_int and time_t, too
24280 * time/mktime.c (SHR): Check that shifts work as desired
24281 on the types long_int and time_t too, as SHR is used on
24284 mktime: do not assume 'long' is wide enough
24285 * time/mktime.c (verify): Move decl up.
24286 (long_int): New type.
24287 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
24288 to remove assumption in the code that 'long' is wide enough to
24289 store year values. This assumption is not true on x32 and on
24290 some non-glibc platforms.
24292 mktime: merge wrapv change from gnulib
24293 * time/mktime.c (WRAPV): New macro.
24294 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
24295 (guess_time_tm, __mktime_internal): Do not assume that signed
24296 integer overflow wraps around; modern compilers generate code
24297 where this assumption is no longer valid.
24299 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24301 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24302 Replace "jmp L(pseudo_end)" with "ret".
24303 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
24306 2012-05-23 Andreas Jaeger <aj@suse.de>
24308 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
24309 * sysdeps/unix/sysv/linux/poll.c: Remove file.
24311 2012-05-23 Andreas Jaeger <aj@suse.de>
24312 Maximilian Attems <max@stro.at>
24314 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
24317 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24319 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
24320 code so that pseudo_end is just ret and the stack pointer is
24321 correct also for static library in error case.
24323 2012-05-23 Joseph Myers <joseph@codesourcery.com>
24325 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
24326 move to syscalls.list.
24327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24332 * manual/install.texi (Running make install): Do not mention Linux
24333 kernel version for which pt_chown is not needed.
24334 (Linux): Do not mention problems with nscd with 2.0 kernels.
24335 * INSTALL: Regenerated.
24337 2012-05-23 Andreas Jaeger <aj@suse.de>
24339 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
24340 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
24342 * sysdeps/unix/sysv/linux/s390/bits/mman.h
24343 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24344 * sysdeps/unix/sysv/linux/sh/bits/mman.h
24345 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24346 * sysdeps/unix/sysv/linux/i386/bits/mman.h
24347 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24348 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
24349 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24350 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
24351 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24352 * sysdeps/unix/sysv/linux/bits/in.h
24353 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
24355 2012-05-22 Roland McGrath <roland@hack.frob.com>
24357 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
24358 (PREPARE_VERSION): Just use assert instead, it will be elided
24359 under [NDEBUG] anyway.
24361 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24363 * sysdeps/unix/sysv/linux/Makefile: Include
24364 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
24365 (sysdep_routines): Remove sysctl.
24366 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
24367 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
24368 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
24369 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
24370 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
24372 2012-05-22 Andreas Jaeger <aj@suse.de>
24374 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
24375 that pseudo_end is just ret and the stack pointer is correct also
24376 for static library in error case.
24378 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
24381 * nss/nsswitch.c (defconfig_entries): New variable.
24382 (__nss_database_lookup): Don't leak defconfig entries.
24383 (nss_parse_service_list): Don't leak on error paths.
24384 (free_database_entries): New function.
24385 (free_defconfig): New function.
24386 (free_mem): Move common code to free_database_entries.
24388 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24390 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
24392 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
24394 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24395 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
24396 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
24398 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
24399 (INTERNAL_SYSCALL_TYPES): Likewise.
24400 (LOAD_ARGS_TYPES_[1-6]): Likewise.
24401 (LOAD_REGS_TYPES_[1-6]): Likewise.
24402 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
24403 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
24405 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24407 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
24408 copysignl for GLIBC_2_0.
24409 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
24410 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
24411 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
24412 logbl for GLIBC_2_0.
24413 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24414 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24416 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24418 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
24419 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24421 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24424 * time/mktime.c: Update copyright years.
24426 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
24428 mktime: merge comment-quoting-style change from gnulib
24429 * time/mktime.c: Quote 'like this' in comments.
24430 The GNU coding standards suggest that we no longer quote `like this',
24431 as "`" and "'" are typically rendered asymmetrically nowadays.
24432 The typical gnulib style is to quote 'like this' when quoting
24433 code, and "like this" when quoting English.
24435 * time/mktime.c (compile-command): Add "-I.".
24437 mktime: merge mktime-internal.h change from gnulib
24438 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
24440 mktime: merge time_r change from gnulib
24441 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
24443 mktime: merge DEBUG change from gnulib
24444 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
24445 case system <time.h> has a #define.
24447 mktime: merge <sys/types.h> change from gnulib
24448 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
24449 since <time.t> is now guaranteed to define time_t.
24451 mktime: merge HAVE_CONFIG_H change from gnulib
24452 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
24454 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24456 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24459 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
24461 (struct rusage): Use anonymous union to pad each field to
24464 2012-05-21 David S. Miller <davem@davemloft.net>
24466 * Makefules (o-iterator): Remove .s cases.
24467 (compile-command.s): Delete.
24468 (COMPILE.s): Delete.
24469 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
24471 2012-05-21 Joseph Myers <joseph@codesourcery.com>
24473 * configure.in (libc_cv_predef_stack_protector): Only consider
24474 "foobar" and "__stack_chk_fail" lines in libc_undefs.
24475 * configure: Regenerated.
24477 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24479 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24480 New macro. Use R*LP on int and pointer.
24481 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
24482 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
24483 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
24484 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
24486 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
24487 [__WORDSIZE_TIME64_COMPAT32] instead of
24488 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
24489 (struct utmp): Likewise.
24490 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
24491 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
24493 (__WORDSIZE_TIME64_COMPAT32): This.
24494 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
24495 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
24496 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
24497 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
24498 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
24499 (__WORDSIZE_TIME64_COMPAT32): New macro.
24501 2012-05-21 Andreas Jaeger <aj@suse.de>
24503 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
24504 only if [SHARED]. Add prototype for __wcschr_ia32.
24506 2012-05-21 Roland McGrath <roland@hack.frob.com>
24508 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
24509 of %rbp unmolested in the jmp_buf while mangling the low bits.
24510 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
24511 unmolested high bits of %rbp while demangling the low bits.
24512 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24514 2012-05-21 Andreas Jaeger <aj@suse.de>
24516 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
24517 * sunrpc/svc_simple.c: Use it for registerrpc.
24518 * sunrpc/xcrypt.c: Use it for passwd2des.
24520 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
24522 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24524 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
24525 Don't define if [__SYSCALL_WORDSIZE != 32].
24526 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
24529 2012-05-21 Bruno Haible <bruno@clisp.org>
24530 Andreas Jaeger <aj@suse.de>
24532 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
24533 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
24534 inptr and inend for must_buffer_ch.
24535 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
24536 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
24537 * stdio-common/Makefile (tests): Remove bug15.
24538 (bug15-ENV): Remove macro.
24539 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
24542 2012-05-19 Andreas Jaeger <aj@suse.de>
24543 Roland McGrath <roland@hack.frob.com>
24545 * manual/contrib.texi: Completely rewritten. It contains now an
24546 alphabetical list of contributors and their contributions.
24548 2012-05-21 Richard Henderson <rth@twiddle.net>
24550 * misc/getauxval.c (__getauxval): Use unsigned long int.
24551 * misc/sys/auxv.h: Include <sys/cdefs.h>.
24552 (getauxval): Use unsigned long int.
24554 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24556 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24558 2012-05-21 Roland McGrath <roland@hack.frob.com>
24560 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
24561 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
24562 __alignof__ (long double).
24564 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24568 2012-05-20 Richard Henderson <rth@twiddle.net>
24570 * misc/getauxval.c: New file.
24571 * misc/sys/auxv.h: New file.
24572 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
24573 (routines): Add getauxval.
24574 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
24575 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
24576 * elf/dl-sysdep.c (_dl_auxv): Remove.
24577 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
24578 * elf/dl-support.c (_dl_auxv): New variable.
24579 (_dl_aux_init): Initialize it.
24580 * manual/startup.texi (Auxiliary Vector): New node.
24581 * sysdeps/generic/bits/hwcap.h: New file.
24582 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
24583 * sysdeps/powerpc/sysdep.h: ... here. Include it.
24584 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
24585 * sysdeps/sparc/sysdep.h: ... here. Include it.
24586 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
24587 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
24588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
24591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
24592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
24593 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
24594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
24597 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
24599 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24603 2012-05-19 David S. Miller <davem@davemloft.net>
24605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24607 2012-05-19 Joseph Myers <joseph@codesourcery.com>
24610 * math/s_ccosh.c: Include <float.h>
24611 (__ccosh): Avoid internal overflow calculating sinh and cosh
24612 values before multiplying by sin and cos values.
24613 * math/s_ccoshf.c: Likewise.
24614 * math/s_ccoshl.c: Likewise.
24615 * math/s_csin.c: Likewise.
24616 * math/s_csinf.c: Likewise.
24617 * math/s_csinl.c: Likewise.
24618 * math/s_csinh.c: Likewise.
24619 * math/s_csinhf.c: Likewise.
24620 * math/s_csinhl.c: Likewise.
24621 * math/libm-test.inc (ccos_test): Add more tests.
24622 (ccosh_test): Likewise.
24623 (csin_test): Likewise.
24624 (csinh_test): Likewise.
24625 * sysdeps/i386/fpu/libm-test-ulps: Update.
24626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24628 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
24630 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
24631 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
24633 * sysdeps/x86_64/x32/_itoa.h: Add comment.
24635 2012-05-19 Joseph Myers <joseph@codesourcery.com>
24637 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
24638 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
24639 * sysdeps/powerpc/soft-fp/Versions: Likewise.
24640 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
24641 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
24642 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
24643 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
24644 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
24645 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
24646 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
24647 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
24648 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
24649 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
24650 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
24651 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
24652 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
24653 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
24654 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
24655 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
24656 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
24657 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
24658 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
24659 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
24660 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
24661 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
24662 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
24663 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
24664 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
24665 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
24666 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
24667 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
24669 2012-05-18 Andreas Jaeger <aj@suse.de>
24671 * csu/.gitignore: Delete.
24673 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24675 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
24676 (timex): Use __syscall_slong_t.
24678 2012-05-18 Andreas Jaeger <aj@suse.de>
24679 Carlos O'Donell <carlos_odonell@mentor.com>
24681 * manual/install.texi (Configuring and compiling): Update
24682 description about files modified in the source directory.
24683 * INSTALL: Regenerated.
24685 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24687 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
24688 value. Use "or" to set return value to -1.
24689 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
24690 negate return value.
24692 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24694 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
24695 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
24696 failure if the compiler has Graphite support disabled.
24697 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
24699 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
24700 CFLAGS-memmove.c): Likewise.
24701 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
24704 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24706 * sysdeps/x86_64/x32/_itoa.h: New file.
24708 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
24709 getdents system call only if kernel and user dirents have the
24710 same d_ino and d_off.
24712 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24713 LLONG_MAX != LONG_MAX.
24714 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24715 (_fitoa_word): Likewise.
24717 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24719 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24720 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24721 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24723 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24724 include <bits/wordsize.h>. Check __x86_64__ instead of
24726 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24727 if __x86_64__ is defined. Use anonymous union on fpstate.
24729 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24732 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
24734 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24735 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24736 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24737 Refer to _rtld_local_ro instead of _rtld_global_ro.
24738 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24740 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24742 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24744 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24745 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24746 of _rtld_global, and rtld_progname instead of _dl_argv[0].
24748 * sysdeps/powerpc/powerpc32/dl-machine.c
24749 (__elf_machine_runtime_setup) [PROF]: Don't reference
24752 2012-05-18 Andreas Jaeger <aj@suse.de>
24754 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24755 function only available for GCCs before 3.4 since GCC 3.4
24756 introduced a builtin.
24758 (llrintf): Likewise.
24759 (llrint): Likewise.
24766 (nearbyint): Likewise.
24767 (nearbyintf): Likewise.
24771 (floorf): Likewise.
24773 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24775 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24776 on both fields and cast pointer to __syscall_ulong_t.
24778 * bits/types.h (__fsword_t): New type.
24779 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24780 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24781 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24782 (__FSWORD_T_TYPE): Likewise.
24783 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24784 (__FSWORD_T_TYPE): Likewise.
24785 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24786 (__FSWORD_T_TYPE): Likewise.
24787 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24788 (__FSWORD_T_TYPE): Likewise.
24789 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24790 __SWORD_TYPE with __fsword_t.
24791 (statfs64): Likewise.
24793 2012-05-17 David S. Miller <davem@davemloft.net>
24795 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24797 2012-05-17 Andreas Jaeger <aj@suse.de>
24799 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24802 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24804 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24806 2012-05-17 Andreas Jaeger <aj@suse.de>
24808 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24811 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24813 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24815 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24817 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24818 * sysdeps/x86_64/tst-mallocalign1.c: New file.
24820 2012-05-17 Andreas Jaeger <aj@suse.de>
24821 Carlos O'Donell <carlos_odonell@mentor.com>
24824 * sysdeps/x86_64/multiarch/init-arch.h
24825 (bit_YMM_Usable): Rename to...
24826 (bit_AVX_Usable): ... this.
24827 (bit_FMA4_Usable): New macro.
24828 (bit_XMM_state): New macro.
24829 (bit_YMM_state): New macro.
24830 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24831 [__ASSEMBLER__] (index_AVX_Usable): ... this.
24832 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24833 (CPUID_OSXSAVE): New macro.
24834 (CPUID_AVX): New macro.
24835 (CPUID_FMA4): New macro.
24836 (index_YMM_Usable): Rename to...
24837 (index_AVX_Usable): ... this.
24838 (HAS_AVX): Use HAS_ARCH_FEATURE.
24839 (HAS_FMA4): Likewise.
24840 (HAS_YMM_USABLE): Remove.
24841 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24842 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24844 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24845 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24846 * sysdeps/x86_64/multiarch/Makefile: Likewise.
24847 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24848 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24850 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24852 * math/libm-test.c: Support platforms without multiple rounding modes.
24853 * math/bug-nextafter.c: Support platforms without FP exceptions.
24854 * math/bug-nexttoward.c: Likewise.
24855 * math/test-fenv.c: Likewise.
24856 * math/test-misc.c: Likewise.
24857 * stdlib/bug-getcontext.c: Likewise.
24859 2012-05-17 Andreas Jaeger <aj@suse.de>
24861 * manual/examples/search.c (critter_cmp): Change signature to
24863 * manual/string.texi (Collation Functions): Likewise.
24865 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24867 * bits/types.h: Fold copyright years.
24868 * bits/typesizes.h: Likewise.
24869 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24870 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24871 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24872 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24873 * time/time.h: Likewise.
24875 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
24878 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24879 in instead of returning them. Return void.
24880 (__libc_mallinfo): Accumulate over all arenas.
24881 (__malloc_stats): Adjust for change in int_mallinfo interface.
24883 2012-05-16 Roland McGrath <roland@hack.frob.com>
24886 * configure.in (NM): Add AC_CHECK_TOOL for it.
24887 (libc_extra_cflags): New substituted variable.
24888 Check for -fstack-protector being used implicitly.
24889 * configure: Regenerated.
24890 * config.make.in (config-extra-cflags): New variable,
24891 gets @libc_extra_cflags@.
24892 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24895 * configure.in: Check for _FORTIFY_SOURCE being predefined.
24896 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24897 * configure: Regenerated.
24898 * config.make.in (CPPUNDEFS): New substituted variable.
24899 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24900 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24901 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24903 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24905 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24906 (mq_attr): Use __syscall_slong_t.
24908 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24910 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24911 Check __x86_64__ instead of __WORDSIZE.
24912 (_STAT_VER_LINUX): Likewise.
24913 (stat): Check __x86_64__ instead of __WORDSIZE. Use
24914 __syscall_ulong_t and __syscall_slong_t.
24915 (stat64): Likewise.
24917 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24919 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24921 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24923 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24925 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24927 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24930 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24931 include <bits/wordsize.h>. Check __x86_64__ instead of
24933 (greg_t): Use "__extension__ long long int" if __x86_64__ is
24935 (mcontext_t): Replace "unsigned long" with "unsigned long long".
24937 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24938 include <bits/wordsize.h>. Check __x86_64__ instead of
24940 (user_regs_struct): Use "__extension__ unsigned long long"
24941 instead of "unsigned long" if __x86_64__ is defined.
24942 (user): Likewise. Pad after pointer field if __ILP32__ is
24945 2012-05-16 Joseph Myers <joseph@codesourcery.com>
24947 * configure.in (makeinfo): Require version 4.5 or later. Allow
24949 * configure: Regenerated.
24950 * manual/install.texi (texinfo): Increase version requirement to
24952 * INSTALL: Regenerated.
24954 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24956 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24958 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24960 * sysdeps/x86_64/x32/ffs.c: New file.
24962 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24964 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24965 defined. Use __syscall_ulong_t.
24966 (shminfo): Use __syscall_ulong_t.
24967 (shm_info): Likewise.
24969 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24972 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24974 (msgqnum_t): Use __syscall_ulong_t.
24975 (msglen_t): Likewise.
24976 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
24979 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24980 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24982 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24984 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24985 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24987 * sysvipc/sys/msg.h (msgbuf): Replace long int with
24990 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24991 include <bits/wordsize.h>. Check __x86_64__ instead of
24994 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24995 "unsigned long long int" if __x86_64__ is defined.
24996 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24998 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24999 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25000 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
25002 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25004 (GET_PC): Cast to uintptr_t first.
25005 (GET_FRAME): Likewise.
25006 (GET_STACK): Likewise.
25008 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
25009 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
25010 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25011 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25012 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25013 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25014 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25015 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25016 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25017 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25018 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25019 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25020 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25021 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25022 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25023 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25024 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25025 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25026 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25027 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25028 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25029 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25030 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25031 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25032 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25033 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25034 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25035 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25036 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
25038 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
25040 * Makerules (+depfiles): Also collect depfiles from .oS in
25042 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25043 .oS, $(libnldbl-routines)).
25045 * Makerules (native-compile-mkdep-flags): Define.
25046 * sunrpc/Makefile (extra-objs): Add $(addprefix
25047 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
25048 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
25049 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
25050 calling $(make-target-directory).
25052 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25054 * bits/types.h (__snseconds_t): Removed.
25055 * time/time.h (struct timespec): Replace __snseconds_t with
25057 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
25058 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
25060 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25061 (__SNSECONDS_T_TYPE): Likewise.
25062 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25063 (__SNSECONDS_T_TYPE): Likewise.
25064 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25065 (__SNSECONDS_T_TYPE): Likewise.
25067 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25069 * sysdeps/mach/hurd/bits/typesizes.h
25070 (__SYSCALL_SLONG_TYPE): New macro.
25071 (__SYSCALL_ULONG_TYPE): Likewise.
25073 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25075 * bits/types.h (__syscall_slong_t): New type.
25076 (__syscall_ulong_t): Likewise.
25078 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
25079 (__SYSCALL_ULONG_TYPE): Likewise.
25080 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25081 (__SYSCALL_SLONG_TYPE): Likewise.
25082 (__SYSCALL_ULONG_TYPE): Likewise.
25083 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25084 (__SYSCALL_SLONG_TYPE): Likewise.
25085 (__SYSCALL_ULONG_TYPE): Likewise.
25086 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25087 (__SYSCALL_SLONG_TYPE): Likewise.
25088 (__SYSCALL_ULONG_TYPE): Likewise.
25090 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25092 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
25093 Add sigaltstack-offsets.sym.
25094 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
25095 <sigaltstack-offsets.h>.
25096 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
25097 longjmp_msg pointer.
25098 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
25099 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
25101 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
25103 2012-05-15 Joseph Myers <joseph@codesourcery.com>
25105 * elf/stackguard-macros.h: Remove file.
25106 * sysdeps/generic/stackguard-macros.h: New file.
25107 * sysdeps/i386/stackguard-macros.h: Likewise.
25108 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25109 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25110 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25111 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25112 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25113 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25114 * sysdeps/x86_64/stackguard-macros.h: Likewise.
25115 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
25116 <elf/stackguard-macros.h>.
25119 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
25120 __aligned__ in attribute.
25121 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
25122 (gregset_t): Likewise.
25124 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25126 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
25127 * sysdeps/x86_64/64/Implies-after: Here. New file.
25128 * sysdeps/x86_64/x32/Implies-after: New file.
25130 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25132 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
25133 and access return value for _dl_profile_fixup. Use R10_LP to
25136 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25138 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
25140 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25142 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
25143 * sysdeps/x86_64/x32/sysdep.h: New file.
25145 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25147 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
25148 * sysdeps/x86_64/setjmp.S: Likewise.
25150 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25152 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
25153 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
25154 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
25155 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
25156 remove unused global constant.
25158 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
25160 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
25161 include of <not-cancel.h>.
25163 2012-05-15 Roland McGrath <roland@hack.frob.com>
25165 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
25167 2012-05-15 Jeff Law <law@redhat.com>
25168 Andreas Jaeger <aj@suse.de>
25171 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
25173 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
25174 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
25175 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
25176 code changing __hst_map_handle.map.
25178 2012-05-15 Roland McGrath <roland@hack.frob.com>
25180 * configure.in (sysnames): Look for Implies-before and Implies-after
25182 * configure: Regenerated.
25184 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25186 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
25187 8-byte data alignment with LP_SIZE alignment.
25189 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25191 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
25194 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25196 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
25198 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25200 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
25201 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
25202 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
25204 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25206 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25208 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
25209 (stackinfo_sub_sp): Likewise.
25211 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25213 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
25216 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25218 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
25221 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25223 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
25226 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25228 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
25230 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25232 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
25233 into R11_LP and load __x86_64_shared_cache_size_half into
25236 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25238 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
25241 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25243 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
25245 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
25247 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
25249 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
25250 powerpc32/power7/fpu/s_logb.c via #include.
25251 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
25252 powerpc32/power7/fpu/s_logbf.c via #include.
25253 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
25254 powerpc32/power7/fpu/s_logbl.c via #include.
25256 2012-05-15 Joseph Myers <joseph@codesourcery.com>
25258 * README.libm: Remove file.
25260 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25262 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
25263 count for x32. Use R*_LP and omit operand-size suffix.
25265 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25267 * shlib-versions: Move x86_64-.*-linux.* entries to ...
25268 * sysdeps/x86_64/64/shlib-versions: Here. New file.
25269 * sysdeps/x86_64/x32/shlib-versions: New file.
25271 2012-05-14 Roland McGrath <roland@hack.frob.com>
25273 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
25274 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
25275 Use _dl_fatal_printf instead.
25277 2012-05-14 Joseph Myers <joseph@codesourcery.com>
25279 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
25280 set if not set by the user. Do not allow for being unset.
25281 * sysdeps/unix/sysv/linux/configure: Regenerated.
25283 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25285 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
25286 the `q' suffix from lea and replace .quad with ASM_ADDR.
25288 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25290 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
25291 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
25293 (PTR_DEMANGLE): Likewise.
25295 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25297 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
25299 (ASM_ADDR): Likewise.
25300 (RAX_LP): Likewise.
25301 (RBP_LP): Likewise.
25302 (RBX_LP): Likewise.
25303 (RCX_LP): Likewise.
25304 (RDI_LP): Likewise.
25305 (RSI_LP): Likewise.
25306 (RSP_LP): Likewise.
25309 (R10_LP): Likewise.
25310 (R10_LP): Likewise.
25311 (R11_LP): Likewise.
25312 (R12_LP): Likewise.
25313 (R13_LP): Likewise.
25314 (R14_LP): Likewise.
25315 (R15_LP): Likewise.
25317 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25319 * sysdeps/x86_64/x32/dl-machine.h: New file.
25321 2012-05-14 Andreas Jaeger <aj@suse.de>
25323 * manual/Makefile (subdir): Remove export of subdir.
25324 (all): Remove target.
25325 (.PHONY): Remove all from list.
25326 (mkinstalldirs): Remove.
25327 (.PHONY): Remove installdirs from list.
25328 ($(inst_infodir)/libc.info): Use make-target-directory.
25329 (installdirs): Remove.
25330 (subdir_%): Remove.
25331 (glibc-targets): Remove.
25334 ($(objpfx)stubs ../po/manual.pot): Remove.
25335 ($(objpfx)stamp%): Remove.
25336 (make-target-directory): Remove.
25337 (subdir_install): Remove.
25338 (routines): Remove.
25345 * manual/.gitignore: Remove, it's not needed anymore.
25346 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
25348 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
25350 (texis): Renamed to $(objpfx)texis.
25351 (texis-path): New, contains path to generated files.
25352 (chapters.%): Use texis-path for complete path, add extra argument
25354 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
25355 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
25356 (summary,texi, stamp-summary): Use complete path of
25357 files. Generate files in build dir.
25358 (dir-add.texi): Build in build dir.
25359 (libm-err.texi,stamp-libm-err): Likewise.
25360 (version.texi, stamp-version): Likewise.
25361 (.%c.texi): Likewise.
25362 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
25363 (mostlyclean): Remove target.
25364 (realclean): Remove target.
25365 (generated): Add new variable with contents from mostlyclean and
25366 realclean, remove entries duplicated in common-mostlyclean, add
25367 stamp-libm-err and stamp-version.
25368 (generated-dirs): Add libc directory.
25369 ($(inst_infodir)/libc.info): Install files from build dir.
25371 * manual/install.texi (Configuring and compiling): Adjust since
25372 the info files are not part of the tar ball anymore.
25374 2012-05-14 Andreas Jaeger <aj@suse.de>
25376 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
25379 2012-05-14 Joseph Myers <joseph@codesourcery.com>
25382 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
25383 to 2.2.0 where earlier.
25384 * sysdeps/unix/sysv/linux/configure: Regenerated.
25385 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
25386 Remove conditional code.
25387 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
25388 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
25389 Remove conditional code.
25390 [!__NR_lchown]: Likewise.
25391 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25392 [__NR_lchown]: Likewise.
25393 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
25394 comment referencing __ASSUME_LCHOWN_SYSCALL.
25395 * sysdeps/unix/sysv/linux/i386/sigaction.c
25396 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25397 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25398 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
25399 Remove conditional code.
25400 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
25401 (__protocol_available): Remove #if 0 code.
25402 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
25404 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
25405 * sysdeps/unix/sysv/linux/kernel-features.h
25406 (__ASSUME_GETCWD_SYSCALL): Don't define.
25407 (__ASSUME_REALTIME_SIGNALS): Likewise.
25408 (__ASSUME_PREAD_SYSCALL): Likewise.
25409 (__ASSUME_PWRITE_SYSCALL): Likewise.
25410 (__ASSUME_POLL_SYSCALL): Likewise.
25411 (__ASSUME_LCHOWN_SYSCALL): Likewise.
25412 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
25414 (__ASSUME_SIOCGIFNAME): Don't define.
25415 (__ASSUME_MSG_NOSIGNAL): Likewise.
25416 (__ASSUME_SENDFILE): Define unconditionally.
25417 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
25418 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
25420 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
25421 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
25422 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25423 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25424 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
25425 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25426 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
25428 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25429 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25431 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25432 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
25434 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25435 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25437 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25438 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
25440 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25441 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25443 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25444 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
25446 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25447 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25449 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25450 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25451 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
25452 Remove conditional code.
25453 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25454 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25455 Remove conditional code.
25456 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25457 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
25458 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
25459 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25460 Remove conditional code.
25461 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25462 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
25463 Remove conditional code.
25464 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25465 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
25466 Remove conditional code.
25467 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25468 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25469 Remove conditional code.
25470 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25471 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25472 Remove conditional code.
25473 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25474 * sysdeps/unix/sysv/linux/sh/pwrite64.c
25475 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25476 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25477 * sysdeps/unix/sysv/linux/sigaction.c
25478 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25479 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25480 * sysdeps/unix/sysv/linux/sigpending.c
25481 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25482 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25483 * sysdeps/unix/sysv/linux/sigprocmask.c
25484 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25485 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25486 * sysdeps/unix/sysv/linux/sigsuspend.c
25487 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25488 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25489 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25490 (__libc_missing_rt_sigs): Remove.
25491 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
25492 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
25493 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
25494 Remove conditional code.
25495 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
25496 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
25498 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
25499 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
25500 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
25501 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
25503 2012-05-14 Andreas Jaeger <aj@suse.de>
25505 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
25506 it's not used in glibc.
25507 (__coshm1): Likewise.
25508 (__acosh1p): Likewise.
25511 * manual/string.texi (Copying and Concatenation): Add missing
25512 variable in concat example.
25513 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
25515 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25518 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
25519 __builtin_clzl with __builtin_clzll.
25521 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25524 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
25527 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25529 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
25530 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
25531 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
25532 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
25534 2012-05-14 Mike Frysinger <vapier@gentoo.org>
25536 * NEWS: Update ia64 info.
25538 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
25540 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
25543 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
25545 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
25546 * sysdeps/unix/syscalls.list (dup3): Likewise.
25547 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
25548 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
25550 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
25552 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
25553 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
25555 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
25557 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
25559 (TLS_IE): Use mov/add instead of movq/addq to load thread
25561 (TLS_GD_PREFIX): New.
25564 2012-05-11 David S. Miller <davem@davemloft.net>
25566 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
25567 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
25568 (_FPU_SETCW): Likewise.
25570 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25572 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
25573 is 32-byte aligned.
25575 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
25578 * iconvdata/gb18030.c: Update tables.
25579 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
25580 characters specially.
25581 (BODY for TO_LOOP): Add encoding of missing ranges.
25583 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
25586 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
25587 * sysdeps/mach/hurd/dup3.c: Likewise.
25588 * sysdeps/mach/hurd/readlinkat.c: Likewise.
25589 * sysdeps/powerpc/memmove.c:: Likewise.
25591 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25593 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
25594 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
25596 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25598 * elf/elf.h (R_X86_64_RELATIVE64): New.
25599 (R_X86_64_NUM): Updated.
25600 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25601 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
25602 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
25603 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
25604 tst-quad1pie tst-quad2pie
25605 (modules-names): Add tst-quadmod1 tst-quadmod2.
25606 ($(objpfx)tst-quad1): New dependency.
25607 ($(objpfx)tst-quad2): Likewise.
25608 ($(objpfx)tst-quad1pie): Likewise.
25609 ($(objpfx)tst-quad2pie): Likewise.
25610 * sysdeps/x86_64/tst-quad1.c: New file.
25611 * sysdeps/x86_64/tst-quad1pie.c: New file.
25612 * sysdeps/x86_64/tst-quad2.c: Likewise.
25613 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
25614 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
25615 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
25616 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
25617 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
25619 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25621 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
25622 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
25623 * streams/stropts.h (t_scalar_t): Define type.
25625 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
25626 (_PATH_PRESERVE): Set to "/var/lib".
25627 (_PATH_RWHODIR): Set to "/var/spool/rwho".
25629 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
25632 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
25633 if __dir_mkfile succeeded.
25635 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
25636 checking for _hurd_dtablesize. Unlock it right after having
25637 finished _hurd_dtable allocation.
25639 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25641 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
25642 * sysdeps/mach/hurd/configure: Regenerated.
25643 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
25644 special-casing to...
25645 * sysdeps/gnu/configure.in: ... this new file.
25646 * sysdeps/unix/sysv/linux/configure: Regenerated.
25647 * sysdeps/gnu/configure: New generated file.
25649 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
25650 for Linux: use nsec instead of usec, as well as:
25651 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
25652 members of type struct timespec.
25653 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
25655 (struct stat64): Likewise.
25656 (_STATBUF_ST_NSEC): New macro.
25657 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
25659 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25660 __strtoul_internal rather than strtoul.
25662 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25664 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
25667 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25669 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
25670 which preserves existing values.
25671 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
25673 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25675 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
25676 TIMEOUT values. Return EINVAL for NFDS values either negative or
25677 greater than FD_SETSIZE.
25679 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25681 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
25682 allocated, call __vm_protect to finish enabling the existing space, and
25683 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
25684 allocate the remainder.
25686 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25688 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
25689 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
25691 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25693 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25694 sysdeps/mach/hurd/readlink.c.
25696 * posix/tst-sysconf.c (posix_options): Only use
25697 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
25698 _POSIX_SYNCHRONIZED_IO when they are defined
25699 * sysdeps/mach/hurd/bits/posix_opt.h:
25700 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
25701 (_XOPEN_REALTIME): Undefine macro.
25702 (_XOPEN_REALTIME_THREADS): Undefine macro.
25703 (_XOPEN_SHM): Undefine macro.
25704 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
25706 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25708 (_POSIX_ASYNC_IO): Undefine macro.
25709 (_POSIX_PRIORITIZED_IO): Undefine macro.
25710 (_POSIX_SPIN_LOCKS): Define macro to -1.
25712 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
25713 SA_NODEFER, SA_RESETHAND.
25714 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25715 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25718 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25720 * elf/Makefile (pldd-modules): Define unconditionally.
25722 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25724 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25726 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25728 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25729 Return ENOENT when name is empty.
25730 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25732 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25734 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25736 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25738 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25740 Fix mlock in all cases except non-readable pages.
25741 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25742 instead of VM_PROT_ALL as parameter to __vm_wire function.
25744 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25745 (__mkdir): When path is `/', just fail with EEXIST.
25746 * sysdeps/mach/hurd/mkdirat.c: Likewise.
25748 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25750 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25751 <sys/uio.h> (for writev).
25752 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25753 and <sys/param.h> (for MIN).
25755 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25757 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25758 REQUESTED_TIME. Properly set the remaining time and return EINTR
25761 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25763 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25764 Depend on against $(link-rpcuserlibs).
25766 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25768 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25769 (__libc_stack_end): Do not use attribute_relro.
25770 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25771 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
25772 to libthread-provided value.
25773 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25776 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25779 * bits/libc-lock.h (__libc_once_get): New macro.
25780 * sysdeps/mach/bits/libc-lock.h: Likewise.
25781 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25782 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25783 instead of using implementation details.
25785 * libio/fileops.c: Unconditionally include <kernel-features.h>.
25786 * libio/freopen.c: Likewise.
25787 * libio/freopen64.c: Likewise.
25788 * misc/syslog.c: Likewise.
25789 * nscd/connections.c: Likewise.
25790 * nscd/netgroupcache.c: Likewise.
25791 * sysdeps/posix/getcwd.c: Likewise.
25793 2012-05-10 Roland McGrath <roland@hack.frob.com>
25795 * math/w_ilogbf.c: Add #include <limits.h>.
25797 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25799 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25800 path instead of returning without unlocking.
25802 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25803 immediate-write ioctls.
25804 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25806 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25808 * sysdeps/mach/hurd/i386/init-first.c (init): Use
25809 __builtin_frame_address instead of making assumptions about the
25810 location of the return address relative to DATA. Force early load of
25811 the return address.
25812 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25813 __builtin_frame_address.
25816 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25817 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
25818 implement dup3 and do some further code clean-ups.
25819 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25820 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25822 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25824 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25826 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25827 HURD_CRITICAL_END around holding _hurd_dtable_lock.
25828 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25829 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25830 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25833 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25834 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
25835 when handler == SIG_ERR, not when handler != SIG_ERR.
25837 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25839 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25840 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25843 accept4 for GNU Hurd.
25844 * include/sys/socket.h (__libc_accept4): New prototype.
25845 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
25846 to implement __libc_accept4.
25847 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25849 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25851 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25852 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25853 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25854 signal-defines.sym.
25856 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25858 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25860 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25862 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25863 assertion on O_CLOEXEC flag.
25864 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25865 * hurd/intern-fd.c: Likewise.
25866 * hurd/port2fd.c: Likewise.
25868 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25871 * bits/in.h (IPV6_PKTINFO): Define new macro.
25872 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25874 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25879 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25880 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25881 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25882 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25883 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25884 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25885 * math/libm-test.inc (logb_test) : Additional logb tests.
25887 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
25888 Andreas Jaeger <aj@suse.de>
25890 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25891 * configure: Regenerated.
25892 * config.h.in (LINK_OBSOLETE_RPC): New macro.
25893 * config.make.in (link-obsolete-rpc): New substituted variable.
25894 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25895 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25896 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25897 (shared-only-routines): Don't set it under [link-obsolete-rpc],
25898 so that libc.a contains the symbols.
25899 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25900 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25901 * sunrpc/auth_none.c: Likewise.
25902 * sunrpc/auth_unix.c: Likewise.
25903 * sunrpc/authdes_prot.c: Likewise.
25904 * sunrpc/authuxprot.c: Likewise.
25905 * sunrpc/clnt_gen.c: Likewise.
25906 * sunrpc/clnt_perr.c: Likewise.
25907 * sunrpc/clnt_raw.c: Likewise.
25908 * sunrpc/clnt_simp.c: Likewise.
25909 * sunrpc/clnt_tcp.c: Likewise.
25910 * sunrpc/clnt_udp.c: Likewise.
25911 * sunrpc/clnt_unix.c: Likewise.
25912 * sunrpc/des_crypt.c: Likewise.
25913 * sunrpc/des_soft.c: Likewise.
25914 * sunrpc/get_myaddr.c: Likewise.
25915 * sunrpc/key_call.c: Likewise.
25916 * sunrpc/key_prot.c: Likewise.
25917 * sunrpc/netname.c: Likewise.
25918 * sunrpc/pm_getmaps.c: Likewise.
25919 * sunrpc/pm_getport.c: Likewise.
25920 * sunrpc/pmap_clnt.c: Likewise.
25921 * sunrpc/pmap_prot.c: Likewise.
25922 * sunrpc/pmap_prot2.c: Likewise.
25923 * sunrpc/pmap_rmt.c: Likewise.
25924 * sunrpc/publickey.c: Likewise.
25925 * sunrpc/rpc_cmsg.c: Likewise.
25926 * sunrpc/rpc_common.c: Likewise.
25927 * sunrpc/rpc_dtable.c: Likewise.
25928 * sunrpc/rpc_prot.c: Likewise.
25929 * sunrpc/rpc_thread.c: Likewise.
25930 * sunrpc/rtime.c: Likewise.
25931 * sunrpc/svc.c: Likewise.
25932 * sunrpc/svc_auth.c: Likewise.
25933 * sunrpc/svc_raw.c: Likewise.
25934 * sunrpc/svc_run.c: Likewise.
25935 * sunrpc/svc_tcp.c: Likewise.
25936 * sunrpc/svc_udp.c: Likewise.
25937 * sunrpc/svc_unix.c: Likewise.
25938 * sunrpc/svcauth_des.c: Likewise.
25939 * sunrpc/xcrypt.c: Likewise.
25940 * sunrpc/xdr.c: Likewise.
25941 * sunrpc/xdr_array.c: Likewise.
25942 * sunrpc/xdr_float.c: Likewise.
25943 * sunrpc/xdr_intXX_t.c: Likewise.
25944 * sunrpc/xdr_mem.c: Likewise.
25945 * sunrpc/xdr_rec.c: Likewise.
25946 * sunrpc/xdr_ref.c: Likewise.
25947 * sunrpc/xdr_sizeof.c: Likewise.
25948 * sunrpc/xdr_stdio.c: Likewise.
25950 2012-05-10 Roland McGrath <roland@hack.frob.com>
25952 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25953 change. Update copyright years.
25955 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25957 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25959 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
25960 Joseph Myers <joseph@codesourcery.com>
25961 Paul Pluzhnikov <ppluzhnikov@google.com>
25964 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25966 [cross-compiling] (extra-libs): Likewise.
25967 [cross-compiling] (extra-libs-others): Likewise.
25968 [cross-compiling] (librpcsvc-routines): Likewise.
25969 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25970 [cross-compiling] (omit-deps): Likewise.
25971 (sunrpc-CPPFLAGS): New variable.
25972 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25973 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25974 (cross-rpcgen-objs): New variable.
25975 (extra-objs): Append $(cross-rpcgen-objs).
25976 ($(cross-rpcgen-objs)): New rule.
25977 ($(objpfx)cross-rpcgen): Likewise.
25978 (rpcgen-cmd): Define to use $(built-program-file). Expand
25980 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25981 ($(objpfx)x%.stmp): Likewise.
25982 * sunrpc/proto.h [IS_IN_build] (_): Define.
25983 [IS_IN_build] (_libc_intl_domainname): Likewise.
25985 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25987 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25988 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25989 and R_X86_64_TPOFF64.
25991 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25993 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25994 sysdeps/unix/sysv/syscalls.list.
25997 * sysdeps/unix/sysv/syscalls.list: Remove file.
25999 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
26002 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
26003 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
26004 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
26005 (__LC_IDENTIFICATION): Make these macros useful in #if
26006 expressions, as required by C99.
26008 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
26010 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26011 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
26014 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
26016 * stdlib/longlong.h: Updated from GCC.
26018 2012-05-09 Andreas Jaeger <aj@suse.de>
26020 * nscd/nscd.c (run_modes): Make named enum, reorder so that
26021 default is first entry.
26022 (run_mode): Set type.
26023 (main): Remove informal message about syslog.
26024 (options): Fix typo.
26027 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
26030 (llrintf): Likewise.
26031 (llrint): Likewise.
26034 (nearbyint): Likewise.
26035 (nearbyintf): Likewise.
26037 2012-05-09 Andreas Jaeger <aj@suse.de>
26038 Pedro Alves <palves@redhat.com>
26040 * nscd/nscd.c (run_mode): Use enum.
26041 (main): Cleanup coding style issue.
26043 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
26044 Andreas Jaeger <aj@suse.de>
26046 * nscd/nscd.c (go_background): Replaced with...
26047 (run_mode): ... this.
26048 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
26049 (options): Add -F --foreground.
26050 (main): Implement it.
26051 (parse_opt): Parse it.
26053 2012-05-09 Andreas Jaeger <aj@suse.de>
26056 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
26057 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
26058 -Wconversion warning.
26059 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
26062 2012-05-09 Joseph Myers <joseph@codesourcery.com>
26064 * conform/data/locale.h-data (NULL): Use macro-constant. Require
26066 (LC_ALL): Use macro-int-constant.
26067 (LC_COLLATE): Likewise.
26068 (LC_CTYPE): Likewise.
26069 (LC_MESSAGES): Likewise.
26070 (LC_MONETARY): Likewise.
26071 (LC_NUMERIC): Likewise.
26072 (LC_TIME): Likewise.
26073 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
26074 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26075 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26076 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
26078 [C99-based standards] (float_t): Expect type.
26079 [C99-based standards] (double_t): Expect type.
26080 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
26082 [C99-based standards] (HUGE_VALL): Likewise.
26083 [C99-based standards] (INFINITY): Likewise.
26084 [C99-based standards] (NAN): Likewise.
26085 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
26086 [C99-based standards] (FP_NAN): Likewise.
26087 [C99-based standards] (FP_NORMAL): Likewise.
26088 [C99-based standards] (FP_SUBNORMAL): Likewise.
26089 [C99-based standards] (FP_ZERO): Likewise.
26090 [C99-based standards] (FP_FAST_FMA): Use
26091 optional-macro-int-constant. Specify type. Require == 1.
26092 [C99-based standards] (FP_FAST_FMAF): Likewise.
26093 [C99-based standards] (FP_FAST_FMAL): Likewise.
26094 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
26095 [C99-based standards] (FP_ILOGBNAN): Likewise.
26096 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
26098 [C99-based standards] (MATH_ERREXCEPT): Likewise.
26099 [C99-based standards] (math_errhandling): Specify type.
26100 [ISO99 || ISO11] (signgam): Do not allow.
26101 [non-C99-based standards] (copysignf): Do not allow.
26102 [non-C99-based standards] (exp2f): Likewise.
26103 [non-C99-based standards] (log2f): Likewise.
26104 [non-C99-based standards] (modff): Allow.
26105 [non-C99-based standards] (erff): Do not allow.
26106 [non-C99-based standards] (erfcf): Likewise.
26107 [non-C99-based standards] (gammaf): Likewise.
26108 [non-C99-based standards] (hypotf): Likewise.
26109 [non-C99-based standards] (j0f): Likewise.
26110 [non-C99-based standards] (j1f): Likewise.
26111 [non-C99-based standards] (jnf): Likewise.
26112 [non-C99-based standards] (lgammaf): Likewise.
26113 [non-C99-based standards] (tgammaf): Likewise.
26114 [non-C99-based standards] (y0f): Likewise.
26115 [non-C99-based standards] (y1f): Likewise.
26116 [non-C99-based standards] (ynf): Likewise.
26117 [non-C99-based standards] (isnanf): Likewise.
26118 [non-C99-based standards] (acoshf): Likewise.
26119 [non-C99-based standards] (asinhf): Likewise.
26120 [non-C99-based standards] (atanhf): Likewise.
26121 [non-C99-based standards] (cbrtf): Likewise.
26122 [non-C99-based standards] (expm1f): Likewise.
26123 [non-C99-based standards] (ilogbf): Likewise.
26124 [non-C99-based standards] (log1pf): Likewise.
26125 [non-C99-based standards] (logbf): Likewise.
26126 [non-C99-based standards] (nextafterf): Likewise.
26127 [non-C99-based standards] (remainderf): Likewise.
26128 [non-C99-based standards] (rintf): Likewise.
26129 [non-C99-based standards] (scalbf): Likewise.
26130 [non-C99-based standards] (copysignl): Likewise.
26131 [non-C99-based standards] (exp2l): Likewise.
26132 [non-C99-based standards] (log2l): Likewise.
26133 [non-C99-based standards] (modfl): Allow.
26134 [non-C99-based standards] (erfl): Do not allow.
26135 [non-C99-based standards] (erfcl): Likewise.
26136 [non-C99-based standards] (gammal): Likewise.
26137 [non-C99-based standards] (hypotl): Likewise.
26138 [non-C99-based standards] (j0l): Likewise.
26139 [non-C99-based standards] (j1l): Likewise.
26140 [non-C99-based standards] (jnl): Likewise.
26141 [non-C99-based standards] (lgammal): Likewise.
26142 [non-C99-based standards] (tgammal): Likewise.
26143 [non-C99-based standards] (y0l): Likewise.
26144 [non-C99-based standards] (y1l): Likewise.
26145 [non-C99-based standards] (ynl): Likewise.
26146 [non-C99-based standards] (isnanl): Likewise.
26147 [non-C99-based standards] (acoshl): Likewise.
26148 [non-C99-based standards] (asinhl): Likewise.
26149 [non-C99-based standards] (atanhl): Likewise.
26150 [non-C99-based standards] (cbrtl): Likewise.
26151 [non-C99-based standards] (expm1l): Likewise.
26152 [non-C99-based standards] (ilogbl): Likewise.
26153 [non-C99-based standards] (log1pl): Likewise.
26154 [non-C99-based standards] (logbl): Likewise.
26155 [non-C99-based standards] (nextafterl): Likewise.
26156 [non-C99-based standards] (remainderl): Likewise.
26157 [non-C99-based standards] (rintl): Likewise.
26158 [non-C99-based standards] (scalbl): Likewise.
26159 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26160 [non-C99-based standards] (FP_*): Do not allow.
26161 [C99-based standards] (FP_*): Change to
26162 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26163 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26165 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
26166 (SIG_ERR): Likewise.
26167 [X/Open-based standards] (SIG_HOLD): Likewise.
26168 (SIG_IGN): Likewise.
26169 (SIGABRT): Use macro-int-constant. Specify type. Require
26171 (SIGFPE): Likewise.
26172 (SIGILL): Likewise.
26173 (SIGINT): Likewise.
26174 (SIGSEGV): Likewise.
26175 (SIGTER): Likewise.
26176 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
26177 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
26178 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
26179 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
26180 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
26181 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
26182 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
26183 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
26184 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
26185 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
26186 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
26187 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
26188 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
26189 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
26190 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
26191 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
26192 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
26193 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
26194 [X/Open-based standards] (SIGTRAP): Likewise.
26195 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
26196 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
26197 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
26198 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
26199 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26202 2012-05-08 Ian Wienand <ianw@vmware.com>
26205 * time/tzset.c (__tzset_parse_tz): Update default rules for
26206 daylight time changes in the Energy Policy Act of 2005.
26208 2012-05-09 Andreas Jaeger <aj@suse.de>
26211 * elf/ldconfig.c (parse_conf): Change string to make clear that
26212 ldconfig only issued a warning if ld.so.conf does not exist.
26214 2012-05-08 David S. Miller <davem@davemloft.net>
26216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
26217 movxtod instead of popping the value on the stack.
26219 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26221 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
26223 * config.h.in: Add HAVE_ARM_PCS_VFP.
26225 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
26228 * include/features.h: Warn if user requests __FORTIFY_SOURCE
26229 checking but the checks are disabled for any reason.
26231 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
26233 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
26234 and ELF64_R_TYPE with ELFW(R_TYPE).
26236 2012-05-08 Joseph Myers <joseph@codesourcery.com>
26238 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
26239 (ulimit): Likewise.
26241 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
26242 (settimeofday): Likewise.
26244 2012-05-08 Mike Frysinger <vapier@gentoo.org>
26246 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
26247 a struct th_u2 inside the union, and move tu_block/tu_code into
26248 a new th_u3 union of tu_block/tu_code inside of that. Move
26249 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
26250 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
26251 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
26252 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
26253 (th_stuff): Change to th_u1.tu_stuff.
26255 (th_msg): Change to th_u1.th_u2.tu_data.
26257 2012-05-07 David S. Miller <davem@davemloft.net>
26259 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26262 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
26263 (SETUP_PIC_REG): Use it.
26264 (SETUP_PIC_REG_LEAF): Use it.
26266 2012-05-07 Joseph Myers <joseph@codesourcery.com>
26270 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26272 (EXPL_FINITE): Likewise.
26273 (FLDLOG): Likewise.
26274 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26275 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26277 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26279 (EXPL_FINITE): Likewise.
26280 (FLDLOG): Likewise.
26281 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26282 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26284 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
26285 test of -max_value argument for long double.
26286 * sysdeps/i386/fpu/libm-test-ulps: Update.
26287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26289 2012-05-06 David S. Miller <davem@davemloft.net>
26291 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
26292 quad soft-float symbols whose references which are compiler
26294 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26296 2012-05-06 Joseph Myers <joseph@codesourcery.com>
26300 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26302 (EXPL_FINITE): Likewise.
26303 (FLDLOG): Likewise.
26306 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26307 Adjust comments for base varying.
26308 (__expl_finite): Change alias to EXPL_FINITE.
26309 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
26311 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
26312 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26313 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26314 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
26315 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26317 (EXPL_FINITE): Likewise.
26318 (FLDLOG): Likewise.
26321 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26322 Adjust comments for base varying.
26323 (__expl_finite): Change alias to EXPL_FINITE.
26324 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
26326 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26329 * math/libm-test.inc (check_float_internal): Correct ulp
26330 calculation for subnormal expected results.
26332 2012-05-06 Andreas Jaeger <aj@suse.de>
26334 * Makeconfig (+math-flags): New, set to -frounding-math.
26335 (+cflags): Add +math-flags so that all of glibc gets compiled with
26338 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
26340 2012-05-05 Joseph Myers <joseph@codesourcery.com>
26342 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
26348 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
26349 (__ieee754_expl): Allow for and saturate large arguments.
26350 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
26351 (u_threshold): Likewise.
26352 (__exp): Call __ieee754_exp before checking for overflow and
26354 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
26355 (u_threshold): Likewise.
26356 (__expf): Call __ieee754_expf before checking for overflow and
26358 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
26359 (u_threshold): Likewise.
26360 (__expl): Call __ieee754_expl before checking for overflow and
26362 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
26363 (__ieee754_expl): Allow for and saturate large arguments.
26364 * math/libm-test.inc (exp_test): Add another test. Do not allow
26365 missing overflow exception on overflow.
26366 (expm1_test): Do not allow missing overflow exception on overflow.
26368 * sysdeps/i386/fpu/e_expl.c: Move to ...
26369 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
26370 rather than using inline asm.
26371 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
26372 * sysdeps/x86_64/fpu/e_expl.S: Copy from
26373 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
26375 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
26378 (signal): Likewise.
26382 2012-05-04 Joseph Myers <joseph@codesourcery.com>
26384 * sysdeps/unix/syscalls.list (adjtime): Add entry from
26385 sysdeps/unix/common/syscalls.list.
26386 (fchmod): Likewise.
26387 (fchown): Likewise.
26388 (ftruncate): Likewise.
26389 (getrusage): Likewise.
26390 (gettimeofday): Likewise.
26391 (setpgid): Likewise.
26392 (setregid): Likewise.
26393 (setreuid): Likewise.
26394 (sigaction): Likewise.
26395 (truncate): Likewise.
26396 (vhangup): Likewise.
26397 * sysdeps/unix/common/syscalls.list: Remove file.
26398 * sysdeps/unix/bsd/Implies: Don't include unix/common.
26399 * sysdeps/unix/sysv/linux/Implies: Likewise.
26401 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
26403 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
26404 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
26405 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
26407 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26409 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
26411 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
26412 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
26414 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
26415 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
26417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
26418 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
26420 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
26421 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
26423 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
26424 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
26426 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
26427 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
26429 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26431 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
26433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
26435 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
26437 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
26438 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
26440 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
26442 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
26444 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
26446 2012-05-04 Joseph Myers <joseph@codesourcery.com>
26448 * sysdeps/unix/common/bits/dirent.h: Remove file.
26449 * sysdeps/unix/common/bits/fcntl.h: Likewise.
26451 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
26452 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
26453 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
26454 * sysdeps/unix/bsd/isatty.c: Likewise.
26455 * sysdeps/unix/bsd/tcdrain.c: Likewise.
26456 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
26457 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
26459 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26462 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
26463 long double comparison inaccuracies.
26464 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26467 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
26469 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
26470 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
26472 2012-05-04 Joseph Myers <joseph@codesourcery.com>
26475 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
26476 nonzero digits before rounding a hex value.
26477 * stdlib/tst-strtod.c (tests): Add another test.
26479 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26481 * sysdeps/s390/fpu/libm-test-ulps: Update.
26483 2012-05-03 Andreas Jaeger <aj@suse.de>
26485 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
26486 does not get optimized out.
26487 (malloc_opt_barrier): New.
26489 2012-05-03 Andreas Jaeger <aj@suse.de>
26490 Roland McGrath <roland@hack.frob.com>
26492 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
26493 intermediate file deletion.
26494 (generated): Add .symlist files.
26496 2012-05-03 Joseph Myers <joseph@codesourcery.com>
26499 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
26500 Redirect under this condition.
26501 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26502 [__USE_GNU] (__dprintf_chk): Not under this condition.
26503 [__USE_GNU] (__vdprintf_chk): Likewise.
26504 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
26505 under this condition.
26506 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26507 [__USE_XOPEN2K8] (dprintf): Define under this condition.
26508 [__USE_XOPEN2K8] (vdprintf): Likewise.
26509 [__USE_GNU] (__dprintf_chk): Not under this condition.
26510 [__USE_GNU] (__vdprintf_chk): Likewise.
26511 [__USE_GNU] (dprintf): Likewise.
26512 [__USE_GNU] (vdprintf): Likewise.
26514 2012-05-03 Roland McGrath <roland@hack.frob.com>
26516 * elf/Makefile (common-generated): Set this instead of generated for
26517 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
26518 $(all-built-dso)-derived lists.
26520 2012-05-03 Andreas Jaeger <aj@suse.de>
26522 * sysdeps/i386/fpu/libm-test-ulps: Update.
26525 * FAQ.in: Likewise.
26526 * scripts/gen-FAQ.pl: Likewise.
26527 * manual/install.texi (Installation): Point to online location of
26529 * Makefile (files-for-dist): Remove FAQ.
26532 2012-05-02 Allan McRae <allan@archlinux.org>
26534 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
26535 (LDFLAGS-reldepmod5.so): Likewise.
26536 (LDFLAGS-reldep6mod1.so): Likewise.
26537 (LDFLAGS-reldep6mod4.so): Likewise.
26538 (LDFLAGS-reldep8mod3.so): Likewise.
26539 (LDFLAGS-unload4mod1.so): Likewise.
26540 (LDFLAGS-unload4mod2.so): Likewise.
26541 (LDFLAGS-tst-initorder): Likewise.
26542 (LDFLAGS-tst-initordera2.so): Likewise.
26543 (LDFLAGS-tst-initordera3.so): Likewise.
26544 (LDFLAGS-tst-initordera4.so): Likewise.
26545 (LDFLAGS-tst-initorderb2.so): Likewise.
26546 (LDFLAGS-noload): Likewise.
26547 (LDFLAGS-next): Likewise.
26548 (LDFLAGS-order2mod1.so): Likewise.
26549 (LDFLAGS-order2mod2.so): Likewise.
26550 (LDFLAGS-tst-initorder2): Likewise.
26551 (LDFLAGS-tst-initorder2a.so): Likewise.
26552 (LDFLAGS-tst-initorder2b.so): Likewise.
26553 (LDFLAGS-tst-initorder2c.so): Likewise.
26554 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
26556 2012-05-02 David S. Miller <davem@davemloft.net>
26558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26560 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
26563 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
26565 2012-05-02 Andreas Jaeger <aj@suse.de>
26567 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
26568 since we manipulate rounding mode.
26569 (CPPFLAGS-test-idouble.c): Likewise.
26570 (CPPFLAGS-test-ifloat.c): Likewise.
26571 (CFLAGS-test-ldouble.c): Likewise.
26572 (CFLAGS-test-double.c): Likewise.
26573 (CFLAGS-test-float.c): Likewise.
26574 (CFLAGS-test-misc.c): Likewise.
26575 (CFLAGS-test-test-fenv.c): Likewise.
26577 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26581 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
26582 comparisons to determine direction to adjust input.
26584 2012-05-01 Roland McGrath <roland@hack.frob.com>
26586 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
26587 output to the target.
26589 * scripts/localplt.awk: New file.
26590 * elf/Makefile ($(objpfx)check-localplt): Target removed.
26591 (check-localplt-CFLAGS): Variable removed.
26592 ($(all-built-dso:=.jmprel)): New static pattern rule.
26593 (generated): Add those targets.
26594 (localplt-built-dso): New variable.
26595 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
26597 * elf/check-localplt.c: File removed.
26599 * scripts/check-execstack.awk: New file.
26600 * elf/Makefile ($(objpfx)check-execstack): Target removed.
26601 (check-execstack-CFLAGS): Variable removed.
26602 ($(objpfx)check-execstack.h): Target removed.
26603 ($(objpfx)execstack-default): New target.
26604 (generated): Add that instead of check-execstack.h.
26605 ($(all-built-dso:=.phdr)): New static pattern rule.
26606 (generated): Add those targets.
26607 * elf/check-execstack.c: File removed.
26609 * scripts/check-textrel.awk: New file.
26610 * elf/Makefile ($(objpfx)check-textrel): Target removed.
26611 (check-textrel-CFLAGS): Variable removed.
26612 (all-built-dso): Use := to define.o
26613 ($(all-built-dso:=.dyn)): New static pattern rule.
26614 (generated): Add those targets.
26615 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
26616 * config.make.in (READELF): New substituted variable.
26617 * elf/check-textrel.c: File removed.
26619 2012-05-01 Joseph Myers <joseph@codesourcery.com>
26621 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26623 * conform/data/ctype.h-data [C99-based standards] (isblank):
26625 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
26626 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
26627 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26628 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
26629 Specify type. Require positive value.
26630 (EILSEQ): Likewise.
26631 (ERANGE): Likewise.
26632 [ISO || POSIX] (EILSEQ): Do not expect.
26633 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
26634 Specify type. Require positive value.
26635 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
26636 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
26637 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
26638 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
26639 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
26640 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
26641 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
26642 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
26643 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
26644 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
26645 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
26646 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
26647 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
26648 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
26649 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
26650 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
26651 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
26652 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
26653 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
26654 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
26655 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
26656 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
26657 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
26658 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
26659 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
26660 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
26661 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
26662 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
26663 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
26664 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
26665 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
26666 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
26667 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
26668 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
26669 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
26670 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
26671 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
26672 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
26673 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
26674 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
26675 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
26676 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
26677 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
26678 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
26679 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
26680 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
26681 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
26682 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
26683 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
26684 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
26685 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
26686 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
26687 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
26688 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
26689 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
26690 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
26691 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
26692 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
26693 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
26694 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
26695 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
26696 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
26697 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
26698 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
26699 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
26700 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
26701 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
26702 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
26703 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
26704 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
26705 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
26706 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
26707 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
26708 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
26709 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
26710 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
26711 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
26713 (FLT_ROUNDS): Expect as macro, not constant.
26714 (FLT_MANT_DIG): Use macro-int-constant.
26715 (DBL_MANT_DIG): Likewise.
26716 (LDBL_MANT_DIG): Likewise.
26717 (FLT_DIG): Likewise.
26718 (DBL_DIG): Likewise.
26719 (LDBL_DIG): Likewise.
26720 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
26721 (DBL_MIN_EXP): Likewise.
26722 (LDBL_MIN_EXP): Likewise.
26723 (FLT_MAX_EXP): Use macro-int-constant.
26724 (DBL_MAX_EXP): Likewise.
26725 (LDBL_MAX_EXP): Likewise.
26726 (FLT_MAX_10_EXP): Likewise.
26727 (DBL_MAX_10_EXP): Likewise.
26728 (LDBL_MAX_10_EXP): Likewise.
26729 (FLT_MAX): Use macro-constant.
26730 (DBL_MAX): Likewise.
26731 (LDBL_MAX): Likewise.
26732 (FLT_EPSILON): Use macro-constant. Give upper bound.
26733 (DBL_EPSILON): Likewise.
26734 (LDBL_EPSILON): Likewise.
26735 (FLT_MIN): Likewise.
26736 (DBL_MIN): Likewise.
26737 (LDBL_MIN): Likewise.
26738 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26739 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26740 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26741 [ISO11] (FLT_HAS_SUBNORM): Likewise.
26742 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26743 [ISO11] (DBL_DECIMAL_DIG): Likewise.
26744 [ISO11] (FLT_DECIMAL_DIG): Likewise.
26745 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26746 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26747 [ISO11] (FLT_TRUE_MIN): Likewise.
26748 [ISO11] (LDBL_TRUE_MIN): Likewise.
26749 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26750 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26751 (SCHAR_MIN): Use macro-int-constant. Specify type.
26752 (SCHAR_MAX): Likewise.
26753 (UCHAR_MAX): Likewise.
26754 (CHAR_MIN): Likewise.
26755 (CHAR_MAX): Likewise.
26756 (MB_LEN_MAX): Use macro-int-constant.
26757 (SHRT_MIN): Use macro-int-constant. Specify type.
26758 (SHRT_MAX): Likewise.
26759 (USHRT_MAX): Likewise.
26760 (INT_MAX): Likewise.
26761 (INT_MIN): Use macro-int-constant. Specify type. Make upper
26763 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
26765 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26767 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
26768 bound negative. Suffix upper bound with "L".
26769 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26771 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26773 [C99-based standards] (LLONG_MAX): Likewise.
26774 [C99-based standards] (ULLONG_MAX): Likewise.
26775 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
26777 [ISO11] (max_align_t): Require type.
26778 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26780 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26781 from $CFLAGS, without defining away __attribute__ calls.
26782 (checknamespace): Use $CFLAGS_namespace.
26784 * conform/conformtest.pl (@keywords): Only include C99 keywords
26785 for standards based on C99 or C11.
26787 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26789 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26792 * conform/conformtest.pl: Handle "macro-int-constant" and test for
26793 usability of symbols in #if.
26795 * conform/conformtest.pl: If macro or constant types start
26796 "promoted:", expect the symbol to be of the following type
26797 promoted by the integer promotions.
26799 * conform/conformtest.pl: Parse all "constant" and "macro" lines
26800 in one place. Also handle "macro-constant".
26802 * conform/conformtest.pl: Only accept expected macro values with
26803 "==". Parse all "macro" lines in one place.
26804 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26806 * conform/conformtest.pl: Handle braced types on "constant" lines
26807 instead of handling "typed-constant".
26808 * conform/data/signal.h-data: Use "constant" instead of
26811 * conform/conformtest.pl: Handle "optional-" at start of lines in
26812 one place rather than duplicating several cases. Handle each
26813 format of "macro" line with initial "optional-".
26815 * conform/conformtest.pl: Only accept expected constant or
26816 optional-constant values with "==". Parse all "constant" lines in
26817 one place. Parse all "optional-constant" lines in one place.
26818 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26819 * conform/data/fmtmsg.h-data: Likewise.
26820 * conform/data/netinet/in.h-data: Likewise.
26821 * conform/data/tar.h-data: Likewise.
26822 * conform/data/limits.h-data: Use "==" form on "constant" and
26823 "optional-constant" lines.
26825 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26826 Use -std=c99 for XOPEN2K.
26827 (@knownproblems): Remove.
26828 (newtoken): Don't check %isknown.
26830 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26831 Do not expect macro.
26832 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26833 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26834 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26835 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26836 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26837 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26838 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26839 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26840 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26841 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26842 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26843 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26844 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26845 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26846 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26847 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26848 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26849 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26850 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26851 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26852 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26853 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26854 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26855 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26856 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26857 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26858 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26859 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26860 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26861 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26862 [XPG3] (acosh): Likewise.
26863 [XPG3] (asinh): Likewise.
26864 [XPG3] (atanh): Likewise.
26865 [XPG3] (cbrt): Likewise.
26866 [XPG3] (expm1): Likewise.
26867 [XPG3] (ilogb): Likewise.
26868 [XPG3] (log1p): Likewise.
26869 [XPG3] (logb): Likewise.
26870 [XPG3] (nextafter): Likewise.
26871 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26872 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26873 [XPG3] (remainder): Likewise.
26874 [XPG3] (rint): Likewise.
26875 [XPG3 || XPG4 || UNIX98] (round): Likewise.
26876 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26877 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26878 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26879 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26880 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26881 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26882 [UNIX98 || XOPEN2K] (scalb): Expect.
26883 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26884 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26885 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26886 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26887 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26888 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26889 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26890 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26891 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26892 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26893 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26894 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26895 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26896 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26897 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26898 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26899 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26900 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26901 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26902 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26903 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26904 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26905 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26906 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26907 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26908 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26909 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26910 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26911 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26912 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26913 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26914 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26915 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26916 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26917 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26918 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26919 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26920 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26921 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26922 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26923 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26924 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26925 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26926 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26927 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26928 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26929 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26930 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26931 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26932 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26933 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26934 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26935 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26936 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26937 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26938 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26939 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26940 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26941 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26942 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26943 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26944 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26945 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26946 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26947 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26948 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26949 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26950 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26951 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26952 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26953 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26954 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26955 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26956 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26957 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26958 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26959 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26960 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26961 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26962 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26963 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26964 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26965 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26966 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26967 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26968 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26969 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26970 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26971 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26972 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26973 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26974 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26975 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26976 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26977 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26978 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26979 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26980 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26981 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26982 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26983 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26984 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26985 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26986 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26987 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26988 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26989 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26990 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26991 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26992 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26993 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26994 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26995 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26996 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26997 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26998 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26999 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
27000 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
27001 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
27002 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
27003 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
27004 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
27005 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
27006 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
27007 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
27008 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
27009 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
27010 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27011 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27012 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27013 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27014 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27015 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27016 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27017 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27018 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27019 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27021 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27022 _XOPEN_SOURCE_EXTENDED for XPG4.
27024 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27026 * Makeconfig (localtime): Remove variable.
27027 (inst_localtime-file): Likewise.
27029 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27050 2012-05-01 Joseph Myers <joseph@codesourcery.com>
27054 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
27055 comparisons to determine direction to adjust input.
27056 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27057 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
27058 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27060 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27062 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27064 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27065 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27067 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27069 * math/libm-test.inc (nexttoward_test): Add more tests.
27071 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27074 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
27075 in version GLIBC_2.1, not GLIBC_2.0.
27076 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
27079 2012-04-30 Joseph Myers <joseph@codesourcery.com>
27082 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
27084 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27085 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
27086 * math/libm-test.inc (acos_test): Add more tests.
27087 (asin_test): Likewise.
27088 * sysdeps/i386/fpu/libm-test-ulps: Update.
27089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27092 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
27094 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
27095 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27096 * math/libm-test.inc (acos_test_tonearest): New function.
27097 (acos_test_towardzero): Likewise.
27098 (acos_test_downward): Likewise.
27099 (acos_test_upward): Likewise.
27100 (asin_test_tonearest): Likewise.
27101 (asin_test_towardzero): Likewise.
27102 (asin_test_downward): Likewise.
27103 (asin_test_upward): Likewise.
27104 (main): Call the new functions.
27105 * sysdeps/i386/fpu/libm-test-ulps: Update.
27106 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27110 * math/e_exp10.c: Include <float.h>.
27111 (__ieee754_exp10): Handle underflow here rather than multiplying
27112 large negative argument by M_LN10.
27113 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
27115 * math/e_exp10l.c: Include <float.h>.
27116 (__ieee754_exp10l): Handle underflow here rather than multiplying
27117 large negative argument by M_LN10l.
27118 * math/libm-test.inc (exp10_test): Add another test. Do not allow
27119 spurious overflow exception on underflow.
27121 2012-04-29 Marek Polacek <polacek@redhat.com>
27123 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
27124 (__fortify_function): New macro.
27125 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
27126 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
27127 __extern_always_inline.
27128 * libio/bits/stdio2.h: Likewise.
27129 * libio/bits/stdio.h: Likewise.
27130 * string/string.h: Likewise.
27131 * string/bits/string3.h: Likewise.
27132 * include/stdio.h: Likewise.
27133 * stdlib/bits/stdlib.h: Likewise.
27134 * stdlib/stdlib.h: Likewise.
27135 * rt/bits/mqueue2.h: Likewise.
27136 * rt/mqueue.h: Likewise.
27137 * posix/bits/unistd.h: Likewise.
27138 * posix/unistd.h: Likewise.
27139 * io/bits/poll2.h: Likewise.
27140 * io/bits/fcntl2.h: Likewise.
27141 * io/fcntl.h: Likewise.
27142 * io/sys/poll.h: Likewise.
27143 * misc/bits/syslog.h: Likewise.
27144 * misc/bits/syslog-ldbl.h: Likewise.
27145 * misc/sys/syslog.h: Likewise.
27146 * socket/bits/socket2.h: Likewise.
27147 * socket/sys/socket.h: Likewise.
27148 * debug/tst-chk1.c: Likewise.
27149 * wcsmbs/bits/wchar2.h: Likewise.
27150 * wcsmbs/bits/wchar-ldbl.h: Likewise.
27151 * wcsmbs/wchar.h: Likewise.
27153 2012-04-29 Andreas Jaeger <aj@suse.de>
27155 * Makerules (tests): Remove enable-check-abi protection.
27156 (check-abi-warn): Remove.
27157 (check-abi-%): Remove check-abi-warn usage.
27159 * configure.in: Remove check-abi configure option.
27160 * configure: Regenerated.
27161 * config.make.in (enable-check-abi): Remove.
27163 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
27166 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
27167 double functions to double *_finite functions.
27170 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
27171 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
27173 * stdio-common/Makefile (tests): Add tst-sprintf3.
27174 * stdio-common/tst-sprintf3.c: New file.
27176 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
27177 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
27179 2012-04-28 Joseph Myers <joseph@codesourcery.com>
27181 * conform/conformtest.pl: Remove duplicate typed-constant
27184 2012-04-28 David S. Miller <davem@davemloft.net>
27186 * Makerules (%.abilist): Add vpath on sysdep_dirs.
27187 (check-abi-%): Remove AWK script prerequisite and explicit
27189 (check-abi): Rewrite to just diff the symlist with the abilist.
27190 (config-tls, config-abi-config): Delete, no longer used.
27191 (update-abi-%): Remove AWK script and explicit abilist directory.
27192 (update-abi): Rewrite to simply compare and conditionally copy the
27193 symlist and the sysdep abilist file. Remove update-abi-config
27195 * abilist/ld.abilist: Remove.
27196 * abilist/libBrokenLocale.abilist: Remove.
27197 * abilist/libanl.abilist: Remove.
27198 * abilist/libcrypt.abilist: Remove.
27199 * abilist/libdl.abilist: Remove.
27200 * abilist/librt.abilist: Remove.
27201 * abilist/libthread_db.abilist: Remove.
27202 * abilist/libutil.abilist: Remove.
27203 * scripts/extract-abilist.awk: Remove.
27204 * scripts/merge-abilist.awk: Remove.
27205 * sysdeps/generic/libcidn.abilist: New file.
27206 * sysdeps/generic/libnss_compat.abilist: New file.
27207 * sysdeps/generic/libnss_db.abilist: New file.
27208 * sysdeps/generic/libnss_dns.abilist: New file.
27209 * sysdeps/generic/libnss_files.abilist: New file.
27210 * sysdeps/generic/libnss_hesiod.abilist: New file.
27211 * sysdeps/generic/libnss_nis.abilist: New file.
27212 * sysdeps/generic/libnss_nisplus.abilist: New file.
27213 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
27214 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
27215 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
27217 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
27218 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
27219 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
27220 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
27221 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
27222 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
27223 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
27224 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
27225 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
27227 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
27228 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
27229 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
27230 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
27232 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
27233 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
27234 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
27235 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
27236 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
27237 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
27239 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
27240 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
27241 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
27243 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
27244 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
27246 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
27248 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
27250 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
27252 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
27254 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
27256 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
27258 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
27260 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
27262 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
27264 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
27266 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
27268 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
27270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
27272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
27278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
27284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27296 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
27297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
27299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
27303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
27305 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
27307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
27309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
27311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
27315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
27317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
27321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
27322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
27324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
27328 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
27330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
27332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
27334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
27336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27338 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
27340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
27342 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
27346 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27347 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
27348 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
27350 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
27351 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
27352 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
27353 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
27354 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
27355 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
27356 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
27357 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
27358 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
27359 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
27360 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
27361 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
27363 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27365 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
27367 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
27369 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
27371 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
27373 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
27375 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27377 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
27381 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
27385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
27386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
27388 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27390 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
27392 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
27394 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
27396 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
27398 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
27400 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27402 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
27406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
27411 2012-04-28 Joseph Myers <joseph@codesourcery.com>
27413 * conform/conformtest.pl: Fix typo in handling typed-constant from
27416 2012-04-27 Joseph Myers <joseph@codesourcery.com>
27418 * README: Cut down references to pre-2.6 Linux kernels and
27419 Linuxthreads. Update lists of configurations in libc and ports
27420 and sort alphabetically. Say "or newer" with Linux kernel version
27423 * config.h.in [IS_IN_build]: Allow compiling without optimization.
27425 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27428 * math/libm-test.inc (logb_test_downward): New test to expose
27429 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
27432 2012-04-27 Joseph Myers <joseph@codesourcery.com>
27435 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
27437 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
27438 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
27440 2012-04-26 Joseph Myers <joseph@codesourcery.com>
27442 * sysdeps/unix/i386/brk.S: Remove file.
27443 * sysdeps/unix/i386/dl-brk.S: Likewise.
27444 * sysdeps/unix/i386/pipe.S: Likewise.
27445 * sysdeps/unix/i386/sigreturn.S: Likewise.
27446 * sysdeps/unix/i386/syscall.S: Likewise.
27447 * sysdeps/unix/i386/vfork.S: Likewise.
27448 * sysdeps/unix/i386/wait.S: Likewise.
27450 * sysdeps/unix/common/tcsendbrk.c: Move to ...
27451 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
27453 * configure.in (arm*-none*): Do not allow without
27454 --enable-hacker-mode.
27455 (netbsd*): Remove case setting base_os.
27456 (386bsd*): Likewise.
27457 (freebsd*): Likewise.
27460 (sunos*): Likewise.
27461 (ultrix*): Likewise.
27462 (newsos*): Likewise.
27463 (dynix*): Likewise.
27469 (minix*): Likewise.
27470 (irix4*): Likewise.
27471 (irix6*): Likewise.
27472 (solaris[2-9]*): Likewise.
27474 * configure: Regenerated.
27476 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27479 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
27480 overflow or cancellation in calculating denominator.
27481 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
27482 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
27483 down expression to avoid unexpected rounding in newer GCCs.
27484 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
27486 2012-04-26 David S. Miller <davem@davemloft.net>
27488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
27489 long-double compat symbols.
27490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
27494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
27496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
27497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
27498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
27499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
27501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
27502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27504 2012-04-25 David S. Miller <davem@davemloft.net>
27506 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
27507 HWCAP_* values only after the memory barriers have been defined.
27508 (atomic_full_barrier): Define.
27509 (atomic_read_barrier): Define.
27510 (atomic_write_barrier): Define.
27512 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27514 * shlib-versions: Add libgcc_s version information.
27515 * sysdeps/generic/libgcc_s.h: Remove.
27516 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
27518 * sysdeps/gnu/unwind-resume.c: Likewise.
27519 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
27521 2012-04-25 David S. Miller <davem@davemloft.net>
27523 * sysdeps/unix/sparc/brk.S: Delete.
27524 * sysdeps/unix/sparc/dl-brk.S: Delete.
27525 * sysdeps/unix/sparc/pipe.S: Delete.
27526 * sysdeps/unix/sparc/sysdep.S: Delete.
27527 * sysdeps/unix/sparc/sysdep.h: Delete.
27528 * sysdeps/unix/sparc/vfork.S: Delete.
27529 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
27530 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
27531 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
27532 ret_ERRVAL, r0, r1, MOVE): Define.
27533 (JUMPTARGET): Remove.
27534 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
27535 sysdeps/unix/sparc/sysdep.h
27536 (ENTRY, END): Remove.
27537 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27539 2012-04-25 Joseph Myers <joseph@codesourcery.com>
27541 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
27542 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
27545 * timezone/README: Update upstream location and email address for
27547 * timezone/zdump.c: Update from tzcode 2012b.
27548 * timezone/zic.c: Likewise.
27550 * configure.in (libc_cv_as_needed): Remove test.
27551 * configure: Regenerated.
27552 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
27553 conditional definition.
27554 [$(have-as-needed) != yes] (no-as-needed): Likewise.
27555 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
27556 * config.make.in (have-as-needed): Remove variable.
27558 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27559 Paul Pluzhnikov <ppluzhnikov@google.com>
27561 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
27564 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
27566 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
27567 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
27568 * sysdeps/sh/strlen.S: Likewise.
27570 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27572 * sysdeps/unix/fork.S: Remove file.
27573 * sysdeps/unix/i386/fork.S: Likewise.
27574 * sysdeps/unix/sparc/fork.S: Likewise.
27576 * sysdeps/unix/system.c: Remove file.
27577 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
27579 * sysdeps/unix/getegid.S: Remove file.
27580 * sysdeps/unix/geteuid.S: Likewise.
27582 2012-04-24 Roland McGrath <roland@hack.frob.com>
27584 * scripts/check-localplt.awk: New file.
27585 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
27587 * scripts/data/localplt-generic.data: Add a comment.
27589 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
27590 NODE when __dir_mkfile failed.
27591 * sysdeps/mach/hurd/symlinkat.c: Likewise.
27592 Reported by Ludovic Courtès <ludo@gnu.org>.
27594 2012-04-24 Andreas Jaeger <aj@suse.de>
27596 * Makerules (common-clean): Also remove gen-as-const-headers
27599 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27601 * Makerules (native-compile): Do not change working directory for
27602 build. Use $(OUTPUT_OPTION) in command.
27603 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
27605 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27608 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
27609 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
27610 * math/libm-test.inc (floor_test): Add more tests.
27611 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
27613 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27615 * sysdeps/unix/getdents.c: Remove file.
27616 * sysdeps/unix/sysv/getdents.c: Likewise.
27617 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
27619 * sysdeps/unix/syscalls.list (madvise): Add syscall from
27620 sysdeps/unix/mman/syscalls.list.
27622 (mprotect): Likewise.
27624 (munmap): Likewise.
27625 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
27626 * sysdeps/unix/mman/syscalls.list: Remove.
27627 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
27629 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
27630 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
27631 * configure: Regenerated.
27632 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
27633 $(libgcc_s_suffix).
27634 * config.make.in (libgcc_s_suffix): Remove variable.
27636 2012-04-23 Joseph Myers <joseph@codesourcery.com>
27638 * sysdeps/unix/sysv/gethostname.c: Move to ...
27639 * sysdeps/posix/gethostname.c: ... here.
27641 * sysdeps/unix/execve.S: Remove file.
27643 * sysdeps/unix/_exit.S: Remove file.
27645 2012-04-23 Andreas Jaeger <aj@suse.de>
27648 * manual/Makefile: Remove make dist support, there's no
27649 need for a stand-alone documentation tar ball.
27650 (TEXI2DVI): Define always, it's not in Makeconfig.
27653 (edition): Removed.
27654 (glibc-doc-$(edition).tar): Removed
27658 (ETAGS): Remove, it's in Makeconfig.
27659 (move-if-change): Remove, it's in Makeconfig.
27661 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
27664 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
27665 (strtod, strtof, strtold, strtol, strtoul, strtoq)
27666 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
27667 (strtod_l, strtof_l, strtold_l): Remove __wur.
27668 It is not necessarily an error to ignore strtol's return value.
27669 One can reliably look at the stored endptr to decide whether
27670 the number had valid syntax.
27672 2012-04-21 Andreas Jaeger <aj@suse.de>
27675 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
27677 2012-04-21 Joseph Myers <joseph@codesourcery.com>
27679 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
27680 * sysdeps/unix/sysv/Versions: Remove file.
27682 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
27685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27687 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
27690 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
27691 version from __vm86.
27693 2012-04-20 Joseph Myers <joseph@codesourcery.com>
27695 * sysdeps/unix/common/lxstat.c: Remove file.
27696 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
27698 * sysdeps/unix/sysv/Makefile: Remove file.
27700 * sysdeps/unix/sysv/direct.h: Remove file.
27702 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
27703 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
27704 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
27705 * sysdeps/unix/sysv/bits/signum.h: Likewise.
27706 * sysdeps/unix/sysv/bits/stat.h: Likewise.
27707 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27708 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
27710 * sysdeps/unix/sysv/setrlimit.c: Remove file.
27712 * sysdeps/unix/xmknod.c: Remove file.
27713 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27715 * sysdeps/unix/sysv/settimeofday.c: Remove file.
27717 * sysdeps/unix/sysv/i386/time.S: Remove file.
27719 * sysdeps/unix/fxstat.c: Remove file.
27720 * sysdeps/unix/xstat.c: Likewise.
27721 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27723 * sysdeps/unix/sysv/sigaction.c: Remove file.
27725 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27726 (sysdep_headers): Remove variable.
27727 [termio.h not in sysdep_headers] (generated): Likewise.
27728 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27729 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27730 * sysdeps/unix/sysv/tcdrain.c: Likewise.
27731 * sysdeps/unix/sysv/tcflow.c: Likewise.
27732 * sysdeps/unix/sysv/tcflush.c: Likewise.
27733 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27734 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27735 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27736 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27737 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27739 * sysdeps/unix/siglist.c: Remove file.
27741 * sysdeps/unix/getppid.S: Remove file.
27743 * sysdeps/unix/mkdir.c: Remove file.
27744 * sysdeps/unix/rmdir.c: Likewise.
27746 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
27748 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27750 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27751 errlist-compat value.
27753 2012-04-18 David S. Miller <davem@davemloft.net>
27755 * sysdeps/generic/memcopy.h (reg_char): Delete.
27756 * debug/strcat_chk.c: Use char, not reg_char.
27757 * debug/strcpy_chk.c: Likewise.
27758 * debug/strncat_chk.c: Likewise.
27759 * debug/strncpy_chk.c: Likewise.
27760 * string/memchr.c: Likewise.
27761 * string/memrchr.c: Likewise.
27762 * string/rawmemchr.c: Likewise.
27763 * string/strcat.c: Likewise.
27764 * string/strchr.c: Likewise.
27765 * string/strchrnul.c: Likewise.
27766 * string/strcmp.c: Likewise.
27767 * string/strcpy.c: Likewise.
27768 * string/strncat.c: Likewise.
27769 * string/strncmp.c: Likewise.
27770 * string/strncpy.c: Likewise.
27772 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27774 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27775 __builtin_memcopy is called when src and dest ranges are known to not
27778 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27780 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27781 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27782 fwd_align_merge macro call.
27783 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27784 bwd_align_merge macro call.
27785 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27787 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27789 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27790 bwd_align_merge macros.
27791 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27792 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27793 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27795 2012-04-18 David S. Miller <davem@davemloft.net>
27797 * sysdeps/sparc/sparc64/memcopy.h: Delete.
27799 2012-04-18 Andreas Jaeger <aj@suse.de>
27802 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27803 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27804 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27806 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27807 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27808 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27810 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27811 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27812 Adjust for changed ldbl-128 files.
27814 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27815 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27816 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27818 2012-04-17 David S. Miller <davem@davemloft.net>
27820 * sysdeps/sparc/sparc32/memcopy.h: Delete.
27822 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
27824 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27825 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27826 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27827 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27828 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27829 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27831 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27834 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27835 * math/libm-test.inc: Add ilogb errno and exception tests.
27836 * math/w_ilogb.c: New file: ilogb wrapper.
27837 * math/w_ilogbf.c: New file: ilogbf wrapper.
27838 * math/w_ilogbl.c: New file: ilogbl wrapper.
27839 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27840 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27841 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27842 exception being thrown with 0.0 as argument.
27843 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27844 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27845 exception being thrown with 0.0 as argument.
27846 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27847 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27848 exception being thrown with 0.0 as argument.
27849 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27850 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27851 exception being thrown with 0.0 as argument.
27852 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27853 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27854 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27855 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27856 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27857 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27858 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27859 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27860 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27862 2012-04-17 Petr Baudis <pasky@ucw.cz>
27864 * include/sys/uio.h: Change __vector to __iovec to avoid clash
27867 2012-04-16 Marek Polacek <polacek@redhat.com>
27869 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27871 2012-04-16 Marek Polacek <polacek@redhat.com>
27873 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27874 operands of fdivp instruction.
27876 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27878 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27879 * elf/tst-auditmod3b.c: Likewise.
27880 * elf/tst-auditmod4b.c: Likewise.
27881 * elf/tst-auditmod5b.c: Likewise.
27882 * elf/tst-auditmod6b.c: Likewise.
27883 * elf/tst-auditmod6c.c: Likewise.
27884 * elf/tst-auditmod7b.c: Likewise.
27885 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27886 * sysdeps/x86_64/preconfigure.in: Likewise.
27887 * sysdeps/x86_64/preconfigure: Regenerated.
27889 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27891 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27894 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
27896 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27897 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27899 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
27902 * locale/iso-639.def: Fix gl language name. Spotted by
27905 2012-04-12 Roland McGrath <roland@hack.frob.com>
27908 * libio/libio.h (__io_write_fn): Update comment.
27910 2012-04-12 Petr Baudis <pasky@ucw.cz>
27913 * stdio.texi (Hook Functions): The user provided writer function
27914 is not allowed to return -1.
27916 2012-04-11 David S. Miller <davem@davemloft.net>
27918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27920 2012-04-11 Mike Frysinger <vapier@gentoo.org>
27922 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27923 Add a leading slash to rtkaio.
27925 2012-04-11 Jim Meyering <meyering@redhat.com>
27928 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27929 It is not necessarily an error to ignore fwrite's return
27930 value. One can reliably use ferror to test for errors after
27933 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27935 * bits/types.h (__snseconds_t): New type.
27936 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27938 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27939 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27940 (__SNSECONDS_T_TYPE): Likewise.
27941 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27942 (__SNSECONDS_T_TYPE): Likewise.
27943 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27944 (__SNSECONDS_T_TYPE): Likewise.
27946 2012-04-10 Andreas Jaeger <aj@suse.de>
27949 * manual/time.texi (Processor Time): Return type of times is
27950 elapsed real time since an arbitrary point in the past.
27951 (CPU Time): Move CLK_TCK from here...
27952 (Processor Time): ...to here. Correct description.
27953 * manual/conf.texi (Constants for Sysconf): Correct description of
27956 2012-04-10 David S. Miller <davem@davemloft.net>
27959 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27960 where the is a gap between DT_REL(A) and DT_JMPREL.
27962 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27964 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27965 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27966 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27968 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27970 * elf/dl-support.c (_dl_inhibit_cache): New variable.
27971 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27972 (dl_main): Handle --inhibit-cache.
27973 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27975 * elf/dl-load.c (_dl_map_object): Use it.
27976 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27978 2012-04-09 Joseph Myers <joseph@codesourcery.com>
27981 * sysdeps/i386/fpu/e_powl.S (p78): New object.
27982 (__ieee754_powl): Saturate large exponents rather than testing for
27983 overflow of y*log2(x).
27984 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27985 * math/libm-test.inc (pow_test): Do not permit spurious overflow
27989 * math/s_ctan.c: Include <float.h>.
27990 (__ctan): Avoid internal overflow or cancellation in calculating
27992 * math/s_ctanf.c: Likewise.
27993 * math/s_ctanl.c: Likewise.
27994 * math/s_ctanh.c: Likewise.
27995 * math/s_ctanhf.c: Likewise.
27996 * math/s_ctanhl.c: Likewise.
27997 * math/libm-test.inc (ctan_test): Add more tests.
27998 (ctanh_test): Likewise.
27999 * sysdeps/i386/fpu/libm-test-ulps: Update.
28000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28002 2012-04-09 Andreas Jaeger <aj@suse.de>
28005 * manual/filesys.texi (Directory Entries): Mention that d_namlen
28006 is an optional BSD extension.
28009 * manual/stdio.texi (Opening Streams): Document additional fopen
28012 2012-04-09 Roland McGrath <roland@hack.frob.com>
28014 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28015 %eax without telling the compiler.
28017 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
28020 * manual/install.texi: Use sourceware.org.
28022 2012-04-09 Joseph Myers <joseph@codesourcery.com>
28025 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28026 (__ieee754_pow): Generate overflow and underflow using huge*huge
28027 and tiny*tiny rather than just returning constant infinity or zero
28028 for large exponents.
28029 * math/libm-test.inc (pow_test): Require overflow exceptions for
28030 applicable cases of large exponents.
28033 * sysdeps/i386/fpu/e_pow.S (p10): New object.
28034 (__ieee754_pow): Use iterative multiplication algorithm only for
28035 integer exponents with absolute value below 1024. Check for odd
28036 integer exponents when using algorithm for real exponents.
28037 * math/libm-test.inc (pow_test): Add more tests.
28038 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28040 2012-04-08 Joseph Myers <joseph@codesourcery.com>
28043 * math/libm-test.inc (exp_test): Do not allow overflow exception
28046 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
28049 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
28050 instead of __kernel_standard_f.
28052 2012-04-08 Mike Frysinger <vapier@gentoo.org>
28054 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
28055 * sysdeps/x86_64/memset_chk.S: Likewise.
28057 2012-04-08 Andreas Jaeger <aj@suse.de>
28060 * manual/startup.texi (Environment Access): Describe return value
28061 for putenv and setenv.
28064 * manual/filesys.texi (Directory Entries): Add description for
28068 * manual/filesys.texi (Directory Entries): Clarify that it's file
28069 system not operating system in the description of DT_UNKNOWN.
28072 * manual/syslog.texi (closelog): Fix reference, it's openlog.
28074 2012-04-08 Stephen Compall <s11@member.fsf.org>
28077 * manual/llio.texi (Opening and Closing Files): Add cross
28078 reference to explain mode argument.
28080 2012-04-07 Mike Frysinger <vapier@gentoo.org>
28082 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
28083 * sysdeps/x86_64/memset_chk.S: Likewise.
28085 2012-04-07 David S. Miller <davem@davemloft.net>
28087 * elf/elf.h (R_SPARC_WDISP10): Define.
28088 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
28090 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
28091 R_SPARC_SIZE64 and R_SPARC_H34.
28093 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
28095 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
28096 conditions and remove no longer applicable assertion.
28098 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28100 * bits/byteswap.h: Include <features.h>.
28101 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28102 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28104 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28106 * bits/byteswap.h (__bswap_16): Removed.
28107 Include <bits/byteswap-16.h> to get __bswap_16.
28108 * sysdeps/i386/bits/byteswap.h: Likewise.
28109 * sysdeps/s390/bits/byteswap.h: Likewise.
28110 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28111 * bits/byteswap-16.h: New file.
28112 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28113 * sysdeps/s390/bits/byteswap-16.h: Likewise.
28114 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
28115 * string/Makefile (headers): Add bits/byteswap-16.h.
28117 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28120 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
28122 * nss/Makefile (tests-static, tests): Add tst-nss-static.
28123 * nss/tst-nss-static.c: New.
28125 2012-04-06 Robert Millan <rmh@gnu.org>
28128 * manual/llio.texi (File Position Primitive): lseek
28129 refers to WHENCE when it really means OFFSET.
28131 2012-04-06 Andreas Jaeger <aj@suse.de>
28133 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
28134 strncmp declarations.
28136 * abilist/libc.abilist: Add __poll and __ppoll.
28138 2012-04-05 David S. Miller <davem@davemloft.net>
28140 * scripts/check-local-headers.sh: Accept a host triplet in the
28141 path matched by the exclude regexp.
28143 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
28145 * sysdeps/powerpc/powerpc32/dl-machine.h
28146 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
28147 * sysdeps/s390/s390-32/dl-machine.h
28148 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28149 * sysdeps/sparc/sparc32/dl-machine.h
28150 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28151 * sysdeps/sparc/sparc64/dl-machine.h
28152 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28154 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
28156 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
28157 undefined symbol errors.
28159 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
28162 2012-04-05 Michael Matz <matz@suse.de>
28165 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
28167 2012-04-05 Andreas Jaeger <aj@suse.de>
28170 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
28173 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28175 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
28176 which ROUND is no valid rounding mode.
28178 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28180 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
28182 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
28184 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28186 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
28187 an exception using FPU order intentionally.
28189 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28191 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
28192 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
28193 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
28194 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
28196 2012-04-05 Simon Josefsson <simon@josefsson.org>
28199 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
28200 EINVAL when BUFLEN is too smal.
28202 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
28205 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
28206 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
28208 2012-04-03 Andreas Jaeger <aj@suse.de>
28211 * manual/setjmp.texi (System V contexts): Fix sentence.
28214 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
28215 New macro for this case.
28216 [!__GNUC__] (__bswap_64): New inline function for this case.
28217 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28218 * bits/byteswap.h: Likewise.
28219 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
28220 ull, guard with __GLIBC_HAVE_LONG_LONG.
28222 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
28223 __GLIBC_HAVE_LONG_LONG.
28225 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
28226 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
28228 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28231 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
28232 inptr and inend, rather than using last_ch.
28234 2012-04-02 David S. Miller <davem@davemloft.net>
28236 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
28237 * stdio-common/printf-parse.h (read_int): Change return type to
28238 'int', return -1 on INT_MAX overflow.
28239 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
28240 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
28241 overflows INT_MAX. Check for overflow of in-format-string precision
28242 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
28243 SIZE_MAX not INT_MAX for integer overflow test.
28244 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
28245 skip the construct in the format string but do not record anything.
28246 * stdio-common/bug22.c: Adjust to test both width/prevision
28247 INT_MAX overflow as well as total length INT_MAX overflow. Check
28248 explicitly for proper errno values.
28250 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
28252 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
28254 * string/test-strcmp.c [! WIDE]: Likewise.
28255 * time/tst-mktime2.c: Likewise for INT_MAX.
28256 * string/test-string.h: #include <sys/param.h> for MIN.
28258 * csu/init-first.c (__libc_init_first): Call __ctype_init.
28259 * sysdeps/i386/init-first.c (init): Likewise.
28260 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
28261 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
28262 * sysdeps/sh/init-first.c (init): Likewise.
28264 2012-04-01 Ulrich Drepper <drepper@gmail.com>
28266 * po/ru.po: Update from translation team.
28267 * po/vi.po: Likewise.
28269 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28271 * resolv/nss_dns/dns-host.c: Merge copyright years.
28273 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28275 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28276 Optimize memcpy with prefetch if
28277 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
28278 src, dst pointers have unequal 16 byte alignments.
28280 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28283 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
28284 from a CNAME entry and return the minimum ttl for the query.
28285 (gaih_getanswer_slice): Likewise.
28287 2012-03-30 Jeff Law <law@redhat.com>
28289 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
28291 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
28292 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
28294 * resolv/nss_dns/dns-host.c: Update copyright year.
28296 2012-03-30 Ulrich Drepper <drepper@gmail.com>
28298 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
28299 requests to save a system call. Fix check that all bytes are sent.
28301 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
28302 comments for sendmmsg.
28304 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28307 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
28308 with only 1 character between 0x0041 and 0x01b0.
28309 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
28310 * wcsmbs/tst-mbsnrtowcs.c: New file.
28312 2012-03-29 David S. Miller <davem@davemloft.net>
28314 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
28315 small copies by hand.
28317 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28320 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
28321 _nss_compat_initgroups_dyn): Fall back to malloc/free
28322 for large group memberships.
28324 2012-03-28 David S. Miller <davem@davemloft.net>
28326 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
28327 that branches into memcpy.
28328 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28329 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28330 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28331 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28332 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
28334 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
28335 implementation too.
28336 * sysdeps/sparc/mempcpy.S: New file.
28338 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
28339 the IFUNC routine in the libc case.
28340 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28342 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
28343 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
28344 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
28345 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
28346 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
28347 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
28348 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
28349 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
28351 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
28352 loop to 256 bytes instead of 64 bytes and fix test signedness.
28354 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
28355 * sysdeps/sparc/sparc32/Makefile: rather than here...
28356 * sysdeps/sparc/sparc64/Makefile: and here.
28358 2012-03-28 Ulrich Drepper <drepper@gmail.com>
28360 * malloc/mallocbug.c: Avoid warnings about unused variables.
28362 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28365 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
28366 in the right place. Discard and retry query if response is
28367 larger than input buffer size.
28369 2012-03-28 Joseph Myers <joseph@codesourcery.com>
28374 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
28375 x for large integer exponent.
28376 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28377 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
28378 sign of result as needed afterwards.
28379 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28380 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
28381 result for underflowing pow the same as for overflow.
28382 (__kernel_standard_l): Handle powl overflow and underflow here
28383 rather than calling __kernel_standard.
28384 * math/libm-test.inc (pow_test): Add more tests.
28399 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
28400 * sysdeps/ieee754/k_standard.c: Include <float.h>.
28401 (__kernel_standard_l): New function.
28402 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
28404 * math/w_acosl.c (__acosl): Likewise.
28405 * math/w_asinl.c (__asinl): Likewise.
28406 * math/w_atan2l.c (__atan2l): Likewise.
28407 * math/w_atanhl.c (__atanhl): Likewise.
28408 * math/w_coshl.c (__coshl): Likewise.
28409 * math/w_exp10l.c (__exp10l): Likewise.
28410 * math/w_exp2l.c (__exp2l): Likewise.
28411 * math/w_fmodl.c (__fmodl): Likewise.
28412 * math/w_hypotl.c (__hypotl): Likewise.
28413 * math/w_j0l.c (__j0l, __y0l): Likewise.
28414 * math/w_j1l.c (__j1l, __y1l): Likewise.
28415 * math/w_jnl.c (__jnl, __ynl): Likewise.
28416 * math/w_lgammal.c (__lgammal): Likewise.
28417 * math/w_log10l.c (__log10l): Likewise.
28418 * math/w_log2l.c (__log2l): Likewise.
28419 * math/w_logl.c (__logl): Likewise.
28420 * math/w_powl.c (__powl): Likewise.
28421 * math/w_remainderl.c (__remainderl): Likewise.
28422 * math/w_scalbl.c (sysv_scalbl): Likewise.
28423 * math/w_sinhl.c (__sinhl): Likewise.
28424 * math/w_sqrtl.c (__sqrtl): Likewise.
28425 * math/w_tgammal.c (__tgammal): Likewise.
28426 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
28427 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
28428 * math/libm-test.inc (acos_test): Add more tests.
28429 (acosh_test): Likewise.
28430 (asin_test): Likewise.
28431 (atanh_test): Likewise.
28432 (exp_test): Likewise.
28433 (exp10_test): Likewise.
28434 (exp2_test): Likewise.
28435 (expm1_test): Likewise.
28436 (lgamma_test): Likewise.
28437 (log_test): Likewise.
28438 (log10_test): Likewise.
28439 (log1p_test): Likewise.
28440 (log2_test): Likewise.
28441 (pow_test): Do not allow some spurious overflow exceptions.
28442 (sqrt_test): Add more tests.
28443 (tgamma_test): Likewise.
28444 (y0_test): Likewise.
28445 (y1_test): Likewise.
28446 (yn_test): Likewise.
28448 2012-03-27 Anton Blanchard <anton@samba.org>
28450 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
28452 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28453 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28454 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28456 2012-03-27 David S. Miller <davem@davemloft.net>
28458 * conform/Makefile: Run run-conformtest.sh using $(BASH).
28460 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
28461 have-as-vis3 check.
28463 2012-03-27 Andreas Jaeger <aj@suse.de>
28465 * sysdeps/x86_64/elf/configure.in: Moved to ...
28466 * sysdeps/x86_64/configure.in: ... here.
28467 * sysdeps/x86_64/elf/start.S: Moved to ...
28468 * sysdeps/x86_64/start.S: ... here.
28469 * sysdeps/x86_64/elf/configure: Delete.
28471 * sysdeps/x86_64/configure.in: Merge contents from
28472 sysdeps/i386/configure.in (without i686 check).
28474 * sysdeps/i386/elf/Versions: Merge into ...
28475 * sysdeps/i386/Versions: ... this.
28476 * sysdeps/i386/elf/Versions: Delete file.
28477 * sysdeps/i386/elf/start.S: Moved to ...
28478 * sysdeps/i386/start.S: ...here.
28479 * sysdeps/i386/elf/configure.in: Merge into...
28480 * sysdeps/i386/configure.in: ...here.
28481 * sysdeps/i386/elf/configure.in: Delete file.
28482 * sysdeps/i386/elf/configure: Delete file.
28484 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
28485 * debug/backtracesyms.c: ... here.
28486 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
28487 * debug/backtracesymsfd.c: ... here.
28488 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
28489 * sysdeps/generic/ifunc-sel.h: ... here.
28491 * sysdeps/unix/i386/start.c: Delete file.
28492 * sysdeps/unix/sparc/start.c: Delete file.
28493 * sysdeps/unix/start.c: Delete file.
28495 * sysdeps/sh/elf/configure.in: Moved to ...
28496 * sysdeps/sh/configure.in: ... here.
28497 * sysdeps/sh/elf/start.S: Moved to ...
28498 * sysdeps/sh/start.S: ... here.
28499 * sysdeps/sh/elf/configure: Delete file.
28501 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
28502 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
28503 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
28504 * sysdeps/powerpc/powerpc64/entry.h: ... here.
28505 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
28506 * sysdeps/powerpc/powerpc64/start.S: here.
28507 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
28508 * sysdeps/powerpc/powerpc64/Makefile: ... this.
28509 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
28510 * sysdeps/powerpc/powerpc64/configure.in: ... this.
28511 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
28513 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
28514 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
28515 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
28516 * sysdeps/powerpc/powerpc32/start.S: ... here.
28517 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
28518 * sysdeps/powerpc/powerpc32/configure.in: ... this.
28519 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
28521 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
28522 * sysdeps/powerpc/ifunc-sel.h: ... here.
28523 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
28524 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
28526 * sysdeps/sparc/elf/configure.in: Moved to ...
28527 * sysdeps/sparc/configure.in: ... here.
28528 * sysdeps/sparc/elf/configure: Delete file.
28529 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
28530 * sysdeps/sparc/sparc32/start.S: ... here.
28531 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
28532 * sysdeps/sparc/sparc64/start.S: ... here.
28533 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
28534 * sysdeps/sparc/sparc32/Makefile: ... this.
28535 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
28536 * sysdeps/sparc/sparc64/Makefile: ... this.
28538 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
28539 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
28540 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
28541 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
28542 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
28543 * sysdeps/s390/s390-32/setjmp.S: ... here.
28544 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
28545 * sysdeps/s390/s390-32/configure.in: ... here.
28546 * sysdeps/s390/s390-32/elf/configure: Delete file.
28547 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
28548 * sysdeps/s390/s390-32/start.S: ... here.
28550 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
28551 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
28552 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
28553 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
28554 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
28555 * sysdeps/s390/s390-64/setjmp.S: ... here.
28556 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
28557 * sysdeps/s390/s390-64/configure.in: ... here
28558 * sysdeps/s390/s390-64/elf/configure: Delete file.
28559 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
28560 * sysdeps/s390/s390-64/start.S: ... here.
28561 * sysdeps/s390/s390-64/elf/configure: Delete.
28563 * configure.in: Remove support for elf directories in sysdeps.
28565 * configure: Regenerated.
28566 * sysdeps/i386/configure: Regenerated.
28567 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28568 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28569 * sysdeps/s390/s390-32/configure: Regenerated.
28570 * sysdeps/s390/s390-64/configure: Regenerated.
28571 * sysdeps/sh/configure: Regenerated.
28572 * sysdeps/sparc/configure: Regenerated.
28573 * sysdeps/x86_64/configure: Regenerated.
28575 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
28577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28579 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
28580 denormal result into account.
28582 2012-03-25 Roland McGrath <roland@hack.frob.com>
28584 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
28585 Reported by Allan McRae <allan@archlinux.org>.
28587 2012-03-23 Jeff Law <law@redhat.com>
28589 * nss/getnssent.c (__nss_getent): Fix typo.
28591 2012-03-23 David S. Miller <davem@davemloft.net>
28593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28595 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
28597 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
28598 to pad to uint64_t for each field.
28599 (dl_tls_index): Replace unsigned long with uint64_t.
28601 2012-03-23 Daniel Jacobowitz <dmj@google.com>
28602 Paul Pluzhnikov <ppluzhnikov@google.com>
28605 * grp/Makefile (otherlibs): Don't set it.
28606 * inet/Makefile (otherlibs): Likewise.
28607 * login/Makefile (otherlibs): Likewise.
28608 * nscd/Makefile (otherlibs): Likewise.
28609 * posix/Makefile (otherlibs): Likewise.
28610 * pwd/Makefile (otherlibs): Likewise.
28611 * rt/Makefile (otherlibs): Likewise.
28612 * sunrpc/Makefile (otherlibs): Likewise.
28613 * nss/Makefile (otherlibs): Likewise.
28614 Add libnss_files to routines and static-only-routines.
28615 ($(objpfx)getent): Remove rule.
28616 * resolv/Makefile: Add libnss_dns and libresolv to routines and
28617 static-only-routines.
28619 2012-03-22 Joseph Myers <joseph@codesourcery.com>
28622 * math/s_cexp.c: Include <float.h>.
28623 (__cexp): Handle exp result overflowing not necessarily
28624 overflowing both real and imaginary parts of result.
28625 * math/s_cexpf.c: Likewise.
28626 * math/s_cexpl.c: Likewise.
28627 * math/libm-test.inc (cexp_test): Add more tests.
28628 * sysdeps/i386/fpu/libm-test-ulps: Update.
28629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28631 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28633 * include/link.h (ELFW): New macro.
28634 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
28635 Replace ELF64_R_TYPE with ELFW(R_TYPE).
28637 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28639 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
28642 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28644 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
28646 (struct La_x32_retval): Likewise.
28648 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28650 * sysdeps/x86_64/preconfigure.in: New file.
28651 * sysdeps/x86_64/preconfigure: New generated file.
28653 2012-03-22 Joseph Myers <joseph@codesourcery.com>
28656 * math/e_exp2l.c: Include <float.h>.
28657 (__ieee754_exp2l): Handle overflow and underflow cases
28658 separately. Only pass fractional part of argument to
28660 * math/libm-test.inc (exp2_test): Add more tests.
28662 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
28663 negating x to take absolute value.
28664 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28666 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28667 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28669 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
28670 computing low part if x was negated.
28671 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28673 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28675 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
28676 la_x32_gnu_pltexit.
28677 (pltexit): Cast int_retval to ptrdiff_t.
28678 * elf/tst-auditmod3b.c: Likewise.
28679 * elf/tst-auditmod4b.c: Likewise.
28680 * elf/tst-auditmod5b.c: Likewise.
28681 * elf/tst-auditmod6b.c: Likewise.
28682 * elf/tst-auditmod6c.c: Likewise.
28683 * elf/tst-auditmod7b.c: Likewise.
28685 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
28686 and x32_gnu_pltexit.
28688 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
28689 __ELF_NATIVE_CLASS.
28690 (La_x32_regs): New macro.
28691 (La_x32_retval): Likewise.
28692 (la_x32_gnu_pltenter): New function prototype.
28693 (la_x32_gnu_pltexit): Likewise.
28695 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
28697 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
28700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28702 * configure.in (libc_cv_cc_nofma): Check for option to disable
28703 generation of FMA instructions.
28704 * configure: Regenerate.
28705 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
28706 * sysdeps/ieee754/dbl-64/Makefile: New file.
28707 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28708 Remove brandred-fma4.
28709 (CFLAGS-brandred-fma4.c): Remove.
28710 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
28711 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
28713 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28716 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28718 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28719 LLONG_MAX != LONG_MAX.
28720 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28721 (_fitoa_word): Likewise.
28722 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28723 LLONG_MAX != LONG_MAX.
28724 * stdio-common/_itowa.h: Include <_itoa.h>.
28725 (_itowa_word): Use _ITOA_WORD_TYPE on value.
28726 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
28727 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
28728 only if not defined.
28729 (_ITOA_WORD_TYPE): Likewise.
28730 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28731 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28733 2012-03-21 David S. Miller <davem@davemloft.net>
28735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28737 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28739 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28740 of x86_64 when setting libc_cv_slibdir, libdir and
28742 * sysdeps/unix/sysv/linux/configure: Regenerated.
28744 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28746 * manual/lang.texi (Old Varargs): Remove section.
28747 (How Variadic): Update menu.
28748 (va_start): Do not mention varargs.h.
28750 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28751 Joseph Myers <joseph@codesourcery.com>
28753 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28755 * configure: Regenerated.
28757 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28759 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28760 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28763 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28766 * Makefile (files-for-dist): Remove NOTES.
28767 (NOTES): Remove rule.
28768 * README: Don't refer to NOTES.
28769 * manual/creature.texi: Don't include macros.texi.
28770 * manual/intro.texi (creature.texi): Remove comment referring to
28773 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28774 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28775 * configure: Regenerated.
28776 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28777 LIBC_TRY_CC_OPTION.
28778 (libc_cv_as_i686): Likewise.
28779 (libc_cv_cc_avx): Likewise.
28780 (libc_cv_cc_sse2avx): Likewise.
28781 (libc_cv_cc_fma4): Likewise.
28782 (libc_cv_cc_novzeroupper): Likewise.
28783 * sysdeps/i386/configure: Regenerated.
28786 * sysdeps/i386/fpu/s_cexp.S: Remove.
28787 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28788 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28789 * math/libm-test.inc (cexp_test): Add more tests.
28790 * sysdeps/i386/fpu/libm-test-ulps: Update.
28791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28793 2012-03-21 Allan McRae <allan@archlinux.org>
28795 * timezone/Makefile: Do not install iso3166.tab and zone.tab
28797 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28800 * math/w_exp2.c: Do not include <float.h>.
28801 (o_threshold, u_threshold): Remove.
28802 (__exp2): Calculate result before checking finiteness and calling
28804 * math/w_exp2f.c: Likewise.
28805 * math/w_exp2l.c: Likewise.
28806 * math/libm-test.inc (exp2_test): Require overflow exception for
28810 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28811 range of signed 64-bit integers before using fistpll. Remove
28812 checks for whether integers fit in mantissa bits.
28813 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28814 the range of signed 32-bit integers before using fistpl. Remove
28815 checks for whether integers fit in mantissa bits.
28816 * sysdeps/i386/fpu/e_powl.S (p64): New object.
28817 (__ieee754_powl): Test for y outside the range of signed 64-bit
28818 integers before using fistpll. Reduce 64-bit values to 63-bit
28820 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28821 divide-by-zero is raised for zero to large negative powers.
28822 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28823 (__ieee754_powl): Test for y outside the range of signed 64-bit
28824 integers before using fistpll. Reduce 64-bit values to 63-bit
28826 * math/libm-test.inc (pow_test): Add more tests.
28828 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28830 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28831 <stdio-common/_itoa.h>.
28832 * debug/segfault.c: Likewise.
28833 * elf/dl-cache.c: Likewise.
28834 * elf/dl-minimal.c: Likewise.
28835 * elf/dl-misc.c: Likewise.
28836 * elf/dl-sysdep.c: Likewise.
28837 * elf/dl-version.c: Likewise.
28838 * elf/rtld.c: Likewise.
28839 * hurd/hurdsock.c: Likewise.
28840 * hurd/lookup-retry.c: Likewise.
28841 * malloc/malloc.c: Likewise.
28842 * malloc/mtrace.c: Likewise.
28843 * nscd/nscd_getgr_r.c: Likewise.
28844 * nscd/nscd_getpw_r.c: Likewise.
28845 * nscd/nscd_getserv_r.c: Likewise.
28846 * posix/getopt_init.c: Likewise.
28847 * posix/wordexp.c: Likewise.
28848 * stdio-common/_itoa.c: Likewise.
28849 * stdio-common/printf_fphex.c: Likewise.
28850 * stdio-common/vfprintf.c: Likewise.
28851 * string/_strerror.c: Likewise.
28852 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28853 * sysdeps/i386/i686/hp-timing.h: Likewise.
28854 * sysdeps/mach/_strerror.c: Likewise.
28855 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28856 * sysdeps/mach/hurd/sethostid.c: Likewise.
28857 * sysdeps/mach/hurd/xmknodat.c: Likewise.
28858 * sysdeps/mach/xpg-strerror.c: Likewise.
28859 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28860 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28861 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28862 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28863 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28864 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28865 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28866 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28867 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28868 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28869 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28870 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28871 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28872 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28873 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28874 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28875 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28876 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28877 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28878 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28879 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28881 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28883 * stdio-common/_itoa.h: Moved to ...
28884 * sysdeps/generic/_itoa.h: Here.
28886 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28888 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28889 instead of "_itoa.h" and "_itowa.h".
28890 * stdio-common/vfprintf.: Likewise.
28892 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28894 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28896 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28897 (__signbit): Likwise.
28898 (llrintf): Likwise.
28901 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28903 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28906 2012-03-20 Joseph Myers <joseph@codesourcery.com>
28908 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28909 OVERFLOW_EXCEPTION_OK.
28910 * math/libm-test.inc ("Philosophy"): Update comment about
28912 (OVERFLOW_EXCEPTION): Define.
28913 (OVERFLOW_EXCEPTION_OK): Likewise.
28914 (INVALID_EXCEPTION_OK): Renumber.
28915 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28916 (IGNORE_ZERO_INF_SIGN): Likewise.
28917 (test_exceptions): Handle FE_OVERFLOW.
28918 (exp10_test): Expect overflow exceptions.
28919 (exp2_test): Likewise.
28920 (expm1_test): Likewise.
28921 (nextafter_test): Likewise.
28922 (pow_test): Likewise.
28923 (scalbn_test): Likewise.
28924 (scalbln_test): Likewise.
28926 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28928 * sysdeps/x86_64/bits/atomic.h
28929 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28931 (atomic_exchange_acq): Likewise.
28932 (__arch_exchange_and_add_body): Likewise.
28933 (__arch_add_body): Likewise.
28934 (atomic_add_negative): Likewise.
28935 (atomic_add_zero): Likewise.
28937 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28939 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28940 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28942 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28944 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28945 Check __x86_64__ instead of __WORDSIZE.
28947 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28949 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28951 2012-03-19 David S. Miller <davem@davemloft.net>
28953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28955 * sysdeps/sparc/fpu/fenv_private.h: New file.
28956 * sysdeps/sparc/fpu/math_private.h: Use it.
28957 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28959 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28960 (libc_feholdexcept_setroundl): Remove.
28961 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28963 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28964 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28966 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28968 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28969 int64_t instead of long int.
28970 (INSERT_WORDS64): Likwise.
28972 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28974 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28975 _Unwind_GetCFA return to _Unwind_Ptr first.
28977 2012-03-19 Joseph Myers <joseph@codesourcery.com>
28980 * math/s_clog.c: Include <float.h>.
28981 (__clog): Scale large or subnormal inputs.
28982 * math/s_clogf.c: Likewise.
28983 * math/s_clogl.c: Likewise.
28984 * math/s_clog10.c: Include <float.h>.
28985 (M_LOG10_2): Define.
28986 (__clog10): Scale large or subnormal inputs.
28987 * math/s_clog10f.c: Likewise.
28988 * math/s_clog10l.c: Likewise.
28989 * math/libm-test.inc (clog_test): Add more tests.
28990 (clog10_test): Likewise.
28991 * sysdeps/i386/fpu/libm-test-ulps: Update.
28992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28995 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28997 * math/libm-test.inc (atan2_test): Add another test.
28999 * Makerules (common-objdir-compile): Remove.
29000 * sysdeps/unix/Makefile (config-generated): Do not add
29001 $(unix-generated) to variable.
29002 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
29003 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
29005 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29007 [generic bits/local_lim.h] (before-compile): Do not append to
29009 [generic bits/local_lim.h] (common-generated): Likewise.
29010 [generic sys/param.h] (before-compile): Do not append to variable.
29011 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29012 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29013 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29014 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29016 [generic sys/param.h] (sys/param.h-includes): Remove variable.
29017 [generic sys/param.h] (sys/param.h-includes): Remove rule.
29018 [generic sys/param.h] ($(addprefix
29019 $(common-objpfx),$(sys/param.h-includes))): Likewise.
29020 [generic sys/param.h] (common-generated): Do not append to
29022 [generic sys/param.h] (sysdep_headers): Likewise.
29023 [generic bits/errno.h] (before-compile): Do not append to
29025 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29027 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29028 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29029 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29030 [generic bits/errno.h] (common-generated): Do not append to
29032 [generic bits/ioctls.h] (before-compile): Do not append to
29034 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29036 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29037 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
29038 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
29040 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
29041 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
29042 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
29043 [generic bits/ioctls.h] (common-generated): Do not append to
29045 [generic sys/syscall.h] (syscall.h): Remove variable.
29046 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29048 [generic sys/syscall.h] (before-compile): Do not append to
29050 [generic sys/syscall.h] (common-generated): Likewise.
29051 * sysdeps/unix/errnos-tmpl.c: Remove file.
29052 * sysdeps/unix/errnos.awk: Likewise.
29053 * sysdeps/unix/ioctls-tmpl.c: Likewise.
29054 * sysdeps/unix/ioctls.awk: Likewise.
29055 * sysdeps/unix/mk-local_lim.c: Likewise.
29056 * sysdeps/unix/snarf-ioctls: Likewise.
29058 2012-03-19 Richard Henderson <rth@twiddle.net>
29060 * sysdeps/i386/fpu/fenv_private.h: New file.
29061 * sysdeps/i386/fpu/math_private.h: Use it.
29062 (math_opt_barrier, math_force_eval): Remove.
29063 (libc_feholdexcept_setround_53bit): Remove.
29064 (libc_feupdateenv_53bit): Remove.
29065 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29066 (math_opt_barrier, math_force_eval): Remove.
29067 (libc_feholdexcept): Remove.
29068 (libc_feholdexcept_setround): Remove.
29069 (libc_fetestexcept, libc_fesetenv): Remove.
29070 (libc_feupdateenv_test): Remove.
29071 (libc_feupdateenv, libc_feholdsetround): Remove.
29072 (libc_feresetround): Remove.
29074 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
29075 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29077 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
29078 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
29079 (libc_feupdateenv_testl): New.
29080 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
29081 (libc_feupdateenv_testf): New.
29082 (libc_feupdateenv): Use libc_feupdateenv_test.
29083 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
29084 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
29086 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
29087 (libc_feholdsetroundf, libc_feholdsetroundl): New.
29088 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
29089 (libc_feresetround_noex): New.
29090 (libc_feresetround_noexf): New.
29091 (libc_feresetround_noexl): New.
29092 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
29093 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
29094 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
29095 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
29097 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29098 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
29100 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
29101 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29102 SET_RESTORE_ROUND_NOEX.
29103 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
29104 SET_RESTORE_ROUND_NOEXF.
29105 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
29106 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
29107 (libc_feholdsetroundf): New.
29108 (libc_feresetround, libc_feresetroundf): New.
29110 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
29111 (libc_feholdexcept_setround_53bit): Convert from macro to function.
29112 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
29114 * sysdeps/generic/math_private.h: Include <fenv.h>.
29115 (default_libc_feholdexcept): New.
29116 (default_libc_feholdexcept_setround): New.
29117 (default_libc_fesetenv, default_libc_feupdateenv): New.
29118 (libc_feholdexcept): Only define if undefined.
29119 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
29120 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
29121 (libc_feholdexcept_setroundl): Likewise.
29122 (libc_feholdexcept_setround_53bit): Likewise.
29123 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
29124 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
29125 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
29126 (libc_feupdateenv_53bit): Likewise.
29127 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
29128 (libc_feholdexcept): Convert from macro to inline function.
29129 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
29130 (libc_fesetenv, libc_feupdateenv): Likewise.
29132 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
29133 not previously defined.
29134 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
29135 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
29136 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
29137 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
29138 * sysdeps/ieee754/flt-32/math_private.h: New file.
29139 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
29140 math_private.h below SET_FLOAT_WORD.
29141 (__isnan, __isinf_ns, __finite): Remove.
29142 (__isnanf, __isinf_nsf, __finitef): Remove.
29144 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
29146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29148 2012-03-17 David S. Miller <davem@davemloft.net>
29151 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
29154 2012-03-16 David S. Miller <davem@davemloft.net>
29156 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
29160 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
29162 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
29163 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
29164 sysdep_routines when subdir is sysvipc.
29165 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
29166 __getshmlba helper.
29168 * sysdeps/sparc/fpu/libm-test/ulps: Update.
29170 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29172 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
29175 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29177 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
29178 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
29179 (__lround): Renamed to ...
29180 (__llround): This. Replace long int with long long int.
29181 Define lround functions as aliases of llround functions.
29182 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
29184 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29186 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
29187 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
29188 adresses to uintptr_t. Replace "long int" and "unsigned long
29189 int" with "greg_t" on va_arg.
29191 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29193 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
29194 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
29196 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
29197 Move e_machine check before EI_CLASS check. Handle x32
29198 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
29199 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
29200 SKIP_EM_IA_64 and include
29201 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
29203 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
29204 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
29205 (add_system_dir): New macro.
29207 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
29208 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
29210 2012-03-16 Joseph Myers <joseph@codesourcery.com>
29221 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
29223 * math/w_j0f.c (j0f): Likewise.
29225 * math/w_j0l.c (__j0l): Likewise.
29227 * math/w_j1.c (j1): Likewise.
29229 * math/w_j1f.c (j1f): Likewise.
29231 * math/w_j1l.c (__j1l): Likewise.
29233 * math/w_jn.c (jn): Likewise.
29235 * math/w_jnf.c (jnf): Likewise.
29237 * math/w_jnl.c (__jnl): Likewise.
29239 * math/libm-test.inc (j0_test): Add more tests.
29240 (j1_test): Likewise.
29241 (jn_test): Likewise. Add trailing semicolon to existing test.
29242 (y0_test): Likewise.
29243 (y1_test): Likewise.
29244 * sysdeps/i386/fpu/libm-test-ulps: Update.
29245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29249 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29250 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
29251 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
29252 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
29253 (__tanl): Set errno for infinite argument.
29254 * sysdeps/i386/fpu/mptan.c: Remove.
29255 * sysdeps/i386/fpu/s_tan.S: Likewise.
29256 * sysdeps/i386/fpu/s_tanl.S: Likewise.
29257 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
29258 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
29259 * math/libm-test.inc (tan_test): Add more tests and enable more
29260 tests for double and long double.
29261 * sysdeps/i386/fpu/libm-test-ulps: Update.
29262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29264 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
29266 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
29267 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
29269 2012-03-16 Roland McGrath <roland@hack.frob.com>
29271 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
29272 * configure.in: Use it for both main tree and add-ons.
29273 * configure: Regenerated.
29275 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29277 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
29279 2012-03-16 Joseph Myers <joseph@codesourcery.com>
29281 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
29285 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
29286 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
29287 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
29288 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
29289 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
29291 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
29292 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
29293 != 0 for prec == 2.
29294 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
29295 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
29296 * sysdeps/i386/fpu/s_cosl.S: Likewise.
29297 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
29298 * sysdeps/i386/fpu/s_sinl.S: Likewise.
29299 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
29300 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
29301 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
29302 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
29303 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
29304 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
29305 * math/libm-test.inc (cos_test): Add more tests and enable more
29306 tests for long double.
29307 (sin_test): Likewise.
29308 (sincos_test): Likewise.
29309 * sysdeps/i386/fpu/libm-test-ulps: Update.
29310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29312 2012-03-16 David S. Miller <davem@davemloft.net>
29314 * sysdeps/sparc/fpu/math_private.h: New file.
29316 2012-03-15 David S. Miller <davem@davemloft.net>
29318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
29320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
29321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
29323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
29324 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
29325 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
29326 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
29327 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
29328 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
29330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29332 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
29333 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
29335 * sysdeps/sparc/sparc-ifunc.h: New file.
29336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
29338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
29343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
29344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
29345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
29350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
29352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
29354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
29356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
29358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
29359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
29360 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29361 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29362 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
29363 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
29364 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29365 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29366 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
29367 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
29368 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
29369 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
29370 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
29371 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
29372 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
29373 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
29374 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
29375 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
29376 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
29377 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
29378 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
29379 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
29381 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
29383 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
29385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29387 2012-03-15 Andreas Jaeger <aj@suse.de>
29390 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
29391 ieee754/flt-32 implementation for sin, cos and sincos.
29392 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
29393 * sysdeps/i386/fpu/s_cosf.S: Likewise.
29394 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
29395 * sysdeps/i386/fpu/s_sinf.S: Likewise.
29396 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
29397 ieee754/flt-32 implementation for tan.
29399 * math/libm-test.inc (cos_test): Enable some large input tests for
29401 (sin_test): Likewise.
29402 (sincos_test): Likewise.
29403 (tan_test): Add tests for large input.
29405 * sysdeps/i386/fpu/libm-test-ulps: Update.
29407 2012-03-15 Andreas Jaeger <aj@suse.de>
29410 * math/libm-test.inc (cos_test): Add more test cases.
29411 (sin_test): Likewise.
29412 (sincos_test): Likewise.
29414 2012-03-15 Andreas Jaeger <aj@suse.de>
29417 * math/libm-test.inc (cos_test): Add a test case for large input
29419 (sin_test): Likewise.
29420 (sincos_test): Likewise.
29422 2012-03-15 Andreas Jaeger <aj@suse.de>,
29423 Joseph Myers <joseph@codesourcery.com>
29426 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
29427 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
29428 * sysdeps/i386/fpu/branred.c: Likewise.
29429 * sysdeps/i386/fpu/dosincos.c: Likewise.
29430 * sysdeps/i386/fpu/mpa.c: Likewise.
29431 * sysdeps/i386/fpu/s_cos.S: Likewise.
29432 * sysdeps/i386/fpu/s_sin.S: Likewise.
29433 * sysdeps/i386/fpu/s_sincos.S: Likewise.
29434 * sysdeps/i386/fpu/sincos32.c: Likewise.
29436 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
29438 (libc_feupdateenv_53bit): Define.
29439 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
29441 (libc_feupdateenv_53bit): Define.
29443 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
29444 53 bit (without extend i386 double precision).
29446 * math/libm-test.inc (sincos_test): Add tests for large input.
29450 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29452 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
29454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29456 2012-03-15 David S. Miller <davem@davemloft.net>
29458 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
29459 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
29460 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
29461 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
29462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
29463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
29464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
29465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
29466 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
29467 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
29468 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
29469 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
29470 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
29471 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
29472 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
29473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
29475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
29476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
29478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
29479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
29481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
29482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
29484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
29485 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
29486 fmin/fmax sysdep routines.
29487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29489 2012-03-14 David S. Miller <davem@davemloft.net>
29491 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
29492 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
29493 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
29494 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
29495 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
29496 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
29497 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
29498 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
29499 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
29500 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
29501 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
29502 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
29503 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
29504 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
29505 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
29506 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
29507 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
29508 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
29509 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
29510 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
29511 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
29512 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
29513 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
29514 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
29515 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
29516 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
29517 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
29518 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
29519 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
29521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
29523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
29524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
29526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
29527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
29529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
29530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
29532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
29533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
29535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
29536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
29538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
29540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
29542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
29544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
29546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
29548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
29550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
29551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
29553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
29554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
29556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
29557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
29559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
29560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
29563 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29568 * sysdeps/sparc/configure.in: New file.
29569 * sysdeps/sparc/configure: Generate.
29570 * configure.in (libc_cv_sparc_as_vis3): Substitute.
29571 * configure: Regenerate.
29572 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
29573 * config.make.in (have-as-vis3): New.
29574 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
29575 available use -Av9d instead of -Av9a.
29576 * sysdeps/sparc/sparc64/Makefile: Likewise.
29577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
29578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
29580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
29582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
29584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
29586 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
29587 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
29588 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
29589 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
29590 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
29592 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
29593 fzeros/fnegs to load 0x80000000 into a float register instead of
29595 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
29597 2012-03-14 Joseph Myers <joseph@codesourcery.com>
29599 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29601 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
29602 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
29603 ($(inst_includedir)/bits/syscall.h): Remove rule.
29604 ($(objpfx)bits/syscall.d): Include instead of
29605 $(objpfx)syscall-list.d.
29606 (generated): Change syscall-list.h and syscall-list.d to
29607 bits/syscall.h and bits/syscall.d.
29609 2012-03-14 Roland McGrath <roland@hack.frob.com>
29612 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
29614 2012-03-14 Joseph Myers <joseph@codesourcery.com>
29617 * math/s_csqrt.c: Include <float.h>.
29618 (__csqrt): Scale large or subnormal inputs.
29619 * math/s_csqrtf.c: Likewise.
29620 * math/s_csqrtl.c: Likewise.
29621 * math/libm-test.inc (csqrt_test): Add more tests.
29622 * sysdeps/i386/fpu/libm-test-ulps: Update.
29623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29626 * math/libm-test.inc (hypot_test): Add more tests.
29628 2012-03-13 David S. Miller <davem@davemloft.net>
29631 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
29632 double-precision for the calculation instead of scaling.
29634 2012-03-13 Joseph Myers <joseph@codesourcery.com>
29636 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
29637 manipulate bits before adding and subtracting TWO52[sx].
29638 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
29639 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29641 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
29643 2012-03-13 David S. Miller <davem@davemloft.net>
29645 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
29646 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
29647 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
29648 rtld-global-offsets.h
29649 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29651 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
29654 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
29656 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
29657 'err' in the ifdef scope in which it is actually used.
29659 * nss/nss_db/db-init.c: Include string.h
29661 2012-03-12 David S. Miller <davem@davemloft.net>
29663 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29664 masking out of the most significant byte of random value used.
29665 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29666 Fix coding style in previous change.
29668 * sysdeps/unix/sysv/linux/kernel-features.h
29669 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
29670 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
29672 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
29675 2012-03-11 David S. Miller <davem@davemloft.net>
29677 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29678 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
29679 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
29680 for 'resultvar' otherwise things get truncated on 64-bit.
29682 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29683 Fix masking out of the most significant byte of random value used.
29685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29687 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
29689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29691 2012-03-09 David S. Miller <davem@davemloft.net>
29693 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
29694 variables with appropriate CPP guards.
29695 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
29696 frame pointer, not the stack pointer. Correct layout comments. Fix test
29697 on resulting framesize and the management of the outregs buffer for pltexit.
29698 Preserve floating point return values across _dl_call_pltexit call.
29699 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
29700 framesize and the management of the outregs buffer for pltexit.
29701 Preserve floating point return values across _dl_call_pltexit
29703 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
29704 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
29705 (print_exit): Fix format string for return register value.
29707 2012-03-10 Joseph Myers <joseph@codesourcery.com>
29709 * sunrpc/Makefile (others): Add rpcgen.
29710 ($(objpfx)rpcgen): Remove special build rule and dependency on
29712 * sunrpc/rpcgen.c: New file.
29714 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
29717 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29718 * stdio-common/bug-vfprintf-nargs.c: Likewise.
29719 * sysdeps/i386/crti.S: Likewise.
29720 * sysdeps/i386/crtn.S: Likewise.
29721 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29722 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29723 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29724 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29725 * sysdeps/sh/crti.S: Likewise.
29726 * sysdeps/sh/crtn.S: Likewise.
29727 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29730 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29732 * locale/programs/locfile-kw.gperf: Likewise.
29733 * locale/programs/charmap-kw.h: Regenerated.
29734 * locale/programs/locfile-kw.h: Likewise.
29737 * intl/plural.y: Replace FSF snail mail address with URL.
29738 * intl/plural.c: Regenerated.
29740 2012-03-09 Richard Henderson <rth@twiddle.net>
29742 * include/math_private.h: Remove file.
29743 * math/math_private.h: Move file ...
29744 * sysdeps/generic/math_private.h: ... here.
29746 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29747 * sysdeps/powerpc/fpu/math_private.h: Likewise.
29748 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29750 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
29751 and <math_private.h>.
29752 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29753 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29754 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29755 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29756 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29757 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29758 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29759 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29760 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29761 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29762 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29763 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29764 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29765 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29766 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29767 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29768 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29769 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29770 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29771 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29772 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29773 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29774 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29775 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29776 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29777 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29778 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29779 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29780 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29781 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29782 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29783 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29784 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29785 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29786 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29787 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29788 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29789 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29790 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29791 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29792 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29793 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29794 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29795 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29796 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29797 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29798 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29799 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29800 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29801 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29802 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29803 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29804 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29805 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29806 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29807 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29808 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29809 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29810 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29811 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29812 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29813 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29814 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29815 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29816 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29817 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29818 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29819 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29820 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29821 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29822 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29823 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29824 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29825 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29826 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29827 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29828 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29829 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29830 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29831 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29832 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29833 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29834 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29835 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29836 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29837 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29838 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29839 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29840 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29841 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29842 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29843 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29844 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29845 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29846 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29847 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29848 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29849 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29850 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29851 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29852 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29853 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29854 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29855 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29856 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29857 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29858 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29859 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29860 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29861 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29862 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29863 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29864 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29865 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29866 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29867 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29868 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29869 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29870 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29871 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29872 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29873 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29874 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29875 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29876 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29877 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29878 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29879 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29880 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29881 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29882 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29883 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29884 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29885 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29886 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29887 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29888 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29889 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29890 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29891 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29892 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29893 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29894 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29895 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29896 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29897 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29898 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29899 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29900 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29901 * sysdeps/ieee754/k_standard.c: Likewise.
29902 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29903 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29904 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29905 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29906 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29907 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29908 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29909 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29910 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29911 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29912 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29913 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29914 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29915 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29916 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29917 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29918 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29919 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29920 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29921 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29922 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29923 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29924 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29925 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29926 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29927 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29928 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29929 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29930 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29931 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29932 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29933 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29934 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29935 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29936 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29937 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29938 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29939 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29940 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29941 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29942 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29943 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29944 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29945 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29946 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29947 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29948 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29949 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29950 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29951 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29952 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29953 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29954 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29955 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29956 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29957 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29958 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29959 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29960 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29961 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29962 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29963 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29964 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29965 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29966 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29967 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29968 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29969 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29970 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29971 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29972 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29973 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29974 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29975 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29976 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29977 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29978 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29979 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29980 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29981 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29982 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29983 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29984 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29985 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29986 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29987 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29988 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29989 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29990 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29991 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29992 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29993 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29994 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29995 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29996 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29997 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29998 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29999 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30000 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30001 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
30002 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30003 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30004 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30005 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30006 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
30007 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30008 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30009 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30010 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30011 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30012 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30013 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30014 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30015 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30016 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30017 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30018 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30019 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30020 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30021 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30022 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30023 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30024 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30025 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30026 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30027 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30028 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30029 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30030 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30031 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30032 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30033 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30034 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30035 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30036 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30037 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30038 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
30039 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30040 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30041 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
30042 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
30043 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30044 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
30045 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
30046 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30047 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30048 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30049 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30050 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30051 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
30052 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30053 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30054 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30055 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30056 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
30057 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
30058 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30059 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30060 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30061 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30062 * sysdeps/ieee754/s_lib_version.c: Likewise.
30063 * sysdeps/ieee754/s_matherr.c: Likewise.
30064 * sysdeps/ieee754/s_signgam.c: Likewise.
30065 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30066 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30067 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
30068 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
30069 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
30070 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30071 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
30072 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
30073 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
30074 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
30075 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30076 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
30077 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30078 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30079 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
30080 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30081 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30082 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30083 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30084 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30085 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30087 2012-03-09 Joseph Myers <joseph@codesourcery.com>
30089 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
30090 * sunrpc/rpc_main.c: Likewise.
30091 * sunrpc/rpc_svcout.c: Likewise.
30093 2012-03-09 David S. Miller <davem@davemloft.net>
30095 * include/math_private.h: New file.
30097 2012-03-09 Joseph Myers <joseph@codesourcery.com>
30099 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
30100 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
30101 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
30102 from <bits/socket_type.h>.
30103 (enum __socket_type): Don't define here.
30104 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
30105 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30106 bits/socket_type.h.
30109 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
30110 checking __USE_GNU.
30112 * Makerules ($(inst_includedir)/%.h): New rule.
30113 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
30114 (install-others): Remove variable setting.
30115 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
30117 2012-03-08 Richard Henderson <rth@twiddle.net>
30119 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
30120 from macro to inline function; merge with the
30121 !__LIBC_INTERNAL_MATH_INLINES version.
30122 (__ieee754_sqrtf): Likewise.
30124 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
30125 to inline function.
30126 (__rintf, __floor, __floorf): Likewise.
30128 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
30129 macro to inline function.
30130 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
30132 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
30133 not <math/math_private.h>.
30135 2012-03-08 David S. Miller <davem@davemloft.net>
30137 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
30139 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
30141 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
30143 * resolv/gai_misc.c (handle_requests): Fix struct timespec
30145 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
30146 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30148 2012-03-08 Ulrich Drepper <drepper@gmail.com>
30150 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
30151 be defined individually, they must be defined as a block. Define
30152 S for printing a string instead of hidint the different by using a
30153 macro for adding the 'l'.
30154 * stdio-common/tst-fphex-wide.c: Adjust.
30156 2012-03-07 Marek Polacek <polacek@redhat.com>
30158 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
30160 2012-03-08 Marek Polacek <polacek@redhat.com>
30163 * stdio-common/Makefile (tests): Add tst-fphex-wide.
30164 * stdio-common/tst-fphex.c: Define a few macros to make the
30165 test reusable. Use them.
30166 * stdio-common/tst-fphex-wide.c: New file.
30168 2012-03-08 Joseph Myers <joseph@codesourcery.com>
30171 * manual/macros.texi (gnusystems): New macro.
30172 (nongnusystems): Likewise.
30173 (gnulinuxhurdsystems): Likewise.
30174 (gnuhurdsystems): Likewise..
30175 (gnulinuxsystems): Likewise.
30176 * manual/charset.texi: Use new macros or @theglibc{} to refer to
30177 variants of the GNU system, not "GNU system".
30178 * manual/conf.texi: Likewise.
30179 * manual/errno.texi: Likewise. Update example of errno macro
30181 * manual/filesys.texi: Likewise.
30182 (getumask): Document as specific to GNU/Hurd.
30183 * manual/install.texi: Likewise. Reword some references to
30185 * manual/intro.texi: Likewise.
30186 * manual/io.texi: Likewise.
30187 (File Name Portability): Detail which constraints are inapplicable
30188 to all GNU systems and which are only inapplicable to GNU/Hurd.
30189 * manual/job.texi: Likewise.
30190 * manual/llio.texi: Likewise.
30191 (O_NOCTTY): Document as present on GNU/Linux.
30192 * manual/maint.texi: Likewise.
30193 * manual/memory.texi: Likewise.
30194 * manual/pattern.texi: Likewise.
30195 * manual/pipe.texi: Likewise.
30196 * manual/process.texi: Likewise.
30197 * manual/resource.texi: Likewise.
30198 (RUSAGE_CHILDREN): Remove statement about specifying a particular
30200 * manual/setjmp.texi: Likewise.
30201 * manual/signal.texi: Likewise.
30202 * manual/startup.texi: Likewise.
30203 * manual/stdio.texi: Likewise.
30204 * manual/terminal.texi: Likewise.
30205 (ONLCR): Document as POSIX.
30206 (OXTABS): Document availability on GNU/Linux as XTABS.
30207 (ONOEOT): Document availability separately from other bits.
30208 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
30209 * manual/time.texi: Likewise.
30210 * manual/users.texi: Likewise.
30211 * INSTALL: Regenerated.
30212 * sysdeps/gnu/errlist.c: Regenerated.
30214 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
30215 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
30216 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
30218 * configure: Regenerated.
30220 2012-03-07 Joseph Myers <joseph@codesourcery.com>
30222 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
30223 default includes instead of AC_HEADER_CHECK.
30224 * sysdeps/i386/configure: Regenerated.
30227 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
30228 * math/s_cacoshf.c (__cacoshf): Likewise.
30229 * math/s_cacoshl.c (__cacoshl): Likewise.
30230 * math/s_casinh.c (__casinh): Set signs of result from argument.
30231 * math/s_casinhf.c (__casinhf): Likewise.
30232 * math/s_casinhl.c (__casinhl): Likewise.
30233 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
30234 (casinh_test): Add more tests.
30235 * sysdeps/i386/fpu/libm-test-ulps: Update.
30236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30238 2012-03-07 Ulrich Drepper <drepper@gmail.com>
30240 * po/zh_TW.po: Update from translation team.
30242 * login/Makefile (distribute): Remove variable.
30243 * catgets/Makefile: Likewise.
30244 * mach/Makefile: Likewise.
30245 * malloc/Makefile: Likewise.
30246 * misc/Makefile: Likewise.
30247 * iconv/Makefile: Likewise.
30248 * nscd/Makefile: Likewise.
30249 * hurd/Makefile: Likewise.
30250 * manual/Makefile: Likewise.
30251 * locale/Makefile: Likewise.
30252 * intl/Makefile: Likewise.
30253 * conform/Makefile: Likewise.
30254 * nss/Makefile: Likewise.
30255 * time/Makefile: Likewise.
30256 * soft-fp/Makefile: Likewise.
30257 * dirent/Makefile: Likewise.
30258 * gmon/Makefile: Likewise.
30259 * po/Makefile: Likewise.
30260 * rt/Makefile: Likewise.
30261 * socket/Makefile: Likewise.
30262 * math/Makefile: Likewise.
30263 * signal/Makefile: Likewise.
30264 * debug/Makefile: Likewise.
30265 * elf/Makefile: Likewise.
30266 * timezone/Makefile: Likewise.
30267 * stdlib/Makefile: Likewise.
30268 * iconvdata/Makefile: Likewise.
30269 * sunrpc/Makefile: Likewise.
30270 * io/Makefile: Likewise.
30271 * argp/Makefile: Likewise.
30272 * inet/Makefile: Likewise.
30273 * hesiod/Makefile: Likewise.
30274 * grp/Makefile: Likewise.
30275 * csu/Makefile: Likewise.
30276 * wctype/Makefile: Likewise.
30277 * crypt/Makefile: Likewise.
30278 * libio/Makefile: Likewise.
30279 * string/Makefile: Likewise.
30280 * nis/Makefile: Likewise.
30281 * resolv/Makefile: Likewise.
30282 * stdio-common/Makefile: Likewise.
30283 * wcsmbs/Makefile: Likewise.
30284 * dlfcn/Makefile: Likewise.
30285 * posix/Makefile: Likewise.
30288 * timezone/Makefile: Don't install timezone files, just the programs
30291 2012-03-06 Ulrich Drepper <drepper@gmail.com>
30293 * nss/databases.def: Add missing gshadow entry.
30295 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
30297 2012-03-06 Marek Polacek <polacek@redhat.com>
30300 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
30301 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30302 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
30303 * stdio-common/tst-long-dbl-fphex.c: New file.
30305 2012-03-06 David S. Miller <davem@davemloft.net>
30307 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30308 (set_obp_int): New function.
30309 (get_obp_int): New function.
30310 (__get_clockfreq_via_dev_openprom): Likewise.
30311 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
30312 Avoid unused variable warnings on 'val' and use builtin_expect.
30313 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
30315 (INLINE_CLONE_SYSCALL): Likewise.
30317 2012-03-05 David S. Miller <davem@davemloft.net>
30319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30321 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
30323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30325 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
30326 only for |x| >= 40.
30327 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30329 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
30331 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
30332 Replace gettimeofday with __vdso_gettimeofday.
30334 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30335 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
30336 __vdso_clock_gettime and __vdso_getcpu.
30338 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
30339 time with __vdso_time.
30341 2012-03-05 Joseph Myers <joseph@codesourcery.com>
30343 * manual/lang.texi (size_t): Note types to which size_t may be
30344 equivalent with the GNU C Library, but do not describe when
30345 differences between them are significant.
30347 2012-03-05 Andreas Jaeger <aj@suse.de>
30349 * sysdeps/i386/fpu/libm-test-ulps: Update.
30351 2012-03-05 Joseph Myers <joseph@codesourcery.com>
30354 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
30355 (__ieee754_pow): Save and restore rounding mode and use
30356 round-to-nearest for main computations.
30357 * math/libm-test.inc (pow_test_tonearest): New function.
30358 (pow_test_towardzero): Likewise.
30359 (pow_test_downward): Likewise.
30360 (pow_test_upward): Likewise.
30361 (main): Call the new functions.
30362 * sysdeps/i386/fpu/libm-test-ulps: Update.
30363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30366 * math/libm-test.inc (cosh_test_tonearest): New function.
30367 (cosh_test_towardzero): Likewise.
30368 (cosh_test_downward): Likewise.
30369 (cosh_test_upward): Likewise.
30370 (sinh_test_tonearest): Likewise.
30371 (sinh_test_towardzero): Likewise.
30372 (sinh_test_downward): Likewise.
30373 (sinh_test_upward): Likewise.
30374 (main): Call the new functions.
30375 * sysdeps/i386/fpu/libm-test-ulps: Update.
30376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30378 2012-03-05 Tom de Vries <tom@codesourcery.com>
30380 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
30381 default stack guard is set in last bytes.
30382 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
30384 2012-03-05 Kees Cook <keescook@chromium.org>
30386 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
30389 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
30390 possibly allocate from heap instead of stack.
30391 * stdio-common/bug-vfprintf-nargs.c: New file.
30392 * stdio-common/Makefile (tests): Add nargs overflow test.
30394 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
30396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30398 2012-03-03 Marek Polacek <polacek@redhat.com>
30400 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
30401 * math/math_private.h: Likewise.
30402 * stdlib/tst-strtod.c: Likewise.
30403 * sysdeps/i386/i486/bits/atomic.h: Likewise.
30404 * sysdeps/x86_64/bits/atomic.h: Likewise.
30406 2012-03-02 David S. Miller <davem@davemloft.net>
30408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
30409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
30410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
30411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
30412 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
30413 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
30414 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
30415 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
30417 2012-03-02 Roland McGrath <roland@hack.frob.com>
30420 * manual/examples/README: New file, says the example source files
30421 can be used under GPL>=2.
30422 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
30423 line containing just "*/".
30424 * manual/examples/add.c: Add copyright header (GPL>=2).
30425 * manual/examples/argp-ex1.c: Likewise.
30426 * manual/examples/argp-ex2.c: Likewise.
30427 * manual/examples/argp-ex3.c: Likewise.
30428 * manual/examples/argp-ex4.c: Likewise.
30429 * manual/examples/atexit.c: Likewise.
30430 * manual/examples/db.c: Likewise.
30431 * manual/examples/dir.c: Likewise.
30432 * manual/examples/dir2.c: Likewise.
30433 * manual/examples/execinfo.c: Likewise.
30434 * manual/examples/filecli.c: Likewise.
30435 * manual/examples/filesrv.c: Likewise.
30436 * manual/examples/fmtmsgexpl.c: Likewise.
30437 * manual/examples/genpass.c: Likewise.
30438 * manual/examples/inetcli.c: Likewise.
30439 * manual/examples/inetsrv.c: Likewise.
30440 * manual/examples/isockad.c: Likewise.
30441 * manual/examples/longopt.c: Likewise.
30442 * manual/examples/memopen.c: Likewise.
30443 * manual/examples/memstrm.c: Likewise.
30444 * manual/examples/mkfsock.c: Likewise.
30445 * manual/examples/mkisock.c: Likewise.
30446 * manual/examples/mygetpass.c: Likewise.
30447 * manual/examples/pipe.c: Likewise.
30448 * manual/examples/popen.c: Likewise.
30449 * manual/examples/rprintf.c: Likewise.
30450 * manual/examples/search.c: Likewise.
30451 * manual/examples/select.c: Likewise.
30452 * manual/examples/setjmp.c: Likewise.
30453 * manual/examples/sigh1.c: Likewise.
30454 * manual/examples/sigusr.c: Likewise.
30455 * manual/examples/stpcpy.c: Likewise.
30456 * manual/examples/strdupa.c: Likewise.
30457 * manual/examples/strftim.c: Likewise.
30458 * manual/examples/strncat.c: Likewise.
30459 * manual/examples/subopt.c: Likewise.
30460 * manual/examples/swapcontext.c: Likewise.
30461 * manual/examples/termios.c: Likewise.
30462 * manual/examples/testopt.c: Likewise.
30463 * manual/examples/testpass.c: Likewise.
30464 * manual/examples/timeval_subtract.c: Likewise.
30467 * manual/time.texi (Elapsed Time): Move timeval_subtract example
30469 * manual/timeval_subtract.c.texi: ... here, new file.
30471 2012-03-02 David S. Miller <davem@davemloft.net>
30473 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
30475 2012-03-02 Joseph Myers <joseph@codesourcery.com>
30478 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
30479 (__sin): Save and restore rounding mode and use round-to-nearest
30480 for all computations.
30481 (__cos): Save and restore rounding mode and use round-to-nearest
30482 for all computations.
30483 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
30485 (tan): Save and restore rounding mode and use round-to-nearest for
30487 * math/libm-test.inc (cos_test_tonearest): New function.
30488 (cos_test_towardzero): Likewise.
30489 (cos_test_downward): Likewise.
30490 (cos_test_upward): Likewise.
30491 (sin_test_tonearest): Likewise.
30492 (sin_test_towardzero): Likewise.
30493 (sin_test_downward): Likewise.
30494 (sin_test_upward): Likewise.
30495 (tan_test_tonearest): Likewise.
30496 (tan_test_towardzero): Likewise.
30497 (tan_test_downward): Likewise.
30498 (tan_test_upward): Likewise.
30499 (main): Call the new functions.
30500 * sysdeps/i386/fpu/libm-test-ulps: Update.
30501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30504 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
30505 small n, then large n, before computing and testing k+n.
30506 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
30507 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
30509 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
30511 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
30512 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
30513 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
30514 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
30515 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30516 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30517 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
30518 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
30519 * math/libm-test.inc (scalbn_test): Add more tests.
30520 (scalbln_test): Likewise.
30522 * manual/filesys.texi (mode_t): Describe constraints on size and
30523 signedness, not exact equivalence to a particular type.
30525 (ino64_t): Likewise.
30527 (nlink_t): Likewise.
30528 (blkcnt_t): Likewise.
30529 (blkcnt64_t): Likewise.
30530 * manual/llio.texi (off_t): Likewise.
30533 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
30534 (__ieee754_exp): Save and restore rounding mode and use
30535 round-to-nearest for all computations.
30536 * math/libm-test.inc (exp_test_tonearest): New function.
30537 (exp_test_towardzero): Likewise.
30538 (exp_test_downward): Likewise.
30539 (exp_test_upward): Likewise.
30540 (main): Call the new functions.
30541 * sysdeps/i386/fpu/libm-test-ulps: Update.
30542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30544 2012-03-01 Chris Demetriou <cgd@google.com>
30546 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
30547 have predictable order.
30549 2012-03-01 David S. Miller <davem@davemloft.net>
30551 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
30553 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
30554 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
30555 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
30556 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
30558 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
30559 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
30560 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
30561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
30562 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
30563 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
30564 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
30565 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
30566 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
30568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30570 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
30571 * sysdeps/sparc/fpu/libm-test-ulps: to here.
30572 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
30574 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
30575 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30576 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30577 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
30578 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
30579 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
30580 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
30581 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30582 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30583 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
30584 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
30585 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30586 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30587 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30588 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30589 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30590 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
30591 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
30592 * sysdeps/sparc/elf/configure: Regenerated.
30594 2012-03-01 Joseph Myers <joseph@codesourcery.com>
30596 * configure.in (AS, LD): Require binutils 2.20 or later.
30597 * configure: Regenerated.
30598 * manual/install.texi (Tools for Compilation): Give binutils 2.20
30599 as required minimum version.
30600 * INSTALL: Regenerated.
30604 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
30605 before squaring exponent.
30606 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
30607 bottom long double and 27 bits of top long double before squaring
30609 * math/libm-test.inc (erfc_test): Add more tests.
30610 * sysdeps/i386/fpu/libm-test-ulps: Update.
30611 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30614 2012-03-01 Kai Tietz <ktietz@redhat.com>
30616 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
30617 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
30618 containing bit-fields.
30619 * soft-fp/extended.h (_FP_UNION_E): Likewise.
30620 * soft-fp/single.h (_FP_UNION_S): Likewise.
30621 * soft-fp/double.h (_FP_UNION_D): Likewise.
30623 2012-02-29 Joseph Myers <joseph@codesourcery.com>
30626 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
30627 not include ../strcmp.S.
30628 [USE_AS_STRNCASECMP_L]: Likewise.
30629 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
30630 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
30631 * sysdeps/i386/i686/multiarch/strncase_l-c.c
30632 (__strncasecmp_l_ia32): Define as alias to
30633 __strncasecmp_l_nonascii.
30636 * math/libm-test.inc (expm1_test): Add test for bug 5794.
30637 * sysdeps/i386/fpu/libm-test-ulps: Update.
30638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30640 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
30641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30643 2012-02-29 Jeff Law <law@redhat.com>
30645 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
30646 out of bounds read.
30648 2012-02-29 Marek Polacek <polacek@redhat.com>
30651 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
30652 * elf/Makefile: Add rules to run tst-unused-dep.out.
30654 2012-02-28 David S. Miller <davem@davemloft.net>
30656 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
30657 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
30658 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
30659 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
30660 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
30661 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
30663 2012-02-29 Joseph Myers <joseph@codesourcery.com>
30665 * math/libm-test.inc (llround_test): Move one test from
30666 lround_test. Use TEST_f_L in moved test.
30667 (lround_test): Move misplaced test to llround_test. Add testcase
30670 2012-02-28 Ulrich Drepper <drepper@gmail.com>
30672 * sysdeps/x86_64/fpu/e_expf.S: New file.
30673 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
30675 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
30678 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
30679 of remain_len that may cause incomplete multi-byte character and
30681 * posix/bug-regex33.c: New file.
30682 * posix/Makefile (tests): Add bug-regex33.
30684 2012-02-28 Joseph Myers <joseph@codesourcery.com>
30686 * manual/macros.texi: New file.
30687 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
30688 * manual/libc.texinfo: Include macros.texi.
30689 * manual/creatute.texi: Likewise.
30690 * manual/install.texi: Likewise.
30691 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
30692 @glibcadj{} in references to the GNU C Library.
30693 * manual/charset.texi: Likewise.
30694 * manual/conf.texi: Likewise.
30695 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
30696 when not using those macros.
30697 * manual/creature.texi: Likewise.
30698 * manual/crypt.texi: Likewise.
30699 * manual/errno.texi: Likewise.
30700 * manual/filesys.texi: Likewise.
30701 * manual/header.texi: Likewise.
30702 * manual/install.texi: Likewise.
30703 * manual/intro.texi: Likewise.
30704 * manual/io.texi: Likewise.
30705 * manual/job.texi: Likewise.
30706 * manual/lang.texi: Likewise.
30707 * manual/libc.texiinfo: Likewise.
30708 * manual/llio.texi: Likewise.
30709 * manual/locale.texi: Likewise.
30710 * manual/maint.texi: Likewise.
30711 * manual/math.texi: Likewise.
30712 * manual/memory.texi: Likewise.
30713 * manual/message.texi: Likewise.
30714 * manual/nss.texi: Likewise.
30715 * manual/pattern.texi: Likewise.
30716 * manual/process.texi: Likewise.
30717 * manual/resource.texi: Likewise.
30718 * manual/search.texi: Likewise.
30719 * manual/setjmp.texi: Likewise.
30720 * manual/signal.texi: Likewise.
30721 * manual/socket.texi: Likewise.
30722 * manual/startup.texi: Likewise.
30723 * manual/stdio.texi: Likewise.
30724 * manual/string.texi: Likewise.
30725 * manual/sysinfo.texi: Likewise.
30726 * manual/syslog.texi: Likewise.
30727 * manual/terminal.texi: Likewise.
30728 * manual/time.texi: Likewise.
30729 * manual/users.texi: Likewise.
30730 * INSTALL: Regenerated.
30731 * NOTES: Regenerated.
30732 * sysdeps/gnu/errlist.c: Regenerated.
30734 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
30736 * include/dirent.h: Include <dirstream.h> before
30739 2012-02-28 David S. Miller <davem@davemloft.net>
30741 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30742 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30743 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30744 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30746 2012-02-27 David S. Miller <davem@davemloft.net>
30748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30750 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30751 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30754 frame pointer instead of stack pointer relative arg slot.
30755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30756 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30757 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30759 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
30762 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30764 2012-02-27 David S. Miller <davem@davemloft.net>
30766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30770 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30771 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30772 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30773 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30775 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30777 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30778 later. Allow versions 5-9.
30779 * configure: Regenerated.
30780 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30781 required minimum version and 4.6 as recommended version. Do not
30782 mention bugs in GCC 2.7 and 2.8.
30783 * INSTALL: Regenerated.
30785 2012-02-27 David S. Miller <davem@davemloft.net>
30787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30791 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30792 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30793 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30794 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30796 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30797 manipulate bits before adding and subtracting TWO112[sx].
30798 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30800 2012-02-27 Roland McGrath <roland@hack.frob.com>
30803 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30804 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30805 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30806 being in POSIX, because they are in 1003.1-2008.
30808 * rt/tst-aio.c: Include <fcntl.h>.
30809 * rt/tst-aio7.c: Likewise.
30810 * rt/tst-aio64.c: Likewise.
30812 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30814 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30816 * manual/install.texi (--with-headers): Describe headers as
30817 interface headers, not private headers.
30818 (Specific advice for GNU/Linux systems): Describe use of headers
30819 from "make headers_install", not private headers from older
30821 * INSTALL: Regenerated.
30822 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30824 * sysdeps/unix/sysv/linux/configure: Regenerated.
30826 * manual/llio.texi (fclean): Remove documentation.
30828 * manual/Makefile (libc-texi-generated): New variable. Include
30830 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30831 $(libc-texi-generated), not duplicated list of files.
30832 (version.texi, stamp-version): New rules.
30833 (realclean): Remove $(libc-texi-generated), not individual files
30834 from that list. Do not remove dir-add.texinfo.
30835 * manual/libc.texinfo: Comment out uses of edition numbers and
30836 references to printed manual. Remove last-updated dates.
30837 (EDITION): Comment out.
30839 (VERSION, UPDATED): Remove.
30840 (version.texi): Include.
30842 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
30844 * sysdeps/posix/spawni.c: Include <signal.h>.
30845 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30846 * sysdeps/pthread/aio_fsync.c: Likewise.
30848 2012-02-26 Ulrich Drepper <drepper@gmail.com>
30850 * conform/Makefile (tests): Run only when not cross-compiling and
30851 when fast-check is not defined.
30853 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30854 * conform/data/limits.h-data: Fixes for POSIX2008.
30855 * conform/run-conformtest.sh: Run all tests.
30856 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30858 * include/bits/dlfcn.h: Likewise.
30859 * include/langinfo.h: Likewise.
30860 * include/monetary.h: Likewise.
30861 * include/sys/poll.h: Likewise.
30863 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30865 * posix/spawn.h: Define __need_sigset_t.
30866 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30867 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30868 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
30869 to get sigevent_t only.
30870 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30871 only for __USE_GNU.
30872 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30873 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30874 process_vm_writev only for __USE_GNU.
30875 * termios/termios.h: Declare tcgetsid also for POSIX2008.
30877 * conform/Makefile: For now ignore errors from run-conformtest.
30878 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
30879 POSIX to avoid namespace pollution. Don't prepend headers.
30880 * conform/data/aio.h-data: Fixes for POSIX testing.
30881 * conform/data/fcntl.h-data: Likewise.
30882 * conform/data/glob.h-data: Likewise.
30883 * conform/data/grp.h-data: Likewise.
30884 * conform/data/pthread.h-data: Likewise.
30885 * conform/data/pwd.h-data: Likewise.
30886 * conform/data/signal.h-data: Likewise.
30887 * conform/data/spawn.h-data: Likewise.
30888 * conform/data/stdio.h-data: Likewise.
30889 * conform/data/stdlib.h-data: Likewise.
30890 * conform/data/stropts.h-data: Likewise.
30891 * conform/data/sys/mman.h-data: Likewise.
30892 * conform/data/sys/stat.h-data: Likewise.
30893 * conform/data/sys/types.h-data: Likewise.
30894 * conform/data/sys/wait.h-data: Likewise.
30895 * conform/data/time.h-data: Likewise.
30896 * conform/data/unistd.h-data: Likewise.
30897 * conform/data/utime.h-data: Likewise.
30899 * io/sys/stat.h: fchmod was always in POSIX.
30900 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30901 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30902 * rt/aio.h: Define __need_timespec before including <time.h>.
30903 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30904 struct. Add forward declaration of pthread_attr_t and use it in
30906 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30907 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30908 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30909 always remove CLK_TCK definition.
30911 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
30913 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30915 2012-02-25 Ulrich Drepper <drepper@gmail.com>
30917 * conform/run-conformtest.sh: New file.
30918 * conform/Makefile: Run run-conformtest for tests.
30919 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
30922 * conform/data/uchar.h-data: New file.
30923 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30924 * conform/data/arpa/inet.h-data: Likewise.
30925 * conform/data/assert.h-data: Likewise.
30926 * conform/data/complex.h-data: Likewise.
30927 * conform/data/cpio.h-data: Likewise.
30928 * conform/data/ctype.h-data: Likewise.
30929 * conform/data/dirent.h-data: Likewise.
30930 * conform/data/dlfcn.h-data: Likewise.
30931 * conform/data/errno.h-data: Likewise.
30932 * conform/data/fcntl.h-data: Likewise.
30933 * conform/data/float.h-data: Likewise.
30934 * conform/data/fmtmsg.h-data: Likewise.
30935 * conform/data/fnmatch.h-data: Likewise.
30936 * conform/data/ftw.h-data: Likewise.
30937 * conform/data/glob.h-data: Likewise.
30938 * conform/data/grp.h-data: Likewise.
30939 * conform/data/iconv.h-data: Likewise.
30940 * conform/data/inttypes.h-data: Likewise.
30941 * conform/data/langinfo.h-data: Likewise.
30942 * conform/data/libgen.h-data: Likewise.
30943 * conform/data/limits.h-data: Likewise.
30944 * conform/data/locale.h-data: Likewise.
30945 * conform/data/math.h-data: Likewise.
30946 * conform/data/monetary.h-data: Likewise.
30947 * conform/data/mqueue.h-data: Likewise.
30948 * conform/data/ndbm.h-data: Likewise.
30949 * conform/data/net/if.h-data: Likewise.
30950 * conform/data/netdb.h-data: Likewise.
30951 * conform/data/netinet/in.h-data: Likewise.
30952 * conform/data/nl_types.h-data: Likewise.
30953 * conform/data/poll.h-data: Likewise.
30954 * conform/data/pthread.h-data: Likewise.
30955 * conform/data/pwd.h-data: Likewise.
30956 * conform/data/regex.h-data: Likewise.
30957 * conform/data/sched.h-data: Likewise.
30958 * conform/data/search.h-data: Likewise.
30959 * conform/data/semaphore.h-data: Likewise.
30960 * conform/data/setjmp.h-data: Likewise.
30961 * conform/data/signal.h-data: Likewise.
30962 * conform/data/spawn.h-data: Likewise.
30963 * conform/data/stdarg.h-data: Likewise.
30964 * conform/data/stdio.h-data: Likewise.
30965 * conform/data/stdlib.h-data: Likewise.
30966 * conform/data/string.h-data: Likewise.
30967 * conform/data/strings.h-data: Likewise.
30968 * conform/data/stropts.h-data: Likewise.
30969 * conform/data/sys/ipc.h-data: Likewise.
30970 * conform/data/sys/mman.h-data: Likewise.
30971 * conform/data/sys/msg.h-data: Likewise.
30972 * conform/data/sys/resource.h-data: Likewise.
30973 * conform/data/sys/select.h-data: Likewise.
30974 * conform/data/sys/sem.h-data: Likewise.
30975 * conform/data/sys/shm.h-data: Likewise.
30976 * conform/data/sys/socket.h-data: Likewise.
30977 * conform/data/sys/stat.h-data: Likewise.
30978 * conform/data/sys/statvfs.h-data: Likewise.
30979 * conform/data/sys/time.h-data: Likewise.
30980 * conform/data/sys/timeb.h-data: Likewise.
30981 * conform/data/sys/times.h-data: Likewise.
30982 * conform/data/sys/types.h-data: Likewise.
30983 * conform/data/sys/uio.h-data: Likewise.
30984 * conform/data/sys/un.h-data: Likewise.
30985 * conform/data/sys/utsname.h-data: Likewise.
30986 * conform/data/sys/wait.h-data: Likewise.
30987 * conform/data/syslog.h-data: Likewise.
30988 * conform/data/tar.h-data: Likewise.
30989 * conform/data/termios.h-data: Likewise.
30990 * conform/data/utime.h-data: Likewise.
30991 * conform/data/utmpx.h-data: Likewise.
30992 * conform/data/varargs.h-data: Likewise.
30993 * conform/data/wchar.h-data: Likewise.
30994 * conform/data/wctype.h-data: Likewise.
30995 * conform/data/wordexp.h-data: Likewise.
30997 * include/stropts.h: New file.
30998 * include/uchar.h: New file.
30999 * include/aio.h: Changes to allow conformtest.pl to use the headers.
31000 * include/assert.h: Likewise.
31001 * include/ctype.h: Likewise.
31002 * include/dirent.h: Likewise.
31003 * include/dlfcn.h: Likewise.
31004 * include/fcntl.h: Likewise.
31005 * include/fnmatch.h: Likewise.
31006 * include/glob.h: Likewise.
31007 * include/grp.h: Likewise.
31008 * include/libio.h: Likewise.
31009 * include/locale.h: Likewise.
31010 * include/math.h: Likewise.
31011 * include/net/if.h: Likewise.
31012 * include/netdb.h: Likewise.
31013 * include/netinet/in.h: Likewise.
31014 * include/pthread.h: Likewise.
31015 * include/pwd.h: Likewise.
31016 * include/regex.h: Likewise.
31017 * include/sched.h: Likewise.
31018 * include/search.h: Likewise.
31019 * include/setjmp.h: Likewise.
31020 * include/signal.h: Likewise.
31021 * include/stdio.h: Likewise.
31022 * include/stdlib.h: Likewise.
31023 * include/string.h: Likewise.
31024 * include/sys/cdefs.h: Likewise.
31025 * include/sys/mman.h: Likewise.
31026 * include/sys/msg.h: Likewise.
31027 * include/sys/resource.h: Likewise.
31028 * include/sys/select.h: Likewise.
31029 * include/sys/socket.h: Likewise.
31030 * include/sys/stat.h: Likewise.
31031 * include/sys/statvfs.h: Likewise.
31032 * include/sys/time.h: Likewise.
31033 * include/sys/times.h: Likewise.
31034 * include/sys/uio.h: Likewise.
31035 * include/sys/utsname.h: Likewise.
31036 * include/sys/wait.h: Likewise.
31037 * include/termios.h: Likewise.
31038 * include/time.h: Likewise.
31039 * include/ulimit.h: Likewise.
31040 * include/unistd.h: Likewise.
31041 * include/utime.h: Likewise.
31042 * include/wchar.h: Likewise.
31043 * include/wctype.h: Likewise.
31044 * include/wordexp.h: Likewise.
31046 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31048 * time/time.h: TIME_UTC must be a macro.
31049 Make timespec_get available for ISO C11 only as well.
31051 2012-02-24 Ulrich Drepper <drepper@gmail.com>
31053 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
31054 Reported by Peng Haitao <penght@cn.fujitsu.com>.
31056 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31058 * configure.in: Use -o not -a in test for unsupported multi-arch.
31060 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31062 * manual/texinfo.tex: Update to version 2012-01-19.16.
31064 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31066 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
31068 2012-02-24 Roland McGrath <roland@hack.frob.com>
31071 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
31072 * manual/fdl-1.3.texi: New file.
31073 * manual/fdl-1.1.texi: File removed.
31076 * manual/libc.texinfo (FDL_VERSION): New @set.
31077 Use it for mention of FDL in cover text.
31078 (Documentation License): Use it in @include file name.
31080 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31081 Roland McGrath <roland@hack.frob.com>
31084 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
31085 not LONG_LONG_MAX and LONG_LONG_MIN.
31086 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
31087 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
31089 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
31091 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31095 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
31096 manipulate bits before adding and subtracting TWO23[sx].
31097 * math/libm-test.inc (nearbyint_test): Add more tests.
31099 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31102 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
31103 bits before adding and subtracting TWO23[sx].
31104 * math/libm-test.inc (rint_test): Add more tests.
31105 (rint_test_tonearest): Likewise.
31106 (rint_test_towardzero): Likewise.
31107 (rint_test_downward): Likewise.
31108 (rint_test_upward: Likewise.
31110 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31113 * include/stdc-predef.h: New file. Extracted from features.h.
31114 * include/features.h: Include stdc-predef.h.
31115 * Makefile (headers): Add stdc-predef.h.
31116 * CONFORMANCE (Compiler limitations): Update.
31118 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31120 * manual/libc.texinfo (VERSION, UPDATED): Revert.
31122 2012-02-21 David S. Miller <davem@davemloft.net>
31124 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
31125 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31127 2012-02-20 David S. Miller <davem@davemloft.net>
31129 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
31130 using a normal save/restore sequence, rather than allocating a
31131 dummy stack frame just to store a frame pointer and restore.
31132 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31134 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31136 * manual/install.texi: Fix stray word in line-wrapped comment.
31138 2012-02-20 David S. Miller <davem@davemloft.net>
31140 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
31141 both binutils and gcc support GOTDATA.
31143 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
31144 "rd %pc" in the PIC register setup sequences.
31146 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
31147 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31148 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31149 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31150 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31151 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31152 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31153 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31154 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
31155 (SYSCALL_ERROR_HANDLER): Likewise.
31156 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31157 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31158 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
31159 (SYSCALL_ERROR_HANDLER): Likewise.
31161 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
31162 (HAVE_GCC_GOTDATA): New.
31163 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
31164 relocation support in both binutils and gcc.
31165 * sysdeps/sparc/elf/configure: Regenerate.
31167 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
31168 * sysdeps/sparc/sparc32/elf/configure: Delete.
31169 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
31170 * sysdeps/sparc/sparc64/elf/configure: Delete.
31171 * sysdeps/sparc/elf/configure.in: New file.
31172 * sysdeps/sparc/elf/configure: Generate.
31174 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
31175 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
31176 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31177 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
31178 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
31180 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31182 * manual/install.texi: Do not mention specific glibc version
31184 * manual/libc.texinfo (VERSION, UPDATED): Update.
31185 (@copying): Use @copyright{} and range of years.
31187 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31190 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
31191 [crti.S not in sysdirs] (generated): Do not append.
31192 [crti.S not in sysdirs] (omit-deps): Likewise.
31193 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
31194 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
31195 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
31196 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
31197 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
31199 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
31200 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
31201 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
31202 * csu/defs.awk: Remove file.
31203 * sysdeps/generic/initfini.c: Likewise.
31204 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
31206 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
31209 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31211 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
31212 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
31213 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
31214 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
31215 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31216 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
31218 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
31219 (__EPOLL_PACKED): Define to empty if not defined by
31221 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
31222 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31225 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31227 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
31228 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
31229 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
31230 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
31232 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
31233 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31236 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31238 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
31240 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31241 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31242 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
31243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31245 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
31247 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31248 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31250 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
31252 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
31253 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
31255 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
31257 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
31260 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
31262 * math/w_acos.c: Use non-signaling floating-point comparisons.
31263 * math/w_acosf.c: Likewise.
31264 * math/w_acosh.c: Likewise.
31265 * math/w_acoshf.c: Likewise.
31266 * math/w_acoshl.c: Likewise.
31267 * math/w_acosl.c: Likewise.
31268 * math/w_asin.c: Likewise.
31269 * math/w_asinf.c: Likewise.
31270 * math/w_asinl.c: Likewise.
31271 * math/w_atanh.c: Likewise.
31272 * math/w_atanhf.c: Likewise.
31273 * math/w_atanhl.c: Likewise.
31274 * math/w_exp2.c: Likewise.
31275 * math/w_exp2f.c: Likewise.
31276 * math/w_exp2l.c: Likewise.
31277 * math/w_j0.c: Likewise.
31278 * math/w_j0f.c: Likewise.
31279 * math/w_j0l.c: Likewise.
31280 * math/w_j1.c: Likewise.
31281 * math/w_j1f.c: Likewise.
31282 * math/w_j1l.c: Likewise.
31283 * math/w_jn.c: Likewise.
31284 * math/w_jnf.c: Likewise.
31285 * math/w_log.c: Likewise.
31286 * math/w_log10.c: Likewise.
31287 * math/w_log10f.c: Likewise.
31288 * math/w_log10l.c: Likewise.
31289 * math/w_log2.c: Likewise.
31290 * math/w_log2f.c: Likewise.
31291 * math/w_log2l.c: Likewise.
31292 * math/w_logf.c: Likewise.
31293 * math/w_logl.c: Likewise.
31294 * math/w_sqrt.c: Likewise.
31295 * math/w_sqrtf.c: Likewise.
31296 * math/w_sqrtl.c: Likewise.
31297 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31298 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31299 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31300 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31301 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31303 2012-02-19 Joseph Myers <joseph@codesourcery.com>
31306 * manual/string.texi (strnlen): Use correct parameter name in
31307 equivalent expression.
31309 2012-02-19 Joseph Myers <joseph@codesourcery.com>
31312 * manual/users.texi (seteuid): Consistently use neweuid for
31315 2012-02-19 Joseph Myers <joseph@codesourcery.com>
31318 * manual/nss.texi (Services in the NSS configuration): Correct
31319 list of services in example configuration file.
31321 2012-02-19 Nick Bowler <nbowler@draconx.ca>
31324 * manual/arith.texi: Remove statements about negative zero
31325 behaving identically to zero.
31327 2012-02-18 Joseph Myers <joseph@codesourcery.com>
31330 * manual/install.texi: Do not document upgrading from libc5.
31332 2012-02-18 Joseph Myers <joseph@codesourcery.com>
31335 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
31337 2012-02-18 David S. Miller <davem@davemloft.net>
31339 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
31340 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
31341 %o7 across the call.
31342 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
31344 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
31345 SETUP_PIC_REG_LEAF.
31346 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31347 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
31348 * sysdeps/sparc/crtn.S: Likewise.
31350 2012-02-17 Ulrich Drepper <drepper@gmail.com>
31352 * aout/Makefile: Remove.
31354 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
31357 * manual/examples/argp-ex1.c (main): Format definition in GNU
31359 * manual/examples/argp-ex2.c (main): Likewise.
31360 * manual/examples/argp-ex3.c (main): Likewise.
31361 * manual/examples/argp-ex4.c (main): Likewise.
31362 * manual/examples/longopt.c (main): Use new-style prototype
31364 * manual/examples/strncat.c (main): Specify return type and use
31365 (void) for arguments.
31366 * manual/examples/subopt.c (main): Use char **argv argument.
31368 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31371 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
31374 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
31377 * manual/string.texi (strchr): Change when strchrnul is
31380 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
31383 * manual/locale.texi (setlocale): Document LOCPATH.
31385 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31388 * manual/process.texi (execle): Move @dots{} before last argument.
31390 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
31393 * manual/charset.texi (Generic Charset Conversion): Fix typo
31394 (LC_TYPE -> LC_CTYPE).
31396 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
31399 * manual/arith.texi (scalbn): Use @var{} on parameter names.
31400 (scalbnf): Likewise.
31401 (scalbnl): Likewise.
31402 (scalbln): Likewise.
31403 (scalblnf): Likewise.
31404 (scalblnl): Likewise.
31405 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
31406 (vwarnx): Likewise.
31409 * manual/filesys.texi (telldir): Use braces around return type.
31410 * manual/llio.texi (mmap): Add space after comma.
31411 (mmap64): Likewise.
31412 * manual/math.texi (jn): Use @var{} on parameter names.
31418 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
31420 * manual/resource.texi (ulimit): Use @dots{} instead of literal
31422 (sched_get_priority_min): Remove semicolon on @deftypefun line.
31423 (sched_get_priority_max): Likewise.
31424 * manual/signal.texi (sigvec): Add space after comma.
31425 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
31427 (if_indextoname): Likewise.
31428 (if_freenameindex): Likewise.
31429 (sendto): Use ',' instead of '.' in prototype.
31430 * manual/startup.texi (syscall): Use @dots{} instead of literal
31432 * manual/stdio.texi (__fpending): Separate initial words of
31433 paragraph from @deftypefun line.
31434 * manual/syslog.texi (syslog): Use @dots{} instead of literal
31436 (vsyslog): Use @var{} on parameter names.
31437 * manual/terminal.texi (stty): Use @var{} on parameter names.
31438 * manual/users.texi (getutmp): Use @var{} on parameter names.
31439 (getutmpx): Likewise.
31441 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31444 * manual/stdio.texi (fopen): Fix typos in description of
31447 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
31450 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
31451 get clock_id definition.
31453 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
31456 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
31457 (madvise): Cast every argument to void on its own.
31459 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31462 * manual/startup.texi (Exit Status): Fix typo.
31464 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31467 * manual/examples/argp-ex1.c: Include <stdlib.h>.
31468 * manual/examples/argp-ex2.c: Likewise.
31469 * manual/examples/argp-ex3.c: Likewise.
31471 2012-02-16 Richard Henderson <rth@redhat.com>
31473 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
31474 * sysdeps/s390/s390-32/initfini.c: Remove.
31475 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
31476 * sysdeps/s390/s390-64/initfini.c: Remove.
31478 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31480 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
31481 compiler output for sysdeps/generic/initfini.c.
31482 * sysdeps/sh/elf/initfini.c: Remove file.
31484 2012-02-16 David S. Miller <davem@davemloft.net>
31487 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
31489 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
31490 * sysdeps/sparc/crti.S: New file.
31491 * sysdeps/sparc/crtn.S: New file.
31492 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
31493 * sysdeps/sparc/sparc64/Makefile: Likewise.
31495 2012-02-15 Mike Frysinger <vapier@gentoo.org>
31498 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
31500 2012-02-15 Roland McGrath <roland@hack.frob.com>
31503 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
31505 * mach/devstream.c (cookie_io_functions_t): Macro removed.
31506 (write, read, close): Likewise.
31507 Patch by Aurelien Jarno <aurelien@aurel32.net>.
31509 2012-02-15 Joseph Myers <joseph@codesourcery.com>
31511 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
31512 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
31513 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
31514 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
31516 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
31517 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31520 2012-02-14 Marek Polacek <polacek@redhat.com>
31522 * sysdeps/x86_64/crti.S: New file.
31523 * sysdeps/x86_64/crtn.S: New file.
31524 * sysdeps/x86_64/elf/initfini.c: Remove file.
31526 2012-02-13 Joseph Myers <joseph@codesourcery.com>
31528 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
31529 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
31530 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
31531 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
31533 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
31534 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31537 2012-02-13 Joseph Myers <joseph@codesourcery.com>
31539 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
31540 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
31541 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
31542 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
31544 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
31545 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31548 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
31550 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
31551 __feraiseexcept instead of feraiseexcept.
31553 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
31554 nanosleep invocations.
31555 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
31556 strings, and add error checking for a nanosleep invocations.
31558 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
31560 Replace FSF snail mail address with URLs, as per GNU coding standards.
31561 Most of the snail mail addresses were wrong anyway, and omitting
31562 them makes the source code easier to maintain. Almost all of the
31563 changes are to license notices and to locale LC_IDENTIFICATION
31564 addresses, except for this one:
31565 * manual/libc.texinfo: In "Published by", give the FSF's URL,
31566 not its snail mail address.
31568 2012-02-09 Richard Henderson <rth@twiddle.net>
31570 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
31571 of kernel-features.h.
31573 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
31575 2012-02-08 Marek Polacek <polacek@redhat.com>
31577 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
31578 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
31579 * sysdeps/gnu/_G_config.h: Likewise.
31580 * sysdeps/generic/_G_config.h: Likewise.
31582 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
31584 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
31586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31588 * sysdeps/powerpc/powerpc32/crti.S: New file.
31589 * sysdeps/powerpc/powerpc32/crtn.S: New file.
31590 * sysdeps/powerpc/powerpc64/crti.S: New file.
31591 * sysdeps/powerpc/powerpc64/crtn.S: New file.
31593 * Makeconfig (have-initfini): Don't set.
31594 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
31595 * configure.in (nopic_initfini): Don't substitute.
31596 * config.h.in (HAVE_INITFINI): Don't #undef.
31597 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
31598 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
31600 2012-02-08 Joseph Myers <joseph@codesourcery.com>
31602 Support crti.S and crtn.S provided directly by architectures.
31603 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
31604 [crti.S in sysdirs] (omit-deps): Likewise.
31605 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
31606 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
31607 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
31608 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
31609 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
31610 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
31611 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
31612 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
31613 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
31614 compiler output for sysdeps/generic/initfini.c.
31615 * sysdeps/i386/elf/Makefile: Remove file.
31616 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
31618 2012-02-07 Marek Polacek <polacek@redhat.com>
31620 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
31621 * sysdeps/gnu/_G_config.h: Likewise.
31622 * sysdeps/mach/hurd/_G_config.h: Likewise.
31624 2012-02-07 Marek Polacek <polacek@redhat.com>
31626 * math/Makefile (tests): Add tst-CMPLX2.
31627 * math/tst-CMPLX2.c: New file.
31629 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
31631 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31633 * math/libm-test.inc (jn_test): Add missing L suffix.
31635 2012-02-06 Marek Polacek <polacek@redhat.com>
31637 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
31638 * sysdeps/i386/fpu/e_powf.S: Likewise.
31639 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31640 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31641 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31642 * sysdeps/i386/fpu/e_pow.S: Likewise.
31643 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31644 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31645 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31646 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31647 * sysdeps/i386/fpu/e_log2.S: Likewise.
31648 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31649 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31650 * sysdeps/i386/fpu/e_powl.S: Likewise.
31651 * sysdeps/i386/fpu/s_log1p.S: Likewise.
31652 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31653 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31654 * sysdeps/i386/fpu/e_logl.S: Likewise.
31655 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31656 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
31657 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31658 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31659 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31660 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31661 * sysdeps/i386/fpu/e_log.S: Likewise.
31662 * sysdeps/i386/fpu/s_cexp.S: Likewise.
31663 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31664 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
31665 * sysdeps/i386/fpu/e_logf.S: Likewise.
31666 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31667 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31668 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
31669 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31670 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31671 * sysdeps/i386/fpu/e_log10.S: Likewise.
31672 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31673 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31674 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31675 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31676 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31677 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31678 * sysdeps/i386/asm-syntax.h: Likewise.
31679 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31680 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31681 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31682 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
31683 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
31684 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31685 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31686 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31687 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31688 * sysdeps/powerpc/sysdep.h: Likewise.
31689 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
31690 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31692 2012-02-06 Joseph Myers <joseph@codesourcery.com>
31695 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
31697 2012-02-06 Joseph Myers <joseph@codesourcery.com>
31699 * sysdeps/i386/sysdep.h: Include <features.h>.
31700 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
31703 2012-02-05 Joseph Myers <joseph@codesourcery.com>
31705 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31707 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31710 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31712 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
31713 (SETUP_PIC_REG): Use GET_PC_THUNK.
31714 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31717 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31719 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31720 for non-PIC compilation.
31721 (SETUP_PIC_REG): Add .p2align directive.
31722 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31723 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31724 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31725 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31726 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31727 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31728 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31729 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31730 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31731 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31732 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31733 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31734 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31735 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31736 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31737 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31738 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31739 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31740 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31741 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31742 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31743 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31744 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31745 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31746 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31747 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31748 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31749 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31750 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31751 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31752 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31753 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31754 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31755 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31756 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31757 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31758 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31759 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31760 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31761 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31762 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31764 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31766 * math/tst-CMPLX.c: Include <stdio.h>.
31768 2012-01-31 Joseph Myers <joseph@codesourcery.com>
31770 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31772 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31773 * sysdeps/sparc/bits/mathdef.h: Likewise.
31775 2012-01-31 Marek Polacek <polacek@redhat.com>
31777 * libio/libio.h: Don't define _PARAMS.
31778 * locale/programs/config.h: Don't define PARAMS.
31779 * stdlib/strtol_l.c: Likewise.
31780 (__strtol_l): Remove PARAMS from the prototype.
31782 2012-01-31 Ulrich Drepper <drepper@gmail.com>
31784 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
31785 names. Just use the correct names. Remove unnecessary wrapper
31787 * malloc/arena.c: Likewise.
31788 * malloc/hooks.c: Likewise.
31790 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31791 ARENA_TEST says not to. Simplify test for creation of a new arena.
31792 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31794 2012-01-30 Ulrich Drepper <drepper@gmail.com>
31796 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31798 (update_get_addr): New function.
31799 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31800 GET_ADDR_MODULE parameter.
31802 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31804 * crypt/cert.c: Remove __STDC__ conditionals.
31805 * crypt/crypt-entry.c: Likewise.
31806 * crypt/crypt_util.c: Likewise.
31807 * libio/filedoalloc.c: Likewise.
31808 * libio/fileops.c: Likewise.
31809 * libio/genops.c: Likewise.
31810 * libio/iofclose.c: Likewise.
31811 * libio/iofdopen.c: Likewise.
31812 * libio/iofopen.c: Likewise.
31813 * libio/iofopen64.c: Likewise.
31814 * libio/iogetdelim.c: Likewise.
31815 * libio/iopopen.c: Likewise.
31816 * libio/obprintf.c: Likewise.
31817 * libio/oldfileops.c: Likewise.
31818 * libio/oldiofclose.c: Likewise.
31819 * libio/oldiofdopen.c: Likewise.
31820 * libio/oldiofopen.c: Likewise.
31821 * libio/oldiopopen.c: Likewise.
31822 * libio/wfiledoalloc.c: Likewise.
31823 * libio/wgenops.c: Likewise.
31824 * locale/programs/xmalloc.c: Likewise.
31825 * misc/syslog.c: Likewise.
31826 * stdio-common/xbug.c: Likewise.
31827 * string/memchr.c: Likewise.
31828 * string/memcmp.c: Likewise.
31829 * string/memrchr.c: Likewise.
31830 * string/rawmemchr.c: Likewise.
31831 * sysdeps/posix/getcwd.c: Likewise.
31832 * time/strftime_l.c: Likewise.
31834 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31836 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31837 * config.make.in (config-cflags-sse2avx): Define.
31838 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31841 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
31843 * scripts/config.guess: Update from upstream config git repository.
31844 * scripts/config.sub: Likewise.
31846 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
31848 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31850 (R_TILEPRO_*, R_TILEGX_*): New macros.
31852 * scripts/firstversions.awk: Fix bug in version range handling.
31854 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31856 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31858 * include/sys/epoll.h: New file.
31859 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31862 2012-01-28 Ulrich Drepper <drepper@gmail.com>
31864 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31865 Avoid unnecessary __WORDSIZE == 64 test.
31866 (fmaxf): Use VEX format if possible.
31871 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31872 * math/math_private.h: Remove libc_fegetround* and
31874 * sysdeps/i386/configure.in: Check for -msse2avx.
31875 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31876 also if SSE2AVX is defined.
31877 Remove libc_fegetround* and libc_fesetround*.
31878 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31879 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
31880 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31882 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31883 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31884 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31885 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31886 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31888 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31890 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31892 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31894 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31896 2012-01-27 Ulrich Drepper <drepper@gmail.com>
31899 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31901 * Makeconfig (libm): Define.
31902 * elf/Makefile: Add rules to build and run tst-relsort1.
31903 * elf/tst-relsort1.c: New file.
31904 * elf/tst-relsort1mod1.c: New file.
31905 * elf/tst-relsort1mod2.c: New file.
31907 2012-01-27 Joseph Myers <joseph@codesourcery.com>
31909 * math/s_ldexp.c: Remove __STDC__ conditionals.
31910 * math/s_ldexpf.c: Likewise.
31911 * math/s_ldexpl.c: Likewise.
31912 * math/s_nextafter.c: Likewise.
31913 * math/s_nexttowardf.c: Likewise.
31914 * math/s_significand.c: Likewise.
31915 * math/s_significandf.c: Likewise.
31916 * math/s_significandl.c: Likewise.
31917 * math/w_jnl.c: Likewise.
31918 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31919 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31920 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31921 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31922 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31923 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31924 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31925 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31926 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31927 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31928 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31929 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31930 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31931 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31932 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31933 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31934 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31935 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31936 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31937 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31938 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31939 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31940 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31941 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31942 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31943 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31944 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31945 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31946 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31947 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31948 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31949 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31950 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31951 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31952 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31953 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31954 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31955 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31956 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31957 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31958 * sysdeps/ieee754/k_standard.c: Likewise.
31959 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31960 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31961 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31962 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31963 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31964 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31965 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31966 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31967 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31968 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31969 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31970 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31971 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31972 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31973 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31974 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31975 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31976 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31977 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31978 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31979 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31980 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31981 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31982 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31983 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31984 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31985 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31986 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31987 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31988 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31989 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31990 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31991 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31992 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31993 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31994 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31995 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31996 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31997 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31998 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31999 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
32000 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32001 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32002 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
32003 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32004 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32005 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32006 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32007 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32008 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32009 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
32010 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32011 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32012 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32013 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32014 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32015 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32016 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32017 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32018 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32019 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32020 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32021 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32022 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32023 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32024 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32025 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32026 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32027 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32028 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32029 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32030 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32031 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32032 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32033 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32034 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32035 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32036 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32037 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32038 * sysdeps/ieee754/s_matherr.c: Likewise.
32039 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32040 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32041 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32042 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32044 2012-01-26 Joseph Myers <joseph@codesourcery.com>
32046 * crypt/md5.h: Remove __STDC__ conditionals.
32047 * libio/libioP.h: Likewise.
32048 * locale/programs/config.h: Likewise.
32049 * sysdeps/generic/sysdep.h: Likewise.
32050 * sysdeps/i386/asm-syntax.h: Likewise.
32051 * sysdeps/s390/asm-syntax.h: Likewise.
32052 * sysdeps/unix/sysdep.h: Likewise.
32053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32056 2012-01-26 Joseph Myers <joseph@codesourcery.com>
32058 * libio/libio.h: Remove __STDC__ conditionals.
32059 * malloc/obstack.h: Likewise.
32060 * math/complex.h: Likewise.
32061 * math/math.h: Likewise.
32062 * sysdeps/generic/_G_config.h: Likewise.
32063 * sysdeps/gnu/_G_config.h: Likewise.
32064 * sysdeps/mach/hurd/_G_config.h: Likewise.
32065 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32066 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32067 * sysdeps/sparc/bits/mathdef.h: Likewise.
32069 2012-01-26 Ulrich Drepper <drepper@gmail.com>
32072 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
32073 Clean up HAS_* macros.
32074 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
32075 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
32077 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
32079 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32080 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32081 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32082 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32083 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32085 2012-01-25 Joseph Myers <joseph@codesourcery.com>
32087 * elf/tst-unique3.cc (gets): Remove declaration.
32088 * elf/tst-unique3lib.cc (gets): Likewise.
32089 * elf/tst-unique3lib2.cc (gets): Likewise.
32090 * elf/tst-unique4.cc (gets): Likewise.
32092 2012-01-24 Ulrich Drepper <drepper@gmail.com>
32094 * include/stdio.h: Add C++ protection. Add gets declarations and
32096 * debug/tst-chk1.c: Don't declare gets here.
32097 * stdio-common/tst-gets.c: Likewise.
32099 2012-01-24 Joseph Myers <joseph@codesourcery.com>
32101 * posix/glob: Remove directory.
32103 2012-01-24 Joseph Myers <joseph@codesourcery.com>
32105 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
32107 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
32109 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
32110 of the non-standard EPFNOSUPPORT.
32112 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
32114 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
32115 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
32116 ANYWHERE set to 1 only on KERN_NO_SPACE error.
32118 2012-01-21 Ulrich Drepper <drepper@gmail.com>
32120 * wcsmbs/uchar.h: Test __STDC_VERSION__.
32122 2012-01-20 Ulrich Drepper <drepper@gmail.com>
32124 * nscd/aicache.c (addhstaiX): Do not cache negative results of
32126 * nscd/grpcache.c (cache_addgr): Likewise.
32127 * nscd/hstcache.c (cache_addhst): Likewise.
32128 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32129 * nscd/pwdcache.c (cache_addpw): Likewise.
32130 * nscd/servicescache.c (cache_addserv): Likewise.
32132 2012-01-16 Ulrich Drepper <drepper@gmail.com>
32134 * malloc/malloc.c: Various cleanups.
32135 * malloc/hooks.c: Likewise.
32137 * stdlib/Makefile (tests): Add bug-fmtmsg1.
32138 * stdlib/bug-fmtmsg1.c: New file.
32140 * stdlib/fmtmsg.c (init): Add missing unlock.
32141 Patch by Peng Haitao <penght@cn.fujitsu.com>.
32143 2012-01-12 Marek Polacek <polacek@redhat.com>
32145 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
32148 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32150 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
32151 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
32152 macro to ensure uniqueness of label name.
32153 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32154 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32156 2012-01-11 Ulrich Drepper <drepper@gmail.com>
32158 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
32160 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
32161 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32162 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32163 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
32165 2012-01-10 Ulrich Drepper <drepper@gmail.com>
32167 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
32169 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
32170 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32171 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32173 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
32175 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
32176 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32177 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32178 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
32180 * math/bits/math-finite.h: Add ldexp support.
32182 2012-01-10 Marek Polacek <polacek@redhat.com>
32184 * locale/programs/localedef.h (show_archive_content): Add noreturn
32187 2012-01-09 Ulrich Drepper <drepper@gmail.com>
32189 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
32191 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32193 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
32195 * io/Makefile (headers): Add bits/poll2.h.
32197 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
32199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
32200 typo #include statement.
32202 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32204 * include/sys/cdefs.h: Define __attribute_alloc_size.
32205 * catgets/gencat.c: Add alloc_size attribute and apply consistently
32206 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
32207 * elf/pldd.c: Likewise.
32208 * iconv/iconv_charmap.c: Likewise.
32209 * iconv/iconvconfig.c: Likewise.
32210 * iconv/strtab.c: Likewise.
32211 * locale/programs/locale.c: Likewise.
32212 * locale/programs/localedef.h: Likewise.
32213 * locale/programs/simple-hash.c: Likewise.
32214 * nscd/nscd.h: Likewise.
32215 * nss/makedb.c: Likewise.
32216 * sysdeps/generic/ldconfig.h: Likewise.
32217 * locale/programs/localedef.c: Remove xmalloc prototype.
32218 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
32220 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32222 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
32225 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32227 * math/Makefile (tests): Add tst-CMPLX.
32228 * math/tst-CMPLX.c: New file.
32230 * math/complex.h (CMPLXL): Fix typo.
32232 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
32233 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
32235 * debug/tst-chk1.c: Add poll and ppoll tests.
32236 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
32237 * include/sys/poll.h: Add hidden proto for ppoll.
32238 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
32239 * sysdeps/mach/hurd/ppoll.c: Likewise.
32240 * io/ppoll.c: Likewise.
32241 * debug/poll_chk.c: New file.
32242 * debug/ppoll_chk.c: New file.
32243 * include/bits/poll2.h: New file.
32244 * io/bits/poll2.h: New file.
32247 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
32249 * configure.in: static is always set to yes. Remove.
32250 * config.make.in: Don't set build-static.
32251 * Makeconfig: Remove use of build-static.
32252 * dlfcn/Makefile: Likewise.
32253 * elf/Makefile: Likewise.
32254 * math/Makefile: Likewise.
32255 * misc/Makefile: Likewise.
32256 * nptl/Makefile: Likewise.
32257 * sysdeps/mach/hurd/Makefile: Likewise.
32259 * configure.in: PWD_P is not used anymore.
32260 * config.make.in: Remove PWD_P entry.
32262 * configure.in: Remove last remnants of RANLIB.
32263 No need to check for signed size_t anymore.
32264 Don't set libc_commonpagesize and libc_relro_required here for Alpha
32266 Remove __builtin_expect test because we require at least gcc 3.4.
32267 * aclocal.m4: Likewise.
32269 * wcsmbs/mbrtoc16.c: Implement using towc function.
32270 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
32271 * wcsmbs/wcsmbsload.c: Likewise.
32272 * iconv/gconv_simple.c: Likewise.
32273 * iconv/gconv_int.h: Likewise.
32274 * iconv/gconv_builtin.h: Likewise.
32275 * iconv/iconv_prog.c: Remove CHAR16 handling.
32277 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
32279 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
32281 * configure.in: Remove --with-elf and --enable-bounded options.
32282 Dont set base_machine for ia64. More non-ELF conditions removed.
32283 Remove testing and setting of leading underscore information.
32284 * config.make.in (build-bounded): Set to no.
32285 * config.h.in: Remove NO_UNDERSCORES entry.
32286 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
32288 * csu/start.c: Remove !NO_UNDERSCORE code.
32289 * locale/localeinfo.h: Likewise.
32290 * sysdeps/generic/machine-gmon.h: Likewise.
32291 * sysdeps/generic/sysdep.h: Likewise.
32292 * sysdeps/i386/sysdep.h: Likewise.
32293 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32294 * sysdeps/mach/sysdep.h: Likewise.
32295 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32296 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32297 * sysdeps/sh/sysdep.h: Likewise.
32298 * sysdeps/sparc/sparc32/alloca.S: Likewise.
32299 * sysdeps/unix/i386/sysdep.S: Likewise.
32300 * sysdeps/unix/sparc/start.c: Likewise.
32301 * sysdeps/unix/sparc/sysdep.S: Likewise.
32302 * sysdeps/unix/sparc/sysdep.h: Likewise.
32303 * sysdeps/unix/start.c: Likewise.
32304 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32305 * sysdeps/x86_64/sysdep.h: Likewise.
32307 2012-01-07 Ulrich Drepper <drepper@gmail.com>
32310 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
32312 * argp/argp-fmtstream.h: Use const instead __const.
32313 * argp/argp.h: Likewise.
32314 * assert/assert.h: Likewise.
32315 * bits/fenv.h: Likewise.
32316 * bits/sched.h: Likewise.
32317 * bits/sigset.h: Likewise.
32318 * bits/sigthread.h: Likewise.
32319 * catgets/nl_types.h: Likewise.
32320 * conform/data/pthread.h-data: Likewise.
32321 * crypt/crypt-private.h: Likewise.
32322 * crypt/crypt.h: Likewise.
32323 * crypt/crypt_util.c: Likewise.
32324 * ctype/ctype.h: Likewise.
32325 * debug/execinfo.h: Likewise.
32326 * debug/mbsnrtowcs_chk.c: Likewise.
32327 * debug/mbsrtowcs_chk.c: Likewise.
32328 * debug/wcsnrtombs_chk.c: Likewise.
32329 * debug/wcsrtombs_chk.c: Likewise.
32330 * debug/wcstombs_chk.c: Likewise.
32331 * dirent/dirent.h: Likewise.
32332 * dlfcn/dlfcn.h: Likewise.
32333 * elf/neededtest4.c: Likewise.
32334 * grp/grp.h: Likewise.
32335 * gshadow/gshadow.h: Likewise.
32336 * iconv/gconv.h: Likewise.
32337 * iconv/gconv_int.h: Likewise.
32338 * iconv/gconv_simple.c: Likewise.
32339 * iconv/iconv.h: Likewise.
32340 * iconv/loop.c: Likewise.
32341 * iconv/skeleton.c: Likewise.
32342 * include/aio.h: Likewise.
32343 * include/aliases.h: Likewise.
32344 * include/argz.h: Likewise.
32345 * include/arpa/inet.h: Likewise.
32346 * include/assert.h: Likewise.
32347 * include/dirent.h: Likewise.
32348 * include/dlfcn.h: Likewise.
32349 * include/execinfo.h: Likewise.
32350 * include/fcntl.h: Likewise.
32351 * include/fenv.h: Likewise.
32352 * include/glob.h: Likewise.
32353 * include/grp.h: Likewise.
32354 * include/libintl.h: Likewise.
32355 * include/mntent.h: Likewise.
32356 * include/netdb.h: Likewise.
32357 * include/pwd.h: Likewise.
32358 * include/rpc/netdb.h: Likewise.
32359 * include/sched.h: Likewise.
32360 * include/search.h: Likewise.
32361 * include/shadow.h: Likewise.
32362 * include/signal.h: Likewise.
32363 * include/stdio.h: Likewise.
32364 * include/stdlib.h: Likewise.
32365 * include/string.h: Likewise.
32366 * include/sys/socket.h: Likewise.
32367 * include/sys/stat.h: Likewise.
32368 * include/sys/statfs.h: Likewise.
32369 * include/sys/statvfs.h: Likewise.
32370 * include/sys/syslog.h: Likewise.
32371 * include/sys/time.h: Likewise.
32372 * include/sys/uio.h: Likewise.
32373 * include/time.h: Likewise.
32374 * include/unistd.h: Likewise.
32375 * include/utmp.h: Likewise.
32376 * include/wchar.h: Likewise.
32377 * include/wctype.h: Likewise.
32378 * inet/aliases.h: Likewise.
32379 * inet/arpa/inet.h: Likewise.
32380 * inet/netinet/ether.h: Likewise.
32381 * inet/netinet/in.h: Likewise.
32382 * intl/libintl.h: Likewise.
32383 * io/bits/fcntl2.h: Likewise.
32384 * io/fcntl.h: Likewise.
32385 * io/ftw.h: Likewise.
32386 * io/sys/poll.h: Likewise.
32387 * io/sys/stat.h: Likewise.
32388 * io/sys/statfs.h: Likewise.
32389 * io/sys/statvfs.h: Likewise.
32390 * io/utime.h: Likewise.
32391 * libio/bits/stdio.h: Likewise.
32392 * libio/bits/stdio2.h: Likewise.
32393 * libio/libio.h: Likewise.
32394 * libio/libioP.h: Likewise.
32395 * libio/stdio.h: Likewise.
32396 * locale/lc-ctype.c: Likewise.
32397 * locale/locale.h: Likewise.
32398 * login/utmp.h: Likewise.
32399 * malloc/arena.c: Likewise.
32400 * malloc/malloc.c: Likewise.
32401 * malloc/malloc.h: Likewise.
32402 * malloc/mcheck.c: Likewise.
32403 * malloc/mtrace.c: Likewise.
32404 * math/bits/mathcalls.h: Likewise.
32405 * math/fenv.h: Likewise.
32406 * math/math_private.h: Likewise.
32407 * misc/bits/error.h: Likewise.
32408 * misc/bits/syslog.h: Likewise.
32409 * misc/err.h: Likewise.
32410 * misc/error.h: Likewise.
32411 * misc/fstab.h: Likewise.
32412 * misc/mntent.h: Likewise.
32413 * misc/regexp.h: Likewise.
32414 * misc/search.h: Likewise.
32415 * misc/sgtty.h: Likewise.
32416 * misc/sys/mman.h: Likewise.
32417 * misc/sys/syslog.h: Likewise.
32418 * misc/sys/uio.h: Likewise.
32419 * misc/sys/xattr.h: Likewise.
32420 * misc/ttyent.h: Likewise.
32421 * nis/rpcsvc/ypclnt.h: Likewise.
32422 * nss/nss.h: Likewise.
32423 * posix/bits/unistd.h: Likewise.
32424 * posix/fnmatch.h: Likewise.
32425 * posix/glob.h: Likewise.
32426 * posix/sched.h: Likewise.
32427 * posix/spawn.h: Likewise.
32428 * posix/sys/wait.h: Likewise.
32429 * posix/unistd.h: Likewise.
32430 * posix/wordexp.h: Likewise.
32431 * pwd/pwd.h: Likewise.
32432 * resolv/netdb.h: Likewise.
32433 * resource/sys/resource.h: Likewise.
32434 * rt/aio.h: Likewise.
32435 * rt/bits/mqueue2.h: Likewise.
32436 * rt/mqueue.h: Likewise.
32437 * shadow/shadow.h: Likewise.
32438 * signal/signal.h: Likewise.
32439 * socket/send.c: Likewise.
32440 * socket/sendto.c: Likewise.
32441 * socket/sys/socket.h: Likewise.
32442 * stdio-common/printf.h: Likewise.
32443 * stdlib/bits/stdlib.h: Likewise.
32444 * stdlib/fmtmsg.h: Likewise.
32445 * stdlib/monetary.h: Likewise.
32446 * stdlib/stdlib.h: Likewise.
32447 * stdlib/ucontext.h: Likewise.
32448 * streams/stropts.h: Likewise.
32449 * string/argz.h: Likewise.
32450 * string/bits/string2.h: Likewise.
32451 * string/string.h: Likewise.
32452 * string/strings.h: Likewise.
32453 * sunrpc/rpc/auth.h: Likewise.
32454 * sunrpc/rpc/auth_des.h: Likewise.
32455 * sunrpc/rpc/clnt.h: Likewise.
32456 * sunrpc/rpc/netdb.h: Likewise.
32457 * sunrpc/rpc/pmap_clnt.h: Likewise.
32458 * sunrpc/rpc/xdr.h: Likewise.
32459 * sysdeps/generic/inttypes.h: Likewise.
32460 * sysdeps/generic/net/if.h: Likewise.
32461 * sysdeps/generic/sys/swap.h: Likewise.
32462 * sysdeps/gnu/net/if.h: Likewise.
32463 * sysdeps/gnu/utmpx.h: Likewise.
32464 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
32465 * sysdeps/i386/i486/bits/string.h: Likewise.
32466 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
32467 * sysdeps/s390/bits/string.h: Likewise.
32468 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
32469 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
32470 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32471 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
32472 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
32473 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
32474 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
32475 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
32476 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
32477 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32478 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
32479 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32480 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
32481 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32482 * sysdeps/unix/sysv/linux/readv.c: Likewise.
32483 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
32484 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
32485 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32486 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32487 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32488 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32489 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
32490 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
32491 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
32492 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
32493 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
32494 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
32495 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32496 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
32497 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
32498 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
32499 * sysvipc/sys/ipc.h: Likewise.
32500 * sysvipc/sys/msg.h: Likewise.
32501 * sysvipc/sys/sem.h: Likewise.
32502 * sysvipc/sys/shm.h: Likewise.
32503 * termios/termios.h: Likewise.
32504 * time/sys/time.h: Likewise.
32505 * time/time.h: Likewise.
32506 * wcsmbs/bits/wchar2.h: Likewise.
32507 * wcsmbs/uchar.h: Likewise.
32508 * wcsmbs/wchar.h: Likewise.
32509 * wctype/wctype.h: Likewise.
32512 * Makeconfig: Remove all but ELF support including AIX support.
32513 * Makerules: Likewise.
32514 * config.h.in: Likewise.
32515 * config.make.in: Likewise.
32516 * configure: Likewise.
32517 * configure.in: Likewise.
32518 * csu/Makefile: Likewise.
32519 * csu/version.c: Likewise.
32520 * debug/Makefile: Likewise.
32521 * dlfcn/Makefile: Likewise.
32522 * elf/Makefile: Likewise.
32523 * extra-lib.mk: Likewise.
32524 * iconv/Makefile: Likewise.
32525 * include/libc-symbols.h: Likewise.
32526 * include/shlib-compat.h: Likewise.
32527 * resolv/Makefile: Likewise.
32528 * resolv/res_libc.c: Likewise.
32529 * rt/Makefile: Likewise.
32530 * sysdeps/i386/asm-syntax.h: Likewise.
32531 * sysdeps/i386/sysdep.h: Likewise.
32532 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32533 * sysdeps/mach/sysdep.h: Likewise.
32534 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
32535 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
32536 * sysdeps/s390/asm-syntax.h: Likewise.
32537 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32538 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32539 * sysdeps/sh/sysdep.h: Likewise.
32540 * sysdeps/unix/sparc/sysdep.h: Likewise.
32541 * sysdeps/wordsize-32/divdi3.c: Likewise.
32542 * sysdeps/x86_64/sysdep.h: Likewise.
32544 * argp/Versions: Remove _argp_unlock_xxx.
32547 * abilist/ld.abilist: Update. Adjust for removal of tls option.
32548 * abilist/libBrokenLocale.abilist: Likewise.
32549 * abilist/libanl.abilist: Likewise.
32550 * abilist/libc.abilist: Likewise.
32551 * abilist/libcrypt.abilist: Likewise.
32552 * abilist/libdl.abilist: Likewise.
32553 * abilist/libm.abilist: Likewise.
32554 * abilist/libnsl.abilist: Likewise.
32555 * abilist/libpthread.abilist: Likewise.
32556 * abilist/libresolv.abilist: Likewise.
32557 * abilist/librt.abilist: Likewise.
32558 * abilist/libthread_db.abilist: Likewise.
32559 * abilist/libutil.abilist: Likewise.
32560 * abilist/libnss_db.abilist: New file.
32562 * scripts/abilist.awk: Add support for indirect functions.
32564 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
32566 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
32568 * shlib-versions: Remove entries for ports architectures.
32570 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
32572 * elf/stackguard-macros.h: Remove support for IA-64.
32573 * elf/tst-auditmod1.c: Likewise.
32574 * sysdeps/generic/ldsodefs.h: Likewise.
32576 * sysdeps/unix/sysv/linux/configure.in: Ports should define
32577 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
32581 * configure.in: Remove --enable-omitfp support.
32583 * config.make.in: Likewise.
32584 * Makeconfig: Likewise.
32585 * manual/install.texi: Likewise.
32587 In case anyone cares, the IA-64 architecture could move to ports.
32588 * sysdeps/ia64/*: Removed.
32589 * sysdeps/unix/sysv/linux/ia64/*: Removed.
32590 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
32593 * configure.in: Remove entries for unsupported architectures.
32596 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
32597 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
32599 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
32600 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
32601 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
32602 fall back to using wcrtomb.
32603 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
32604 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
32606 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
32607 * wcsmbs/tst-c16c32-1.c: New file.
32609 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
32612 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
32614 * elf/tst-unique3.cc: Add explicit declaration of gets.
32615 * elf/tst-unique3lib.cc: Likewise.
32616 * elf/tst-unique3lib2.cc: Likewise.
32617 * elf/tst-unique4.cc: Likewise.
32619 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
32621 2012-01-06 Joseph Myers <joseph@codesourcery.com>
32624 * assert/assert.h (static_assert): Don't define for C++.
32625 * libio/stdio.h (gets): Do declare for C++ <= C++11.
32626 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
32628 2012-01-03 Ulrich Drepper <drepper@gmail.com>
32630 * iconv/loop.c (single loop): Fix assertion in storing of
32633 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
32635 2012-01-01 Ulrich Drepper <drepper@gmail.com>
32637 * posix/getconf.c: Update copyright year.
32638 * nss/getent.c: Likewise.
32639 * nss/makedb.c: Likewise.
32640 * iconv/iconvconfig.c: Likewise.
32641 * iconv/iconv_prog.c: Likewise.
32642 * elf/ldconfig.c: Likewise.
32643 * elf/pldd.c: Likewise.
32644 * elf/sotruss.ksh: Likewise.
32645 * catgets/gencat.c: Likewise.
32646 * csu/version.c: Likewise.
32647 * elf/ldd.bash.in: Likewise.
32648 * elf/sprof.c (print_version): Likewise.
32649 * locale/programs/locale.c: Likewise.
32650 * locale/programs/localedef.c: Likewise.
32651 * login/programs/pt_chown.c: Likewise.
32652 * nscd/nscd.c (print_version): Likewise.
32653 * debug/xtrace.sh: Likewise.
32654 * malloc/memusage.sh: Likewise.
32655 * malloc/mtrace.pl: Likewise.
32656 * debug/catchsegv.sh: Likewise.
32658 2011-12-30 Jakub Jelinek <jakub@redhat.com>
32660 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
32663 2011-12-24 Ulrich Drepper <drepper@gmail.com>
32666 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
32667 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
32669 * iconv/gconv_int.h: Likewise.
32670 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
32671 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
32672 from libc for GLIBC_2.16.
32673 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
32674 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
32675 * wcsmbs/uchar.h: Really define mbstate_t.
32676 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
32677 * wcsmbs/c16rtomb.c: New file.
32678 * wcsmbs/mbrtoc16.c: New file.
32679 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
32680 for C/POSIX locale.
32681 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
32682 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
32684 * wcsmbs/wchar.h: Add missing __restrict.
32686 2011-12-23 Ulrich Drepper <drepper@gmail.com>
32689 * time/Makefile (routines): Add timespec_get.
32690 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
32691 * time/time.h: Define TIME_UTC and declare timespec_get. Define
32692 timespec for ISO C11.
32693 * time/timespec_get.c: New file.
32694 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
32695 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
32698 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
32699 * stdlib/stdlib.h: Declare aligned_alloc.
32700 * Versions.def: Add GLIBC_2.16 for libc.
32701 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
32704 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
32707 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
32711 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32714 * assert/assert.h (static_assert): Define.
32716 * version.h: Update for 2.16 development version.
32719 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32722 * version.h (RELEASE): Bump for 2.15 release.
32723 * include/features.h (__GLIBC_MINOR__): Bump to 15.
32725 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32726 Patch by Marek Polacek <mpolacek@redhat.com>.
32728 * bits/byteswap.h: Protect long long constants with __extension__.
32729 * sysdeps/i386/bits/byteswap.h: Likewise.
32730 * sysdeps/ia64/bits/byteswap.h: Likewise.
32731 * sysdeps/s390/bits/byteswap.h: Likewise.
32732 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32734 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32737 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32738 destination buffer.
32739 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32741 2011-12-23 Marek Polacek <polacek@redhat.com>
32743 * elf/dl-addr.c (determine_info): Add inline keyword.
32744 * elf/tst-auditmod4b.c (check_avx): Likewise.
32745 * elf/tst-auditmod6b.c (check_avx): Likewise.
32746 * elf/tst-auditmod6c.c (check_avx): Likewise.
32747 * elf/tst-auditmod7b.c (check_avx): Likewise.
32749 2011-12-23 Ulrich Drepper <drepper@gmail.com>
32751 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32754 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32757 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32758 processing for last bytes.
32760 2011-08-06 Bruno Haible <bruno@clisp.org>
32763 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32764 U+0385, not to U+1FEE.
32767 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32768 entry for U+00A5 U+0301.
32770 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32773 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32774 buffer for the output is too small.
32776 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32780 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32781 SSE flags if possible.
32783 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32786 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32787 processing for last bytes.
32789 2011-12-22 Joseph Myers <joseph@codesourcery.com>
32791 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32792 (syscall-list-default-options, syscall-list-default-condition)
32793 (syscall-list-includes): Define.
32794 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32795 list of ABIs and options and #if conditions for each ABI. Do not
32796 handle common syscalls between ABIs specially.
32797 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32799 (syscall-list-variants, syscall-list-32bit-options)
32800 (syscall-list-32bit-condition, syscall-list-64bit-options)
32801 (syscall-list-64bit-condition): Define.
32802 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32803 (syscall-list-variants, syscall-list-32bit-options)
32804 (syscall-list-32bit-condition, syscall-list-64bit-options)
32805 (syscall-list-64bit-condition): Define.
32806 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32808 (syscall-list-variants, syscall-list-32bit-options)
32809 (syscall-list-32bit-condition, syscall-list-64bit-options)
32810 (syscall-list-64bit-condition): Define.
32811 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32813 (syscall-list-variants, syscall-list-32bit-options)
32814 (syscall-list-32bit-condition, syscall-list-64bit-options)
32815 (syscall-list-64bit-condition): Define.
32817 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32819 * locale/iso-639.def: Add brx entry.
32822 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32823 Proposed by Mariusz_Cukr <marcukr@op.pl>.
32825 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32826 __feraiseexcept_renamed.
32828 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32831 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32832 EPOLLET with unsigned values.
32833 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32834 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32836 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32837 to large cancellation.
32838 * math/s_cacoshf.c: Likewise.
32839 * math/s_cacoshl.c: Likewise.
32841 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
32845 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32846 * math/s_cacoshf.c: Likewise.
32847 * math/s_cacoshl.c: Likewise.
32849 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32852 * iconv/gconv.h: Define __GCONV_SWAP.
32853 * iconvdata/unicode.c: The swap bit must be stored in __flags.
32854 * iconvdata/utf-16.c: Likewise.
32855 * iconvdata/utf-32.c: Likewise.
32857 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
32860 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32861 numerator after shifting it by one limb.
32863 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
32865 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32866 under [__USE_EXTERN_INLINES].
32868 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32871 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32873 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32875 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32876 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32878 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32879 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32880 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32881 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32882 for strncasecmp/strncasecmp_l compilation.
32883 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32884 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32886 2011-12-08 Marek Polacek <mpolacek@redhat.com>
32889 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32892 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32895 * time/tzfile.c (__tzfile_read): Check values from file header.
32897 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32899 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32900 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32901 * powerpc/powerpc32/dl-start.S: Likewise.
32902 * powerpc/powerpc32/elf/start.S: Likewise.
32903 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32904 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32905 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32906 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32907 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32908 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32909 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32910 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32911 * powerpc/powerpc32/fpu/s_round.S: Likewise.
32912 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32913 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32914 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32915 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32916 * powerpc/powerpc32/memset.S: Likewise.
32917 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32918 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32919 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32920 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32921 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32922 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32923 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32924 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32925 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32926 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32927 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32928 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32929 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32931 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32933 * math/libm-test.inc: Added more nearbyint tests.
32934 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32935 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32936 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32937 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32939 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
32941 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32944 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32946 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32947 Add wcscpy-ssse3 wcscpy-c.
32948 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32949 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32950 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32951 * sysdeps/x86_64/wcschr.S: New file.
32952 * sysdeps/x86_64/wcsrchr.S: New file.
32953 * string/test-strcmp.c: Remove checking of wcscmp function for
32955 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32956 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32957 wcsrchr-sse2 wcsrchr-c.
32958 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32959 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32960 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32961 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32962 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32963 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32964 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32965 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32966 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32967 * wcsmbc/wcschr.c (WCSCHR): New macro.
32969 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32971 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32972 * wcsmbs/test-wcsrchr.c: New file.
32973 * string/test-strrchr.c: Add wcsrchr support.
32975 * wcsmbs/test-wcscpy.c: New file.
32976 * string/test-strcpy.c: Add wcscpy support.
32979 2011-12-10 Ulrich Drepper <drepper@gmail.com>
32981 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32984 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
32987 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32989 2011-12-04 Ulrich Drepper <drepper@gmail.com>
32991 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
32992 Minor optimizations.
32994 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32995 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32996 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32998 2011-12-03 Ulrich Drepper <drepper@gmail.com>
33000 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
33001 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
33002 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
33003 for gcc to avoid warnings.
33004 * inet/Makefile (tests): Add tst-checks.
33005 * inet/tst-checks.c: New file.
33007 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33010 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33013 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33014 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33016 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33018 2011-12-02 Ulrich Drepper <drepper@gmail.com>
33020 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33023 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33025 2011-11-29 Joseph Myers <joseph@codesourcery.com>
33027 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33028 conditional on GCC version.
33029 (__arch_compare_and_exchange_val_8_acq)
33030 (__arch_compare_and_exchange_val_16_acq)
33031 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33032 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33033 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33035 2011-12-02 Joseph Myers <joseph@codesourcery.com>
33037 * sysdeps/sh/backtrace.c: New file.
33039 2011-12-02 Andreas Schwab <schwab@redhat.com>
33041 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
33044 2011-12-01 Andreas Schwab <schwab@redhat.com>
33046 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33047 falling back to utime.
33049 2011-11-30 Andreas Schwab <schwab@redhat.com>
33051 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
33052 expectations for float.
33054 2011-11-29 Andreas Schwab <schwab@redhat.com>
33056 * locale/weight.h (findidx): Add parameter len.
33057 * locale/weightwc.h (findidx): Likewise.
33058 * posix/fnmatch_loop.c (FCT): Adjust caller.
33059 * posix/regcomp.c (build_equiv_class): Likewise.
33060 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
33061 * posix/regexec.c (check_node_accept_bytes): Likewise.
33062 * string/strcoll_l.c (STRCOLL): Likewise.
33063 * string/strxfrm_l.c (STRXFRM): Likewise.
33065 2011-11-17 Ulrich Drepper <drepper@gmail.com>
33067 * Makefile.in: Remove CVSOPT handling.
33068 * configure.in: Remove use of AC_REVISION.
33069 * iconvdata/Makefile (distribute): No need to filter out CVS.
33070 * scripts/list-sources.sh: Remove CVS, subversion and monotone
33073 2011-11-16 Andreas Schwab <schwab@redhat.com>
33075 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
33076 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
33077 [USE_AS_STRNCASECMP_L]: Likewise.
33078 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
33079 NO_TLS_DIRECT_SEG_REFS.
33080 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
33081 Fix argument offsets for non-PIC.
33082 [USE_AS_STRNCASECMP_L]: Likewise.
33083 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
33084 NO_TLS_DIRECT_SEG_REFS.
33086 2011-11-15 Ulrich Drepper <drepper@gmail.com>
33088 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
33090 * locale/loadlocale.c (_nl_load_locale): Likewise.
33092 2011-11-15 Andreas Schwab <schwab@redhat.com>
33094 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
33095 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
33096 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
33097 (SYSCALL_GETTIME): Set errno on error.
33099 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
33100 count references to noai6ai_cached.
33102 2011-11-15 Ulrich Drepper <drepper@gmail.com>
33104 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
33106 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
33107 FD_CLOEXEC for /proc/self/maps.
33109 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
33110 FD_CLOEXEC for /proc/meminfo.
33112 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
33115 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
33116 FD_CLOEXEC for given file.
33118 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
33120 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
33121 FD_CLOEXEC for /etc/hosts.
33122 (_gethtent): Likewise.
33124 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
33126 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
33127 cancellation and set FD_CLOEXEC for /etc/netgroup.
33129 * nss/nss_files/files-key.c (search): Don't allow cancellation when
33130 reading /etc/publickey.
33132 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
33133 allow cancellation when reading /etc/group.
33135 * nss/nss_files/files-alias.c (internal_setent): Don't allow
33137 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
33139 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
33140 when using data file.
33142 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
33144 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
33145 (write_nis_obj): Use "c" and "e" in fopen.
33147 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
33149 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
33151 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
33153 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
33155 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
33158 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
33160 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
33162 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
33164 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
33165 file parsing and set FD_CLOEXEC.
33167 2011-11-14 Ulrich Drepper <drepper@gmail.com>
33169 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
33171 2011-11-14 Andreas Schwab <schwab@redhat.com>
33173 * malloc/arena.c (arena_get2): Don't call reused_arena when
33174 _int_new_arena failed.
33176 2011-11-14 Ulrich Drepper <drepper@gmail.com>
33178 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
33179 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
33180 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
33181 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33182 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33183 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
33184 to compile strcasecmp and strncasecmp.
33185 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
33186 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
33188 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
33190 2011-11-13 Ulrich Drepper <drepper@gmail.com>
33192 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
33193 locale-defines.sym to gen-as-const-headers.
33194 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
33195 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
33196 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
33197 to compile strcasecmp and strncasecmp.
33198 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
33199 strcasecmp_l and strncasecmp_l.
33200 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
33201 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
33202 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
33203 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
33204 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
33205 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
33206 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
33207 * sysdeps/i386/i686/multiarch/strncase.S: New file.
33208 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
33209 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
33210 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
33212 2011-11-12 Ulrich Drepper <drepper@gmail.com>
33214 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
33215 result of SYSDEP_GETTIME_CPU to retval.
33216 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
33217 parameter list to macro. Remove trailing semicolon. Adjust users.
33219 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
33222 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
33224 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33226 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
33227 from unused variable.
33229 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
33231 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
33234 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
33237 * sunrpc/rpc_prot.c (rejected): Fix case value.
33239 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
33240 unsigned long long int to avoid warnings in shift.
33242 * posix/regex_internal.c (re_string_reconstruct): Actually use result
33244 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
33247 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
33248 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
33249 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
33251 * nis/nis_table.c (nis_list): Use variable of correct type for
33252 result of __follow_path call.
33254 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33256 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
33257 of math functions ceil, trunc, floor, round, and sqrt, when
33258 avaliable on the platform.
33259 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
33261 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33262 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33263 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33265 2011-10-30 Marek Polacek <mpolacek@redhat.com>
33267 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
33268 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33270 2011-11-11 Roland McGrath <roland@hack.frob.com>
33272 * include/unistd.h: Fix __readlink return type.
33273 Reported by Chris Metcalf <cmetcalf@tilera.com>.
33275 2011-11-11 Ulrich Drepper <drepper@gmail.com>
33277 * stdlib/ucontext.h: Undo last change for makecontext.
33279 2011-11-11 Andreas Schwab <schwab@redhat.com>
33281 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
33283 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
33284 * setjmp/setjmp.h: Mark functions as non-leaf.
33285 * setjmp/bits/setjmp2.h: Likewise.
33286 * stdlib/ucontext.h: Likewise.
33288 2011-11-10 Andreas Schwab <schwab@redhat.com>
33290 * malloc/arena.c (_int_new_arena): Don't increment narenas.
33291 (reused_arena): Don't check arena limit.
33292 (arena_get2): Atomically check arena limit.
33294 2011-11-08 Ulrich Drepper <drepper@gmail.com>
33296 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
33297 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
33299 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
33302 2011-11-07 Andreas Schwab <schwab@redhat.com>
33304 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
33305 handler when locking.
33307 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33308 Fix size of allocated buffer.
33310 2011-11-04 Andreas Schwab <schwab@redhat.com>
33313 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
33314 declarations for long double functions.
33315 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
33317 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
33319 2011-11-03 Andreas Schwab <schwab@redhat.com>
33321 * nscd/nscd.c (main): Don't start AVC thread until credentials are
33324 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
33327 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33329 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
33331 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
33333 * include/alloca.h (stackinfo_alloca_round): Define.
33334 (extend_alloca): Use it.
33335 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
33336 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
33339 * scripts/check-local-headers.sh: Ignore libaudit.h.
33341 * nscd/Makefile (extra-objs): Make recursively expanded.
33343 2011-11-01 Ulrich Drepper <drepper@gmail.com>
33345 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
33346 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33348 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
33349 * posix/tst-rfc3484-2.c: Likewise.
33350 * posix/tst-rfc3484-3.c: Likewise.
33352 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33354 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
33356 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
33357 process_vm_writev from libc using GLIBC_2.15 version.
33359 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
33361 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
33363 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
33366 2011-10-31 Ulrich Drepper <drepper@gmail.com>
33369 * nss/getent.c (initgroups_keys): Show error message in case no group
33372 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
33373 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
33374 __bump_nl_timestamp.
33375 * nscd/connections (nscd_init): When host database is served open
33376 netlink socket and request notification about configuration changes.
33377 (main_loop_poll): Track netlink file descriptor and bump timestamp
33378 in case data becomes available.
33379 (main_loop_epoll): Likewise.
33380 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
33381 (database_pers_head): Add extra_data fileds.
33382 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
33383 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
33384 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
33386 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
33387 in6ai data, call __free_in6ai.
33388 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
33389 Add -DHAVE_NETLINK.
33390 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
33391 interface information. Reuse previous data if netlink timestamp
33393 (__bump_nl_timestamp): New function.
33394 (__free_in6ai): New function.
33396 2011-10-30 Ulrich Drepper <drepper@gmail.com>
33398 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
33399 close_not_cancel_no_status here.
33400 (__check_pf): Reorganize code a bit to not call close twice if OOM.
33402 2011-10-29 Ulrich Drepper <drepper@gmail.com>
33405 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
33408 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
33409 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
33410 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
33412 2011-07-03 Andreas Jaeger <aj@suse.de>
33415 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
33416 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
33417 * math/libm-test.inc (sin_test): Add test case.
33419 2011-10-29 Ulrich Drepper <drepper@gmail.com>
33422 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
33423 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33425 * elf/chroot_canon.c (chroot_canon): Cleanups.
33427 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
33430 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
33431 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33433 * string/test-strchr.c: Make usable for strchrnul testing.
33434 * string/test-strchrnul.c: New file.
33435 * string/Makefile (strop-tests): Add strchrnul.
33437 * po/it.po: Update from translation team.
33438 * po/es.po: Likewise.
33440 2011-10-28 Ulrich Drepper <drepper@gmail.com>
33442 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
33443 the three constants needed as parameters. Drop the others.
33444 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
33445 __m128i_strloadu_tolower.
33446 Create and initialize variable zero and use it in all the places
33447 where _mm_setzero_si128 was used.
33449 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
33450 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
33451 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
33452 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
33454 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
33455 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
33456 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
33457 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
33458 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
33459 __mpranred, __mptan.
33460 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
33461 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
33462 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
33463 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
33464 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
33465 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
33466 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
33467 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
33468 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
33470 2011-10-28 Andreas Schwab <schwab@redhat.com>
33472 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
33473 redefine if SHARED.
33474 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
33476 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
33477 wide char related routines to wcsmbs subdir.
33479 2011-10-27 Andreas Schwab <schwab@redhat.com>
33482 * misc/sys/cdefs.h (__THROWNL): Define.
33483 * posix/unistd.h: Use __THREADNL instead of __THREAD
33484 for memory synchronization functions.
33486 2011-10-26 Roland McGrath <roland@hack.frob.com>
33489 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
33491 * manual/stdio.texi (Obstack Streams): Node removed.
33493 2011-10-26 Andreas Schwab <schwab@redhat.com>
33495 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
33496 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33497 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33499 * math/math_private.h (math_force_eval): Allow non-addressable
33501 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
33503 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33505 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
33506 file is not needed.
33508 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
33509 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33510 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33511 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33512 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33513 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33514 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33515 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
33517 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
33518 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
33519 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
33520 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
33521 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
33522 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
33523 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
33524 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
33525 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
33526 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
33527 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
33528 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
33529 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
33530 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
33531 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
33532 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
33533 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
33534 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
33535 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
33537 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
33538 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
33540 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
33541 place. Use VEX encoding when compiling for AVX.
33543 2011-10-25 Andreas Schwab <schwab@redhat.com>
33545 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
33546 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33548 * string/test-strchr.c (do_test): Don't generate NUL bytes.
33550 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33552 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
33553 useless if() expression.
33554 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33555 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33556 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33557 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33558 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33559 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33560 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33561 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33562 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33563 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33564 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33565 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33566 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33567 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33568 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33569 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33570 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33571 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33572 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33574 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
33576 2011-10-25 Andreas Schwab <schwab@redhat.com>
33578 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
33580 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33582 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33584 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
33585 .text section. Avoid duplicate constants.
33586 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33587 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33588 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33589 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33590 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33591 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33592 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33593 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33594 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33595 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
33596 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33597 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33598 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33599 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33600 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33601 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33602 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33603 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33604 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33605 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33606 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33607 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33608 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33609 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
33610 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
33611 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
33612 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
33613 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
33614 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
33615 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
33616 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
33617 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
33618 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33619 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
33620 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
33621 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
33622 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
33623 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
33624 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
33625 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
33626 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
33627 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
33628 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
33629 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
33630 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
33632 2011-10-24 Ulrich Drepper <drepper@gmail.com>
33634 * sysdeps/x86_64/dla.h: Move to ...
33635 * sysdeps/x86_64/fpu/dla.h: ...here.
33636 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
33637 situations. Use __builtin_fma only for gcc 4.6 and up.
33639 * config.make.in: Add have-mfma4 entry.
33640 * configure.in: Substitute libc_cv_cc_fma4.
33641 * math/Makefile (dbl-only-routines): Add sincostab.
33642 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
33643 Use __sincostab not sincos.
33644 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
33646 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33647 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33648 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33649 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
33651 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
33652 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
33653 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
33654 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
33656 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
33657 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
33659 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
33660 define aliases when function name is a macro.
33661 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
33662 sysdeps/ieee754/dbl-64/sincos.tbl.
33663 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
33664 fma4-enabled routines.
33665 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
33666 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
33667 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
33668 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
33669 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
33670 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
33671 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
33672 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
33673 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
33674 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
33675 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
33676 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
33677 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
33678 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
33679 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
33680 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
33681 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
33682 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
33683 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
33684 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
33685 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
33686 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
33687 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
33688 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
33689 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
33690 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
33691 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
33692 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
33693 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
33694 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
33696 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
33698 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33699 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33700 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33701 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33702 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33703 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33704 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33705 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33707 2011-10-24 Andreas Schwab <schwab@redhat.com>
33709 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33711 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33713 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33715 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33717 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33719 * string/strnlen.c: Don't define STRNLEN, reverse logic.
33720 Remove unused variable magic_bits.
33721 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33723 * string/strnlen.c: Define and use STRNLEN macro.
33724 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33725 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33726 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33727 * wcsmbs/wcslen.c: Define and use WCSLEN.
33728 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33729 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33730 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33731 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33732 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33733 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33734 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33736 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33738 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33739 strnlen-sse2-no-bsf.
33740 Rename strlen-no-bsf to strlen-sse2-no-bsf.
33741 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33742 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33743 Add strnlen support.
33744 (USE_AS_STRNLEN): New macro.
33745 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33746 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33747 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33748 * sysdeps/x86_64/wcslen.S: New file.
33750 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
33752 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33753 XMM-moves are used for copying on small sizes.
33755 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33757 * wcsmbs/Makefile (strop-tests): Add wcschr.
33758 * wcsmbs/test-wcschr.c: New file.
33759 * string/test-strchr.c: Update.
33760 Add wcschr support.
33763 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33765 * wcsmbs/Makefile (strop-tests): Add wcslen.
33766 * wcsmbs/test-wcslen.c: New file.
33767 * string/test-strlen.c: Update.
33768 Add wcslen support.
33771 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33773 * po/it.po: Update from translation team.
33775 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33777 * sysdeps/x86_64/wcscmp.S: Update.
33778 Fix wrong comparison semantics.
33779 wcscmp shall use signed comparison not unsigned.
33780 Don't use substraction to avoid overflow bug.
33781 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33782 * wcsmbc/wcscmp.c: Likewise.
33783 * string/test-strcmp.c: Likewise.
33784 Add new tests to check cases with negative values.
33786 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33788 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33789 * sysdeps/x86_64/dla.h: ...here. New file.
33790 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33791 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33792 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33793 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33794 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33795 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33796 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33797 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33798 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33800 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
33802 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33803 __ynl_finite aliases.
33805 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33807 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33809 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33811 [DLA_FMA] (EMULV): Use DLA_FMA.
33812 [DLA_FMA] (MUL12): Use EMULV.
33813 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33814 that are not needed.
33815 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33816 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33817 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33818 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33819 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33820 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33821 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33823 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
33825 * math/s_nan.c: Undef __nan.
33826 * math/s_nanf.c: Undef __nanf.
33827 * math/s_nanl.c: Undef __nanl.
33828 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33831 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33833 * math/s_catan.c: Add branch predictions.
33834 * math/s_catanf.c: Likewise.
33835 * math/s_catanh.c: Likewise.
33836 * math/s_catanhf.c: Likewise.
33837 * math/s_catanhl.c: Likewise.
33838 * math/s_catanl.c: Likewise.
33839 * math/s_cexp.c: Likewise.
33840 * math/s_cexpf.c: Likewise.
33841 * math/s_cexpl.c: Likewise.
33842 * math/s_clog.c: Likewise.
33843 * math/s_clog10.c: Likewise.
33844 * math/s_clog10f.c: Likewise.
33845 * math/s_clog10l.c: Likewise.
33846 * math/s_clogf.c: Likewise.
33847 * math/s_clogl.c: Likewise.
33848 * math/s_csqrt.c: Likewise.
33849 * math/s_csqrtf.c: Likewise.
33850 * math/s_csqrtl.c: Likewise.
33851 * math/s_ctanf.c: Likewise.
33852 * math/s_ctanh.c: Likewise.
33853 * math/s_ctanhf.c: Likewise.
33854 * math/s_ctanhl.c: Likewise.
33855 * math/s_ctanl.c: Likewise.
33857 * math/math_private.h: Define __nan, __nanf, __nanl.
33858 * math/s_cacosh.c: Include <math_private.h>.
33859 * math/s_cacoshl.c: Likewise.
33860 * math/s_casinh.c: Likewise.
33861 * math/s_casinhf.c: Likewise.
33862 * math/s_casinhl.c: Likewise.
33863 * math/s_ccos.c: Rely entire on ccosh.
33864 * math/s_ccosf.c: Rely entire on ccoshf.
33865 * math/s_ccosl.c: Rely entirely on ccoshl.
33866 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
33867 Remove tests for FE_INVALID.
33868 * math/s_ccoshf.c: Likewise.
33869 * math/s_ccoshl.c: Likewise.
33870 * math/s_csin.c: Likewise.
33871 * math/s_csinf.c: Likewise.
33872 * math/s_csinh.c Likewise.
33873 * math/s_csinhf.c: Likewise.
33874 * math/s_csinhl.c: Likewise.
33875 * math/s_csinl.c: Likewise.
33876 * math/s_ctan.c: Likewise.
33877 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33878 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33879 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33881 2011-10-21 Ulrich Drepper <drepper@gmail.com>
33883 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33884 compilation problems.
33886 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33889 2011-10-20 Ulrich Drepper <drepper@gmail.com>
33891 * sysdeps/i386/configure.in: Test for -mfma4 option.
33892 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33893 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33894 COMMON_CPUID_INDEX_80000001.
33895 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33896 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33897 use it if FMA3 is not supported.
33898 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33900 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33901 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33903 2011-10-20 Andreas Schwab <schwab@redhat.com>
33906 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33907 it would create a cycle with a link time dependency.
33909 2011-10-19 Ulrich Drepper <drepper@gmail.com>
33911 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33913 * string/Makefile (strop-tests): Add rawmemchr.
33914 * string/test-rawmemchr.c: New file.
33916 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33917 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
33918 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
33919 when compiling str{,n}casecmp and when AVX is available. Hook up
33920 new optimized code in initializers.
33922 2011-10-19 Andreas Schwab <schwab@redhat.com>
33924 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33925 __feraiseexcept instead of feraiseexcept.
33927 2011-10-18 Ulrich Drepper <drepper@gmail.com>
33929 * math/math_private.h: Define defaults for libc_fetestexcept and
33931 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33932 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33933 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33934 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33935 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33936 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33937 libc_fetestexcept and libc_feupdateenv.
33939 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33940 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33941 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33942 * sysdeps/x86_64/fpu/math_private.h: Define special version of
33943 libc_feholdexcept_setround.
33945 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33946 Add s_nearbyint-c and s_nearbyintf-c.
33947 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33948 nearbyintf inlines.
33949 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33950 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33951 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33952 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33954 * math/math_private.h: Define defaults for libc_fegetround,
33955 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33956 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33957 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33958 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33959 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33960 standard functions.
33961 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33962 Remove comments and hacks for old compiler versions.
33963 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33964 libc_fegetround, libc_fesetround, libc_feholdexcept, and
33965 libc_feholdexceptl.
33967 2011-10-18 Andreas Schwab <schwab@redhat.com>
33969 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
33970 (__feraiseexcept_renamed): Add __NTH.
33971 (feraiseexcept): Add __NTH. Rename local variables to fix
33972 namespace violations.
33974 2011-10-17 Ulrich Drepper <drepper@gmail.com>
33976 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33978 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33980 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33981 recently added interfaces.
33982 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33984 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33985 about macro parameter expansion.
33987 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33988 __NO_MATH_INLINES is defined. Cleanups.
33990 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33991 and __floorf is target has SSE4.1.
33992 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33993 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33994 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33995 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33997 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33999 (floorf): Likewise.
34001 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34003 2011-10-17 Andreas Schwab <schwab@redhat.com>
34005 * misc/sys/cdefs.h: Fix last change.
34007 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34010 2011-10-16 Ulrich Drepper <drepper@gmail.com>
34012 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34014 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34015 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34016 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34017 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34018 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34019 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34020 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34021 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34022 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34023 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34024 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34025 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34026 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34027 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34028 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34029 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34030 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34031 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34032 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34033 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34034 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34035 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34037 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34038 ceil, ceilf, floor, floorf.
34040 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34041 Perform IRELATIVE relocations last.
34043 * elf/do-rel.h: Add another parameter nrelative, replacing the
34044 local variable with the same name. Change name of the function
34045 to end in Rel or Rela (uppercase).
34046 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
34047 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
34048 elf_dynamic_do_##reloc function.
34050 2011-10-15 Ulrich Drepper <drepper@gmail.com>
34052 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
34053 is sufficient, at least on modern CPUs.
34055 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
34057 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
34058 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
34060 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
34062 * math/bits/math-finite.h: Add entries for exp.
34063 * math/e_expl.c: Add __*_finite alias.
34064 * sysdeps/i386/fpu/e_exp.S: Likewise.
34065 * sysdeps/i386/fpu/e_expf.S: Likewise.
34066 * sysdeps/i386/fpu/e_expl.c: Likewise.
34067 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34068 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34069 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34070 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34071 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
34072 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34073 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34075 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
34076 is sufficient, at least on modern CPUs.
34078 * ctype/ctype-info.c (__ctype_init): Define.
34079 * include/ctype.h (__ctype_init): Declare.
34080 (__ctype_b_loc): The variable is always initialized.
34081 (__ctype_toupper_loc): Likewise.
34082 (__ctype_tolower_loc): Likewise.
34083 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
34084 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
34086 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
34088 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
34090 * configure.in: Also look in $cxxmachine/include for C++ system
34093 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34095 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
34096 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
34097 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
34098 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
34099 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
34100 (USE_AS_WMEMCMP): New macro.
34102 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
34103 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
34104 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
34105 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
34106 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34107 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
34108 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
34109 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
34110 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
34111 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
34112 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
34113 (USE_AS_WMEMCMP): New macro.
34114 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
34115 * sysdeps/string/test-memcmp.c: Update.
34116 Fix simple_wmemcmp.
34118 * wcsmbs/wmemcmp.c: Update.
34119 (WMEMCMP): New macro.
34122 2011-10-12 Andreas Jaeger <aj@suse.de>
34125 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
34127 2011-10-15 Ulrich Drepper <drepper@gmail.com>
34129 * libio/iofwide.c (do_length): Avoid warning.
34131 * ctype/ctype.h (__isctype_f): Add missing __THROW.
34133 2011-10-14 Ulrich Drepper <drepper@gmail.com>
34135 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
34137 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
34138 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
34139 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
34140 * sysdeps/i386/i686/fpu/e_log.S: New file.
34141 * sysdeps/i386/i686/fpu/e_logf.S: New file.
34142 * sysdeps/i386/i686/fpu/e_logl.S: New file.
34144 * ctype/ctype.h: Add support for inlined isXXX functions when
34145 compiling C++ code.
34147 2011-10-14 Andreas Schwab <schwab@redhat.com>
34149 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34151 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
34153 2011-10-13 Roland McGrath <roland@hack.frob.com>
34156 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
34158 2011-10-13 Andreas Schwab <schwab@redhat.com>
34160 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
34161 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
34164 * sysdeps/x86_64/memrchr.S: Check for zero size.
34166 * string/stratcliff.c: Add memrchr tests.
34168 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34170 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34171 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
34172 rawmemchr-sse2 rawmemchr-sse2-bsf.
34173 * sysdeps/i386/i686/multiarch/memchr.S: New file.
34174 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
34175 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
34176 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
34177 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
34178 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
34179 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
34180 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
34181 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
34182 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
34183 * string/memrchr.c (MEMRCHR): New macro.
34185 2011-10-12 Ulrich Drepper <drepper@gmail.com>
34187 Add integration with gcc's -ffinite-math-only and optimize wrapper
34189 * Versions.def: Define GLIBC_2.15 version for libm.
34190 * math/Makefile (headers): Add bits/math-finite.h.
34191 * math/bits/math-finite.h: New file.
34192 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
34193 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
34194 * math/e_acoshl.c: Add __*_finite alias.
34195 * math/e_acosl.c: Likewise.
34196 * math/e_asinl.c: Likewise.
34197 * math/e_atan2l.c: Likewise.
34198 * math/e_atanhl.c: Likewise.
34199 * math/e_coshl.c: Likewise.
34200 * math/e_exp10.c: Likewise.
34201 * math/e_exp10f.c: Likewise.
34202 * math/e_exp10l.c: Likewise.
34203 * math/e_exp2l.c: Likewise.
34204 * math/e_fmodl.c: Likewise.
34205 * math/e_gammal_r.c: Likewise.
34206 * math/e_hypotl.c: Likewise.
34207 * math/e_j0l.c: Likewise.
34208 * math/e_j1l.c: Likewise.
34209 * math/e_jnl.c: Likewise.
34210 * math/e_lgammal_r.c: Likewise.
34211 * math/e_log10l.c: Likewise.
34212 * math/e_log2l.c: Likewise.
34213 * math/e_logl.c: Likewise.
34214 * math/e_powl.c: Likewise.
34215 * math/e_sinhl.c: Likewise.
34216 * math/e_sqrtl.c: Likewise.
34217 * math/e_scalb.c: Completely rewritten and optimized.
34218 * math/e_scalbf.c: Likewise.
34219 * math/e_scalbl.c: Likewise.
34220 * math/w_acos.c: Likewise.
34221 * math/w_acosf.c: Likewise.
34222 * math/w_acosl.c: Likewise.
34223 * math/w_acosh.c: Likewise.
34224 * math/w_acoshf.c: Likewise.
34225 * math/w_acoshl.c: Likewise.
34226 * math/w_asin.c: Likewise.
34227 * math/w_asinf.c: Likewise.
34228 * math/w_asinl.c: Likewise.
34229 * math/w_atan2.c: Likewise.
34230 * math/w_atan2f.c: Likewise.
34231 * math/w_atan2l.c: Likewise.
34232 * math/w_atanh.c: Likewise.
34233 * math/w_atanhf.c: Likewise.
34234 * math/w_atanhl.c: Likewise.
34235 * math/w_exp10.c: Likewise.
34236 * math/w_exp10f.c: Likewise.
34237 * math/w_exp10l.c: Likewise.
34238 * math/w_fmod.c: Likewise.
34239 * math/w_fmodf.c: Likewise.
34240 * math/w_fmodl.c: Likewise.
34241 * math/w_j0.c: Likewise.
34242 * math/w_j0f.c: Likewise.
34243 * math/w_j0l.c: Likewise.
34244 * math/w_j1.c: Likewise.
34245 * math/w_j1f.c: Likewise.
34246 * math/w_j1l.c: Likewise.
34247 * math/w_jn.c: Likewise.
34248 * math/w_jnf.c: Likewise.
34249 * math/w_log.c: Likewise.
34250 * math/w_logf.c: Likewise.
34251 * math/w_logl.c: Likewise.
34252 * math/w_log10.c: Likewise.
34253 * math/w_log10f.c: Likewise.
34254 * math/w_log10l.c: Likewise.
34255 * math/w_log2.c: Likewise.
34256 * math/w_log2f.c: Likewise.
34257 * math/w_log2l.c: Likewise.
34258 * math/w_pow.c: Likewise.
34259 * math/w_powf.c: Likewise.
34260 * math/w_powl.c: Likewise.
34261 * math/w_remainder.c: Likewise.
34262 * math/w_remainderf.c: Likewise.
34263 * math/w_remainderl.c: Likewise.
34264 * math/w_scalb.c: Likewise.
34265 * math/w_scalbf.c: Likewise.
34266 * math/w_scalbl.c: Likewise.
34267 * math/w_sqrt.c: Likewise.
34268 * math/w_sqrtf.c: Likewise.
34269 * math/w_sqrtl.c: Likewise.
34270 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
34271 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
34273 * math/math_private.h: Declare __kernel_standard_f.
34274 * math/w_cosh.c: Remove cruft and optimize a bit.
34275 * math/w_coshf.c: Likewise.
34276 * math/w_coshl.c: Likewise.
34277 * math/w_exp2.c: Likewise.
34278 * math/w_exp2f.c: Likewise.
34279 * math/w_exp2l.c: Likewise.
34280 * math/w_hypot.c: Likewise.
34281 * math/w_hypotf.c: Likewise.
34282 * math/w_hypotl.c: Likewise.
34283 * math/w_lgamma.c: Likewise.
34284 * math/w_lgamma_r.c: Likewise.
34285 * math/w_lgammaf.c: Likewise.
34286 * math/w_lgammaf_r.c: Likewise.
34287 * math/w_lgammal.c: Likewise.
34288 * math/w_lgammal_r.c: Likewise.
34289 * math/w_sinh.c: Likewise.
34290 * math/w_sinhf.c: Likewise.
34291 * math/w_sinhl.c: Likewise.
34292 * math/w_tgamma.c: Likewise.
34293 * math/w_tgammaf.c: Likewise.
34294 * math/w_tgammal.c: Likewise.
34295 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34296 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34297 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
34298 Minor optimizations. Pretty printing. Remove cruft.
34299 * sysdeps/i386/fpu/e_acosf.S: Likewise.
34300 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34301 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34302 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34303 * sysdeps/i386/fpu/e_acosl.c: Likewise.
34304 * sysdeps/i386/fpu/e_asin.S: Likewise.
34305 * sysdeps/i386/fpu/e_asinf.S: Likewise.
34306 * sysdeps/i386/fpu/e_atan2.S: Likewise.
34307 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
34308 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
34309 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34310 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34311 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34312 * sysdeps/i386/fpu/e_exp10.S: Likewise.
34313 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
34314 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
34315 * sysdeps/i386/fpu/e_exp2.S: Likewise.
34316 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
34317 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
34318 * sysdeps/i386/fpu/e_fmod.S: Likewise.
34319 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
34320 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
34321 * sysdeps/i386/fpu/e_hypot.S: Likewise.
34322 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
34323 * sysdeps/i386/fpu/e_log.S: Likewise.
34324 * sysdeps/i386/fpu/e_log10.S: Likewise.
34325 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34326 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34327 * sysdeps/i386/fpu/e_log2.S: Likewise.
34328 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34329 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34330 * sysdeps/i386/fpu/e_logf.S: Likewise.
34331 * sysdeps/i386/fpu/e_logl.S: Likewise.
34332 * sysdeps/i386/fpu/e_pow.S: Likewise.
34333 * sysdeps/i386/fpu/e_powf.S: Likewise.
34334 * sysdeps/i386/fpu/e_powl.S: Likewise.
34335 * sysdeps/i386/fpu/e_remainder.S: Likewise.
34336 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
34337 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
34338 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34339 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34340 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34341 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
34342 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
34343 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
34344 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34345 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34346 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34347 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34348 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34349 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34350 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34351 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34352 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34353 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34354 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34355 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34356 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34357 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34358 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34359 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34360 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34361 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34362 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34363 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34364 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34365 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34366 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34367 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34368 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34369 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34370 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34371 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34372 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
34373 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34374 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34375 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34376 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34377 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34378 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34379 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34380 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34381 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34382 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34383 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34384 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34385 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34386 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34387 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34388 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34389 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34390 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34391 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34392 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34393 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
34394 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34395 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34396 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34397 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34398 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34399 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34400 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34401 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34402 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34403 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34404 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34405 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34406 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34407 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34408 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34409 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34410 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34411 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34412 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
34413 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34414 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34415 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34416 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34417 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34418 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34419 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34420 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34421 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34422 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34423 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34424 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34425 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34426 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
34427 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34428 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34429 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34430 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34431 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34432 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34433 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34434 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34435 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34436 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34437 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34438 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34439 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34440 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34441 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
34442 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
34443 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
34444 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
34445 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
34446 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
34447 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
34448 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34449 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34450 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34451 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34452 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
34453 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34454 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
34455 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
34456 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
34457 (__isnanf): Likewise.
34458 (__isinf_ns): Likewise.
34459 (__isinf_nsf): Likewise.
34460 (__finite): Likewise.
34461 (__finitef): Likewise.
34462 (__ieee754_sqrt): Define as macro.
34463 (__ieee754_sqrtf): Define as macro.
34464 (__ieee754_sqrtl): Define as macro.
34465 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
34467 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
34468 __FINITE_MATH_ONLY__ consistent.
34469 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
34471 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
34473 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
34476 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
34478 2011-10-09 Ulrich Drepper <drepper@gmail.com>
34480 * po/ja.po: Update from translation team.
34482 2011-10-08 Roland McGrath <roland@hack.frob.com>
34484 * locale/programs/locarchive.c (prepare_address_space): New function.
34485 (create_archive, enlarge_archive, open_archive): Use it.
34487 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
34488 inside [SHARED], where it is used.
34490 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
34492 * nss/getent.c (netgroup_keys): Remove unused variable.
34493 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34495 2011-10-08 Ulrich Drepper <drepper@gmail.com>
34497 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
34498 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
34499 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
34500 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
34501 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
34502 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
34503 * math/Makefile (libm-calls): Add s_isinf_ns.
34504 * math/divtc3.c: Use __isinf_nsl instead of isinf.
34505 * math/multc3.c: Likewise.
34506 * math/s_casin.c: Likewise.
34507 * math/s_casinf.c: Likewise.
34508 * math/s_casinl.c: Likewise.
34509 * math/s_ccos.c: Likewise.
34510 * math/s_ccosf.c: Likewise.
34511 * math/s_ccosl.c: Likewise.
34512 * math/s_ctan.c: Likewise.
34513 * math/s_ctanf.c: Likewise.
34514 * math/s_ctanh.c: Likewise.
34515 * math/s_ctanhf.c: Likewise.
34516 * math/s_ctanhl.c: Likewise.
34517 * math/s_ctanl.c: Likewise.
34518 * math/w_fmod.c: Likewise.
34519 * math/w_fmodf.c: Likewise.
34520 * math/w_fmodl.c: Likewise.
34521 * math/w_remainder.c: Likewise.
34522 * math/w_remainderf.c: Likewise.
34523 * math/w_remainderl.c: Likewise.
34524 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
34525 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
34526 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
34527 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
34528 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
34529 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
34530 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
34531 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
34533 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
34535 * stdio-common/printf_fphex.c: Likewise.
34536 * stdio-common/printf_size.c: Likewise.
34538 * math/e_exp10.c: Include math_private.h using <...> not "...".
34539 * math/e_exp10f.c: Likewise.
34540 * math/e_exp10l.c: Likewise.
34541 * math/e_exp2l.c: Likewise.
34542 * math/e_j0l.c: Likewise.
34543 * math/e_j1l.c: Likewise.
34544 * math/e_jnl.c: Likewise.
34545 * math/e_lgammal_r.c: Likewise.
34546 * math/e_rem_pio2l.c: Likewise.
34547 * math/e_scalb.c: Likewise.
34548 * math/e_scalbf.c: Likewise.
34549 * math/e_scalbl.c: Likewise.
34550 * math/k_cosl.c: Likewise.
34551 * math/k_sinl.c: Likewise.
34552 * math/k_tanl.c: Likewise.
34553 * math/s_cacoshf.c: Likewise.
34554 * math/s_catan.c: Likewise.
34555 * math/s_catanf.c: Likewise.
34556 * math/s_catanh.c: Likewise.
34557 * math/s_catanhf.c: Likewise.
34558 * math/s_catanhl.c: Likewise.
34559 * math/s_catanl.c: Likewise.
34560 * math/s_ccosh.c: Likewise.
34561 * math/s_ccoshf.c: Likewise.
34562 * math/s_ccoshl.c: Likewise.
34563 * math/s_cexp.c: Likewise.
34564 * math/s_cexpf.c: Likewise.
34565 * math/s_cexpl.c: Likewise.
34566 * math/s_clog.c: Likewise.
34567 * math/s_clog10.c: Likewise.
34568 * math/s_clog10f.c: Likewise.
34569 * math/s_clog10l.c: Likewise.
34570 * math/s_clogf.c: Likewise.
34571 * math/s_clogl.c: Likewise.
34572 * math/s_csin.c: Likewise.
34573 * math/s_csinf.c: Likewise.
34574 * math/s_csinh.c: Likewise.
34575 * math/s_csinhf.c: Likewise.
34576 * math/s_csinhl.c: Likewise.
34577 * math/s_csinl.c: Likewise.
34578 * math/s_csqrt.c: Likewise.
34579 * math/s_csqrtf.c: Likewise.
34580 * math/s_csqrtl.c: Likewise.
34581 * math/s_ctan.c: Likewise.
34582 * math/s_ctanf.c: Likewise.
34583 * math/s_ctanh.c: Likewise.
34584 * math/s_ctanhf.c: Likewise.
34585 * math/s_ctanhl.c: Likewise.
34586 * math/s_ctanl.c: Likewise.
34587 * math/s_ldexp.c: Likewise.
34588 * math/s_ldexpf.c: Likewise.
34589 * math/s_ldexpl.c: Likewise.
34590 * math/s_significand.c: Likewise.
34591 * math/s_significandf.c: Likewise.
34592 * math/s_significandl.c: Likewise.
34593 * math/w_acos.c: Likewise.
34594 * math/w_acosf.c: Likewise.
34595 * math/w_acosh.c: Likewise.
34596 * math/w_acoshf.c: Likewise.
34597 * math/w_acoshl.c: Likewise.
34598 * math/w_acosl.c: Likewise.
34599 * math/w_asin.c: Likewise.
34600 * math/w_asinf.c: Likewise.
34601 * math/w_asinl.c: Likewise.
34602 * math/w_atan2.c: Likewise.
34603 * math/w_atan2f.c: Likewise.
34604 * math/w_atan2l.c: Likewise.
34605 * math/w_atanh.c: Likewise.
34606 * math/w_atanhf.c: Likewise.
34607 * math/w_atanhl.c: Likewise.
34608 * math/w_cosh.c: Likewise.
34609 * math/w_coshf.c: Likewise.
34610 * math/w_coshl.c: Likewise.
34611 * math/w_dremf.c: Likewise.
34612 * math/w_exp10.c: Likewise.
34613 * math/w_exp10f.c: Likewise.
34614 * math/w_exp10l.c: Likewise.
34615 * math/w_exp2.c: Likewise.
34616 * math/w_exp2f.c: Likewise.
34617 * math/w_fmod.c: Likewise.
34618 * math/w_fmodf.c: Likewise.
34619 * math/w_fmodl.c: Likewise.
34620 * math/w_hypot.c: Likewise.
34621 * math/w_hypotf.c: Likewise.
34622 * math/w_hypotl.c: Likewise.
34623 * math/w_j0.c: Likewise.
34624 * math/w_j0f.c: Likewise.
34625 * math/w_j0l.c: Likewise.
34626 * math/w_j1.c: Likewise.
34627 * math/w_j1f.c: Likewise.
34628 * math/w_j1l.c: Likewise.
34629 * math/w_jn.c: Likewise.
34630 * math/w_jnf.c: Likewise.
34631 * math/w_jnl.c: Likewise.
34632 * math/w_lgamma.c: Likewise.
34633 * math/w_lgamma_r.c: Likewise.
34634 * math/w_lgammaf.c: Likewise.
34635 * math/w_lgammaf_r.c: Likewise.
34636 * math/w_lgammal.c: Likewise.
34637 * math/w_lgammal_r.c: Likewise.
34638 * math/w_log.c: Likewise.
34639 * math/w_log10.c: Likewise.
34640 * math/w_log10f.c: Likewise.
34641 * math/w_log10l.c: Likewise.
34642 * math/w_log2.c: Likewise.
34643 * math/w_log2f.c: Likewise.
34644 * math/w_log2l.c: Likewise.
34645 * math/w_logf.c: Likewise.
34646 * math/w_logl.c: Likewise.
34647 * math/w_pow.c: Likewise.
34648 * math/w_powf.c: Likewise.
34649 * math/w_powl.c: Likewise.
34650 * math/w_remainder.c: Likewise.
34651 * math/w_remainderf.c: Likewise.
34652 * math/w_remainderl.c: Likewise.
34653 * math/w_scalb.c: Likewise.
34654 * math/w_scalbf.c: Likewise.
34655 * math/w_scalbl.c: Likewise.
34656 * math/w_sinh.c: Likewise.
34657 * math/w_sinhf.c: Likewise.
34658 * math/w_sinhl.c: Likewise.
34659 * math/w_sqrt.c: Likewise.
34660 * math/w_sqrtf.c: Likewise.
34661 * math/w_sqrtl.c: Likewise.
34662 * math/w_tgamma.c: Likewise.
34663 * math/w_tgammaf.c: Likewise.
34664 * math/w_tgammal.c: Likewise.
34666 * po/ja.po: Update from translation team.
34668 2011-09-29 Andreas Jaeger <aj@suse.de>
34671 * sunrpc/netname.c (netname2host): Fix logic.
34675 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
34677 * math/w_remainder.c (__remainder): Likewise.
34678 * math/w_remainderf.c (__remainderf): Likewise.
34679 * math/libm-test.inc (remainder_test): Add test cases.
34681 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34683 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
34686 2011-10-07 Ulrich Drepper <drepper@gmail.com>
34688 * string/test-memcmp.c: Avoid unncessary #defines.
34689 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34691 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34693 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
34694 Use new sse2 version for core i3 - i7 as it's faster
34695 than sse42 version.
34696 (bit_Prefer_PMINUB_for_stringop): New.
34697 * sysdeps/x86_64/rawmemchr.S: Update.
34698 Replace with faster SSE2 version.
34699 * sysdeps/x86_64/memrchr.S: New file.
34700 * sysdeps/x86_64/memchr.S: Update.
34701 Replace with faster SSE2 version.
34703 2011-09-12 Marek Polacek <mpolacek@redhat.com>
34705 * elf/dl-load.c (lose): Add cast to avoid warning.
34707 2011-10-07 Ulrich Drepper <drepper@gmail.com>
34709 * po/ca.po: Update from translation team.
34711 * inet/getnetgrent_r.c: Hook up nscd.
34712 * nscd/Makefile (routines): Add nscd_netgroup.
34713 (nscd-modules): Add netgroupcache.
34714 (CFLAGS-netgroupcache.c): Define.
34715 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34716 (cache_search): Add const to second parameter.
34717 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34719 (dbs): Add netgrdb entry.
34720 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34721 (verify_persistent_db): Handle netgrdb.
34722 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34723 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34725 (netgroup_response_header): Define.
34726 (innetgroup_response_header): Define.
34727 (datahead): Add netgroup_response_header and innetgroup_response_header
34729 * nscd/nscd.conf: Add entries for netgroup cache.
34730 * nscd/nscd.h (dbtype): Add netgrdb.
34731 (_PATH_NSCD_NETGROUP_DB): Define.
34732 (netgroup_iov_disabled): Declare.
34733 (xmalloc, xcalloc, xrealloc): Move declarations here.
34734 (cache_search): Adjust prototype.
34735 Add netgroup-related prototypes.
34736 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34737 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34738 (__nscd_innetgr): Declare.
34739 * nscd/selinux.c (perms): Use access_vector_t as element type and
34740 add netgroup-related initializers.
34741 * nscd/netgroupcache.c: New file.
34742 * nscd/nscd_netgroup.c: New file.
34743 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34744 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34745 For four parameters use innetgr.
34746 * nss/nss_files/files-init.c: Add definition and callback for netgr.
34747 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34748 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34749 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34751 * nscd/connections.c (register_traced_file): Don't register file
34752 for disabled databases.
34754 2011-10-06 Ulrich Drepper <drepper@gmail.com>
34756 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34758 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34759 from tree and freeing node.
34761 2011-09-25 Jiri Olsa <jolsa@redhat.com>
34763 * nss/nsswitch.c (__nss_database_lookup): Handle
34764 nss_parse_service_list out of memory case.
34766 2011-09-15 Jiri Olsa <jolsa@redhat.com>
34768 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34769 out of memory case.
34771 2011-10-04 Andreas Schwab <schwab@redhat.com>
34773 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34774 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34776 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34777 elf_machine_rela, elf_machine_lazy_rel.
34778 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34779 (ELF_DYNAMIC_DO_REL): Likewise.
34780 (ELF_DYNAMIC_DO_RELA): Likewise.
34781 (ELF_DYNAMIC_RELOCATE): Likewise.
34782 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34783 to ELF_DYNAMIC_DO_REL.
34784 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34785 (dl_main): In trace mode always set __RTLD_NOIFUNC.
34786 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34788 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34789 skip_ifunc, don't call ifunc function if non-zero.
34790 (elf_machine_rela): Likewise.
34791 (elf_machine_lazy_rel): Likewise.
34792 (elf_machine_lazy_rela): Likewise.
34793 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34794 (elf_machine_lazy_rel): Likewise.
34795 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34797 (elf_machine_lazy_rel): Likewise.
34798 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34800 (elf_machine_lazy_rel): Likewise.
34801 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34802 (elf_machine_lazy_rel): Likewise.
34803 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34804 (elf_machine_lazy_rel): Likewise.
34805 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34806 (elf_machine_lazy_rel): Likewise.
34807 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34808 (elf_machine_lazy_rel): Likewise.
34809 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34810 (elf_machine_lazy_rel): Likewise.
34811 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34812 (elf_machine_lazy_rel): Likewise.
34814 2011-09-28 Ulrich Drepper <drepper@gmail.com>
34816 * nss/nss_files/files-init.c (_nss_files_init): Use static
34817 initialization for all the *_traced_file variables.
34819 2011-09-28 Andreas Schwab <schwab@redhat.com>
34821 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34823 2011-09-27 Roland McGrath <roland@hack.frob.com>
34826 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34828 2011-09-27 Andreas Schwab <schwab@redhat.com>
34830 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34831 Reread the line before reparsing it.
34833 2011-09-26 Andreas Schwab <schwab@redhat.com>
34835 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34837 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
34838 Maxim Kuvyrkov <maxim@codesourcery.com>
34839 Joseph Myers <joseph@codesourcery.com>
34841 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34842 if needed for __stack_chk_guard.
34844 2011-09-19 Roland McGrath <roland@hack.frob.com>
34846 * sysdeps/posix/spawni.c (script_execute): Always define it.
34847 It will be optimized away if unused.
34848 (maybe_script_execute): New function.
34849 (__spawni): Call it.
34851 * Makerules: Don't include tls.make.
34852 (config-tls): Always set to thread.
34853 * tls.make.c: File removed.
34855 2011-09-19 Mike Frysinger <vapier@gentoo.org>
34857 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34858 * config.make.in (CPPFLAGS-config): New substituted variable.
34860 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34862 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34865 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34866 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34868 2011-09-15 Roland McGrath <roland@hack.frob.com>
34870 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34871 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34872 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34873 (CALL_FAIL): Likewise.
34874 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34875 (CALL_FAIL): Macro removed.
34876 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34878 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34880 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34881 for __FINITE_MATH_ONLY__ == 1.
34883 2011-09-15 Andreas Schwab <schwab@redhat.com>
34885 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34886 __ieee754_sqrt instead of sqrt.
34887 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34888 __ieee754_sqrtf instead of sqrtf.
34889 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34890 __floorf instead of floorf.
34891 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34892 __floorf, __truncf instead of floorf, truncf.
34894 2011-09-14 Ulrich Drepper <drepper@gmail.com>
34896 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34898 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34899 __extern_always_inline.
34900 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34903 2011-09-14 Andreas Schwab <schwab@redhat.com>
34905 * elf/rtld.c (dl_main): Also relocate in dependency order when
34906 doing symbol dependency testing.
34908 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
34910 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34911 Always define `refsym'.
34913 2011-09-13 Andreas Schwab <schwab@redhat.com>
34915 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34916 (__FD_ELT): Renamed from __FDELT.
34917 * misc/bits/select2.h (__FD_ELT): Likewise.
34918 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34919 __FD_MASK instead of __FDELT, __FDMASK.
34920 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34922 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34925 * elf/Makefile (gen-ldd): Fix pattern.
34927 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34928 (init_tls): Likewise.
34930 2011-09-12 Ulrich Drepper <drepper@gmail.com>
34932 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34934 2011-09-12 Andreas Schwab <schwab@redhat.com>
34936 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34937 `struct cmsghdr *' instead of `void *'.
34938 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34941 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
34943 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34945 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34946 ldd_rewrite_script.
34948 2011-09-11 Ulrich Drepper <drepper@gmail.com>
34950 * configure.in: Remove --with-tls option.
34951 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34952 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34953 out in case it is missing.
34954 * sysdeps/ia64/elf/configure.in: Likewise.
34955 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34956 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34957 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34958 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34959 * sysdeps/sh/elf/configure.in: Likewise.
34960 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34961 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34962 * sysdeps/x86_64/elf/configure.in: Likewise.
34963 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34964 * sysdeps/mach/hurd/tls.h: Likewise.
34967 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34970 * configure.in: Fix use of AC_INIT.
34972 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34974 2011-09-10 Ulrich Drepper <drepper@gmail.com>
34976 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34978 * malloc/hooks.c: Likewise.
34981 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
34982 variables statically.
34983 (narenas): Initialize.
34984 (list_lock): Initialize.
34985 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
34986 initializtion of main_arena and list_lock. Small cleanups.
34987 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34988 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
34989 Add initializers to main_arena and mp_.
34990 (malloc_state): Remove pagesize member. Change all users to use
34993 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34994 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
34995 is always initialized.
34997 * malloc/malloc.c: Removed unused configurations and dead code.
34998 * malloc/arena.c: Likewise.
34999 * malloc/hooks.c: Likewise.
35000 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
35002 * include/tls.h: Removed. USE___THREAD must always be defined.
35003 * bits/libc-tsd.h: Don't handle !USE___THREAD.
35004 * elf/dl-libc.c: Likewise.
35005 * elf/dl-tsd.c: Likewise.
35006 * include/errno.h: Likewise.
35007 * include/netdb.h: Likewise.
35008 * include/resolv.h: Likewise.
35009 * inet/herrno-loc.c: Likewise.
35010 * inet/herrno.c: Likewise.
35011 * malloc/arena.c: Likewise.
35012 * malloc/hooks.c: Likewise.
35013 * malloc/malloc.c: Likewise.
35014 * resolv/res-state.c: Likewise.
35015 * resolv/res_libc.c: Likewise.
35016 * sysdeps/i386/dl-machine.h: Likewise.
35017 * sysdeps/ia64/dl-machine.h: Likewise.
35018 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35019 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35020 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35021 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35022 * sysdeps/sh/dl-machine.h: Likewise.
35023 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35024 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35025 * sysdeps/unix/i386/sysdep.S: Likewise.
35026 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35027 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35028 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35029 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35030 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35031 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35032 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35033 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35034 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35035 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35036 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35037 * sysdeps/x86_64/dl-machine.h: Likewise.
35038 * tls.make.c: Likewise.
35040 * configure.in: Remove --with-__thread option. Make tests for
35041 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
35042 tls_model attribute fail if no support is available. Remove
35044 * Makeconfig: Adjust for dropped configure option. All features are
35046 * Makerules: Likewise.
35047 * Versions.def: Likewise.
35048 * argp/argp-fmtstream.c: Likewise.
35049 * argp/argp-fmtstream.h: Likewise.
35050 * argp/argp-help.c: Likewise.
35051 * assert/assert.c: Likewise.
35052 * config.h.in: Likewise.
35053 * config.make.in: Likewise.
35054 * configure: Likewise.
35055 * configure.in: Likewise.
35056 * csu/Versions: Likewise.
35057 * csu/init.c: Likewise.
35058 * elf/tst-audit2.c: Likewise.
35059 * elf/tst-tls10.c: Likewise.
35060 * elf/tst-tls10.h: Likewise.
35061 * elf/tst-tls11.c: Likewise.
35062 * elf/tst-tls12.c: Likewise.
35063 * elf/tst-tls14.c: Likewise.
35064 * elf/tst-tlsmod11.c: Likewise.
35065 * elf/tst-tlsmod12.c: Likewise.
35066 * elf/tst-tlsmod13.c: Likewise.
35067 * elf/tst-tlsmod13a.c: Likewise.
35068 * elf/tst-tlsmod14a.c: Likewise.
35069 * elf/tst-tlsmod15b.c: Likewise.
35070 * elf/tst-tlsmod16a.c: Likewise.
35071 * elf/tst-tlsmod16b.c: Likewise.
35072 * elf/tst-tlsmod7.c: Likewise.
35073 * elf/tst-tlsmod8.c: Likewise.
35074 * elf/tst-tlsmod9.c: Likewise.
35075 * gmon/gmon.c: Likewise.
35076 * grp/fgetgrent_r.c: Likewise.
35077 * grp/putgrent.c: Likewise.
35078 * hurd/fopenport.c: Likewise.
35079 * include/libc-symbols.h: Likewise.
35080 * include/tls.h: Likewise.
35081 * intl/gettextP.h: Likewise.
35082 * intl/loadinfo.h: Likewise.
35083 * locale/global-locale.c: Likewise.
35084 * locale/localeinfo.h: Likewise.
35085 * mach/devstream.c: Likewise.
35086 * malloc/arena.c: Likewise.
35087 * malloc/set-freeres.c: Likewise.
35088 * misc/err.c: Likewise.
35089 * misc/getttyent.c: Likewise.
35090 * misc/mntent_r.c: Likewise.
35091 * posix/getopt.c: Likewise.
35092 * posix/wordexp.c: Likewise.
35093 * pwd/fgetpwent_r.c: Likewise.
35094 * resolv/Versions: Likewise.
35095 * resolv/res_hconf.c: Likewise.
35096 * shadow/fgetspent_r.c: Likewise.
35097 * shadow/putspent.c: Likewise.
35098 * stdio-common/printf_fphex.c: Likewise.
35099 * stdio-common/tmpfile.c: Likewise.
35100 * stdlib/abort.c: Likewise.
35101 * stdlib/fmtmsg.c: Likewise.
35102 * sunrpc/auth_unix.c: Likewise.
35103 * sunrpc/clnt_perr.c: Likewise.
35104 * sunrpc/clnt_tcp.c: Likewise.
35105 * sunrpc/clnt_udp.c: Likewise.
35106 * sunrpc/clnt_unix.c: Likewise.
35107 * sunrpc/openchild.c: Likewise.
35108 * sunrpc/svc_simple.c: Likewise.
35109 * sunrpc/svc_tcp.c: Likewise.
35110 * sunrpc/svc_udp.c: Likewise.
35111 * sunrpc/svc_unix.c: Likewise.
35112 * sunrpc/xdr.c: Likewise.
35113 * sunrpc/xdr_array.c: Likewise.
35114 * sunrpc/xdr_rec.c: Likewise.
35115 * sunrpc/xdr_ref.c: Likewise.
35116 * sunrpc/xdr_stdio.c: Likewise.
35118 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35120 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35122 2011-07-03 Andreas Jaeger <aj@suse.de>
35124 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
35125 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
35126 regenerate with gen-libm-tests.pl.
35128 2010-05-12 Petr Baudis <pasky@suse.cz>
35131 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
35132 around j0() zero points by switching to j1().
35133 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35134 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35135 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35136 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35138 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35140 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
35142 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
35144 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35145 Patch in part by Pavel Roskin <proski@gnu.org>.
35148 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
35150 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
35151 Free memory block if necessary.
35154 * libio/genops.c (INTDEF): For string streams the _lock pointer can
35155 be NULL. Don't lock in this case.
35157 2011-09-09 Roland McGrath <roland@hack.frob.com>
35159 * elf/elf.h (ELFOSABI_GNU): New macro.
35160 (ELFOSABI_LINUX): Define to that.
35162 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
35164 * string/strncat.c (strncat): Undef the symbol in case it has been
35165 defined in bits/string.h.
35167 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35169 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
35171 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
35174 2011-08-17 Andreas Jaeger <aj@suse.de>
35176 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
35178 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
35179 Ian Lance Taylor <iant@google.com>
35181 * math/libm-test.inc (lround_test): New testcase.
35182 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
35184 2011-09-08 Ulrich Drepper <drepper@gmail.com>
35186 * Makefile: Remove support for automatic cvs check-ins.
35187 * Makerules: Likewise.
35188 * config.make.in: Likewise.
35189 * configure.in: Likewise.
35190 * intl/Makefile: Likewise.
35191 * locale/Makefile: Likewise.
35192 * po/Makefile: Likewise.
35193 * posix/Makefile: Likewise.
35194 * sysdeps/gnu/Makefile: Likewise.
35195 * sysdeps/mach/hurd/Makefile: Likewise.
35196 * sysdeps/sparc/sparc32/Makefile: Likewise.
35199 * posix/Makefile (bug-regex32-ENV): Define.
35200 Patch by John Stanley <jpsinthemix@verizon.net>.
35202 * misc/Makefile (headers): Add bits/select2.h.
35203 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
35204 * misc/bits/select2.h: New file.
35205 * include/bits/select2.h: New file.
35206 * debug/Makefile (routines): Add fdelt_chk.
35207 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
35208 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
35210 * debug/fdelt_chk.c: New file.
35212 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
35213 * wcsmbs/test-wmemcmp.c: Likewise.
35214 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
35215 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
35217 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35219 * string/Makefile (strop-tests): Add memcmp.
35220 * string/test-wmemcmp.c: New file.
35221 * string/test-memcmp.c: Add wmemcmp support.
35223 2011-09-08 Roland McGrath <roland@hack.frob.com>
35226 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
35229 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
35230 garbage value in a __mach_port_mod_refs call in the cases of the
35231 task-self and thread-self ports.
35233 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35235 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
35237 2011-09-08 Andreas Schwab <schwab@redhat.com>
35239 * elf/dl-load.c (lose): Check for non-null L.
35241 2011-09-07 Ulrich Drepper <drepper@gmail.com>
35243 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
35245 * elf/dl-libc.c (dlerror_run): Pass back error code from
35249 * elf/dl-load.c (lose): Free l_origin if it is valid.
35251 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
35253 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35254 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35255 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35256 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35257 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35258 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
35260 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35262 * sysdeps/powerpc/fpu/e_hypot.c: New file.
35263 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
35264 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
35265 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
35266 * sysdeps/powerpc/fpu/k_cosf.c: New file.
35267 * sysdeps/powerpc/fpu/k_sinf.c: New file.
35268 * sysdeps/powerpc/fpu/s_cosf.c: New file.
35269 * sysdeps/powerpc/fpu/s_sinf.c: New file.
35270 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
35271 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
35273 2011-08-15 Alan Modra <amodra@gmail.com>
35276 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
35277 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
35278 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
35279 ppc_mcount to static-only-routines.
35280 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
35282 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
35283 __mcount_internal with usual JUMPTARGET. Remove useless nop.
35285 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
35287 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
35288 for finite and infinity parameters.
35290 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35292 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
35293 and add nop instructions for throughput optimization.
35294 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35296 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
35298 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
35299 aligned copy for power7 with vector-scalar instructions.
35300 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
35302 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
35304 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
35307 2011-09-07 Andreas Schwab <schwab@redhat.com>
35310 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
35313 2011-09-07 Ulrich Drepper <drepper@gmail.com>
35315 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35316 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
35317 syscall wrapper around clock_gettime in __vdso_clock_gettime.
35318 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
35321 2011-09-06 Ulrich Drepper <drepper@gmail.com>
35323 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
35324 Forgot to demangle the pointer.
35326 * sysdeps/i386/sysdep.h: Define atom_text_section.
35327 * sysdeps/x86_64/sysdep.h: Likewise.
35328 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
35329 section with atom_text_section.
35330 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35331 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35332 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
35333 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35334 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
35336 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
35337 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
35338 already be defined. Change to take two parameters and don't assign
35339 result to variable. Adjust all users.
35340 Define INTERNAL_GETTIME if not already defined.
35341 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
35343 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
35344 HAVE_CLOCK_GETTIME_VSYSCALL.
35345 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
35347 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
35348 gettimeofday vsyscall, just use time.
35350 2011-09-06 Andreas Schwab <schwab@redhat.com>
35352 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
35355 2011-09-06 Ulrich Drepper <drepper@gmail.com>
35357 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
35359 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
35361 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35362 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
35363 syscall if possible.
35365 2011-09-05 Ulrich Drepper <drepper@gmail.com>
35367 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
35368 e_ident. Don't pass to find_mapsXX.
35369 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
35371 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35373 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35374 strchr-sse2-no-bsf strrchr-sse2-no-bsf
35375 * sysdeps/x86_64/multiarch/strchr.S: Update.
35376 Check bit_slow_BSF bit.
35377 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35378 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
35379 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
35381 2011-09-05 Ulrich Drepper <drepper@gmail.com>
35384 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
35386 (tryshell): Define.
35387 (__spawni): Change last parameter to be flag. Test
35388 SPAWN_XFLAGS_USE_PATH flag to use path or not.
35389 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
35390 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
35391 * posix/spawni.c: Likewise.
35392 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
35393 * posix/spawnp.c: Likewise. Change normal version to use
35394 SPAWN_XFLAGS_USE_PATH.
35395 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
35396 SPAWN_XFLAGS_TRY_SHELL.
35399 * posix/glob.h: Remove gcc 1.x support.
35402 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
35404 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35406 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35407 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
35409 * sysdeps/i386/i686/multiarch/strchr.S: New file.
35410 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
35411 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
35412 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
35413 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
35414 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
35416 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35418 * sysdeps/x86_64/wcscmp.S: New file.
35420 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
35421 wcscmp-c wcscmp-sse2
35422 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
35423 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
35424 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
35425 * wcsmbs/wcscmp.c: Allow renaming.
35427 2011-09-05 David S. Miller <davem@davemloft.net>
35429 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
35430 stack slot, rather than the struct return pointer slot.
35431 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
35432 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
35433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
35434 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
35436 2011-09-05 Ulrich Drepper <drepper@gmail.com>
35438 * po/ja.po: Update from translation team.
35441 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
35442 kernel in 64-bit binaries.
35444 2011-09-01 David S. Miller <davem@davemloft.net>
35446 * elf/elf.h (HWCAP_SPARC_*): Move to..
35447 * sysdeps/sparc/sysdep.h: this new file and add new values.
35448 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
35449 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
35450 _DL_HWCAP_COUNT to 24.
35451 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35453 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
35454 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
35455 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
35456 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
35457 instead of magic constants.
35458 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35460 2011-08-31 David S. Miller <davem@davemloft.net>
35462 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
35463 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
35464 Reimplement to do errno handling inline.
35465 (SYSCALL_ERROR_HANDLER): New macro.
35466 (__SYSCALL_STRING): Do not do errno handling in asm.
35467 (__CLONE_SYSCALL_STRING): Delete.
35468 (__INTERNAL_SYSCALL_STRING): Delete.
35469 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
35470 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
35471 (PSEUDO): Reimplement to do errno handling inline.
35472 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
35473 (SYSCALL_ERROR_HANDLER): New macro.
35474 (__SYSCALL_STRING): Do not do errno handling in asm.
35475 (__CLONE_SYSCALL_STRING): Delete.
35476 (__INTERNAL_SYSCALL_STRING): Delete.
35477 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
35478 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
35480 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
35481 (inline_syscall*): Add 'err' argument.
35482 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
35483 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
35484 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
35485 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
35487 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
35488 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35490 2011-08-30 Andreas Schwab <schwab@redhat.com>
35492 * elf/rtld.c (dl_main): Relocate objects in dependency order.
35494 2011-08-29 Jiri Olsa <jolsa@redhat.com>
35496 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
35499 2011-08-24 David S. Miller <davem@davemloft.net>
35501 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
35503 2011-08-24 Andreas Schwab <schwab@redhat.com>
35505 * elf/Makefile: Add rules to build and run unload8 test.
35506 * elf/unload8.c: New file.
35507 * elf/unload8mod1.c: New file.
35508 * elf/unload8mod1x.c: New file.
35509 * elf/unload8mod2.c: New file.
35510 * elf/unload8mod3.c: New file.
35512 * elf/dl-close.c (_dl_close_worker): Reset private search list if
35515 2011-08-23 David S. Miller <davem@davemloft.net>
35517 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
35518 subtract stack bias.
35519 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
35520 %sp not %fp in calculations.
35521 (_JMPBUF_UNWINDS_ADJ): Likewise.
35523 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
35524 (aio_suspend): Call it to force an exception region around the
35525 AIO_MISC_WAIT() invocation.
35527 2011-08-23 Andreas Schwab <schwab@redhat.com>
35529 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
35532 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
35534 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
35536 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
35537 and <dl-machine.h>.
35538 (Elf64_FuncDesc): Remove.
35540 2011-08-22 David S. Miller <davem@davemloft.net>
35542 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
35543 sigaltstack check, add missing cfi directives.
35544 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
35545 missing cfi directives, and sigaltstack handling.
35547 2011-08-16 Andreas Schwab <schwab@redhat.com>
35550 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
35551 object is seen twice.
35552 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35554 * elf/Makefile (distribute): Add tst-initorder2.c.
35555 (tests): Add tst-initorder2.
35556 (modules-names): Add tst-initorder2a tst-initorder2b
35557 tst-initorder2c tst-initorder2d. Add rules to build them.
35558 ($(objpfx)tst-initorder2.out): New rule.
35559 * elf/tst-initorder2.c: New file.
35560 * elf/tst-initorder2.exp: New file.
35562 2011-08-22 Andreas Schwab <schwab@redhat.com>
35564 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
35566 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
35567 dependencies back to end of function.
35569 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35570 $(elfobjdir)/ld.so.
35572 2011-08-21 Ulrich Drepper <drepper@gmail.com>
35574 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
35575 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
35576 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
35577 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
35578 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
35579 of __vdso_gettimeofday.
35580 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
35581 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
35583 (_libc_vdso_platform_setup): Remove initialization of
35584 __vdso_gettimeofday and __vdso_time.
35586 2011-08-20 Ulrich Drepper <drepper@gmail.com>
35588 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
35589 and fgetc_unlocked.
35590 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
35593 * elf/dl-open.c (add_to_global): Report additions to the global scope
35594 for LD_DEBUG=scopes.
35595 (dl_open_worker): Also print scope of newly loaded dependencies.
35596 (_dl_show_scope): Indicate if there is no scope.
35599 * stdio-common/Makefile (tests): Add bug24.
35600 * stdio-common/bug24.c: New file.
35602 2011-08-19 Andreas Jaeger <aj@suse.de>
35605 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
35606 non-existant file when using close-on-exec mode.
35608 2011-08-20 Ulrich Drepper <drepper@gmail.com>
35610 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
35611 the very first instruction.
35613 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
35614 the CFI state in the end.
35615 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
35616 inclusion of dl-trampoline.h.
35617 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
35619 2011-08-19 Andreas Schwab <schwab@redhat.com>
35621 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
35622 expectations for long double.
35624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
35625 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
35627 2011-08-14 David S. Miller <davem@davemloft.net>
35629 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
35630 artificual limit depends upon the system page size.
35632 2011-08-17 Ulrich Drepper <drepper@gmail.com>
35634 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
35635 * resolv/Makefile: Define CFLAGS-libresolv.
35637 2011-08-17 Andreas Schwab <schwab@redhat.com>
35639 * nss/makedb.c (compute_tables): Make variables used in nested
35642 2011-08-17 Ulrich Drepper <drepper@gmail.com>
35644 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
35645 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
35646 if buffer was too small.
35648 * elf/pldd.c (main): Attach to all threads in the process.
35649 Rewrite /proc handling to use *at functions.
35651 2011-08-16 Ulrich Drepper <drepper@gmail.com>
35653 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
35654 specifies first scope to show.
35655 (dl_open_worker): Update callers. Move printing scope of new
35656 object to before the relocation.
35657 * elf/rtld.c (dl_main): Update _dl_show_scope call.
35658 * sysdeps/generic/ldsodefs.h: Update declaration.
35660 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
35661 string for the scope number.
35663 2011-08-14 Ulrich Drepper <drepper@gmail.com>
35665 * nscd/servicescache.c (cache_addserv): Make sure written is always
35668 2011-08-14 Roland McGrath <roland@hack.frob.com>
35670 * sysdeps/i386/i486/bits/atomic.h
35671 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
35672 statement expression, so as to suppress "set but not used" warning.
35673 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
35675 * string/strncat.c (STRNCAT): Use prototype definition.
35677 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
35678 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
35680 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
35681 (localedef-modules): Add localedef.
35682 (locale-modules): Add locale.
35684 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
35685 * elf/rtld.c (dl_main): Invert order of assignment in last change,
35686 to avoid a warning.
35688 2011-08-14 David S. Miller <davem@davemloft.net>
35690 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
35691 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35693 2011-08-13 Ulrich Drepper <drepper@gmail.com>
35695 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
35696 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
35697 * elf/rtld.c (dl_main): Set l_name of vDSO.
35698 Call _dl_show_scope when DL_DEBUG_SCOPES.
35699 (process_dl_debug): Recognize scopes flag and also set it for all.
35700 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
35701 Declare _dl_show_scope.
35703 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
35704 (do_dlopen): Pass caller_dlopen to dl_open.
35705 (__libc_dlopen_mode): Initialize caller_dlopen.
35707 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
35708 of libc. Make tolower call locale-independent. Optimize a bit by
35709 using isdigit instead of isalnum.
35710 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
35712 2011-08-12 Ulrich Drepper <drepper@gmail.com>
35714 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35715 was a dependency or dynamically loaded.
35717 2011-08-11 Ulrich Drepper <drepper@gmail.com>
35719 * intl/l10nflist.c: Allow architecture-specific pop function.
35720 * sysdeps/x86_64/l10nflist.c: New file.
35722 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35725 2011-08-10 Andreas Schwab <schwab@redhat.com>
35727 * include/dirent.h: Add libc_hidden_proto for scandirat and
35728 scandirat64. Don't declare __scandirat64.
35729 * dirent/scandirat.c: Add libc_hidden_def.
35730 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35731 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35733 2011-08-10 David S. Miller <davem@davemloft.net>
35735 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35737 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35738 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35739 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35741 2011-08-09 Ulrich Drepper <drepper@gmail.com>
35743 * Versions.def [libc]: Add GLIBC_2.15.
35744 * dirent/Makefile (routines): Add scandirat and scandirat64.
35745 * dirent/Versions [libc]: Export scandirat and scandirat64 for
35747 * dirent/dirent.h: Declare scandirat and scandirat64.
35748 * dirent/scandirat.c: New file.
35749 * dirent/scandirat64.c: New file.
35750 * sysdeps/wordsize-64/scandirat.c: New file.
35751 * sysdeps/wordsize-64/scandirat64.c: New file.
35752 * dirent/opendir.c: Define opendirat.
35753 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
35755 * dirent/scandir64.c: Adjust for scandir.c change.
35756 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
35757 __scandirat64, and __scandir_cancel_handler.
35758 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
35759 additional parameter and use openat instead of open (outside of ld.so).
35760 Add new __opendir as wrapper around __opendirat.
35761 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35762 here without requiring old scandirat implementation.
35764 2011-08-08 Ulrich Drepper <drepper@gmail.com>
35766 * dirent/scandir.c (cancel_handler): Renamed to
35767 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
35768 defined. Adjust users.
35769 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35770 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35772 2011-08-04 Ulrich Drepper <drepper@gmail.com>
35774 * string/test-string.h (IMPL): Use __STRING to expand name and then
35777 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
35780 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35782 * string/Makefile: Update.
35783 (strop-tests): Append strncat.
35784 * string/test-wcscmp.c: New file.
35785 New comprehensive test for wcscmp.
35786 * string/test-strcmp.c: Update.
35787 (WIDE): New define.
35789 2011-07-22 Andreas Schwab <schwab@redhat.com>
35791 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35794 2011-07-26 Andreas Schwab <schwab@redhat.com>
35796 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35797 encoding to ACE if AI_IDN.
35799 2011-08-01 Jakub Jelinek <jakub@redhat.com>
35801 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35802 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35804 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35806 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35807 Fix overflow bug in strncat.
35808 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35810 * string/test-strncat.c: Update.
35811 Add new tests for checking overflow bugs.
35813 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35815 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35816 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35817 * sysdeps/i386/i686/multiarch/strcat.S: New file.
35818 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35819 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35820 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35821 * sysdeps/i386/i686/multiarch/strncat.S: New file.
35822 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35823 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35825 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35826 (USE_AS_STRCAT): Define.
35827 Add strcat and strncat support.
35828 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35830 2011-07-25 Andreas Schwab <schwab@redhat.com>
35832 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35833 __n bigger than INT_MAX+1.
35834 (__strncmp_g): Likewise.
35836 2011-07-23 Ulrich Drepper <drepper@gmail.com>
35838 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35839 * libio/stido.h: Likewise.
35841 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35843 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35846 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35847 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35848 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35849 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35850 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35853 * scripts/test-installation.pl: Don't expect libnss_test1 to be
35856 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35858 (_dl_x86_64_save_sse): Likewise.
35860 2011-07-22 Ulrich Drepper <drepper@gmail.com>
35862 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35864 (_dl_x86_64_save_sse): Likewise.
35866 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35868 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35870 2011-07-21 Andreas Schwab <schwab@redhat.com>
35872 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35874 (_dl_x86_64_save_sse): Use correct AVX check.
35876 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35878 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35879 bug in strncpy/strncat.
35880 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35882 2011-07-21 Ulrich Drepper <drepper@gmail.com>
35884 * string/tester.c (test_strcat): Add tests for different alignments
35885 of source and destination.
35886 (test_strncat): Likewise.
35888 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35891 * posix/glob.c (glob): Check passed in values before using them in
35892 expressions to avoid some overflows.
35893 (glob_in_dir): Likewise.
35896 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35897 check for AVX enablement so that we don't crash with old kernels and
35899 * elf/tst-audit4.c: Add same checks here.
35900 * elf/tst-audit6.c: Likewise.
35902 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35904 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
35906 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35908 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35910 * po/cs.po: Update from translation team.
35911 * po/bg.po: Likewise.
35913 2011-07-12 Marek Polacek <mpolacek@redhat.com>
35915 * misc/sys/cdefs.h: Add support for const attribute.
35916 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35917 to gnu_dev_{major,minor,makedev} functions.
35919 2011-07-20 Marek Polacek <mpolacek@redhat.com>
35921 * intl/dcigettext.c (get_output_charset): Add missing bracket.
35923 2011-07-20 Andreas Schwab <schwab@redhat.com>
35925 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35928 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35930 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35931 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35932 register in order to avoid conflicts with the soft frame pointer
35933 being held in r11 when necessary.
35934 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35935 (INTERNAL_VSYSCALL_NCS): Likewise.
35937 2011-07-14 Marek Polacek <mpolacek@redhat.com>
35939 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35940 * elf/dl-fini.c (_dl_fini): Adjust caller.
35941 * elf/dl-close.c (_dl_close_worker): Likewise.
35942 * sysdeps/generic/ldsodefs.h: Adjust declaration.
35944 2011-07-15 Marek Polacek <mpolacek@redhat.com>
35946 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35947 "aux_cache->nlibs < 0".
35949 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35950 in the reload-count case.
35952 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35954 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35955 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35956 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35957 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35958 * sysdeps/x86_64/multiarch/strcat.S: New file.
35959 * sysdeps/x86_64/multiarch/strncat.S: New file.
35960 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35961 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35962 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35963 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35964 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35965 (USE_AS_STRCAT): Define.
35966 Add strcat and strncat support.
35967 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35968 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35969 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35970 * string/strncat.c: Update.
35971 (USE_AS_STRNCAT): Define.
35972 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35973 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35975 * sysdeps/x86_64/multiarch/init-arch.h
35976 (bit_Prefer_PMINUB_for_stringop): New.
35977 (index_Prefer_PMINUB_for_stringop): Likewise.
35978 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35979 bit_Prefer_PMINUB_for_stringop.
35981 2011-07-19 Ulrich Drepper <drepper@gmail.com>
35983 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35985 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35986 of casting of buffer.
35987 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35988 buffer32 and buffer64.
35989 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35990 writes instead of casting of buffer.
35991 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35993 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35996 2011-07-19 Andreas Schwab <schwab@redhat.com>
35998 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36000 2011-07-19 Ulrich Drepper <drepper@gmail.com>
36002 * nscd/nscd.c (termination_handler): Don't do anything for a database
36003 if it has not yet been initialized.
36005 2011-07-18 Ulrich Drepper <drepper@gmail.com>
36007 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36009 2011-07-15 Marek Polacek <mpolacek@redhat.com>
36011 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36013 2011-07-18 Ulrich Drepper <drepper@gmail.com>
36015 * po/nl.po: Update from translation team.
36016 * po/sv.po: Likewise.
36018 2011-07-16 Roland McGrath <roland@hack.frob.com>
36020 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36021 now disallowed by GCC.
36023 * configure.in (use-default-link): Default to yes if a test -shared
36024 link meets our qualifications.
36025 * configure: Regenerated.
36027 * config.make.in (output-format): New variable.
36028 * configure.in: Check for ld --print-output-format support.
36029 * configure: Regenerated.
36030 * Makerules ($(common-objpfx)format.lds)
36031 [$(output-format) != unknown]: Just use $(output-format),
36032 instead of the linker-script munging.
36034 2011-07-14 Roland McGrath <roland@hack.frob.com>
36036 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36037 of $(common-objpfx)shlib.lds.
36038 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
36040 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36041 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36043 * configure.in (-z relro check): Adjust test code to add a large
36044 writable data section after it.
36045 * configure: Regenerated.
36047 2011-07-11 Roland McGrath <roland@hack.frob.com>
36049 * configure.in (-z relro check): Fix test code to make the variable
36051 * configure: Regenerated.
36053 2011-07-11 Ulrich Drepper <drepper@gmail.com>
36055 * nscd/nscd.h (struct traced_file): Define.
36056 (struct database_dyn): Remove inotify_descr, reset_res, and filename
36057 elements. Add traced_files.
36058 (inotify_fd): Declare.
36059 (register_traced_file): Declare.
36060 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
36061 (inotify_fd): Export.
36062 (resolv_conf_descr): Remove.
36063 (nscd_init): Move inotify descriptor creation to main.
36064 Don't register files for notification here.
36065 (register_traced_file): New function.
36066 (invalidate_cache): Don't use reset_res to determine whether to call
36067 res_init, go through the list of registered files.
36068 (main_loop_poll): The inotify descriptors are now stored in the
36069 structures for the traced files.
36070 (main_loop_epoll): Likewise
36071 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
36072 to __nss_disable_nscd.
36073 * nscd/cache.c (prune_cache): There is no single inotify descriptor
36074 for a database anymore. Check the records for all the registered
36076 * nss/Makefile (libnss_files-routines): Add files-init.
36077 (libnss_db-routines): Add db-init.
36078 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
36079 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
36080 * nss/nss_db/db-init.c: New file.
36081 * nss/nss_files/files-init.c: New file.
36082 * nss/nsswitch.c (nss_load_library): New function. Broken out of
36083 __nss_lookup_function.
36084 (__nss_lookup_function): Call nss_load_library.
36085 (nss_load_all_libraries): New function.
36086 (__nss_disable_nscd): Take parameter with callback function for files
36087 to register. Set is_nscd. Load all the DSOs for the NSS modules
36088 used for the cached services.
36089 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
36090 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
36091 options for features to all the files in nscd.
36093 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
36095 2011-07-10 Roland McGrath <roland@hack.frob.com>
36097 * csu/elf-init.c (__libc_csu_init): Comment typo.
36099 2011-07-09 Ulrich Drepper <drepper@gmail.com>
36101 * po/pl.po: Update from translation team.
36102 * po/ja.po: Likewise.
36103 * po/ru.po: Likewise.
36104 * po/ko.po: Likewise.
36105 * po/fr.po: Likewise.
36107 2011-07-09 Roland McGrath <roland@hack.frob.com>
36109 * configure.in (.ctors/.dtors header and trailer check):
36110 Use an empirical test on a built program.
36111 * configure: Regenerated.
36113 * configure.in (-z relro check): Use an empirical test on a built DSO.
36114 Detect, but do not require, on ia64.
36115 * configure: Regenerated.
36117 * configure.in (READELF): Find it with AC_CHECK_TOOL.
36118 Update tests that use readelf to use $READELF instead.
36119 * configure: Regenerated.
36121 2011-07-08 Ulrich Drepper <drepper@gmail.com>
36123 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
36124 if the result is not used.
36126 2011-07-05 Andreas Jaeger <aj@suse.de>
36129 * stdlib/tst-strtod.c: Add testcase.
36131 2011-07-07 Ulrich Drepper <drepper@gmail.com>
36133 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
36134 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
36135 The latter has a higher limit. Take additional parameter to pass to
36137 (__pathconf): Pass file to __statfs_link_max.
36138 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
36140 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
36144 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
36145 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36147 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
36148 (__statfs_filesize_max): Likewise.
36149 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
36151 2011-07-05 Andreas Jaeger <aj@suse.de>
36153 * resolv/res_comp.c (dn_skipname): Remove unused variable.
36155 2011-07-06 Marek Polacek <mpolacek@redhat.com>
36157 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
36159 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
36162 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
36164 * Makefile (strop-tests): Add strncat.
36165 * string/test-strncat.c: New file.
36167 2011-06-30 Marek Polacek <mpolacek@redhat.com>
36169 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
36171 2011-06-21 Andreas Jaeger <aj@suse.de>
36173 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
36174 Copy rule from iconvdata/Makefile.
36176 2011-07-06 Ulrich Drepper <drepper@gmail.com>
36179 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
36180 but no long options are defined, just return 'W'.
36182 2011-06-22 Marek Polacek <mpolacek@redhat.com>
36185 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
36187 2011-07-06 Ulrich Drepper <drepper@gmail.com>
36189 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
36191 (innetgr): Likewise.
36193 2011-07-05 Roland McGrath <roland@hack.frob.com>
36195 * config.make.in (install_root): Default to $(DESTDIR).
36197 2011-07-05 Ulrich Drepper <drepper@gmail.com>
36199 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
36201 2011-07-02 Roland McGrath <roland@hack.frob.com>
36203 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
36205 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
36206 containing directory rather than embedding absolute directory names.
36208 * scripts/check-local-headers.sh: Rewritten using awk.
36209 Match by word, not by line. Print error messages for matches.
36210 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
36212 * Makerules [shlib-lds-flags empty]:
36213 ($(common-objpfx)libc_pic.opts): New target.
36214 ($(common-objpfx)libc_pic.os.clean): New target.
36215 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
36217 * config.make.in (OBJCOPY): New variable.
36218 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
36219 * configure: Regenerated.
36221 * config.make.in (use-default-link): New variable.
36222 * configure.in (use_default_link): Grok --with-default-link to set it.
36223 * configure: Regenerated.
36224 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
36225 (shlib-lds, shlib-lds-flags): Define to empty.
36227 * Makerules (shlib-lds): New variable.
36228 (shlib-lds-flags): New variable.
36229 (build-shlib, build-moduile, build-module-asneeded): Use it.
36230 ($(common-objpfx)libc.so): Use $(shlib-lds).
36231 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
36232 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
36234 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
36235 DT_FLAGS/DT_FLAGS_1 with zero flags.
36237 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
36238 linker script munging.
36240 2011-07-02 Ulrich Drepper <drepper@gmail.com>
36242 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
36244 * crypt/sha512.c (sha512_process_block): Perform total addition using
36245 128-bit if possible.
36246 (__sha512_finish_ctx): Likewise.
36247 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
36249 * crypt/sha256.c (SWAP64): Define.
36250 (sha256_process_block): Perform total addition using 64-bit if
36252 (__sha256_finish_ctx): Likewise.
36254 2011-07-01 Ulrich Drepper <drepper@gmail.com>
36256 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
36257 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36258 * nscd/hstcache.c (cache_addhst): Likewise.
36259 * nscd/grpcache.c (cache_addgr): Likewise.
36260 * nscd/aicache.c (addhstaiX): Likewise
36261 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
36263 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
36265 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
36266 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36267 * nscd/hstcache.c (cache_addhst): Likewise.
36268 * nscd/grpcache.c (cache_addgr): Likewise.
36269 * nscd/aicache.c (addhstaiX): Likewise
36271 2011-07-01 Andreas Schwab <schwab@redhat.com>
36273 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
36274 domain only when needed.
36276 2011-06-30 Andreas Schwab <schwab@redhat.com>
36278 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
36279 is always restored.
36281 2011-06-29 Ulrich Drepper <drepper@gmail.com>
36283 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
36284 are re-adding the entry.
36285 * nscd/servicescache.c (cache_addserv): Likewise.
36287 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
36289 * sysdeps/generic/dl-irel.h: fix protection against multiple
36291 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
36293 2011-06-28 Ulrich Drepper <drepper@gmail.com>
36296 * malloc/memusage.sh: Fix quoting in message.
36297 * debug/xtrace.sh: Likewise.
36299 * configure.in: Remove support for --experimental-malloc option, make
36301 * config.make.in: Likewise.
36302 * malloc/Makefile: Likewise.
36304 2011-06-27 Andreas Schwab <schwab@redhat.com>
36306 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
36307 two-byte characters.
36309 2011-06-27 Roland McGrath <roland@hack.frob.com>
36311 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
36312 AC_CACHE_CHECK invocation.
36313 * configure: Regenerated.
36315 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
36317 2011-06-27 Ulrich Drepper <drepper@gmail.com>
36320 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
36321 bit from old_res_options.
36323 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
36325 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
36326 value type for setfct.
36328 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
36330 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36331 __gettimeofday instead of gettimeofday.
36333 2011-06-26 Ulrich Drepper <drepper@gmail.com>
36335 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
36337 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
36339 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
36341 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
36344 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36346 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36347 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36348 strcpy-sse2-unaligned strncpy-sse2-unaligned
36349 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
36350 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
36351 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
36352 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
36353 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
36354 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
36355 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
36356 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
36357 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
36358 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
36359 (STRCPY): Support SSE2 and SSSE3 versions.
36361 2011-06-24 Ulrich Drepper <drepper@gmail.com>
36364 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
36365 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
36366 kernels which artificially limit size of requests.
36368 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36370 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36371 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36372 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
36373 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
36374 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
36375 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
36376 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
36377 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
36378 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
36379 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
36380 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
36381 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
36382 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
36383 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
36384 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
36385 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36386 Enable unaligned load optimization for Intel Core i3, i5 and i7
36388 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
36390 (index_Fast_Unaligned_Load): Define.
36391 (HAS_FAST_UNALIGNED_LOAD): Define.
36393 2011-06-23 Marek Polacek <mpolacek@redhat.com>
36395 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
36397 2011-06-22 Ulrich Drepper <drepper@gmail.com>
36400 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
36401 until it is clear that the information is realy needed.
36402 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
36404 2011-06-22 Andreas Schwab <schwab@redhat.com>
36406 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
36408 2011-06-22 Ulrich Drepper <drepper@gmail.com>
36410 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36411 /sys/devices/system/cpu/online if it is usable.
36413 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
36414 reading the information from the /proc filesystem to once a second.
36416 2011-06-21 Andreas Jaeger <aj@suse.de>
36418 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
36419 NULL after inclusion of kernel headers.
36421 2011-06-21 Ulrich Drepper <drepper@gmail.com>
36423 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
36424 calls to internal_setent.
36427 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
36428 addresses using gethostbyname4_r ignore IPv4 addresses.
36430 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
36431 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
36433 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
36435 2011-06-20 David S. Miller <davem@davemloft.net>
36437 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
36439 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
36441 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
36442 (elf_irel): Use it.
36443 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
36444 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
36445 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
36446 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
36447 * sysdeps/x86_64/dl-irel.h: Likewise.
36449 * elf/dl-runtime.c: Use elf_ifunc_invoke.
36450 * elf/dl-sym.c: Likewise.
36452 2011-06-15 Ulrich Drepper <drepper@gmail.com>
36454 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
36455 need to dereference resplen2.
36457 2011-06-14 Andreas Schwab <schwab@redhat.com>
36459 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
36461 2011-06-15 Ulrich Drepper <drepper@gmail.com>
36463 * Makeconfig: Define vardbdir and inst_vardbdir.
36464 * nss/Makefile: Add rules to install db-Makefile.
36466 * nss/nss_db/db-XXX.c: Cleanup.
36468 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
36469 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
36471 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
36472 * nss/makedb.c: Implement -g option to specify that value strings
36473 are generated and should not be added to table iterated over for
36475 * nss/nss_db/db-initgroups.c: New file.
36477 * nss/getent.c: Add support for initgroups lookups through getgrouplist
36480 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
36481 (internal_getgrouplist): Adjust to name change.
36482 Update use_initgroups_entry if this is not the first call.
36483 * nss/databases.def: Add initgroups entry.
36485 * nss/makedb.c (compute_tables): Check result of multiple hash table
36486 sizes to minimize maximum chain length.
36488 2011-06-14 Ulrich Drepper <drepper@gmail.com>
36490 * Versions.def: Add entry for libnss_db.
36491 * shlib-versions: Likewise.
36492 * nss/Makefile: Add rules to build libnss_db.
36493 * nss/Versions: Add libnss_db information. Organize libnss_files
36495 * nss/db-Makefile: Add gshadow support. Change rules for the new
36496 makedb progra. Some minor improvements to generate smaller files.
36497 * nss/nss_db/nss_db.h: Move NSS database header data structures to
36499 * nss/makedb.c: ...here.
36500 Improve database format to be smaller and require less memory at
36502 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
36504 * nss/nss_db/db-netgrp.c: Likewise.
36505 * nss/nss_db/db-open.c: Likewise.
36506 * nss/nss_files/flies-XXX.x: Adjust comments.
36507 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
36508 * nss/nss_files/files-grp.c: Likewise.
36509 * nss/nss_files/files-hosts.c: Likewise.
36510 * nss/nss_files/files-network.c: Likewise.
36511 * nss/nss_files/files-proto.c: Likewise.
36512 * nss/nss_files/files-pwd.c: Likewise.
36513 * nss/nss_files/files-rpc.c: Likewise.
36514 * nss/nss_files/files-service.c: Likewise.
36515 * nss/nss_files/files-sgrp.c: Likewise.
36516 * nss/nss_files/files-spwd.c: Likewise.
36517 * nss/nss_db/db-alias.c: Removed.
36518 * nss/nss_db/dummy-db.h: Removed.
36520 2011-06-02 Ulrich Drepper <drepper@gmail.com>
36522 * nss/makedb.c: Rewritten to not use database library.
36523 * nss/Makefile: Update to build new makedb program.
36525 2011-06-14 Andreas Jaeger <aj@suse.de>
36527 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
36528 memset declaration.
36530 2011-06-10 Andreas Schwab <schwab@redhat.com>
36532 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
36535 2011-06-10 Roland McGrath <roland@hack.frob.com>
36537 * Makerules (shlib.lds): Fail if the linker script comes out empty.
36538 * elf/Makefile ($(objpfx)ld.so): Likewise.
36540 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
36541 Don't list ld.so twice in dependencies.
36543 * posix/bug-regex31.c: Include <stdlib.h>.
36545 * nscd/hstcache.c (cache_addhst): Remove unused variable.
36547 * nis/nss_compat/compat-spwd.c
36548 (getspent_next_nss_netgr): Remove unused variable.
36549 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
36551 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
36552 nonmembers" output to use the right array.
36554 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
36556 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
36558 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
36559 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
36560 * catgets/gencat.c (read_input_file): Likewise.
36561 * locale/programs/locarchive.c (enlarge_archive): Likewise.
36563 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
36564 variable definition inside #if's controlling its use.
36566 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
36568 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
36570 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
36572 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
36575 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
36577 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
36578 * configure: Regenerated.
36580 * Makerules: Revert last change.
36581 * elf/Makefile: Likewise.
36583 2011-06-09 Roland McGrath <roland@hack.frob.com>
36585 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
36586 * elf/Makefile ($(objpfx)librtld.os): Likewise.
36587 (reloc-link): Likewise.
36589 2011-06-09 Ulrich Drepper <drepper@gmail.com>
36591 * elf/Makefile: Add rules to build pldd.
36592 * elf/pldd.c: New file.
36593 * elf/pldd-xx.c: New file.
36595 2011-06-07 Ulrich Drepper <drepper@gmail.com>
36597 * version.h: Update for 2.15 development version.
36599 2011-06-07 David S. Miller <davem@davemloft.net>
36601 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
36603 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
36604 elf_machine_lazy_rel): Likewise.
36605 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36606 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
36607 elf_machine_lazy_rel): Likewise.
36608 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
36609 dl_hwcap via passed in argument.
36610 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
36613 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36615 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
36617 2011-06-06 Roland McGrath <roland@hack.frob.com>
36620 * manual/fdl-1.1.texi: New file, verbatim from:
36621 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
36622 * manual/lgpl-2.1.texi: New file, verbatim from:
36623 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
36624 * manual/Makefile (licenses): New variable, list those new file names.
36626 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
36628 * manual/fdl.texi: File removed.
36629 * manual/lesser.texi: File removed.
36630 * manual/libc.texinfo (Copying, Documentation License):
36631 Use new @include file names, put @appendix directive before @include.
36633 2011-06-04 Jakub Jelinek <jakub@redhat.com>
36636 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
36637 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
36638 (mq_open): Add __NTH.
36640 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
36642 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36643 Assume Intel Core i3/i5/i7 processor if AVX is available.
36645 2011-05-31 Ulrich Drepper <drepper@gmail.com>
36647 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36650 2011-05-31 Andreas Schwab <schwab@redhat.com>
36652 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
36653 memory. Use alloca_account. Fix memory leak when retrying.
36655 2011-05-31 Ulrich Drepper <drepper@gmail.com>
36657 * version.h (RELEASE): Bump for 2.14 release.
36658 * include/features.h (__GLIBC_MINOR__): Bump to 14.
36660 * config.make.in (RANLIB): Remove entry.
36662 2011-05-30 Ulrich Drepper <drepper@gmail.com>
36664 * po/Makefile (po-sed-cmd): Add ksh to extensions.
36665 (libc.pot): Work around missing support for .ksh extension in xgettext.
36668 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
36669 if both request failed.
36670 (send_dg): In case of server errors clear resplen or *resplen2.
36673 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
36674 when there are multiple maps.
36675 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
36676 (_dl_fini): Remove test here.
36678 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
36680 2011-05-29 Ulrich Drepper <drepper@gmail.com>
36683 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36684 bit from old_res_options.
36685 (gaih_inet): Likewise.
36688 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
36691 * resolv/res_init.c (res_setoptions): Make the code more compact.
36694 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
36698 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
36700 * malloc/malloc.h: Mark malloc hook variables as deprecated.
36703 * malloc/malloc.h: Declare malloc hook variables as volatile.
36705 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36709 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
36710 raise in the comment.
36711 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36712 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36713 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
36715 2011-05-28 Ulrich Drepper <drepper@gmail.com>
36718 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36719 grow the buffers more if it already has to be sufficient.
36720 (build_wcs_upper_buffer): Likewise.
36721 * posix/regexec.c (check_matching): Likewise.
36722 (clean_state_log_if_needed): Likewise.
36723 (extend_buffers): Don't enlarge buffers beyond size of the input
36725 Patches mostly by Emil Wojak <emil@wojak.eu>.
36726 * posix/bug-regex32.c: New file.
36727 * posix/Makefile (tests): Add bug-regex32.
36729 * locale/findlocale.c (_nl_find_locale): Return right away if
36730 _nl_explode_name failed.
36731 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36733 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36735 * debug/xtrace.sh: Unify messages.
36736 * malloc/memusage.sh: Likewise.
36739 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36740 time symbol from vDSO. Substitute with vsyscall if not available.
36741 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36744 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36745 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36746 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36747 Add sendmmsg and internal_sendmmsg.
36748 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36749 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36750 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36752 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36753 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36754 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36756 2011-05-27 Ulrich Drepper <drepper@gmail.com>
36759 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36760 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
36762 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36766 * iconvdata/Makefile (tests): Add bug-iconv9.
36767 * iconvdata/bug-iconv9.c: New file.
36769 2011-05-27 Andreas Schwab <schwab@redhat.com>
36772 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36774 2011-05-25 Jakub Jelinek <jakub@redhat.com>
36776 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36777 (struct user_regs_struct): Change intcs field back to cs.
36779 2011-05-25 Ulrich Drepper <drepper@gmail.com>
36781 * po/ja.po: Update from translation team.
36783 2011-05-23 Ulrich Drepper <drepper@gmail.com>
36786 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36787 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36789 2011-05-20 Andreas Schwab <schwab@redhat.com>
36791 * stdlib/longlong.h: Update from GCC.
36793 2011-05-23 Andreas Schwab <schwab@redhat.com>
36795 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36797 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36798 Add parameter name.
36799 (__sysconf): Pass it down.
36801 2011-05-22 Ulrich Drepper <drepper@gmail.com>
36804 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36806 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36807 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36808 add in in __libc_use_alloca calls. Adjust callers.
36809 (glob): Use malloc in some situations.
36811 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36812 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36815 2011-05-21 Ulrich Drepper <drepper@gmail.com>
36817 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36818 and CLOCK_BOOTTIME_ALARM.
36821 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36824 * string/_strerror.c (__strerror_r): Print negative errors as signed
36828 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36829 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36830 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36832 * configure.in: Fix typo in redirection and correct removal of test
36833 files in two cases.
36836 * locale/setlocale.c (new_composite_name): Fix test to check for
36837 identical name of all categories.
36840 * libio/filedoalloc.c (local_isatty): New function.
36841 (_IO_file_doallocate): Use local_isatty.
36842 * stdio-common/perror.c (perror): In case a new stream is used
36843 forward the stream error.
36844 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36847 2011-05-20 Ulrich Drepper <drepper@gmail.com>
36850 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36852 * include/alloca.h (extend_alloca_account): Define.
36855 * posix/regex.h: Fix comments with documentation of user-accessible
36856 fields after compilation and describe correct free'ing of pattern
36857 after re_compile_pattern.
36858 Patch by Reuben Thomas <rrt@sc3d.org>.
36860 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
36862 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36863 and -mno-altivec to prevent the compiler from using Altivec and/or
36864 VSX instructions when the corresponding registers are not available.
36866 2011-05-19 Andreas Schwab <schwab@redhat.com>
36868 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36870 2011-05-19 Ulrich Drepper <drepper@gmail.com>
36872 * libio/freopen.c (freopen): Use __dup2, not dup2.
36873 * libio/freopen64.c (freopen64): Likewise.
36875 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
36878 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36879 * math/Makefile (tests): Add test-powl.
36880 (CFLAGS-test-powl.c): Define.
36881 * math/test-powl.c: New file.
36883 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
36885 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36887 2011-05-17 Ulrich Drepper <drepper@gmail.com>
36890 * iconvdata/gb18030.c: Update to GB18020-2005.
36892 2011-05-16 Ulrich Drepper <drepper@gmail.com>
36894 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36895 RE_SYNTAX_POSIX_AWK): Update to match recent development.
36896 Patch by Aharon Robbins <arnold@skeeve.com>.
36899 * stdlib/putenv.c (putenv): Don't always create copy of the variable
36903 * misc/pselect.c (__pselect): Handle timeout value errors hidden
36904 through underflows.
36907 * misc/error.c (error_at_line): Ensure file_name and old_file_name
36908 point to strings before performing equality test for error_one_per_line
36912 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36915 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36916 (struct user_fpregs_struct): Avoid __uint*_t types.
36919 * malloc/mtrace.c (tr_where): Add additional parameter to point to
36920 symbol info. Use it instead of calling _dl_addr locally.
36921 (lock_and_info): New function.
36922 (tr_freehook): Call lock_and_info and pass symbol info as additional
36923 parameter to tr_where.
36924 (tr_mallochook): Likewise.
36925 (tr_reallochook): Likewise.
36926 (tr_memalignhook): Likewise.
36928 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
36929 used and couldn't be at all thread-safe.
36931 2011-05-15 Ulrich Drepper <drepper@gmail.com>
36933 * libio/freopen.c (freopen): Don't close old file descriptor
36934 before the new one is opened. Instead dup the new file descriptor
36935 to the old one after the new stream is created.
36936 * libio/freopen64.c (freopen64): Likewise.
36937 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36938 * libio/fileops.c (_IO_new_file_close_it): Handle new
36939 _IO_FLAGS2_NOCLOSE flag.
36940 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36941 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36942 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36943 _IO_FLAGS2_NOCLOSE flag.
36944 * include/unistd.h: Add hidden_proto for dup3.
36945 Define __have_dup3.
36946 * io/dup3.c: Define hidden symbol.
36947 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36950 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36951 when an incomplete long option is used.
36952 * posix/tst-getopt_long1.c: New file.
36953 * posix/Makefile (tests): Add tst-getopt_long1.
36956 * scripts/config.guess: Update from autoconf-2.68.
36957 * scripts/config.sub: Likewise.
36960 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36962 (has_cpuclock): ...this. New function.
36963 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36964 macro here based on has_cpuclock code.
36967 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36968 First byte (not low byte) is now always NUL.
36969 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36971 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36972 Use non-cancelable interfaces.
36975 * locale/iso-639.def: Add entry for Sorani.
36978 * include/stdlib.h: Move include protection to the right place.
36979 Define abort_msg_s. Declare __abort_msg with it.
36980 * stdlib/abort.c (__abort_msg): Adjust type.
36981 * assert/assert.c (__assert_fail_base): New function. Majority
36982 of code from __assert_fail. Allocate memory for __abort_msg with
36984 (__assert_fail): Now call __assert_fail_base.
36985 * assert/assert-perr.c: Remove bulk of implementation. Use
36986 __assert_fail_base.
36987 * include/assert.hL Declare __assert_fail_base.
36988 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36990 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36992 2011-05-14 Ulrich Drepper <drepper@gmail.com>
36996 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36997 until all modules are registered in the DTV.
36998 * elf/Makefile: Add rules to build and run tst-tls19.
36999 * elf/tst-tls19.c: New file.
37000 * elf/tst-tls19mod1.c: New file.
37001 * elf/tst-tls19mod2.c: New file.
37002 * elf/tst-tls19mod3.c: New file.
37003 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
37006 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37010 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37011 two-byte sequence errors.
37012 * iconvdata/Makefile (tests): Add bug-iconv8.
37013 * iconvdata/bug-iconv8.c: New file.
37016 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37019 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37022 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37023 (dummy_getcfa): New function.
37024 (init): Get _Unwind_GetCFA address, use dummy if not found.
37025 (backtrace_helper): In recursion check, also check whether CFA changes.
37026 (__backtrace): Completely initialize arg.
37028 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
37029 storing incomplete byte sequence in state object. Avoid testing for
37030 guaranteed too small input if we know there is enough data available.
37032 2011-05-11 Andreas Schwab <schwab@redhat.com>
37034 * Makeconfig (+link-pie): Indent.
37035 * Rules (binaries-pie): Define if $(have-fpie) and
37037 (binaries-shared): Also filter out $(binaries-pie).
37038 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
37039 * nscd/Makefile (others-pie): Add nscd.
37040 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
37041 ($(objpfx)nscd): Remove command override.
37042 * login/Makefile (others-pie): Add pt_chown.
37043 ($(objpfx)pt_chown): Remove command override.
37044 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
37045 remove command overrides.
37047 2011-05-13 Ulrich Drepper <drepper@gmail.com>
37049 * libio/tst_putwc.c: Fix error messages.
37052 * libio/fileops.c (_IO_new_file_close_it): Always flush when
37053 currently writing and seek to current position when not.
37054 * libio/Makefile (tests): Add bug-fclose1.
37055 * libio/bug-fclose1.c: New file.
37057 2011-05-12 Ulrich Drepper <drepper@gmail.com>
37060 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
37061 don't set DF_1_NODELETE here.
37062 (do_lookup_x): When entering new entry test for copy relocation
37063 and if necessary set DF_1_NODELETE flag.
37064 * elf/tst-unique4.cc: New file.
37065 * elf/tst-unique4.h: New file.
37066 * elf/tst-unique4lib.cc: New file.
37067 * elf/Makefile: Add rules to build and run tst-unique4.
37068 Patch by Piotr Bury <pbury@goahead.com>.
37070 2011-05-11 Ulrich Drepper <drepper@gmail.com>
37073 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
37076 * misc/mntent_r.c (addmntent): Flush the stream after the output
37079 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
37080 (is_trusted_path_normalize): Skip initial colon. Append slash
37081 to empty buffer. Duplicate is_trusted_path code but allow
37082 constructed patch to be prefix.
37083 (is_dst): Allow $ORIGIN followed by /.
37084 (_dl_dst_substitute): Correct clearing of check_for_trusted.
37085 Correct testing of result of is_trusted_path_normalize
37086 (decompose_rpath): Fix warning.
37088 2011-05-10 Ulrich Drepper <drepper@gmail.com>
37091 * grp/initgroups.c (internal_getgrouplist): When we found the service
37092 list through the initgroups entry in nsswitch.conf do not always
37093 continue on a successful lookup. Don't always use the
37094 __nss_group_database value if it is set.
37095 * nss/nsswitch.conf (initgroups): Change action for successful db
37096 lookup to continue for compatibility.
37098 2011-05-09 Ulrich Drepper <drepper@gmail.com>
37101 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
37103 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
37105 * iconvdata/tst-tables.sh: Likewise.
37106 * iconvdata/cp770.c: New file.
37107 * iconvdata/cp771.c: New file.
37108 * iconvdata/cp772.c: New file.
37109 * iconvdata/cp773.c: New file.
37110 * iconvdata/cp774.c: New file.
37111 * iconvdata/testdata/CP770: New file.
37112 * iconvdata/testdata/CP770..UTF8: New file.
37113 * iconvdata/testdata/CP771: New file.
37114 * iconvdata/testdata/CP771..UTF8: New file.
37115 * iconvdata/testdata/CP772: New file.
37116 * iconvdata/testdata/CP772..UTF8: New file.
37117 * iconvdata/testdata/CP773: New file.
37118 * iconvdata/testdata/CP773..UTF8: New file.
37119 * iconvdata/testdata/CP774: New file.
37120 * iconvdata/testdata/CP774..UTF8: New file.
37122 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
37124 * iconvdata/gen-8bit-gap.sh: Likewise.
37125 * iconvdata/gen-8bit.sh: Likewise.
37127 * locale/iso-639.def: Add ary entry.
37130 * locale/C-translit.h.in: Add U20A1 transliteration.
37133 * locale/iso-639.def: Add wae entry.
37134 Patch by Kevin Bortis <bortis@translate-wae.ch>.
37137 * locale/programs/localedef.c (construct_output_path): Use ssize_t
37141 * locale/C-translit.h.in: Add entry for U20B9.
37142 Patch by pravin.d.s@gmail.com.
37144 2011-05-08 Ulrich Drepper <drepper@gmail.com>
37147 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
37148 ENAMETOOLONG use generic getcwd.
37149 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
37150 in rtld. Use *stat64.
37151 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
37152 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
37153 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
37154 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
37155 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
37156 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
37157 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
37158 __fstatat64 macros.
37159 * include/dirent.h: Add libc_hidden_proto for rewinddir.
37160 * dirent/rewinddir.c: Add libc_hidden_def.
37161 * sysdeps/mach/hurd/rewinddir.c: Likewise.
37162 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
37164 * include/dirent.h (__alloc_dir): Add flags parameter.
37165 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
37166 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
37168 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
37169 from fdopendir if O_CLOEXEC is already set.
37171 2011-03-15 Alan Modra <amodra@gmail.com>
37173 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
37174 l_tls_firstbyte_offset non-zero. Save padding offset in
37175 l_tls_firstbyte_offset for later use.
37176 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
37177 freeing static tls block.
37179 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
37181 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
37182 where #ifdef was intended. The intent is to prevent ARG_MAX from
37183 being defined by the kernel headers.
37185 2011-05-07 Ulrich Drepper <drepper@gmail.com>
37188 * resolv/resolv.h: Define RES_NOTLDQUERY.
37189 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
37190 no-tld-query and set RES_NOTLDQUERY.
37191 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
37192 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
37193 modern BIND to search name as TLD unless forbidden.
37195 2011-05-07 Petr Baudis <pasky@suse.cz>
37196 Ulrich Drepper <drepper@gmail.com>
37199 * elf/dl-load.c (fillin_rpath): Move trusted path check...
37200 (is_trusted_path): ...to here.
37201 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
37202 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
37203 using is_trusted_path_normalize() in setuid scripts.
37205 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37207 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
37208 __BEGIN/__END_DECLS.
37210 2011-05-06 Ulrich Drepper <drepper@gmail.com>
37212 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
37213 NSS_STATUS_NOTFOUND if no record was found.
37215 2011-05-05 Andreas Schwab <schwab@redhat.com>
37217 * sunrpc/Makefile (headers): Add rpc/netdb.h.
37218 (headers-not-in-tirpc): Remove rpc/netdb.h
37219 * resolv/netdb.h: Revert last change.
37221 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37223 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
37224 circular dependency between libgcc.a and libc.a.
37226 2011-05-05 Andreas Schwab <schwab@redhat.com>
37228 * resolv/netdb.h: Don't include <rpc/netdb.h>.
37229 * nis/Makefile: Don't install rpcsvc/*.
37230 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
37231 instead of <rpc/types.h>.
37232 (MAXHOSTNAMELEN): Define.
37234 2011-05-03 Andreas Schwab <schwab@redhat.com>
37236 * elf/ldconfig.c (add_dir): Don't crash on empty path.
37238 2011-04-28 Maciej Babinski <mbabinski@google.com>
37241 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
37242 gethostbyname4_r when IPv6 results are possible.
37244 2011-05-02 Ulrich Drepper <drepper@gmail.com>
37247 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
37248 _PC_PIPE_BUF handling.
37250 2011-04-30 Bruno Haible <bruno@clisp.org>
37253 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
37254 * resolv/netdb.h (getnameinfo): Change type of flags parameter
37256 * inet/getnameinfo.c (getnameinfo): Likewise.
37258 2011-04-29 Ulrich Drepper <drepper@gmail.com>
37260 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
37261 to groups setting in database lookup.
37262 * nss/nsswitch.conf: Add initgroups entry.
37264 2011-04-22 Ulrich Drepper <drepper@gmail.com>
37267 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
37269 Patch by Eric Blake <eblake@redhat.com>.
37271 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
37273 * sunrpc/Makefile (need-export-routines): Add svc_run.
37274 (routines): Remove svc_run.
37275 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
37276 * sunrpc/clnt_perr.c (clnt_perrno): Export.
37277 * sunrpc/svc_run.c (svc_run): Likewise.
37278 * sunrpc/svc_udp.c (svcudp_create): Likewise.
37280 2011-04-21 Ulrich Drepper <drepper@gmail.com>
37282 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
37283 problem in reallocation in last patch.
37285 2011-04-20 Ulrich Drepper <drepper@gmail.com>
37287 * sunrpc/Makefile: Move inclusion of Rules.
37289 2011-04-19 Ulrich Drepper <drepper@gmail.com>
37291 * nss/nss_files/files-initgroups.c: New file.
37292 * nss/Makefile (libnss_files-routines): Add files-initgroups.
37293 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
37294 _nss_files_initgroups_dyn.
37296 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
37298 * elf/elf.h (R_ARM_IRELATIVE): Define.
37300 2011-04-19 Ulrich Drepper <drepper@gmail.com>
37302 * po/ru.po: Update from translation team.
37304 2011-04-17 Ulrich Drepper <drepper@gmail.com>
37306 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
37309 2011-02-06 Mike Frysinger <vapier@gentoo.org>
37312 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
37313 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
37314 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37315 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37316 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37318 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
37320 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
37322 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37323 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37324 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37326 2011-04-17 Ulrich Drepper <drepper@gmail.com>
37329 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
37331 * stdlib/bug-getcontext.c: New file.
37332 * stdlib/Makefile: Add rules to build and run bug-getcontext.
37334 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37336 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
37337 instructions into .machine "z9-109".
37338 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
37339 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
37341 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37343 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
37344 between environment variables and auxiliary vector.
37346 2011-04-16 Ulrich Drepper <drepper@gmail.com>
37348 * Makefile: Add rules to build linkobj/libc.so.
37349 * include/libc-symbols.h: Define libc_hidden_nolink.
37350 * include/rpc/auth.h: Mark functions which are to be hidden.
37351 * include/rpc/auth_des.h: Likewise.
37352 * include/rpc/auth_unix.h: Likewise.
37353 * include/rpc/clnt.h: Likewise.
37354 * include/rpc/des_crypt.h: Likewise.
37355 * include/rpc/key_prot.h: Likewise.
37356 * include/rpc/pmap_clnt.h: Likewise.
37357 * include/rpc/pmap_prot.h: Likewise.
37358 * include/rpc/pmap_rmt.h: Likewise.
37359 * include/rpc/rpc_msg.h: Likewise.
37360 * include/rpc/svc.h: Likewise.
37361 * include/rpc/svc_auth.h: Likewise.
37362 * include/rpc/xdr.h: Likewise.
37363 * nis/Makefile: Link all DSOs against linkobj/libc.so.
37364 * nss/Makefile: Likewise.
37365 * sunrpc/Makefile: Don't install headers. Build library with normal
37366 entry points. Don't build rpcinfo. Link RPC tests appropriately.
37367 * sunrpc/auth_des.c: Hide exported symbols by default, export some
37368 for the compat linking library. Remove use of INTDEF/INTUSE.
37369 * sunrpc/auth_none.c: Likewise.
37370 * sunrpc/auth_unix.c: Likewise.
37371 * sunrpc/authdes_prot.c: Likewise.
37372 * sunrpc/authuxprot.c: Likewise.
37373 * sunrpc/clnt_gen.c: Likewise.
37374 * sunrpc/clnt_perr.c: Likewise.
37375 * sunrpc/clnt_raw.c: Likewise.
37376 * sunrpc/clnt_simp.c: Likewise.
37377 * sunrpc/clnt_tcp.c: Likewise.
37378 * sunrpc/clnt_udp.c: Likewise.
37379 * sunrpc/clnt_unix.c: Likewise.
37380 * sunrpc/des_crypt.c: Likewise.
37381 * sunrpc/des_soft.c: Likewise.
37382 * sunrpc/get_myaddr.c: Likewise.
37383 * sunrpc/key_call.c: Likewise.
37384 * sunrpc/key_prot.c: Likewise.
37385 * sunrpc/netname.c: Likewise.
37386 * sunrpc/pm_getmaps.c: Likewise.
37387 * sunrpc/pm_getport.c: Likewise.
37388 * sunrpc/pmap_clnt.c: Likewise.
37389 * sunrpc/pmap_prot.c: Likewise.
37390 * sunrpc/pmap_prot2.c: Likewise.
37391 * sunrpc/pmap_rmt.c: Likewise.
37392 * sunrpc/publickey.c: Likewise.
37393 * sunrpc/rpc_cmsg.c: Likewise.
37394 * sunrpc/rpc_common.c: Likewise.
37395 * sunrpc/rpc_dtable.c: Likewise.
37396 * sunrpc/rpc_prot.c: Likewise.
37397 * sunrpc/rpc_thread.c: Likewise.
37398 * sunrpc/rtime.c: Likewise.
37399 * sunrpc/svc.c: Likewise.
37400 * sunrpc/svc_auth.c: Likewise.
37401 * sunrpc/svc_authux.c: Likewise.
37402 * sunrpc/svc_raw.c: Likewise.
37403 * sunrpc/svc_run.c: Likewise.
37404 * sunrpc/svc_simple.c: Likewise.
37405 * sunrpc/svc_tcp.c: Likewise.
37406 * sunrpc/svc_udp.c: Likewise.
37407 * sunrpc/svc_unix.c: Likewise.
37408 * sunrpc/svcauth_des.c: Likewise.
37409 * sunrpc/xcrypt.c: Likewise.
37410 * sunrpc/xdr.c: Likewise.
37411 * sunrpc/xdr_array.c: Likewise.
37412 * sunrpc/xdr_float.c: Likewise.
37413 * sunrpc/xdr_intXX_t.c: Likewise.
37414 * sunrpc/xdr_mem.c: Likewise.
37415 * sunrpc/xdr_rec.c: Likewise.
37416 * sunrpc/xdr_ref.c: Likewise.
37417 * sunrpc/xdr_sizeof.c: Likewise.
37418 * sunrpc/xdr_stdio.c: Likewise.
37420 2011-04-10 Ulrich Drepper <drepper@gmail.com>
37423 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
37424 * sysdeps/ia64/dl-tls.h: Likewise.
37425 * sysdeps/powerpc/dl-tls.h: Likewise.
37426 * sysdeps/s390/dl-tls.h: Likewise.
37427 * sysdeps/sh/dl-tls.h: Likewise.
37428 * sysdeps/sparc/dl-tls.h: Likewise.
37429 * sysdeps/x86_64/dl-tls.h: Likewise.
37430 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
37432 2011-03-14 Andreas Schwab <schwab@redhat.com>
37434 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
37435 rpath element also skip the following colon.
37436 (expand_dynamic_string_token): Add is_path parameter and pass
37437 down to DL_DST_REQUIRED and _dl_dst_substitute.
37438 (decompose_rpath): Call expand_dynamic_string_token with
37439 non-zero is_path. Ignore empty rpaths.
37440 (_dl_map_object_from_fd): Call expand_dynamic_string_token
37443 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
37445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37448 2011-04-09 Ulrich Drepper <drepper@gmail.com>
37451 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
37452 Patch by Filipe David Manana <fdmanana@apache.org>.
37454 2011-04-07 Andreas Schwab <schwab@redhat.com>
37456 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
37457 Maintain aligned stack.
37458 (CHECK_RSP): Remove unused macro.
37460 2011-04-03 Ulrich Drepper <drepper@gmail.com>
37462 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
37463 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
37465 2011-04-02 Ulrich Drepper <drepper@gmail.com>
37467 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
37469 * include/features.h: Mention __USE_XOPEN2K8 in comment.
37471 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
37474 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
37475 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
37476 * sysdeps/x86_64/memmove.c: New file.
37477 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
37478 (memcpy): Renamed to ...
37479 (__new_memcpy): This.
37480 (memcpy): Provide GLIBC_2_14 memcpy.
37481 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
37482 (memcpy): Provide GLIBC_2_2_5 memcpy.
37484 2011-04-01 Ulrich Drepper <drepper@gmail.com>
37487 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
37489 2011-03-30 Andreas Schwab <schwab@redhat.com>
37491 * misc/syncfs.c: New file.
37492 * misc/Makefile (routines): Add syncfs.
37493 * posix/unistd.h: Declare syncfs.
37494 * sysdeps/unix/syscalls.list: Add syncfs.
37496 2011-04-01 Andreas Schwab <schwab@redhat.com>
37498 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
37500 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37501 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37502 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37503 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37504 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37505 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
37506 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37508 2011-04-01 Ulrich Drepper <drepper@gmail.com>
37510 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
37511 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37512 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
37513 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37514 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37515 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37516 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37518 * io/Makefile: Compile fallocate.c, fallocate64.c, and
37519 sync_file_range.c with -fexceptions.
37520 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
37521 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
37522 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37523 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37524 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
37525 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37526 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
37527 sync_file_range as cancellation point
37528 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
37529 now a wrapper around __call_sync_file_range with cancellation handling.
37530 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
37531 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
37532 function name to __call_sync_file_range.
37533 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
37534 Add call_sync_file_range.
37536 2011-04-01 Andreas Schwab <schwab@redhat.com>
37538 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37541 2011-04-01 Ulrich Drepper <drepper@gmail.com>
37543 * iconv/iconv.h: Fix typo in comment.
37544 * io/fcntl.h: Likewise.
37545 * libio/stdio.h: Likewise.
37546 * posix/spawn.h: Likewise.
37547 * posix/unistd.h: Likewise.
37548 * stdlib/stdlib.h: Likewise.
37549 * time/time.h: Likewise.
37550 * wcsmbs/wchar.h: Likewise.
37552 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
37553 open_by_handle): Add.
37554 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
37555 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
37556 Augment a few comments.
37557 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37558 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37559 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37560 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37561 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37562 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
37565 * io/fcntl.h (AT_EMPTY_PATH): Define.
37567 2011-03-30 Ulrich Drepper <drepper@gmail.com>
37569 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
37570 * sysdeps/unix/sysv/linux/bits/time.h: New file.
37571 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
37573 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
37574 * Versions.def: Add GLIBC_2.14.
37575 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
37578 2011-03-22 Ulrich Drepper <drepper@gmail.com>
37580 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
37582 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37584 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
37587 * string/test-strncmp.c (do_page_test): New function.
37588 (check2): Likewise.
37589 (test_main): Call check2.
37590 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
37592 2011-03-20 Ulrich Drepper <drepper@gmail.com>
37595 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
37596 Handle cache information in CPU leaf 4.
37597 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37599 2011-03-18 Ulrich Drepper <drepper@gmail.com>
37602 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
37603 character representation.
37604 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
37606 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
37608 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
37609 END(__isnan) to END(__isnanf) to match function entry point/label
37610 EALIGN(__isnanf,...).
37612 2011-03-10 Jakub Jelinek <jakub@redhat.com>
37614 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
37616 2011-03-10 Ulrich Drepper <drepper@gmail.com>
37619 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
37620 copy from the symbol referenced in the relocation to initialize the
37622 Patch by Piotr Bury <pbury@goahead.com>.
37623 * elf/Makefile: Add rules to build and tst-unique3.
37624 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
37625 * elf/tst-unique3.cc: New file.
37626 * elf/tst-unique3.h: New file.
37627 * elf/tst-unique3lib.cc: New file.
37628 * elf/tst-unique3lib2.cc: New file.
37630 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
37632 2011-03-10 Mike Frysinger <vapier@gentoo.org>
37634 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
37635 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
37638 2011-03-06 Ulrich Drepper <drepper@gmail.com>
37640 * elf/dl-load.c (_dl_map_object): If we are looking for the first
37641 to-be-loaded object along a path to loader is ld.so.
37643 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37644 Ulrich Drepper <drepper@gmail.com>
37646 * sysdeps/x86_64/memset.S: After aligning destination, code
37647 branches to different locations depending on the value of
37648 misalignment, when multiarch is enabled. Fix this.
37650 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37652 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
37653 Set _x86_64_preferred_memory_instruction for AMD processsors.
37654 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37655 Set bit_Prefer_SSE_for_memop for AMD processors.
37657 2011-03-04 Ulrich Drepper <drepper@gmail.com>
37659 * libio/fmemopen.c (fmemopen): Optimize a bit.
37661 2011-03-03 Andreas Schwab <schwab@redhat.com>
37663 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
37665 2011-03-03 Roland McGrath <roland@redhat.com>
37667 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
37669 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
37671 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
37672 __bzero_ultra1 instead of __memset_ultra1.
37674 2011-02-23 Andreas Schwab <schwab@redhat.com>
37675 Ulrich Drepper <drepper@gmail.com>
37678 * include/link.h (struct link_map): Add l_orig_initfini.
37679 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
37680 returning unsuccessfully.
37681 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
37682 close of a file loaded at startup, restore the original l_initfini
37684 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
37685 list, store the pointer.
37686 * elf/Makefile ($(objpfx)noload-mem): New rule.
37687 (noload-ENV): Define.
37688 (tests): Add $(objpfx)noload-mem.
37689 * elf/noload.c: Include <memcheck.h>.
37690 (main): Call mtrace. Close all opened handles.
37692 2011-02-17 Andreas Schwab <schwab@redhat.com>
37695 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
37696 dependencies are missing.
37698 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
37700 Fix __if_freereq crash: Unlike the generic version which uses free,
37702 * sysdeps/mach/hurd/ifreq.h: New file.
37704 2011-01-27 Petr Baudis <pasky@suse.cz>
37705 Ulrich Drepper <drepper@gmail.com>
37708 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
37709 to extend_alloca().
37710 * stdio-common/bug23.c: New file.
37711 * stdio-common/Makefile (tests): Add bug23.
37713 2010-09-28 Andreas Schwab <schwab@redhat.com>
37714 Ulrich Drepper <drepper@gmail.com>
37717 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37718 before performing relro protection. At old place add assertion
37719 to make sure nothing changed.
37721 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
37722 Glauber de Oliveira Costa <glommer@gmail.com>
37724 * elf/elf.h: Add new ARM TLS relocs.
37726 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
37728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37729 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37731 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
37733 * sysdeps/wordsize-64/tst-writev.c: New file.
37735 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
37737 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37738 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37739 insns in _dl_start to prevent a TOC reference before relocs are
37742 2011-02-15 Ulrich Drepper <drepper@gmail.com>
37745 * Makeconfig: Remove RANLIB definition.
37746 * Makerules: Don't use RANLIB.
37747 * aclocal.m4: Remove ranlib test.
37748 * configure.in: No need to check for ranlib.
37749 * elf/rtld-Rules: Don't use RANLIB.
37751 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
37753 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37755 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37756 inclusion protection macro.
37758 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37759 SIGRTMIN and SIGRTMAX and print information in that case only when
37760 SIGRTMIN is defined.
37762 2011-02-11 Jakub Jelinek <jakub@redhat.com>
37764 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37765 arginfo fn returning -1.
37767 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37768 and thousands string is zero terminated.
37770 2011-02-03 Andreas Schwab <schwab@redhat.com>
37772 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37773 sysdeps/unix/sysv/linux/bits/socket.h.
37775 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
37777 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37778 (__CPU_COUNT): Remove old macros.
37779 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37780 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37781 (__CPU_ALLOC, __CPU_FREE): Add macros.
37782 (__sched_cpualloc, __sched_cpufree): Add declarations.
37784 2011-02-05 Ulrich Drepper <drepper@gmail.com>
37786 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37787 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37788 * nscd/aicache.c (addhstaiX): Return timeout of added value.
37789 (readdhstai): Return value of addhstaiX call.
37790 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37791 (addgrbyX): Return value returned by cache_addgr.
37792 (readdgrbyname): Return value returned by addgrbyX.
37793 (readdgrbygid): Likewise.
37794 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37795 (addpwbyX): Return value returned by cache_addpw.
37796 (readdpwbyname): Return value returned by addhstbyX.
37797 (readdpwbyuid): Likewise.
37798 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37799 (addservbyX): Return value returned by cache_addserv.
37800 (readdservbyname): Return value returned by addservbyX:
37801 (readdservbyport): Likewise.
37802 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37803 (addhstbyX): Return value returned by cache_addhst.
37804 (readdhstbyname): Return value returned by addhstbyX.
37805 (readdhstbyaddr): Likewise.
37806 (readdhstbynamev6): Likewise.
37807 (readdhstbyaddrv6): Likewise.
37808 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37809 (readdinitgroups): Return value returned by addinitgroupsX.
37810 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37811 (prune_cache): Keep track of timeout value of re-added entries.
37812 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37813 * nscd/nscd.h: Adjust prototypes of readd* functions.
37815 2011-02-04 Roland McGrath <roland@redhat.com>
37817 * nis/nis_server.c (nis_servstate): Use the right name for 0.
37818 (nis_stats): Likewise.
37819 * nis/nis_modify.c (nis_modify): Likewise.
37820 * nis/nis_remove.c (nis_remove): Likewise.
37821 * nis/nis_add.c (nis_add): Likewise.
37823 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37825 * posix/fnmatch_loop.c: Add some consts.
37827 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37829 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
37832 * config.make.in (config-cflags-novzeroupper): Define.
37833 * configure.in: Substitute libc_cv_cc_novzeroupper.
37834 * elf/Makefile (AVX-CFLAGS): Define.
37835 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37836 (CFLAGS-tst-auditmod4a.c): Likewise.
37837 (CFLAGS-tst-auditmod4b.c): Likewise.
37838 (CFLAGS-tst-auditmod6b.c): Likewise.
37839 (CFLAGS-tst-auditmod6c.c): Likewise.
37840 (CFLAGS-tst-auditmod7b.c): Likewise.
37841 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37843 2011-02-02 Ulrich Drepper <drepper@gmail.com>
37845 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37846 function to the callback.
37847 Patch partly by Jiri Olsa <jolsa@redhat.com>.
37849 2011-02-02 Andreas Schwab <schwab@redhat.com>
37851 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37854 2011-01-19 Ulrich Drepper <drepper@gmail.com>
37857 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37859 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37861 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37864 * elf/Makefile: Add rules to build and run new test.
37865 * elf/tst-initorder.c: New file.
37866 * elf/tst-initorder.exp: New file.
37867 * elf/tst-initordera1.c: New file.
37868 * elf/tst-initordera2.c: New file.
37869 * elf/tst-initordera3.c: New file.
37870 * elf/tst-initordera4.c: New file.
37871 * elf/tst-initorderb1.c: New file.
37872 * elf/tst-initorderb2.c: New file.
37873 * elf/tst-order-a1.c: New file.
37874 * elf/tst-order-a2.c: New file.
37875 * elf/tst-order-a3.c: New file.
37876 * elf/tst-order-a4.c: New file.
37877 * elf/tst-order-b1.c: New file.
37878 * elf/tst-order-b2.c: New file.
37879 * elf/tst-order-main.c: New file.
37880 New test case by George Gensure <werkt0@gmail.com>.
37882 2010-10-01 Andreas Schwab <schwab@redhat.com>
37884 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37885 decoding ACE if AI_CANONIDN.
37887 2011-01-18 Ulrich Drepper <drepper@gmail.com>
37889 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37891 2011-01-17 Ulrich Drepper <drepper@gmail.com>
37893 * version.h (RELEASE): Bump for 2.13 release.
37894 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37896 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37898 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37900 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37901 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37902 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37903 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37904 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37905 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37907 * posix/getconf.c: Update copyright year.
37908 * catgets/gencat.c: Likewise.
37909 * csu/version.c: Likewise.
37910 * debug/catchsegv.sh: Likewise.
37911 * debug/xtrace.sh: Likewise.
37912 * elf/ldconfig.c: Likewise.
37913 * elf/ldd.bash.in: Likewise.
37914 * elf/sprof.c (print_version): Likewise.
37915 * iconv/iconv_prog.c: Likewise.
37916 * iconv/iconvconfig.c: Likewise.
37917 * locale/programs/locale.c: Likewise.
37918 * locale/programs/localedef.c: Likewise.
37919 * malloc/memusage.sh: Likewise.
37920 * malloc/mtrace.pl: Likewise.
37921 * nscd/nscd.c (print_version): Likewise.
37922 * nss/getent.c: Likewise.
37924 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37925 PF_CAIF, and PF_ALG.
37926 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37928 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
37930 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37931 (modules-names): Use them.
37932 (ifunc-test-modules, ifunc-pie-tests): Define.
37933 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37934 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37935 (test-extras): Likewise.
37936 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37937 $(compile-command.c).
37938 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37939 (all-built-dso): Define.
37940 (check-textrel.out, check-execstack.out): Depend on it.
37942 * configure.in: Don't override --enable-multi-arch.
37944 2011-01-15 Ulrich Drepper <drepper@gmail.com>
37947 * nscd/hstcache.c (tryagain): Define.
37948 (cache_addhst): Return tryagain not notfound for temporary errors.
37949 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37952 2011-01-14 Ulrich Drepper <drepper@gmail.com>
37955 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37956 to make the syscall.
37957 * sysdeps/unix/sysv/linux/setgroups.c: New file.
37960 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37961 and fall back to matching as normal character if the string ends before
37962 the matching ']' is found. This is what POSIX requires.
37963 * posix/testfnm.c: Adjust test result.
37964 * posix/globtest.sh: Adjust test result. Add new test.
37965 * posix/tst-fnmatch.input: Likewise.
37966 * posix/tst-fnmatch2.c: Add new test.
37968 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
37970 * elf/Makefile (check-execstack): Revert last change. Depend on
37972 (check-execstack.h): New target.
37973 (generated): Add check-execstack.h.
37974 * elf/check-execstack.c: Include "check-execstack.h".
37975 (main): Revert last change.
37976 (handle_file): Return zero if GNU_STACK is absent and
37977 DEFAULT_STACK_PERMS doesn't include PF_X.
37979 2011-01-13 Ulrich Drepper <drepper@gmail.com>
37981 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37982 in child fails because the descriptor is already closed.
37983 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37984 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37985 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
37988 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37992 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37993 temporary buffer used to handle multi lookups locally.
37994 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
37996 2011-01-12 Ulrich Drepper <drepper@gmail.com>
37998 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38001 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
38003 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38004 alignment for SSE2.
38006 2011-01-12 Ulrich Drepper <drepper@gmail.com>
38009 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38010 characters. When rounding increased number of integer digits recompute
38012 * stdio-common/tst-grouping.c: New file.
38013 * stdio-common/Makefile: Add rules to build and run tst-grouping.
38015 2011-01-09 Ulrich Drepper <drepper@gmail.com>
38017 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38018 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
38020 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38022 * bits/select.h: Likewise.
38024 2011-01-08 Ulrich Drepper <drepper@gmail.com>
38026 * po/ja.po: Update from translation team.
38028 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
38031 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38032 implementation just like for lxstat, fxstatat, et al.
38034 2010-12-27 Jim Meyering <meyering@redhat.com>
38037 * posix/regexec.c (build_trtable): Return failure indication upon
38038 calloc failure. Otherwise, re_search_internal could infloop on OOM.
38040 2010-12-25 Ulrich Drepper <drepper@gmail.com>
38043 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
38044 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
38045 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
38046 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
38049 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
38052 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
38053 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
38055 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
38057 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
38058 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
38059 script has SORT_BY_INIT_PRIORITY.
38060 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
38061 NO_CTORS_DTORS_SECTIONS is defined.
38062 * elf/soinit.c: Likewise.
38063 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
38064 NO_CTORS_DTORS_SECTIONS is defined.
38065 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
38066 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
38067 * sysdeps/sh/init-first.c: Likewise.
38068 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
38070 2010-12-24 Ulrich Drepper <drepper@gmail.com>
38072 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
38073 always use the slow path.
38075 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
38077 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
38078 similar rule which adds the sysdep directories to the header search in
38079 order to pick up the correct platform stackinfo.h.
38080 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
38081 perform test if it is, otherwise return successfully without testing.
38082 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
38083 DEFAULT_STACK_PERMS define in stackinfo.h.
38084 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
38085 defined in stackinfo.h.
38086 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
38087 DEFAULT_STACK_PERMS defined in stackinfo.h.
38088 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
38089 * sysdeps/ia64/stackinfo.h: Likewise.
38090 * sysdeps/s390/stackinfo.h: Likewise.
38091 * sysdeps/sh/stackinfo.h: Likewise.
38092 * sysdeps/sparc/stackinfo.h: Likewise.
38093 * sysdeps/x86_64/stackinfo.h: Likewise.
38094 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
38095 PF_X for powerpc64. Retain PF_X for powerpc32.
38097 2010-12-19 Ulrich Drepper <drepper@gmail.com>
38099 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
38101 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
38102 GETDENTS_64BIT_ALIGNED.
38104 2010-12-14 Ulrich Drepper <dreper@gmail.com>
38106 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
38108 2010-12-10 Andreas Schwab <schwab@redhat.com>
38110 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
38113 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
38114 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
38116 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
38117 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
38119 2010-12-09 Ulrich Drepper <drepper@gmail.com>
38122 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
38125 2010-12-09 Jakub Jelinek <jakub@redhat.com>
38127 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
38129 2010-12-03 Ulrich Drepper <drepper@gmail.com>
38131 * po/it.po: Update from translation team.
38133 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
38135 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
38138 2010-11-30 Ulrich Drepper <drepper@gmail.com>
38140 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
38142 2010-11-24 Andreas Schwab <schwab@redhat.com>
38144 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
38146 (gaih_getanswer_slice): Likewise.
38148 2010-10-20 Jakub Jelinek <jakub@redhat.com>
38150 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
38152 2010-05-31 Petr Baudis <pasky@suse.cz>
38155 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
38156 silently even in the chroot mode.
38158 2010-11-22 Ulrich Drepper <drepper@gmail.com>
38160 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
38161 last patch a bit. Pretty printing
38163 2010-05-31 Petr Baudis <pasky@suse.cz>
38166 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
38167 initialization of skip_initgroups_dyn.
38169 2010-11-19 Ulrich Drepper <drepper@gmail.com>
38171 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
38172 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38174 2010-11-16 Ulrich Drepper <drepper@gmail.com>
38176 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
38178 2010-11-11 Andreas Schwab <schwab@redhat.com>
38180 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
38181 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
38182 (tst-fnmatch-ENV): Set MALLOC_TRACE.
38183 ($(objpfx)tst-fnmatch-mem): New rule.
38184 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
38185 * posix/tst-fnmatch.c (main): Call mtrace.
38187 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
38189 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38190 Support Intel processor model 6 and model 0x2c.
38192 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
38194 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
38197 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
38200 * string/test-strncasecmp.c (check_result): New function.
38201 (do_one_test): Use it.
38202 (check1): New function.
38203 (test_main): Use it.
38204 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
38205 Support strcasecmp and strncasecmp.
38207 2010-11-08 Ulrich Drepper <drepper@gmail.com>
38210 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
38211 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38213 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
38215 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
38217 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38219 * sysdeps/x86_64/multiarch/bzero.S: New file.
38220 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
38221 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
38222 * sysdeps/x86_64/multiarch/memset.S: New file.
38223 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
38224 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38225 Set bit_Prefer_SSE_for_memop for Intel processors.
38226 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
38228 (index_Prefer_SSE_for_memop): Define.
38229 (HAS_PREFER_SSE_FOR_MEMOP): Define.
38231 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
38233 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
38234 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
38236 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
38239 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38240 (__x86_64_raw_data_cache_size_half): Likewise.
38241 (__x86_64_raw_shared_cache_size): Likewise.
38242 (__x86_64_raw_shared_cache_size_half): Likewise.
38244 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38245 (__x86_64_raw_data_cache_size_half): Likewise.
38246 (__x86_64_raw_shared_cache_size): Likewise.
38247 (__x86_64_raw_shared_cache_size_half): Likewise.
38248 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
38249 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
38250 and __x86_64_raw_shared_cache_size_half. Round
38251 __x86_64_data_cache_size_half, __x86_64_data_cache_size
38252 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
38253 to multiple of 256 bytes.
38255 2010-11-03 Ulrich Drepper <drepper@gmail.com>
38258 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
38259 of inacessible symlinks. Verify result of symlink before returning it.
38260 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38261 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
38263 2010-10-28 Erich Ritz <erichritz@gmail.com>
38265 * math/math.h (isinf): Fix typo in comment.
38267 2010-11-01 Ulrich Drepper <drepper@gmail.com>
38269 * po/da.po: Update from translation team.
38271 2010-10-26 Ulrich Drepper <drepper@gmail.com>
38273 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
38274 is added to the list.
38276 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38277 Ulrich Drepper <drepper@gmail.com>
38279 * elf/dl-object.c (_dl_new_object): Don't append the new object to
38280 the global list here. Move code to...
38281 (_dl_add_to_namespace_list): ...here. New function.
38282 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
38283 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
38284 * elf/dl-load.c (lose): Don't remove the element from the list.
38285 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
38286 (_dl_map_object): Likewise.
38288 2010-10-25 Ulrich Drepper <drepper@gmail.com>
38291 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
38292 into all bytes of SSE register.
38293 Patch by Richard Li <richardpku@gmail.com>.
38295 2010-10-24 Ulrich Drepper <drepper@gmail.com>
38298 * malloc/malloc.c (_int_free): Fill correct number of bytes when
38301 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
38303 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
38304 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
38305 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
38306 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
38309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
38311 2010-10-22 Andreas Schwab <schwab@redhat.com>
38313 * include/dlfcn.h (__RTLD_SECURE): Define.
38314 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
38315 mode & __RTLD_SECURE instead.
38316 (open_path): Rename preloaded parameter to secure.
38317 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
38318 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
38319 * elf/dl-deps.c (openaux): Likewise.
38320 * elf/rtld.c (struct map_args): Remove is_preloaded.
38321 (map_doit): Don't use it.
38322 (dl_main): Likewise.
38323 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
38324 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
38326 2010-09-09 Andreas Schwab <schwab@redhat.com>
38328 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
38329 (sysd-rules-targets): Remove duplicates.
38330 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
38331 rtld-%.$o dependency.
38333 2010-10-18 Andreas Schwab <schwab@redhat.com>
38335 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
38336 _dl_map_object do it.
38338 2010-10-19 Ulrich Drepper <drepper@gmail.com>
38340 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
38341 fast fma builtins, define the macros in the C99 standard.
38342 (FP_FAST_FMAF): Likewise.
38343 (FP_FAST_FMAL): Likewise.
38344 * sysdeps/x86_64/bits/mathdef.h: Likewise.
38346 * bits/mathdef.h: Update copyright year.
38347 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38349 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
38351 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
38352 builtins, define the macros in the C99 standard.
38353 (FP_FAST_FMAF): Likewise.
38354 (FP_FAST_FMAL): Likewise.
38355 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
38357 (FP_FAST_FMAF): Likewise.
38359 2010-10-15 Jakub Jelinek <jakub@redhat.com>
38362 * math/libm-test.inc (fma_test): Some new testcases.
38363 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
38364 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
38365 y and infinite z. Do multiplication by C already in long double.
38366 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
38367 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
38368 y and infinite z. Do bitwise or of inexact bit into u.d.
38369 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
38370 * sysdeps/i386/fpu/s_fmaf.S: Removed.
38371 * sysdeps/i386/fpu/s_fma.S: Removed.
38372 * sysdeps/i386/fpu/s_fmal.S: Removed.
38374 2010-10-16 Jakub Jelinek <jakub@redhat.com>
38377 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
38378 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
38379 computation is not scheduled after fetestexcept. Fix value
38380 of minimum denormal long double.
38382 2010-10-14 Jakub Jelinek <jakub@redhat.com>
38385 * math/libm-test.inc (fma_test): Add some more tests.
38386 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
38389 2010-10-15 Andreas Schwab <schwab@redhat.com>
38391 * scripts/data/localplt-s390-linux-gnu.data: New file.
38392 * scripts/data/localplt-s390x-linux-gnu.data: New file.
38394 2010-10-13 Jakub Jelinek <jakub@redhat.com>
38397 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
38398 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
38400 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
38402 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
38403 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
38404 if one of x and y is very large and the other is subnormal.
38405 * sysdeps/s390/fpu/s_fmaf.c: New file.
38406 * sysdeps/s390/fpu/s_fma.c: New file.
38407 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
38408 * sysdeps/powerpc/fpu/s_fma.S: New file.
38409 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
38410 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
38411 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
38413 2010-10-12 Jakub Jelinek <jakub@redhat.com>
38416 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
38418 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
38419 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
38420 * sysdeps/i386/i686/multiarch/s_fma.c: Include
38421 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
38422 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
38423 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
38424 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
38426 2010-10-12 Ulrich Drepper <drepper@redhat.com>
38429 * posix/regcomp.c (parse_branch): One more memory leak plugged.
38430 * posix/bug-regex31.input: Add test case.
38432 2010-10-11 Ulrich Drepper <drepper@gmail.com>
38434 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
38435 * posix/bug-regex31.input: New file.
38438 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
38439 (parse_sub_exp): Fix last change, use postorder.
38441 * posix/bug-regex31.c: New file.
38442 * posix/Makefile: Add rules to build and run bug-regex31.
38444 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
38447 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
38450 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
38451 to have entries in sys_siglist.
38454 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
38457 2010-10-07 Jakub Jelinek <jakub@redhat.com>
38460 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
38461 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
38462 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
38463 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
38464 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38465 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
38466 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
38467 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
38468 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
38469 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
38470 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
38471 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
38472 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38473 * math/ftestexcept.c (fetestexcept): Likewise.
38474 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
38475 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
38476 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
38477 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
38478 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
38479 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
38480 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38482 2010-10-11 Ulrich Drepper <drepper@gmail.com>
38485 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
38488 2010-10-06 Ulrich Drepper <drepper@gmail.com>
38490 * string/bug-strstr1.c: New file.
38491 * string/Makefile: Add rules to build and run bug-strstr1.
38493 2010-10-05 Eric Blake <eblake@redhat.com>
38496 * string/str-two-way.h (two_way_long_needle): Always clear memory
38497 when skipping input due to the shift table.
38499 2010-10-03 Ulrich Drepper <drepper@gmail.com>
38502 * malloc/mcheck.c: Handle large requests.
38505 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
38506 for strncmp and strncasecmp.
38507 * string/stratcliff.c: Add tests for strcmp and strncmp.
38508 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
38510 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38512 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
38515 2010-09-30 Andreas Jaeger <aj@suse.de>
38517 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
38518 (CGROUP_SUPER_MAGIC): Define.
38519 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38520 Handle btrfs and cgroup file systems.
38521 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38524 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
38526 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
38527 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
38529 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38532 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
38533 trying to locate the ELF header.
38535 2010-09-27 Andreas Schwab <schwab@redhat.com>
38538 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
38539 Mask out sign-bit copies when constructing f_fsid.
38541 2010-09-24 Petr Baudis <pasky@suse.cz>
38543 * debug/stack_chk_fail_local.c: Add missing licence exception.
38544 * debug/warning-nop.c: Likewise.
38546 2010-09-15 Joseph Myers <joseph@codesourcery.com>
38548 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
38549 implementing getdents64 using getdents syscall, set d_type if
38550 __ASSUME_GETDENTS32_D_TYPE.
38552 2010-09-16 Andreas Schwab <schwab@redhat.com>
38554 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
38555 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
38557 2010-09-21 Ulrich Drepper <drepper@redhat.com>
38560 * posix/unistd.h: Undo change of feature selection for ftruncate from
38563 2010-09-20 Ulrich Drepper <drepper@redhat.com>
38565 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
38568 2010-09-20 Andreas Schwab <schwab@redhat.com>
38570 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
38572 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38574 2010-09-14 Andreas Schwab <schwab@redhat.com>
38576 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
38577 variables after CHECK_SP call.
38578 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
38580 2010-09-13 Andreas Schwab <schwab@redhat.com>
38581 Ulrich Drepper <drepper@redhat.com>
38583 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
38584 re-relocationg ld.so.
38585 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
38586 _dl_init_paths call.
38587 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
38590 2010-09-14 Ulrich Drepper <drepper@redhat.com>
38592 * resolv/res_init.c (__res_vinit): Count the default server we added.
38594 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
38595 Ulrich Drepper <drepper@redhat.com>
38598 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38599 (____longjmp_chk): Use %ebx for saving value across system call.
38602 2010-09-06 Andreas Schwab <schwab@redhat.com>
38604 * manual/Makefile: Don't mix pattern rules with normal rules.
38606 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
38608 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
38610 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
38611 * libio/iofopncook.c (_IO_cookie_init): Likewise.
38612 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
38613 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
38614 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38617 2010-09-04 Ulrich Drepper <drepper@redhat.com>
38620 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
38621 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
38623 2010-09-02 Ulrich Drepper <drepper@redhat.com>
38625 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
38626 * sysdeps/x86_64/addmul_1.S: Likewise.
38627 * sysdeps/x86_64/lshift.S: Likewise.
38628 * sysdeps/x86_64/mul_1.S: Likewise.
38629 * sysdeps/x86_64/rshift.S: Likewise.
38630 * sysdeps/x86_64/sub_n.S: Likewise.
38631 * sysdeps/x86_64/submul_1.S: Likewise.
38633 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
38635 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
38636 Define __sched_param instead of SCHED_* and sched_param when
38637 <bits/sched.h> is included with __need_schedparam defined.
38638 * bits/sched.h [__need_schedparam]
38639 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
38640 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
38641 (__defined_schedparam): Define to 1.
38642 (__sched_param): New structure, identical to sched_param.
38643 (__need_schedparam): Undefine.
38645 2010-08-31 Mike Frysinger <vapier@gentoo.org>
38647 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
38648 (epoll_create1): Declare.
38650 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
38652 2010-08-31 Andreas Schwab <schwab@redhat.com>
38655 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
38656 shifting retval into place.
38658 2010-09-01 Ulrich Drepper <drepper@redhat.com>
38660 * nis/rpcsvc/nis.h: Update copyright notice.
38661 * nis/rpcsvc/nis.x: Likewise.
38662 * nis/rpcsvc/nis_callback.h: Likewise.
38663 * nis/rpcsvc/nis_callback.x: Likewise.
38664 * nis/rpcsvc/nis_object.x: Likewise.
38665 * nis/rpcsvc/nis_tags.h: Likewise.
38666 * nis/rpcsvc/yp.h: Likewise.
38667 * nis/rpcsvc/yp.x: Likewise.
38668 * nis/rpcsvc/ypupd.h: Likewise.
38669 * nis/yp_xdr.c: Likewise.
38670 * nis/ypupdate_xdr.c: Likewise.
38672 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
38673 mainly the body of pmap_getport. Add parameters to specify timeouts.
38674 (pmap_getport): Use __libc_rpc_getport.
38675 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
38676 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
38677 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
38679 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
38681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
38684 2010-08-27 Roland McGrath <roland@redhat.com>
38686 * sysdeps/i386/i686/multiarch/Makefile
38687 (CFLAGS-varshift.c): New variable.
38689 2010-08-27 Ulrich Drepper <drepper@redhat.com>
38691 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
38692 * sysdeps/i386/i686/multiarch/varshift.c: New file.
38694 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
38696 * sysdeps/x86_64/strlen.S: Minimal code improvement.
38698 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
38700 * sysdeps/x86_64/strlen.S: Unroll the loop.
38701 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38702 strlen-sse2 strlen-sse2-bsf.
38703 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
38704 __strlen_no_bsf if bit_Slow_BSF is set.
38705 (__strlen_sse42): Removed.
38706 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
38707 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
38709 2010-08-25 Roland McGrath <roland@redhat.com>
38711 * sysdeps/x86_64/multiarch/varshift.S: File removed.
38712 * sysdeps/x86_64/multiarch/varshift.c: New file.
38713 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38714 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38715 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38716 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38718 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
38720 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38721 strlen-sse2 strlen-sse2-bsf.
38722 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38723 __strlen_sse2_bsf if bit_Slow_BSF is unset.
38724 (__strlen_sse2): Removed.
38725 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38726 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38727 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38728 bit_Slow_BSF for Atom.
38729 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38730 (index_Slow_BSF): Define.
38731 (HAS_SLOW_BSF): Define.
38733 2010-08-25 Ulrich Drepper <drepper@redhat.com>
38736 * resolv/res_init.c (__res_vinit): When no server address at all
38737 is given default to loopback.
38739 2010-08-24 Roland McGrath <roland@redhat.com>
38741 * configure.in: Remove config-name.h generation.
38742 * configure: Regenerated.
38743 * config-name.in: File removed.
38744 * scripts/config-uname.sh: New file.
38745 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38746 ($(objdir)config-name.h): New target.
38748 * sunrpc/rpc_parse.h: Avoid nested comment.
38750 2010-08-24 Richard Henderson <rth@redhat.com>
38751 Ulrich Drepper <drepper@redhat.com>
38752 H.J. Lu <hongjiu.lu@intel.com>
38754 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38755 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38756 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38757 Replace _mm_srli_si128 with __m128i_shift_right. Replace
38758 _mm_alignr_epi8 with _mm_loadu_si128.
38759 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38760 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38761 (__m128i_shift_right): Removed.
38762 * sysdeps/i386/i686/multiarch/varshift.h: New file.
38763 * sysdeps/i386/i686/multiarch/varshift.S: New file.
38764 * sysdeps/x86_64/multiarch/varshift.h: New file.
38765 * sysdeps/x86_64/multiarch/varshift.S: New file.
38767 2010-08-21 Mike Frysinger <vapier@gentoo.org>
38769 * configure.in: Move assembler checks to before sysdep dir checking.
38771 2010-08-20 Petr Baudis <pasky@suse.cz>
38773 * LICENSES: Sync the sunrpc license.
38775 2010-08-19 Ulrich Drepper <drepper@redhat.com>
38777 * sunrpc/auth_des.c: Update copyright notice once again.
38778 * sunrpc/auth_none.c: Likewise.
38779 * sunrpc/auth_unix.c: Likewise.
38780 * sunrpc/authdes_prot.c: Likewise.
38781 * sunrpc/authuxprot.c: Likewise.
38782 * sunrpc/bindrsvprt.c: Likewise.
38783 * sunrpc/clnt_gen.c: Likewise.
38784 * sunrpc/clnt_perr.c: Likewise.
38785 * sunrpc/clnt_raw.c: Likewise.
38786 * sunrpc/clnt_simp.c: Likewise.
38787 * sunrpc/clnt_tcp.c: Likewise.
38788 * sunrpc/clnt_udp.c: Likewise.
38789 * sunrpc/clnt_unix.c: Likewise.
38790 * sunrpc/des_crypt.c: Likewise.
38791 * sunrpc/des_soft.c: Likewise.
38792 * sunrpc/get_myaddr.c: Likewise.
38793 * sunrpc/getrpcport.c: Likewise.
38794 * sunrpc/key_call.c: Likewise.
38795 * sunrpc/key_prot.c: Likewise.
38796 * sunrpc/openchild.c: Likewise.
38797 * sunrpc/pm_getmaps.c: Likewise.
38798 * sunrpc/pm_getport.c: Likewise.
38799 * sunrpc/pmap_clnt.c: Likewise.
38800 * sunrpc/pmap_prot.c: Likewise.
38801 * sunrpc/pmap_prot2.c: Likewise.
38802 * sunrpc/pmap_rmt.c: Likewise.
38803 * sunrpc/rpc/auth.h: Likewise.
38804 * sunrpc/rpc/auth_unix.h: Likewise.
38805 * sunrpc/rpc/clnt.h: Likewise.
38806 * sunrpc/rpc/des_crypt.h: Likewise.
38807 * sunrpc/rpc/key_prot.h: Likewise.
38808 * sunrpc/rpc/netdb.h: Likewise.
38809 * sunrpc/rpc/pmap_clnt.h: Likewise.
38810 * sunrpc/rpc/pmap_prot.h: Likewise.
38811 * sunrpc/rpc/pmap_rmt.h: Likewise.
38812 * sunrpc/rpc/rpc.h: Likewise.
38813 * sunrpc/rpc/rpc_des.h: Likewise.
38814 * sunrpc/rpc/rpc_msg.h: Likewise.
38815 * sunrpc/rpc/svc.h: Likewise.
38816 * sunrpc/rpc/svc_auth.h: Likewise.
38817 * sunrpc/rpc/types.h: Likewise.
38818 * sunrpc/rpc/xdr.h: Likewise.
38819 * sunrpc/rpc_clntout.c: Likewise.
38820 * sunrpc/rpc_cmsg.c: Likewise.
38821 * sunrpc/rpc_common.c: Likewise.
38822 * sunrpc/rpc_cout.c: Likewise.
38823 * sunrpc/rpc_dtable.c: Likewise.
38824 * sunrpc/rpc_hout.c: Likewise.
38825 * sunrpc/rpc_main.c: Likewise.
38826 * sunrpc/rpc_parse.c: Likewise.
38827 * sunrpc/rpc_parse.h: Likewise.
38828 * sunrpc/rpc_prot.c: Likewise.
38829 * sunrpc/rpc_sample.c: Likewise.
38830 * sunrpc/rpc_scan.c: Likewise.
38831 * sunrpc/rpc_scan.h: Likewise.
38832 * sunrpc/rpc_svcout.c: Likewise.
38833 * sunrpc/rpc_tblout.c: Likewise.
38834 * sunrpc/rpc_util.c: Likewise.
38835 * sunrpc/rpc_util.h: Likewise.
38836 * sunrpc/rpcinfo.c: Likewise.
38837 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38838 * sunrpc/rpcsvc/key_prot.x: Likewise.
38839 * sunrpc/rpcsvc/klm_prot.x: Likewise.
38840 * sunrpc/rpcsvc/mount.x: Likewise.
38841 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38842 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38843 * sunrpc/rpcsvc/rex.x: Likewise.
38844 * sunrpc/rpcsvc/rstat.x: Likewise.
38845 * sunrpc/rpcsvc/rusers.x: Likewise.
38846 * sunrpc/rpcsvc/sm_inter.x: Likewise.
38847 * sunrpc/rpcsvc/spray.x: Likewise.
38848 * sunrpc/rpcsvc/yppasswd.x: Likewise.
38849 * sunrpc/rtime.c: Likewise.
38850 * sunrpc/svc.c: Likewise.
38851 * sunrpc/svc_auth.c: Likewise.
38852 * sunrpc/svc_authux.c: Likewise.
38853 * sunrpc/svc_raw.c: Likewise.
38854 * sunrpc/svc_run.c: Likewise.
38855 * sunrpc/svc_simple.c: Likewise.
38856 * sunrpc/svc_tcp.c: Likewise.
38857 * sunrpc/svc_udp.c: Likewise.
38858 * sunrpc/svc_unix.c: Likewise.
38859 * sunrpc/svcauth_des.c: Likewise.
38860 * sunrpc/xcrypt.c: Likewise.
38861 * sunrpc/xdr.c: Likewise.
38862 * sunrpc/xdr_array.c: Likewise.
38863 * sunrpc/xdr_float.c: Likewise.
38864 * sunrpc/xdr_mem.c: Likewise.
38865 * sunrpc/xdr_rec.c: Likewise.
38866 * sunrpc/xdr_ref.c: Likewise.
38867 * sunrpc/xdr_sizeof.c: Likewise.
38868 * sunrpc/xdr_stdio.c: Likewise.
38870 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38873 2010-08-19 Andreas Schwab <schwab@redhat.com>
38875 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38877 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
38879 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38880 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38881 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38882 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38883 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38884 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38885 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38886 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38887 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38888 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38889 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38890 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38891 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38892 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38894 2010-07-26 Anton Blanchard <anton@samba.org>
38896 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38897 * malloc/arena.c (heap_trim): Likewise.
38899 2010-08-16 Ulrich Drepper <drepper@redhat.com>
38901 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38903 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38904 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38906 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
38908 * sysdeps/i386/elf/Makefile: New file.
38910 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38912 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38913 from fanotify_init.
38914 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38915 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38917 2010-08-15 Ulrich Drepper <drepper@redhat.com>
38919 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38921 * sysdeps/multiarch/strcmp.S: Likewise.
38923 2010-08-14 Ulrich Drepper <drepper@redhat.com>
38925 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38926 strncase_l-nonascii.
38927 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38928 Add strncase_l-ssse3.
38929 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38930 * sysdeps/x86_64/strcmp.S: Likewise.
38931 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38932 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38933 * sysdeps/x86_64/strncase.S: New file.
38934 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38935 * sysdeps/x86_64/strncase_l.S: New file.
38936 * string/Makefile (strop-tests): Add strncasecmp.
38937 * string/test-strncasecmp.c: New file.
38939 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38942 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38943 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38945 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38947 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38949 2010-08-12 Ulrich Drepper <drepper@redhat.com>
38951 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38952 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38953 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38955 2010-05-01 Alan Modra <amodra@gmail.com>
38957 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38958 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38959 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38960 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38961 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38962 tidying. Don't tail-call __sigjmp_save for static lib.
38963 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38965 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38966 (CALL_MCOUNT): Add eh info, and nop after bl.
38967 (TAIL_CALL_SYSCALL_ERROR): New macro.
38968 (PSEUDO_RET): Use it.
38969 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38970 Correct save location of integer regs and cr.
38971 (_dl_profile_resolve): Correct cr save location. Delete nops
38972 after bl when SHARED. Reduce cfi size a little by better
38973 placement of cfi directives.
38974 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38975 make a stack frame. Instead use parm save area as a temp.
38976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38977 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
38978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38979 Don't make a stack frame for parent, use parm save area.
38980 Increase child stack frame to 112 bytes. Don't save unused reg,
38981 and adjust reg usage. Set up cfi on error recovery and
38982 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38984 (__makecontext): Add dummy nop after jump to exit.
38985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38986 Use correct parm save area and cr save, reduce stack frame.
38987 Correct cfi for possible PSEUDO_RET frame setup.
38988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38989 Branch to local label emitted by PSEUDO_RET rather than
38992 2010-08-12 Andreas Schwab <schwab@redhat.com>
38995 * locale/programs/locale.c (print_assignment): New function.
38996 (show_locale_vars): Use it.
38998 2010-08-11 Ulrich Drepper <drepper@redhat.com>
39000 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39002 (struct statfs64): Likewise.
39003 (_STATFS_F_FLAGS): Define.
39004 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
39005 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39006 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
39007 (ST_VALID): Define locally.
39008 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
39009 __statvfs_getflags, use the provided value.
39010 * sysdeps/unix/sysv/linux/kernel-features.h: Define
39011 __ASSUME_STATFS_F_FLAGS.
39013 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39015 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39016 Add sys/fanotify.h.
39017 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39018 fanotify_mask for GLIBC_2.13.
39019 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39020 fanotify_init and fanotify_mark.
39021 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39022 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39024 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39026 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39027 prlimit64 for GLIBC_2.13.
39028 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39030 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39033 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39034 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39035 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39036 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
39038 * sysdeps/unix/sysv/linux/prlimit.c: New file.
39041 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39042 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39044 * nss/Makefile: Add rules to build and run tst-nss-test1.
39045 * shlib-versions: Add entry for libnss_test1.
39046 * nss/nss_test1.c: New file.
39047 * nss/tst-nss-test1.c: New file.
39049 * nss/nsswitch.c (__nss_database_custom): Define new variable.
39050 (__nss_configure_lookup): Set appropriate entry in
39051 __nss_configure_lookup to true.
39052 * nss/nsswitch.h: Define enum with indeces of databases in
39053 databases and __nss_database_custom arrays. Declare
39054 __nss_database_custom.
39055 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
39056 to avoid using nscd when custom rules are installed.
39057 * nss/getXXbyYY_r.c: Likewise.
39058 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39060 * nss/nss_files/files-parse.c: Whitespace fixes.
39062 2010-08-09 Ulrich Drepper <drepper@redhat.com>
39065 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
39066 * posix/fnmatch_loop.c: Likewise.
39068 2010-07-17 Andi Kleen <ak@linux.intel.com>
39070 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
39071 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
39072 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
39073 * Versions.def [GLIBC_2.13]: Add.
39075 2010-08-06 Ulrich Drepper <drepper@redhat.com>
39077 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39078 Also fail if tpwd after pwuid call is NULL.
39080 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
39082 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
39083 when converting to ms.
39085 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39087 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
39088 EOPNOTSUPP errors with ENOTTY.
39089 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
39090 EOPNOTSUPP errors with ENOTTY.
39092 2010-07-31 Ulrich Drepper <drepper@redhat.com>
39094 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39095 Add strcasecmp_l-ssse3.
39096 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
39098 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
39099 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
39100 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
39102 2010-07-30 Ulrich Drepper <drepper@redhat.com>
39104 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
39106 * string/Makefile (strop-tests): Add strcasecmp.
39107 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39108 strcasecmp_l-nonascii.
39109 (gen-as-const-headers): Add locale-defines.sym.
39110 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
39111 * sysdeps/x86_64/strcasecmp.S: New file.
39112 * sysdeps/x86_64/strcasecmp_l.S: New file.
39113 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
39114 * sysdeps/x86_64/locale-defines.sym: New file.
39115 * string/test-strcasecmp.c: New file.
39117 * string/test-strcasestr.c: Test both ends of the range of characters.
39118 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
39120 2010-07-29 Roland McGrath <roland@redhat.com>
39123 * manual/locale.texi (Yes-or-No Questions): Fix example code.
39125 2010-07-27 Ulrich Drepper <drepper@redhat.com>
39127 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
39130 2010-07-27 Andreas Schwab <schwab@redhat.com>
39132 * manual/memory.texi (Malloc Tunable Parameters): Document
39135 2010-07-26 Roland McGrath <roland@redhat.com>
39138 * configure.in (-fgnu89-inline check): Set and substitute
39139 gnu89_inline, not libc_cv_gnu89_inline.
39140 * configure: Regenerated.
39141 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
39143 2010-07-26 Ulrich Drepper <drepper@redhat.com>
39145 * string/test-strnlen.c: New file.
39146 * string/Makefile (strop-tests): Add strnlen.
39147 * string/tester.c (test_strnlen): Add a few more test cases.
39148 * string/tst-strlen.c: Better error reporting.
39150 * sysdeps/x86_64/strnlen.S: New file.
39152 2010-07-24 Ulrich Drepper <drepper@redhat.com>
39154 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
39155 lower-latency instructions.
39157 2010-07-23 Ulrich Drepper <drepper@redhat.com>
39159 * string/test-strcasestr.c: New file.
39160 * string/test-strstr.c: New file.
39161 * string/Makefile (strop-tests): Add strstr and strcasestr.
39162 * string/str-two-way.h: Don't undefine MAX.
39163 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
39165 2010-07-21 Andreas Schwab <schwab@redhat.com>
39167 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39168 strcasestr-nonascii.
39169 (CFLAGS-strcasestr-nonascii.c): Define.
39170 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
39171 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
39172 Remove unused attribute.
39174 2010-07-20 Roland McGrath <roland@redhat.com>
39176 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
39177 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
39178 ld.so.cache was broken. With it, there is no way to disable dsocaps
39179 like LD_HWCAP_MASK can disable hwcaps.
39181 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39183 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
39185 2010-07-16 Ulrich Drepper <drepper@redhat.com>
39187 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
39188 call in strcasestr.
39189 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
39190 __strcasestr_sse42_nonascii.
39191 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
39192 strcasestr-nonascii.c.
39193 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
39195 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
39197 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
39198 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
39199 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
39200 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
39202 2010-07-09 Ulrich Drepper <drepper@redhat.com>
39204 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
39207 2010-07-06 Andreas Schwab <schwab@redhat.com>
39210 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
39213 2010-07-06 Ulrich Drepper <drepper@redhat.com>
39215 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
39216 _PC_PIPE_BUF using F_GETPIPE_SZ.
39218 2010-07-05 Roland McGrath <roland@redhat.com>
39220 * manual/arith.texi (Rounding Functions): Fix rint description
39221 implicit in round description.
39223 2010-07-02 Ulrich Drepper <drepper@redhat.com>
39225 * elf/Makefile: Fix linking for a few tests to make recent linker
39228 2010-06-30 Andreas Schwab <schwab@redhat.com>
39230 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39231 $(common-objpfx)libc_nonshared.a.
39233 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
39235 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
39236 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
39237 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39238 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39239 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
39240 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
39241 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39242 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
39244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
39245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
39246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
39248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
39250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
39251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
39252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
39253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
39255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
39257 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
39258 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
39259 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
39260 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
39261 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
39262 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
39263 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
39264 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
39265 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
39266 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
39267 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
39268 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
39269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
39270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
39271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
39272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
39273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
39274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
39275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
39276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
39277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
39278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
39279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
39280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
39281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
39282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
39284 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
39286 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
39287 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
39288 * string/memmove.c (memmove): Renamed to ...
39289 (MEMMOVE): ...this. Default to memmove.
39290 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
39291 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
39293 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39294 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
39295 mempcpy-ssse3-back memmove-ssse3-back.
39296 * sysdeps/x86_64/multiarch/bcopy.S: New file .
39297 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
39298 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
39299 * sysdeps/x86_64/multiarch/memcpy.S: New file.
39300 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
39301 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
39302 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
39303 * sysdeps/x86_64/multiarch/memmove.c: New file.
39304 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
39305 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
39306 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
39307 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
39308 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
39309 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
39311 (index_Fast_Copy_Backward): Define.
39312 (HAS_ARCH_FEATURE): Define.
39313 (HAS_FAST_REP_STRING): Define.
39314 (HAS_FAST_COPY_BACKWARD): Define.
39316 2010-06-21 Andreas Schwab <schwab@redhat.com>
39318 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39319 Restore proper fallback handling.
39321 2010-06-19 Ulrich Drepper <drepper@redhat.com>
39324 * posix/group_member.c (__group_member): Correct checking loop.
39326 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
39327 OOM in getpwuid_r correctly. Return error number when the caller
39328 should return, otherwise -1.
39329 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
39330 call returning > 0 value.
39331 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
39333 2010-06-07 Andreas Schwab <schwab@redhat.com>
39335 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
39336 libc_nonshared.a from targets in modules-names.
39338 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
39340 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
39343 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
39345 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
39346 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
39347 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
39348 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
39350 2010-06-02 Andreas Schwab <schwab@redhat.com>
39352 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
39354 2010-06-14 Ulrich Drepper <drepper@redhat.com>
39356 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
39358 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39359 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39360 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39361 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39362 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39363 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
39365 2010-06-14 Roland McGrath <roland@redhat.com>
39367 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
39369 2010-06-07 Jakub Jelinek <jakub@redhat.com>
39371 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
39372 __REDIRECT followed by __THROW.
39373 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
39374 * posix/getopt.h (getopt): Likewise.
39376 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39378 * hurd/lookup-at.c (__file_name_lookup_at): Accept
39379 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
39380 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
39382 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
39383 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
39385 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
39387 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
39389 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
39392 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39393 Properly check family and model.
39395 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
39397 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
39399 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
39401 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
39403 2010-05-21 Ulrich Drepper <drepper@redhat.com>
39405 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
39408 2010-05-19 Andreas Schwab <schwab@redhat.com>
39410 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
39413 2010-05-21 Andreas Schwab <schwab@redhat.com>
39415 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
39416 and internal_recvmmsg.
39417 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
39418 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
39419 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
39420 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
39422 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
39423 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39424 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39426 2010-05-20 Andreas Schwab <schwab@redhat.com>
39428 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
39430 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
39432 POWER7 optimizations.
39433 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
39434 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
39436 2010-05-19 Ulrich Drepper <drepper@redhat.com>
39438 * version.h: Update for 2.13 development version.
39440 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
39442 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
39443 exceptions. Return 0.
39445 2010-05-07 Roland McGrath <roland@redhat.com>
39447 * elf/ldconfig.c (main): Add a const.
39449 2010-05-06 Ulrich Drepper <drepper@redhat.com>
39451 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
39452 (args_options): Add no-idn option.
39453 (ahosts_keys_int): Add idn_flags to ai_flags.
39454 (parse_option): Handle 'i' option to clear idn_flags.
39456 * malloc/malloc.c (_int_free): Possible race in the most recently
39457 added check. Only act on the data if no current modification
39460 See ChangeLog.17 for earlier changes.