1 2014-02-11 Will Newton <will.newton@linaro.org>
3 * manual/probes.texi (Internal Probes): Add documentation
4 of setjmp, longjmp and longjmp_target probes.
6 2014-02-11 Will Newton <will.newton@linaro.org>
8 * include/stap-probe.h: Add comment about probe argument
11 2014-02-11 Will Newton <will.newton@linaro.org>
13 * malloc/mtrace.c (attribute_hidden): Remove unused macro
14 definition. (tr_where, tr_freehook, tr_mallochook,
15 tr_reallochook, tr_memalignhook): Use ANSI protoype.
17 2014-02-11 David S. Miller <davem@davemloft.net>
19 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
22 2014-02-10 Joseph Myers <joseph@codesourcery.com>
24 * sysdeps/mips: Move directory from ports/sysdeps/mips.
25 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
26 * sysdeps/unix/sysv/linux/mips: Move directory from
27 ports/sysdeps/unix/sysv/linux/mips.
28 * README: Update listing for mips-*-linux-gnu and
31 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
33 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
34 * sysdeps/unix/sysv/linux/m68k: Move directory from
35 ports/sysdeps/unix/sysv/linux/m68k.
36 * README: Update listing for m68k-*-linux-gnu.
38 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
40 * sysdeps/tile: Move directory from ports/sysdeps/tile.
41 * sysdeps/unix/sysv/linux/generic: Move directory from
42 ports/sysdeps/unix/sysv/linux/generic.
43 * sysdeps/unix/sysv/linux/tile: Move directory from
44 ports/sysdeps/unix/sysv/linux/tile.
45 * README: Update listing for tile*-*-linux-gnu.
47 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
49 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
50 * benchtests/bench-memmem.c (simple_memmem): Likewise.
51 * catgets/open_catalog.c (__open_catalog): Likewise.
52 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
53 * debug/confstr_chk.c: Likewise.
54 * debug/fread_chk.c (__fread_chk): Likewise.
55 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
56 * debug/getgroups_chk.c: Likewise.
57 * debug/mbsnrtowcs_chk.c: Likewise.
58 * debug/mbsrtowcs_chk.c: Likewise.
59 * debug/mbstowcs_chk.c: Likewise.
60 * debug/memcpy_chk.c: Likewise.
61 * debug/memmove_chk.c: Likewise.
62 * debug/mempcpy_chk.c: Likewise.
63 * debug/memset_chk.c: Likewise.
64 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
65 * debug/strcat_chk.c (__strcat_chk): Likewise.
66 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
67 * debug/strncat_chk.c (__strncat_chk): Likewise.
68 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
69 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
70 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
71 * debug/wcpncpy_chk.c: Likewise.
72 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
73 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
74 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
75 * debug/wcsncpy_chk.c: Likewise.
76 * debug/wcsnrtombs_chk.c: Likewise.
77 * debug/wcsrtombs_chk.c: Likewise.
78 * debug/wcstombs_chk.c: Likewise.
79 * debug/wmemcpy_chk.c: Likewise.
80 * debug/wmemmove_chk.c: Likewise.
81 * debug/wmempcpy_chk.c: Likewise.
82 * debug/wmemset_chk.c: Likewise.
83 * dirent/scandirat.c (SCANDIRAT): Likewise.
84 * dlfcn/dladdr1.c (dladdr1): Likewise.
85 * dlfcn/dladdr.c (dladdr): Likewise.
86 * dlfcn/dlclose.c (dlclose_doit): Likewise.
87 * dlfcn/dlerror.c (__dlerror): Likewise.
88 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
89 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
90 * dlfcn/dlopen.c (dlopen_doit): Likewise.
91 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
92 * dlfcn/dlsym.c (dlsym_doit): Likewise.
93 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
94 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
95 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
97 * elf/dl-conflict.c: Likewise.
98 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
99 * elf/dl-dst.h: Likewise.
100 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
101 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
102 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
103 * elf/dl-init.c (call_init, _dl_init): Likewise.
104 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
105 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
106 _dl_map_object_from_fd, open_verify, open_path,
107 _dl_map_object): Likewise.
108 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
110 * elf/dl-minimal.c (__libc_memalign): Likewise.
111 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
112 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
113 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
114 * elf/dl-sym.c (do_sym): Likewise.
115 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
116 _dl_tls_get_addr_soft): Likewise.
117 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
118 * elf/dl-writev.h (_dl_writev): Likewise.
119 * elf/ldconfig.c (search_dir): Likewise.
120 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
122 * elf/setup-vdso.h (setup_vdso): Likewise.
123 * grp/compat-initgroups.c (compat_call): Likewise.
124 * grp/fgetgrent.c (fgetgrent): Likewise.
125 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
126 * grp/putgrent.c (putgrent): Likewise.
127 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
129 * hurd/hurdinit.c: Likewise.
130 * iconvdata/8bit-gap.c (struct): Likewise.
131 * iconvdata/ansi_x3.110.c : Likewise.
132 * iconvdata/big5.c : Likewise.
133 * iconvdata/big5hkscs.c : Likewise.
134 * iconvdata/cp1255.c: Likewise.
135 * iconvdata/cp1258.c : Likewise.
136 * iconvdata/cp932.c : Likewise.
137 * iconvdata/euc-cn.c: Likewise.
138 * iconvdata/euc-jisx0213.c : Likewise.
139 * iconvdata/euc-jp.c: Likewise.
140 * iconvdata/euc-jp-ms.c : Likewise.
141 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
142 * iconvdata/gb18030.c : Likewise.
143 * iconvdata/gbbig5.c (const): Likewise.
144 * iconvdata/gbgbk.c: Likewise.
145 * iconvdata/gbk.c : Likewise.
146 * iconvdata/ibm1364.c : Likewise.
147 * iconvdata/ibm930.c : Likewise.
148 * iconvdata/ibm932.c: Likewise.
149 * iconvdata/ibm933.c : Likewise.
150 * iconvdata/ibm935.c : Likewise.
151 * iconvdata/ibm937.c : Likewise.
152 * iconvdata/ibm939.c : Likewise.
153 * iconvdata/ibm943.c: Likewise.
154 * iconvdata/iso_11548-1.c: Likewise.
155 * iconvdata/iso-2022-cn.c : Likewise.
156 * iconvdata/iso-2022-cn-ext.c : Likewise.
157 * iconvdata/iso-2022-jp-3.c: Likewise.
158 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
159 * iconvdata/iso-2022-kr.c : Likewise.
160 * iconvdata/iso646.c (gconv_end): Likewise.
161 * iconvdata/iso_6937-2.c : Likewise.
162 * iconvdata/iso_6937.c : Likewise.
163 * iconvdata/iso8859-1.c: Likewise.
164 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
165 * iconvdata/shift_jisx0213.c : Likewise.
166 * iconvdata/sjis.c : Likewise.
167 * iconvdata/t.61.c : Likewise.
168 * iconvdata/tcvn5712-1.c : Likewise.
169 * iconvdata/tscii.c: Likewise.
170 * iconvdata/uhc.c : Likewise.
171 * iconvdata/unicode.c (gconv_end): Likewise.
172 * iconvdata/utf-16.c (gconv_end): Likewise.
173 * iconvdata/utf-32.c (gconv_end): Likewise.
174 * iconvdata/utf-7.c (base64): Likewise.
175 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
176 * iconv/gconv_close.c (__gconv_close): Likewise.
177 * iconv/gconv_open.c (__gconv_open): Likewise.
178 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
179 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
180 internal_ucs4le_loop_single, ucs4le_internal_loop,
181 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
182 * iconv/iconv.c (iconv): Likewise.
183 * iconv/iconv_close.c: Likewise.
184 * iconv/loop.c (SINGLE): Likewise.
185 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
186 * include/atomic.h: Likewise.
187 * inet/inet6_option.c (option_alloc): Likewise.
188 * intl/bindtextdom.c (set_binding_values): Likewise.
189 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
190 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
191 * intl/localealias.c (read_alias_file): Likewise.
192 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
193 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
194 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
195 * libio/fmemopen.c (fmemopen): Likewise.
196 * libio/iofgets.c (_IO_fgets): Likewise.
197 * libio/iofgets_u.c (fgets_unlocked): Likewise.
198 * libio/iofgetws.c (fgetws): Likewise.
199 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
200 * libio/iogetdelim.c (_IO_getdelim): Likewise.
201 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
202 adjust_wide_data, _IO_wfile_seekoff): Likewise.
203 * locale/findlocale.c (_nl_find_locale): Likewise.
204 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
205 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
207 * locale/setlocale.c (setlocale): Likewise.
208 * login/programs/pt_chown.c (main): Likewise.
209 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
210 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
211 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
212 mmap, mmap64, mremap, munmap): Likewise.
213 * math/e_exp2l.c: Likewise.
214 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
215 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
216 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
217 * math/s_catan.c (__catan): Likewise.
218 * math/s_catanf.c (__catanf): Likewise.
219 * math/s_catanh.c (__catanh): Likewise.
220 * math/s_catanhf.c (__catanhf): Likewise.
221 * math/s_catanhl.c (__catanhl): Likewise.
222 * math/s_catanl.c (__catanl): Likewise.
223 * math/s_ccosh.c (__ccosh): Likewise.
224 * math/s_ccoshf.c (__ccoshf): Likewise.
225 * math/s_ccoshl.c (__ccoshl): Likewise.
226 * math/s_cexp.c (__cexp): Likewise.
227 * math/s_cexpf.c (__cexpf): Likewise.
228 * math/s_cexpl.c (__cexpl): Likewise.
229 * math/s_clog10.c (__clog10): Likewise.
230 * math/s_clog10f.c (__clog10f): Likewise.
231 * math/s_clog10l.c (__clog10l): Likewise.
232 * math/s_clog.c (__clog): Likewise.
233 * math/s_clogf.c (__clogf): Likewise.
234 * math/s_clogl.c (__clogl): Likewise.
235 * math/s_csin.c (__csin): Likewise.
236 * math/s_csinf.c (__csinf): Likewise.
237 * math/s_csinh.c (__csinh): Likewise.
238 * math/s_csinhf.c (__csinhf): Likewise.
239 * math/s_csinhl.c (__csinhl): Likewise.
240 * math/s_csinl.c (__csinl): Likewise.
241 * math/s_csqrt.c (__csqrt): Likewise.
242 * math/s_csqrtf.c (__csqrtf): Likewise.
243 * math/s_csqrtl.c (__csqrtl): Likewise.
244 * math/s_ctan.c (__ctan): Likewise.
245 * math/s_ctanf.c (__ctanf): Likewise.
246 * math/s_ctanh.c (__ctanh): Likewise.
247 * math/s_ctanhf.c (__ctanhf): Likewise.
248 * math/s_ctanhl.c (__ctanhl): Likewise.
249 * math/s_ctanl.c (__ctanl): Likewise.
250 * math/w_pow.c: Likewise.
251 * math/w_powf.c: Likewise.
252 * math/w_powl.c: Likewise.
253 * math/w_scalb.c (sysv_scalb): Likewise.
254 * math/w_scalbf.c (sysv_scalbf): Likewise.
255 * math/w_scalbl.c (sysv_scalbl): Likewise.
256 * misc/error.c (error_tail): Likewise.
257 * misc/pselect.c (__pselect): Likewise.
258 * nis/nis_callback.c (__nis_create_callback): Likewise.
259 * nis/nis_call.c (__nisfind_server): Likewise.
260 * nis/nis_creategroup.c (nis_creategroup): Likewise.
261 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
262 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
263 * nis/nis_getservlist.c (nis_getservlist): Likewise.
264 * nis/nis_lookup.c (nis_lookup): Likewise.
265 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
266 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
267 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
268 * nis/nis_xdr.c (xdr_endpoint): Likewise.
269 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
270 internal_getgrgid_r): Likewise.
271 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
273 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
274 internal_getpwuid_r): Likewise.
275 * nis/nss_compat/compat-spwd.c (getspent_next_file,
276 internal_getspnam_r): Likewise.
277 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
278 _nss_nis_getaliasbyname_r): Likewise.
279 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
280 _nss_nis_getntohost_r): Likewise.
281 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
282 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
284 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
285 internal_nis_gethostent_r, internal_gethostbyname2_r,
286 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
287 _nss_nis_gethostbyname4_r): Likewise.
288 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
289 initgroups_netid): Likewise.
290 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
291 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
292 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
293 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
294 _nss_nis_getprotobynumber_r): Likewise.
295 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
296 _nss_nis_getsecretkey): Likewise.
297 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
298 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
300 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
301 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
302 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
303 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
304 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
305 _nss_nis_getspnam_r): Likewise.
306 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
308 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
309 _nss_nisplus_getntohost_r): Likewise.
310 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
311 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
312 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
313 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
314 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
316 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
317 _nss_nisplus_getnetbyaddr_r): Likewise.
318 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
319 _nss_nisplus_getprotobynumber_r): Likewise.
320 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
321 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
322 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
324 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
325 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
326 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
327 _nss_nisplus_getspnam_r): Likewise.
328 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
329 * nscd/aicache.c (addhstaiX): Likewise.
330 * nscd/cache.c (cache_search, prune_cache): Likewise.
331 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
332 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
333 * nscd/grpcache.c (addgrbyX): Likewise.
334 * nscd/hstcache.c (addhstbyX): Likewise.
335 * nscd/initgrcache.c (addinitgroupsX): Likewise.
336 * nscd/mem.c (gc, mempool_alloc): Likewise.
337 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
339 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
341 * nscd/nscd_getai.c (__nscd_getai): Likewise.
342 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
343 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
345 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
346 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
347 * nscd/nscd_helper.c (__readvall, open_socket,
348 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
349 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
350 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
351 * nscd/pwdcache.c (addpwbyX): Likewise.
352 * nscd/selinux.c (preserve_capabilities): Likewise.
353 * nscd/servicescache.c (addservbyX): Likewise.
354 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
355 * posix/fnmatch.c (fnmatch): Likewise.
356 * posix/getopt.c (_getopt_internal_r): Likewise.
357 * posix/glob.c (glob, glob_in_dir): Likewise.
358 * posix/wordexp.c (exec_comm_child): Likewise.
359 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
360 gaih_getanswer_slice): Likewise.
361 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
362 * resolv/res_init.c: Likewise.
363 * resolv/res_mkquery.c (res_nmkquery): Likewise.
364 * resolv/res_query.c (__libc_res_nquery): Likewise.
365 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
367 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
368 * stdio-common/perror.c (perror): Likewise.
369 * stdio-common/printf_fp.c (___printf_fp): Likewise.
370 * stdio-common/tmpnam.c (tmpnam): Likewise.
371 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
372 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
373 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
374 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
375 * stdlib/putenv.c (putenv): Likewise.
376 * stdlib/setenv.c (__add_to_environ): Likewise.
377 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
378 * stdlib/strtol_l.c (INTERNAL): Likewise.
379 * string/memmem.c (memmem): Likewise.
380 * string/strerror.c (strerror): Likewise.
381 * string/strnlen.c (__strnlen): Likewise.
382 * string/test-memmem.c (simple_memmem): Likewise.
383 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
384 * sunrpc/pm_getport.c (__get_socket): Likewise.
385 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
386 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
387 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
388 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
390 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
391 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
392 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
393 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
394 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
395 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
396 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
397 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
398 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
399 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
400 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
401 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
402 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
403 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
404 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
405 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
406 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
407 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
408 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
410 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
412 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
414 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
415 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
416 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
417 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
418 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
419 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
420 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
421 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
422 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
423 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
424 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
425 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
426 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
427 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
428 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
429 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
430 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
432 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
434 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
436 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
437 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
438 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
440 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
441 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
442 * sysdeps/posix/opendir.c (__opendirat): Likewise.
443 * sysdeps/posix/sleep.c: Likewise.
444 * sysdeps/posix/tempname.c: Likewise.
445 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
446 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
448 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
449 elf_machine_rela): Likewise.
450 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
451 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
452 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
453 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
455 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
456 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
457 elf_machine_rela, elf_machine_lazy_rel): Likewise.
458 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
459 elf_machine_rela, elf_machine_lazy_rel): Likewise.
460 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
461 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
462 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
463 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
464 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
465 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
466 elf_machine_lazy_rel): Likewise.
467 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
468 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
469 elf_machine_lazy_rel): Likewise.
470 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
471 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
472 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
473 * sysdeps/unix/grantpt.c (grantpt): Likewise.
474 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
475 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
476 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
477 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
479 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
480 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
481 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
482 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
483 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
484 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
485 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
486 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
487 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
488 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
489 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
491 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
492 (__posix_fallocate64_l64): Likewise.
493 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
494 (posix_fallocate): Likewise.
495 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
496 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
497 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
498 getifaddrs_internal): Likewise.
499 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
500 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
501 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
502 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
503 * sysdeps/unix/sysv/linux/posix_fallocate64.c
504 (__posix_fallocate64_l64): Likewise.
505 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
507 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
508 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
510 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
511 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
512 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
513 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
514 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
515 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
516 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
517 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
519 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
520 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
521 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
522 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
523 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
524 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
525 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
527 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
528 (posix_fallocate): Likewise.
529 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
530 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
531 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
532 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
533 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
535 * time/asctime.c (asctime_internal): Likewise.
536 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
537 * time/tzset.c (__tzset_parse_tz): Likewise.
538 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
539 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
540 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
541 * wcsmbs/wcsmbsload.h: Likewise.
543 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
546 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
548 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
550 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
551 arena_get2): Remove THREAD_STATS conditionals.
552 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
553 __malloc_stats, int): Likewise.
555 2014-02-08 Mike Frysinger <vapier@gentoo.org>
557 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
558 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
560 2014-02-08 Mike Frysinger <vapier@gentoo.org>
562 * manual/setjmp.texi: Fix typos/grammar errors.
564 2014-02-08 Mike Frysinger <vapier@gentoo.org>
566 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
567 Only return early when n is <= 0. Delete unused return statement.
569 2014-02-08 Mike Frysinger <vapier@gentoo.org>
571 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
572 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
573 * debug/tst-longjmp_chk3.c: New file.
575 2014-02-08 Mike Frysinger <vapier@gentoo.org>
577 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
578 (test_main): Replace code with set_fortify_handler call.
579 * debug/test-strcpy_chk.c: Likewise.
580 * debug/tst-chk1.c: Likewise.
581 * debug/tst-longjmp_chk.c: Likewise.
582 * test-skeleton.c: Include fcntl.h & paths.h
583 (set_fortify_handler): Define.
585 2014-02-08 Mike Frysinger <vapier@gentoo.org>
587 * debug/tst-longjmp_chk.c: Add header comment and include
589 (do_test): Mark static.
590 (TEST_FUNCTION): Define.
592 2014-02-08 Mike Frysinger <vapier@gentoo.org>
594 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
595 (IP_PMTUDISC_INTERFACE): Likewise.
596 (IP_MULTICAST_IF): Likewise.
597 (IP_MULTICAST_TTL): Likewise.
598 (IP_MULTICAST_LOOP): Likewise.
599 (IP_ADD_MEMBERSHIP): Likewise.
600 (IP_DROP_MEMBERSHIP): Likewise.
601 (IP_UNBLOCK_SOURCE): Likewise.
602 (IP_BLOCK_SOURCE): Likewise.
603 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
604 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
605 (IP_MSFILTER): Likewise.
606 (MCAST_JOIN_GROUP): Likewise.
607 (MCAST_BLOCK_SOURCE): Likewise.
608 (MCAST_UNBLOCK_SOURCE): Likewise.
609 (MCAST_LEAVE_GROUP): Likewise.
610 (MCAST_JOIN_SOURCE_GROUP): Likewise.
611 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
612 (MCAST_MSFILTER): Likewise.
613 (IP_MULTICAST_ALL): Likewise.
614 (IP_UNICAST_IF): Likewise.
616 2014-02-08 Mike Frysinger <vapier@gentoo.org>
618 * timezone/Makefile: Delete $(have-ksh) check.
619 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
620 * timezone/tzselect.ksh: Add +x mode bits.
622 2014-02-08 Mike Frysinger <vapier@gentoo.org>
624 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
625 (ANON_INODE_FS_MAGIC): Likewise.
626 (BDEVFS_MAGIC): Likewise.
627 (BINFMTFS_MAGIC): Likewise.
628 (BTRFS_TEST_MAGIC): Likewise.
629 (CRAMFS_MAGIC_WEND): Likewise.
630 (DEBUGFS_MAGIC): Likewise.
631 (ECRYPTFS_SUPER_MAGIC): Likewise.
632 (EXT3_SUPER_MAGIC): Likewise.
633 (EXT4_SUPER_MAGIC): Likewise.
634 (FUTEXFS_SUPER_MAGIC): Likewise.
635 (HOSTFS_SUPER_MAGIC): Likewise.
636 (HUGETLBFS_MAGIC): Likewise.
637 (MINIX3_SUPER_MAGIC): Likewise.
638 (MTD_INODE_FS_MAGIC): Likewise.
639 (NILFS_SUPER_MAGIC): Likewise.
640 (OPENPROM_SUPER_MAGIC): Likewise.
641 (PIPEFS_MAGIC): Likewise.
642 (PSTOREFS_MAGIC): Likewise.
643 (QNX6_SUPER_MAGIC): Likewise.
644 (RAMFS_MAGIC): Likewise.
645 (REISERFS_SUPER_MAGIC_STRING): Likewise.
646 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
647 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
648 (SECURITYFS_MAGIC): Likewise.
649 (SELINUX_MAGIC): Likewise.
650 (SMACK_MAGIC): Likewise.
651 (SOCKFS_MAGIC): Likewise.
652 (SQUASHFS_MAGIC): Likewise.
653 (STACK_END_MAGIC): Likewise.
654 (TMPFS_MAGIC): Likewise.
655 (USBDEVICE_SUPER_MAGIC): Likewise.
656 (V9FS_MAGIC): Likewise.
657 (XENFS_SUPER_MAGIC): Likewise.
658 (CRAMFS_MAGIC): Fix typo in comment.
659 (EXT2_SUPER_MAGIC): Update comment.
660 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
662 2014-02-08 Joseph Myers <joseph@codesourcery.com>
664 * sysdeps/arm: Move directory from ports/sysdeps/arm.
665 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
666 * sysdeps/unix/sysv/linux/arm: Move directory from
667 ports/sysdeps/unix/sysv/linux/arm.
668 * README: Update listing for arm-*-linux-gnueabi.
670 * README: Remove mention of am33.
672 2014-02-07 Roland McGrath <roland@hack.frob.com>
674 * bits/sigset.h (__sigemptyset): Use a statement expression rather
675 than the comma operator, to avoid "rhs of comma has no effect"
677 (__sigfillset, __sigandset, __sigorset): Likewise.
678 * include/signal.h (__sigemptyset): Likewise.
679 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
681 2014-02-07 Allan McRae <allan@archlinux.org>
683 * version.h (RELEASE): Set to "development".
684 (VERSION): Set to "2.19.90"
685 * NEWS: Add 2.20 section.
687 2014-02-06 Carlos O'Donell <carlos@redhat.com>
690 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
692 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
694 * manual/contrib.texi: Update entry for Carlos O'Donell,
695 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
697 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
699 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
701 * sysdeps/unix/sysv/linux/kernel-features.h
702 [__LINUX_KERNEL_VERSION >= 0x020621]
703 (__ASSUME_PROC_PID_TASK_COMM): Define.
705 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
707 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
708 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
709 Leonard and Allan McRae.
711 2014-02-04 David S. Miller <davem@davemloft.net>
713 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
716 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
745 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
747 * nptl/shlib-versions: Change powerpc*le start to 2.17.
748 * shlib-versions: Likewise.
750 2014-02-04 Roland McGrath <roland@hack.frob.com>
751 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
753 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
754 (abilist-pattern): New variable, set to %-le.abilist.
756 * Makerules (abilist-pattern): New variable.
757 (vpath): Use $(abilist-pattern) in place of %.abilist.
758 (check-abi-% pattern rule): Likewise.
759 (check-abi, update-abi): Likewise.
761 2014-02-04 Eric Wong <normalperson@yhbt.net>
763 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
765 2014-02-04 Eric Wong <normalperson@yhbt.net>
767 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
769 2014-02-03 Carlos O'Donell <carlos@redhat.com>
771 * manual/startup.texi: Add next, previous, and top entries for
772 the `Program Arguments' and `Environment Variables' nodes.
774 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
776 * manual/macros.texi: Add comments before MTASC-safety macros.
778 * manual/users.texi: Document MTASC-safety properties.
780 * manual/threads.texi (pthread_key_create, pthread_key_delete,
781 pthread_getspecific, pthread_setspecific): Format with
782 @deftypefun, and add @safety note.
783 * manual/signal.texi: Move comments that analyze the above
784 functions to their home place.
786 2014-02-03 Allan McRae <allan@archlinux.org>
788 * po/sl.po: Update Slovenian translation from translation project.
790 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
792 * manual/time.texi (timegm): Add missing blank after @c.
793 Reported by Joseph Myers <joseph@codesourcery.com>.
795 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
797 * manual/check-safety.sh: New.
798 * manual/Makefile ($(objpfx)stamp-summary): Run it.
800 * manual/terminal.texi: Document MTASC-safety properties.
802 * manual/filesys.texi: Document MTASC-safety properties.
804 * manual/errno.texi: Document MTASC-safety properties.
806 * manual/intro.texi: Document safety identifiers and
809 * manual/string.texi (wcstok): Fix prototype.
810 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
812 * manual/time.texi: Document MTASC-safety properties.
814 * manual/string.texi: Document MTASC-safety properties.
816 * manual/threads.texi: Document MTASC-safety properties.
818 * manual/stdio.texi: Document MTASC-safety properties.
820 * manual/syslog.texi: Document MTASC-safety properties.
822 * manual/sysinfo.texi: Document MTASC-safety properties.
824 * manual/startup.texi: Document MTASC-safety properties.
826 * manual/socket.texi: Document MTASC-safety properties.
828 * manual/signal.texi: Document MTASC-safety properties.
830 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
832 * manual/setjmp.texi: Document MTASC-safety properties.
834 * manual/search.texi: Document MTASC-safety properties.
836 * manual/resource.texi: Document MTASC-safety properties.
838 * manual/process.texi: Document MTASC-safety properties.
840 * manual/platform.texi: Document MTASC-safety properties.
842 * manual/pipe.texi: Document MTASC-safety properties.
844 * manual/pattern.texi: Document MTASC-safety properties.
846 * manual/message.texi: Document MTASC-safety properties.
849 * manual/memory.texi: Document MTASC-safety properties.
851 * manual/math.texi: Document MTASC-safety properties.
853 * manual/locale.texi: Document MTASC-safety properties.
855 * manual/llio.texi: Document MTASC-safety properties.
857 * manual/libdl.texi: New.
859 * manual/lang.texi: Document MTASC-safety properties.
861 * manual/job.texi: Document MTASC-safety properties.
863 * manual/getopt.texi: Document MTASC-safety properties.
865 * manual/ctype.texi: Document MTASC-safety properties.
867 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
870 * csu/libc-tls.c (static_map): Remove variable.
871 (__libc_setup_tls): Use main executable's link map for TLS data.
872 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
873 casing for LM_ID_BASE and GL(dl_nns).
874 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
875 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
876 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
877 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
878 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
880 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
883 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
885 * manual/debug.texi: Document MTASC-safety properties.
887 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
890 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
891 of __x86_64__ when disabling x87 inline functions.
893 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
895 * manual/charset.texi: Document MTASC-safety properties.
897 * manual/crypt.texi: Document MTASC-safety properties.
899 * manual/conf.texi: Document MTASC-safety properties.
901 * manual/arith.texi: Document MTASC-safety properties.
903 * manual/argp.texi: Document MTASC-safety properties.
905 * manual/macros.texi: Introduce macros to document multi
906 thread, asynchronous signal and asynchronous cancellation
908 * manual/intro.texi: Introduce the properties themselves.
910 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
912 * sysdeps/sh/sh4/Makefile: New file.
914 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
916 * math/gen-libm-test.pl ($srcdir): New variable.
917 ($auto_input): Use it.
919 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
922 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
923 access beyond array bounds when parsing netgroups file.
925 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
926 the old buffer before realloc.
928 2014-01-27 Allan McRae <allan@archlinux.org>
930 * po/fr.po: Update French translation from translation project.
932 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
934 * sysdeps/sh/libm-test-ulps: Regenerate.
936 2014-01-24 David S. Miller <davem@davemloft.net>
938 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
940 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
942 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
943 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
945 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
948 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
949 string pointers after reallocation.
951 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
953 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
954 __SH4A__ instead of __SH_FPU_ANY__.
956 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
958 * sysdeps/sh/fpu_control.h: New file.
959 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
960 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
961 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
962 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
963 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
964 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
965 * sysdeps/sh/sys/ucontext.h: Remove.
966 * sysdeps/sh/sys: Remove directory.
968 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
970 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
972 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
973 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
975 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
978 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
980 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
983 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
984 Adjust the vDSO correctly for internal calls.
985 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
987 2014-01-20 Allan McRae <allan@archlinux.org>
989 * po/ca.po: Update Catalan translation from translation project.
991 2014-01-16 Mike Frysinger <vapier@gentoo.org>
993 * sysdeps/s390/sotruss-lib.c: New file.
995 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
998 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
999 (__GI___gettimeofday): Alias for a different internal symbol to avoid
1000 local calls issues by not having a PLT stub required for IFUNC calls.
1001 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
1003 2014-01-16 Joseph Myers <joseph@codesourcery.com>
1005 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
1006 * math/test-fpucw-static.c: Likewise.
1008 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1011 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1013 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1015 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1016 implementation for powerpc.
1018 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
1021 * sysdeps/posix/system.c (__libc_system): Do not enable
1022 asynchronous cancellation.
1024 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1027 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1028 handling only for numbers special also in the IEEE case.
1030 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1032 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1034 2014-01-11 Allan McRae <allan@archlinux.org>
1036 * po/bg.po: Update Bulgarian translation from translation project.
1038 * po/de.po: Update German translation from translation project.
1040 2014-01-10 Roland McGrath <roland@hack.frob.com>
1042 * sysdeps/generic/gcc-compat.h: New file.
1044 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1046 * benchtests/asin-inputs: Correct slow inputs.
1047 * benchtests/acos-inputs: Likewise.
1049 2014-01-10 Allan McRae <allan@archlinux.org>
1051 * po:sv.po: Update Swedish translation from translation project.
1053 * po/vi.po: Update Vietnamese translation from translation project.
1055 * po/eo.po: Update Esperanto translation from translation project.
1057 * po/cs.po: Update Czech translation from translation project.
1059 * po/nl.po: Update Dutch translation from translation project.
1061 * po/pl.po: Update Polish translation from translation project.
1063 * po/ru.po: Update Russian translation from translation project.
1065 * po/uk.po: Update Ukrainian translation from translation project.
1067 2014-01-08 Brooks Moses <bmoses@google.com>
1069 * elf/dl-load.c: Fix comment typo.
1071 2014-01-08 Carlos O'Donell <carlos@redhat.com>
1073 * po/header.pot: Rename to...
1074 * po/pot.header: ... this.
1075 * po/Makefile: Use pot.header.
1077 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
1078 Maxim Kuvyrkov <maxim@kugelworks.com>
1081 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
1082 SRC and DEST against LEN.
1084 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1087 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
1089 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
1091 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1095 2014-01-08 Joseph Myers <joseph@codesourcery.com>
1098 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
1099 for large positive arguments.
1101 2014-01-07 Joseph Myers <joseph@codesourcery.com>
1103 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1105 * math/auto-libm-test-in: Mark various tests with
1106 xfail-rounding:ldbl-128ibm.
1107 * math/auto-libm-test-out: Regenerated.
1110 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1111 Increase overflow threshold.
1113 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
1116 * stdio-common/vfprintf.c: Check for integer overflow.
1118 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1120 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
1121 the first argument and return value of __tls_get_addr_internal.
1123 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1125 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
1126 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
1128 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1130 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
1131 * sysdeps/s390/rtld-global-offsets.sym: New file.
1132 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
1134 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
1135 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
1136 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1138 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
1139 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1145 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
1146 halfs of GPRs for high_gprs contexts.
1147 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
1148 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
1150 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
1152 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
1154 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
1155 for high GPRs (uc_high_gprs) and for future extensions
1157 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
1158 for future extensions (__reserved).
1159 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
1161 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
1162 SC_HIGHGPRS offset definition.
1163 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
1164 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
1166 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1168 * Versions.def: Add GLIBC_2.19 for libpthread.
1169 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
1170 siglongjmp for libpthread with GLIBC_2.19 symver.
1171 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
1172 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
1173 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
1174 * sysdeps/s390/__longjmp.c: New file.
1175 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
1176 * sysdeps/s390/longjmp.c: New file.
1177 * sysdeps/s390/setjmp.S: New file.
1178 * sysdeps/s390/sigjmp.S: New file.
1179 * sysdeps/s390/v1-longjmp.c: New file.
1180 * sysdeps/s390/v1-setjmp.h: New file.
1181 * sysdeps/s390/v1-sigjmp.c: New file.
1182 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
1183 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
1185 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
1186 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
1187 versioned symbols for ____longjmp_chk.
1188 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1194 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1198 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
1199 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
1200 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
1201 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
1202 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
1203 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
1204 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
1205 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
1206 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
1207 * sysdeps/s390/rtld-__longjmp.c: New file.
1208 * sysdeps/s390/rtld-setjmp.S: New file.
1210 2014-01-06 Joseph Myers <joseph@codesourcery.com>
1213 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1214 Return -__logl (x) for small positive arguments without evaluating
1217 2014-01-06 Mike Frysinger <vapier@gentoo.org>
1219 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
1221 (__ptrace_peeksiginfo_args): ... this.
1222 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1223 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1224 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1226 2014-01-06 Allan McRae <allan@archlinux.org>
1228 * inet/netinet/in.h: Fix typo in comment.
1230 2014-01-05 Andreas Jaeger <aj@suse.de>
1232 * sysdeps/i386/fpu/libm-test-ulps: Update.
1234 2014-01-05 Allan McRae <allan@archlinux.org>
1236 * po/libc.pot: Regenerated.
1238 * malloc/memusagestat.c: Fix gettext call formatting.
1240 2014-01-04 Sami Kerola <kerolasa@iki.fi>
1242 * nscd/nscd.c: Improve usage() output.
1244 2014-01-04 Mike Frysinger <vapier@gentoo.org>
1246 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
1247 * sysdeps/unix/sysv/linux/configure: Regenerated.
1248 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
1249 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
1251 2014-01-03 Joseph Myers <joseph@codesourcery.com>
1254 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1255 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
1257 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1259 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
1260 extra tokens at end of #undef directive.
1261 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
1262 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
1263 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1265 2014-01-03 Joseph Myers <joseph@codesourcery.com>
1267 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1269 * math/auto-libm-test-in: Mark various tests with
1270 xfail-rounding:ldbl-128ibm.
1271 * math/auto-libm-test-out: Regenerated.
1273 2014-01-02 Joseph Myers <joseph@codesourcery.com>
1276 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
1277 numbers with subnormal high part when calculating exponent.
1280 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
1284 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
1286 (__ieee754_acoshl): Use __log1pl not __log1p.
1288 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
1290 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
1291 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
1292 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
1293 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
1294 Convert to GNU style.
1295 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
1296 mem2mem_check, mem2chunk_check, top_check, realloc_check,
1297 memalign_check, __malloc_set_state): Likewise.
1298 * malloc/mallocbug.c (main): Likewise.
1299 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
1300 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
1301 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
1302 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
1303 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
1304 * malloc/malloc.h: Likewise.
1305 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
1306 memalignhook, reallochook, mabort): Likewise.
1307 * malloc/mcheck.h: Likewise.
1308 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
1309 mmap64, mremap, munmap, dest): Likewise.
1310 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
1311 * malloc/morecore.c (__default_morecore): Likewise.
1312 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
1313 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
1314 _obstack_allocated_p, obstack_free, _obstack_memory_used,
1315 print_and_abort): Likewise.
1316 * malloc/obstack.h: Likewise.
1317 * malloc/set-freeres.c (__libc_freeres): Likewise.
1318 * malloc/tst-mallocstate.c (main): Likewise.
1319 * malloc/tst-mtrace.c (main): Likewise.
1320 * malloc/tst-realloc.c (do_test): Likewise.
1322 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1325 * nscd/netgroupcache.c (do_notfound): New function.
1326 (addgetnetgrentX): Use it.
1329 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
1330 NSS_STATUS_NOTFOUND.
1332 2014-01-01 Joseph Myers <joseph@codesourcery.com>
1334 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1337 2014-01-01 Allan McRae <allan@archlinux.org>
1339 * scripts/update-copyrights: Update configure input file suffix.
1341 * NEWS: Update copyright year.
1342 * catgets/gencat.c: Likewise.
1343 * csu/version.c: Likewise.
1344 * debug/catchsegv.sh: Likewise.
1345 * debug/pcprofiledump.c: Likewise.
1346 * debug/xtrace.sh: Likewise.
1347 * elf/ldconfig.c: Likewise.
1348 * elf/ldd.bash.in: Likewise.
1349 * elf/pldd.c: Likewise.
1350 * elf/sotruss.ksh: Likewise.
1351 * elf/sprof.c: Likewise.
1352 * iconv/iconv_prog.c: Likewise.
1353 * iconv/iconvconfig.c: Likewise.
1354 * locale/programs/locale.c: Likewise.
1355 * locale/programs/localedef.c: Likewise.
1356 * login/programs/pt_chown.c: Likewise.
1357 * malloc/memusage.sh: Likewise.
1358 * malloc/memusagestat.c: Likewise.
1359 * malloc/mtrace.pl: Likewise.
1360 * manual/libc.texinfo: Likewise.
1361 * nscd/nscd.c: Likewise.
1362 * nss/getent.c: Likewise.
1363 * nss/makedb.c: Likewise.
1364 * posix/getconf.c: Likewise.
1365 * scripts/test-installation.pl: Likewise.
1367 * All files with FSF copyright notices: Update copyright dates
1368 using scripts/update-copyrights.
1369 * intl/plural.c: Regenerated.
1370 * locale/programs/charmap-kw.h: Likewise.
1371 * locale/programs/locfile-kw.h: Likewise.
1373 2013-12-31 Mike Frysinger <vapier@gentoo.org>
1375 * sysdeps/unix/sysv/linux/configure: Regenerated.
1376 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
1377 the linux/fanotify.h header.
1378 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
1379 HAVE_LINUX_FANOTIFY_H is defined.
1381 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1383 * benchtests/cos-inputs: New inputs.
1384 * benchtests/sin-inputs: Likewise.
1386 * benchtests/atan-inputs: New inputs. Fix name of multiple
1387 precision fallback inputs.
1389 * benchtests/atanh-inputs: New inputs.
1390 * benchtests/tanh-inputs: Likewise.
1392 * benchtests/acosh-inputs: New inputs.
1393 * benchtests/asinh-inputs: Likewise.
1395 * benchtests/cosh-inputs: New inputs.
1396 * benchtests/sinh-inputs: Likewise.
1398 * benchtests/acos-inputs: Add more inputs.
1399 * benchtests/asin-inputs: Likewise.
1401 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
1404 * manual/arith.texi: Fix spelling.
1405 * manual/charset.texi: Likewise.
1406 * manual/errno.texi: Likewise.
1407 * manual/filesys.texi: Likewise.
1408 * manual/lang.texi: Likewise.
1409 * manual/llio.texi: Likewise.
1410 * manual/locale.texi: Likewise.
1411 * manual/message.texi: Likewise.
1412 * manual/resource.texi: Likewise.
1413 * manual/search.texi: Likewise.
1414 * manual/setjmp.texi: Likewise.
1415 * manual/stdio.texi: Likewise.
1416 * manual/string.texi: Likewise.
1417 * manual/sysinfo.texi: Likewise.
1418 * manual/time.texi: Likewise.
1420 2013-12-27 Carlos O'Donell <carlos@redhat.com>
1422 * po/sl.po: New file.
1424 2013-12-27 Mike Frysinger <vapier@gentoo.org>
1426 * .gitignore: Add core/.gdbinit/.gdb_history.
1428 2013-12-27 Allan McRae <allan@archlinux.org>
1431 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
1432 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
1434 2013-12-24 Brooks Moses <bmoses@google.com>
1436 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
1437 all compilers that claim C++98 compliance, not just GCC.
1438 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1441 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
1443 * NEWS: Restore accidentally deleted bug-fix entries.
1445 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
1446 Ondřej Bílka <neleai@seznam.cz>
1449 * malloc/malloc.c (_int_free): Perform sanity check only if we
1452 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
1455 * manual/stdio.texi (String Input Conversions): Clarify that character
1456 classes are not supported.
1458 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1462 2013-12-22 Joseph Myers <joseph@codesourcery.com>
1465 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1466 Calculate results for small negative arguments directly rather
1467 than using reflection formula with special underflow handling.
1469 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
1470 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
1471 sysdeps/unix/bsd/bsd4.4/syscalls.list.
1472 (fchflags): Likewise.
1474 (setlogin): Likewise.
1475 (sigaltstack): Likewise.
1478 (sigsetmask): Likewise.
1480 (waitpid): Likewise.
1481 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
1482 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
1484 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
1485 * sysdeps/unix/bsd/Makefile: ... here.
1486 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
1487 * sysdeps/unix/bsd/Versions: ... here.
1488 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
1489 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
1490 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
1491 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
1492 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
1493 * sysdeps/unix/bsd/sigblock.c: ... here.
1494 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
1495 * sysdeps/unix/bsd/sigsetmask.c: ... here.
1496 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
1497 * sysdeps/unix/bsd/sigvec.c: ... here.
1498 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
1499 * sysdeps/unix/bsd/tcdrain.c: ... here.
1500 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
1501 * sysdeps/unix/bsd/tcgetattr.c: ... here.
1502 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
1503 * sysdeps/unix/bsd/tcsetattr.c: ... here.
1504 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
1505 * sysdeps/unix/bsd/wait.c: ... here.
1506 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
1507 * sysdeps/unix/bsd/wait3.c: ... here.
1508 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
1509 * sysdeps/unix/bsd/waitpid.c: ... here.
1511 2013-12-21 Joseph Myers <joseph@codesourcery.com>
1514 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
1515 round-to-nearest for [!USE_AS_EXPM1L].
1516 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1517 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
1518 more tests of exp and exp10. Expect some exp10 tests to miss
1519 exceptions or fail in directed rounding modes.
1520 * math/auto-libm-test-out: Regenerated.
1521 * math/libm-test.inc (exp10_tonearest_test_data): New array.
1522 (exp10_test_tonearest): New function.
1523 (exp10_towardzero_test_data): New array.
1524 (exp10_test_towardzero): New function.
1525 (exp10_downward_test_data): New array.
1526 (exp10_test_downward): New function.
1527 (exp10_upward_test_data): New array.
1528 (exp10_test_upward): New function.
1529 (main): Call the new functions.
1530 * sysdeps/i386/fpu/libm-test-ulps: Update.
1531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1533 2013-12-20 Joseph Myers <joseph@codesourcery.com>
1535 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1536 asinh, atan, atan2, atanh, cbrt, cos and cosh.
1537 * math/auto-libm-test-out: Regenerated.
1538 * math/libm-test.inc (acosh_test_data): Add more tests.
1539 (atanh_test_data): Likewise.
1540 (ceil_test_data): Likewise.
1541 (copysign_test_data): Likewise.
1542 * sysdeps/i386/fpu/libm-test-ulps: Update.
1543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1545 * timezone/checktab.awk: Update from tzcode 2013i.
1546 * timezone/private.h: Likewise.
1547 * timezone/scheck.c: Likewise.
1548 * timezone/tzfile.h: Likewise.
1549 * timezone/tzselect.ksh: Likewise.
1550 * timezone/zdump.c: Likewise.
1551 * timezone/zic.c: Likewise.
1553 * math/auto-libm-test-in: Add tests of cpow.
1554 * math/auto-libm-test-out: Regenerated.
1555 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
1556 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
1558 (func_calc_desc): Add mpc_cc_c union field.
1559 (test_functions): Add cpow.
1560 (special_fill_2pi): New function.
1561 (special_real_inputs): Add 2pi.
1562 (calc_generic_results): Handle mpc_cc_c.
1563 * sysdeps/i386/fpu/libm-test-ulps: Update.
1564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1566 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
1567 csqrt, ctan and ctanh.
1568 * math/auto-libm-test-out: Regenerated.
1569 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1570 (TEST_COND_x86): Likewise.
1571 (ccos_test_data): Use AUTO_TESTS_c_c.
1572 (ccosh_test_data): Likewise.
1573 (cexp_test_data): Likewise.
1574 (clog_test_data): Likewise.
1575 (csqrt_test_data): Likewise.
1576 (ctan_test_data): Likewise.
1577 (ctan_tonearest_test_data): Likewise.
1578 (ctan_towardzero_test_data): Likewise.
1579 (ctan_downward_test_data): Likewise.
1580 (ctan_upward_test_data): Likewise.
1581 (ctanh_test_data): Likewise.
1582 (ctanh_tonearest_test_data): Likewise.
1583 (ctanh_towardzero_test_data): Likewise.
1584 (ctanh_downward_test_data): Likewise.
1585 (ctanh_upward_test_data): Likewise.
1586 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1588 (func_calc_desc): Add mpc_c_c union field.
1589 (FUNC_mpc_c_c): New macro.
1590 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
1591 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
1593 (special_fill_min_subnorm_p120): New function.
1594 (special_real_inputs): Add min_subnorm_p120.
1595 (calc_generic_results): Handle mpc_c_c.
1596 * sysdeps/i386/fpu/libm-test-ulps: Update.
1597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1599 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1601 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
1602 do_sin_slow): New functions.
1603 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
1604 cslow2, csloww1, csloww2): Use the new functions.
1606 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
1607 Use M to change sign of result instead of X. Assume X is
1609 (csloww1): Likewise.
1613 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
1618 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
1620 (sloww1): Don't adjust sign of DX.
1621 (csloww1): Likewise.
1622 (sloww2): Use X directly and don't adjust sign of DX.
1623 (csloww2): Likewise.
1625 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1627 * math/auto-libm-test-in: Add tests of cabs and carg.
1628 * math/auto-libm-test-out: Regenerated.
1629 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
1630 (carg_test_data): Likewise.
1631 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1633 (func_calc_desc): Add mpc_c_f union field.
1634 (test_functions): Add cabs and carg.
1635 (calc_generic_results): Handle mpc_c_f.
1637 * sysdeps/powerpc/powerpc32/libgcc-compat.S
1638 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
1639 as a macro and a compat symbol.
1640 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1641 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1642 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1643 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1644 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
1645 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
1647 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
1649 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
1651 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
1653 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
1655 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
1657 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
1658 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
1661 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1663 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1665 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1667 * manual/texinfo.tex: Update to version 2013-11-26.10 with
1668 trailing whitespace removed.
1669 * scripts/config.guess: Update to version 2013-11-29.
1670 * scripts/config.sub: Update to version 2013-10-01.
1672 * math/auto-libm-test-in: Add tests of sincos.
1673 * math/auto-libm-test-out: Regenerated.
1674 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
1675 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1677 (func_calc_desc): Add mpfr_f_11 union field.
1678 (test_functions): Add sincos.
1679 (calc_generic_results): Handle mpfr_f_11.
1680 * sysdeps/i386/fpu/libm-test-ulps: Update.
1681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1683 2013-12-19 Andreas Schwab <schwab@suse.de>
1685 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
1687 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1688 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1689 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
1691 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1693 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
1694 * sysdeps/i386/fpu/libm-test-ulps: Update.
1695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1698 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
1699 round-to-nearest mode when using frndint.
1700 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
1701 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1702 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1704 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
1706 * math/auto-libm-test-out: Regenerated.
1707 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
1708 (TEST_COND_x86): Likewise.
1709 (expm1_tonearest_test_data): New array.
1710 (expm1_test_tonearest): New function.
1711 (expm1_towardzero_test_data): New array.
1712 (expm1_test_towardzero): New function.
1713 (expm1_downward_test_data): New array.
1714 (expm1_test_downward): New function.
1715 (expm1_upward_test_data): New array.
1716 (expm1_test_upward): New function.
1717 (main): Run the new test functions.
1718 * sysdeps/i386/fpu/libm-test-ulps: Update.
1719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1721 * include/features.h: Update comment documenting feature test
1722 macros. Mention _DEFAULT_SOURCE in comment.
1723 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
1724 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
1725 _BSD_SOURCE and _SVID_SOURCE.
1726 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
1727 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
1728 !_SVID_SOURCE]: Likewise.
1729 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1730 (__USE_POSIX_IMPLICITLY): Define.
1731 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1732 (_POSIX_SOURCE): Undefine and redefine.
1733 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1734 (_POSIX_C_SOURCE): Likewise.
1735 * manual/creature.texi (_DEFAULT_SOURCE): Document.
1736 (Feature Test Macros): Update documentation of default features.
1738 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1740 * benchtests/Makefile: Add bench-strtok.
1741 * benchtests/bench-strtok.c: New file: strtok benchtest.
1743 2013-12-19 Allan McRae <allan@archlinux.org>
1745 * manual/install.texi: Suppress menu for plain text output.
1746 * INSTALL: Regenerated.
1748 2013-12-18 Brooks Moses <bmoses@google.com>
1751 * misc/getauxval.c: Include errno.h.
1752 (__getauxval): Set errno to ENOENT if the requested type is not
1754 * misc/sys/auxv.h (getauxval): Document that it may set errno;
1755 don't declare with __attribute_const__.
1756 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1757 * manual/startup.texi: Document that getauxval sets errno.
1759 2013-12-18 Joseph Myers <joseph@codesourcery.com>
1761 * math/auto-libm-test-in: Add tests of jn and yn.
1762 * math/auto-libm-test-out: Regenerated.
1763 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1764 (yn_test_data): Likewise.
1765 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1767 (func_calc_desc): Add mpfr_if_f union field.
1768 (FUNC_mpfr_if_f): New macro.
1769 (test_functions): Add jn and yn.
1770 (calc_generic_results): Assert type of second input for
1771 mpfr_ff_f. Handle mpfr_if_f.
1772 (output_for_one_input_case): Disable all checking for arguments
1773 fitting floating-point types in case of an integer argument.
1774 * sysdeps/i386/fpu/libm-test-ulps: Update.
1775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1778 Don't expect fegetround reference in libm.so.
1780 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1782 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1783 $(config-cflags-nofma).
1785 2013-12-18 Joseph Myers <joseph@codesourcery.com>
1787 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1788 * math/auto-libm-test-out: Regenerated.
1791 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1792 to determine exponent and adjust argument to have exponent of -1.
1793 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1795 * math/auto-libm-test-out: Regenerated.
1796 * sysdeps/i386/fpu/libm-test-ulps: Update.
1797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1799 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
1801 * manual/probes.texi: Remove cases when per-thread arenas are
1804 2013-12-18 Andreas Schwab <schwab@suse.de>
1806 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1807 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1808 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1809 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1810 * sysdeps/i386/i686/multiarch/Makefile: Update.
1811 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1813 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1815 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1816 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1818 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
1821 Support TZ transition times < 00:00:00.
1822 This is needed for version-3 tz-format files; it supports time
1823 stamps past 2037 for America/Godthab (the only entry in the tz
1824 database for which this change is relevant).
1825 * manual/time.texi (TZ Variable): Document transition times
1826 from -167:59:59 through -00:00:01.
1827 * time/tzset.c (tz_rule): Time of day is now signed.
1828 (__tzset_parse_tz): Parse negative time of day.
1830 Document TZ transition times >= 25:00:00.
1831 * manual/time.texi (TZ Variable): Document transition times from
1832 25:00:00 through 167:59:59. These are already supported, and this
1833 support will help with version-3 tz-format files.
1835 * manual/time.texi (TZ Variable): Modernize North America example
1836 to reflect current (i.e., 2007-and-later) daylight saving rules.
1838 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1840 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1842 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1843 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1844 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1845 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1846 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1847 * sysdeps/unix/bsd/bsdstat.h: Likewise.
1848 * sysdeps/unix/bsd/clock.c: Likewise.
1849 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1850 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1851 * sysdeps/unix/bsd/init-posix.c: Likewise.
1852 * sysdeps/unix/bsd/poll.c: Likewise.
1853 * sysdeps/unix/bsd/ptsname.c: Likewise.
1854 * sysdeps/unix/bsd/seekdir.c: Likewise.
1855 * sysdeps/unix/bsd/setegid.c: Likewise.
1856 * sysdeps/unix/bsd/seteuid.c: Likewise.
1857 * sysdeps/unix/bsd/setgid.c: Likewise.
1858 * sysdeps/unix/bsd/setrgid.c: Likewise.
1859 * sysdeps/unix/bsd/setruid.c: Likewise.
1860 * sysdeps/unix/bsd/setsid.c: Likewise.
1861 * sysdeps/unix/bsd/setuid.c: Likewise.
1862 * sysdeps/unix/bsd/sigaction.c: Likewise.
1863 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1864 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1865 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1866 * sysdeps/unix/bsd/telldir.c: Likewise.
1867 * sysdeps/unix/bsd/times.c: Likewise.
1868 * sysdeps/unix/bsd/usleep.c: Likewise.
1870 * misc/Makefile (install-lib): Remove libbsd-compat.a.
1871 ($(objpfx)libbsd-compat.a): Remove rule.
1873 * include/features.h (__FAVOR_BSD): Do not define.
1874 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1875 features conflicting with POSIX.
1876 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1877 (_BSD_SOURCE): Remove description of not being a subset of other
1878 feature test macros.
1879 * manual/job.texi (getpgrp): Do not document BSD version.
1880 (getpgid): Do not document by reference to BSD getpgrp.
1881 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1882 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1883 * signal/signal.h [__FAVOR_BSD]: Likewise.
1884 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1885 instead of making contents conditional on [__FAVOR_BSD].
1886 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1888 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1892 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1895 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1896 values below 2**-450, not 2**-500.
1897 * math/auto-libm-test-in: Don't allow spurious underflow from
1899 * math/auto-libm-test-out: Regenerated.
1903 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1904 values of ha and hb and sort them after adjusting subnormal
1906 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1908 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1909 values of ea and eb and sort them after adjusting subnormal
1911 * math/auto-libm-test-in: Do not expect some hypot tests of
1912 subnormals to fail. Add more hypot tests.
1913 * math/auto-libm-test-out: Regenerated.
1915 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1918 * sysdeps/sh/s_fma.c: New file.
1919 * sysdeps/sh/s_fmaf.c: New file.
1920 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
1922 * sysdeps/sh/Implies: Add sh/soft-fp.
1924 2013-12-16 Roland McGrath <roland@hack.frob.com>
1926 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
1927 level of indirection to members `objname', `errstring', `malloced'.
1928 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1929 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
1930 it as the __longjmp argument (just pass 1 instead).
1931 (_dl_catch_error): Initialize C with argument pointers and address of
1932 volatile local ERRCODE rather than copying values out of C at return.
1934 2013-12-16 Joseph Myers <joseph@codesourcery.com>
1936 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1937 * math/auto-libm-test-out: Regenerated.
1938 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1939 (hypot_test_data): Likewise.
1940 (pow_test_data): Likewise.
1941 (pow_tonearest_test_data): Likewise.
1942 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1944 (func_calc_desc): Add mpfr_ff_f union field.
1945 (FUNC_mpfr_ff_f): New macro.
1946 (test_functions): Add atan2, hypot and pow.
1947 (special_fill_min): New function.
1948 (special_fill_minus_min): Likewise.
1949 (special_fill_min_subnorm): Likewise.
1950 (special_fill_minus_min_subnorm): Likewise.
1951 (special_real_inputs): Add min, -min, min_subnorm and
1953 (calc_generic_results): Handle mpfr_ff_f.
1954 * sysdeps/i386/fpu/libm-test-ulps: Update.
1955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1957 2013-12-16 Will Newton <will.newton@linaro.org>
1959 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1960 (Aligned Memory Blocks): Add documentation for aligned_alloc
1961 and suggest it as an alternative to posix_memalign.
1962 (Hooks for Malloc): Document __memalign_hook is also called
1963 for aligned_alloc. (Summary of Malloc): Add summary for
1964 aligned alloc. Document __memalign_hook is also called
1967 2013-12-16 Will Newton <will.newton@linaro.org>
1969 * manual/memory.texi (Malloc Examples): Clarify default
1970 alignment documentation. Suggest posix_memalign rather
1971 than memalign or valloc.
1972 (Aligned Memory Blocks): Remove suggestion to use memalign
1973 or valloc. Remove obsolete comment about BSD.
1974 Document memalign errno values and mark the function obsolete.
1975 Document posix_memalign returned error codes. Mark valloc
1976 as obsolete. (Hooks for Malloc): __memalign_hook is also
1977 called for posix_memalign and valloc.
1978 (Summary of Malloc): Add posix_memalign to function summary.
1979 __memalign_hook is also called for posix_memalign and valloc.
1981 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1983 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1987 (sloww): Use mynumber union. Expand ternary operator into
1989 (cslow): use mynumber union.
1991 2013-12-16 Allan McRae <allan@archlinux.org>
1993 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1994 * configure: Regenerated.
1996 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1999 * configure.ac: Added --enable-maintainer-mode. Check for
2000 autoconf when enabled.
2001 * configure: Regenerated.
2003 * nscd/nscd.service: New file.
2004 * nscd/nscd.tmpfiles: New file.
2006 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
2009 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
2010 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
2011 * sysdeps/x86_64/multiarch/strstr.c: ... here.
2012 (strstr): Add __strstr_sse2_unaligned ifunc.
2013 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
2014 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
2015 (strcasestr): Remove __strcasestr_sse42 ifunc.
2016 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
2017 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2018 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2020 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2022 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2023 * sysdeps/sh/bits/fenv.h: ... here.
2024 * sysdeps/sh/sh4/fpu/bits: Remove directory.
2026 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2028 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2030 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2032 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2033 hypotf multiarch implementations.
2034 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2035 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2036 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2037 multiarch hypot for PPC64.
2038 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2039 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2040 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2041 multiarch hypotf for PPC64.
2043 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2045 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2046 modff multiarch implementations.
2047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
2048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
2049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
2050 multiarch modf for PPC64.
2051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
2052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
2053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
2054 multiarch modff for PPC64.
2056 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2058 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
2059 and logl multiarch implementations.
2060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
2061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
2062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
2063 multiarch logb for PPC64.
2064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
2065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
2066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
2067 multiarch logb for PPC64.
2068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
2069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
2070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
2071 multiarch logb for PPC64.
2073 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2075 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
2076 isinff multiarch implementation.
2077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
2079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
2080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
2081 multiarch isinf for PPC64.
2082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
2084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
2085 multiarch isinff for PPC64.
2087 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2089 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
2090 finitef multiarch implementation.
2091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
2093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
2094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
2095 multiarch finite for PPC64.
2096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
2098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
2099 multiarch finitef for PPC64.
2101 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2103 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
2104 lrint multiarch implementation.
2105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
2107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
2108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
2109 multiarch llrint for PPC64.
2110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
2111 multiarch lrint for PPC64.
2113 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2115 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
2116 copysignf multiarch implementation.
2117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
2119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
2121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
2122 multiarch copysign for PPC64.
2123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
2124 multiarch copysignf for PPC64.
2126 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2128 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
2129 multiarch implementation.
2130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
2132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
2134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
2136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
2138 multiarch llround for PPC64.
2139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
2140 multiarch trunc for PPC64.
2141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
2142 multiarch truncf for PPC64.
2144 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2146 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
2147 multiarch implementation.
2148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
2150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
2152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
2154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
2156 multiarch llround for PPC64.
2157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
2158 multiarch round for PPC64.
2159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
2160 multiarch roundf for PPC64.
2162 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2164 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
2165 multiarch implementation.
2166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
2168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
2170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
2172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
2174 multiarch llround for PPC64.
2175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
2176 multiarch floor for PPC64.
2177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
2178 multiarch floorf for PPC64.
2180 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2182 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
2183 multiarch implementation.
2184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
2186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
2188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
2190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
2192 multiarch llround for PPC64.
2193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
2194 multiarch ceil for PPC64.
2195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
2196 multiarch ceilf for PPC64.
2198 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2200 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2201 multiarch implementation.
2202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
2204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
2206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
2208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
2209 multiarch llround for PPC64.
2210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
2211 multiarch lround for PPC64.
2213 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2215 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
2216 multiarch implementation.
2217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
2218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
2219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
2221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
2222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
2223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
2224 multiarch isnan for PPC64.
2225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
2226 multiarch isnanf for PPC64.
2228 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2230 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
2231 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
2232 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
2233 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
2234 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
2235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
2237 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2239 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
2240 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2241 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2242 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2244 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2246 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
2247 multiarch implementations.
2248 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2249 (__libc_ifunc_impl_list): Likewise.
2250 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2251 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
2252 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
2253 multiarch stpcpy for PPC64.
2255 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2257 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
2258 multiarch implementations.
2259 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2260 (__libc_ifunc_impl_list): Likewise.
2261 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
2262 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
2263 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
2264 multiarch strcpy for PPC64.
2266 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2268 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
2269 redefine function name.
2270 (_wordcopy_fwd_dest_aligned): Likewise.
2271 (_wordcopy_bwd_aligned): Likewise.
2272 (_wordcopy_bwd_dest_aligned): Likewise.
2273 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
2274 multiarch implementations.
2275 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2276 (__libc_ifunc_impl_list): Likewise.
2277 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
2278 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
2279 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
2280 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
2281 multiarch wcscpy for PPC64.
2283 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2285 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
2286 multiarch implementations.
2287 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2288 (__libc_ifunc_impl_list): Likewise.
2289 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
2290 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
2291 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
2292 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
2293 multiarch wcscpy for PPC64.
2295 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2297 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
2298 multiarch implementations.
2299 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2300 (__libc_ifunc_impl_list): Likewise.
2301 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
2302 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
2303 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
2304 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
2305 multiarch wcsrchr for PPC64.
2307 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2309 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
2310 multiarch implementations.
2311 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2312 (__libc_ifunc_impl_list): Likewise.
2313 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
2314 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
2315 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
2316 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
2317 multiarch wcschr for PPC64.
2319 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2321 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
2322 multiarch implementations.
2323 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2324 (__libc_ifunc_impl_list): Likewise.
2325 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
2326 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
2327 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
2328 multiarch strchrnul for PPC64.
2330 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2332 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
2334 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2335 (__libc_ifunc_impl_list): Likewise.
2336 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
2337 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
2338 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
2339 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
2342 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2344 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
2346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2347 (__libc_ifunc_impl_list): Likewise.
2348 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
2349 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
2350 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
2351 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
2354 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2356 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
2357 multiarch implementations.
2358 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2359 (__libc_ifunc_impl_list): Likewise.
2360 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
2361 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
2362 strncasecmp for PPC64.
2363 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
2364 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
2365 multiarch strncasecmp_l for PPC64.
2367 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2369 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
2370 multiarch implementations.
2371 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2372 (__libc_ifunc_impl_list): Likewise.
2373 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
2374 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
2375 multiarch strcasecmp for PPC64.
2376 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
2378 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
2379 multiarch strcasecmp_l for PPC64.
2381 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2383 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
2385 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2386 (__libc_ifunc_impl_list): Likewise.
2387 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
2388 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
2389 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
2392 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2394 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
2396 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2397 (__libc_ifunc_impl_list): Likewise.
2398 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
2399 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
2400 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
2403 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2405 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
2407 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2408 (__libc_ifunc_impl_list): Likewise.
2409 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
2410 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
2411 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
2412 rawmemrchr for PPC64.
2414 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2416 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
2418 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2419 (__libc_ifunc_impl_list): Likewise.
2420 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
2421 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
2422 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
2425 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2427 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
2429 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2430 (__libc_ifunc_impl_list): Likewise.
2431 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
2432 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
2433 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
2436 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2438 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
2440 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2441 (__libc_ifunc_impl_list): Likewise.
2442 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
2443 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
2444 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
2447 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2449 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
2450 avoid cretion of __bzero symbol.
2451 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
2453 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
2455 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
2457 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
2458 multiarch implementations.
2459 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2460 (__libc_ifunc_impl_list): Likewise.
2461 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
2462 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
2463 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
2464 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
2466 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
2467 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
2468 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
2469 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
2470 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
2472 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
2474 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2476 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
2477 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
2479 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2480 (__libc_ifunc_impl_list): Likewise.
2481 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
2482 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
2483 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
2484 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
2487 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2489 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
2490 multiarch for POWER/PPC64.
2491 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2492 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
2493 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
2494 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
2495 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
2496 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
2497 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
2498 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
2499 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
2502 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2504 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
2505 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
2506 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
2507 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
2508 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
2509 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
2510 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
2511 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
2512 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
2513 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
2514 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
2515 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
2516 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
2517 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
2518 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
2519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
2520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
2521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
2522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
2523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
2524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
2525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
2527 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2529 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
2531 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2533 * benchtests/Makefile (bench): Add exp2 and log2.
2534 (LDLIBS-bench-exp2): Add -lm.
2535 (LDLIBS-bench-log2): Likewise.
2536 * benchtests/exp2-inputs: New inputs file.
2537 * benchtests/log2-inputs: New inputs file.
2538 * benchtests/log-inputs: Add new inputs.
2539 * benchtests/tan-inputs: Likewise.
2541 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2543 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
2545 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
2546 csloww1, csloww2): ... from here.
2548 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
2549 instead of structures.
2550 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
2551 (POLYNOMIAL): Likewise.
2552 (TAYLOR_SLOW): Likewise.
2560 (bsloww1): Likewise.
2561 (bsloww2): Likewise.
2564 (csloww1): Likewise.
2565 (csloww2): Likewise.
2567 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
2569 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
2570 (__malloc_assert, __libc_realloc, __libc_calloc,
2571 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
2573 * malloc/hooks.c (realloc_check): Likewise.
2575 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
2577 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
2578 * malloc/arena.c: Remove PER_THREAD conditional.
2579 [!PER_THREAD]: Remove code.
2580 (ptmalloc_unlock_all2): Likewise.
2581 (ptmalloc_init): Likewise.
2582 (_int_new_arena): Likewise.
2583 (arena_get2): Likewise.
2584 * malloc/hooks.c (__malloc_get_state): Likewise.
2585 (__malloc_set_state): Likewise.
2586 * malloc/malloc.c: Likewise.
2587 (struct malloc_state): Likewise.
2588 (struct malloc_par): Likewise.
2589 (__libc_realloc): Likewise.
2590 (__libc_mallopt): Likewise.
2592 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2594 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
2596 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
2598 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
2599 macro to a function. Check for zero perturb_byte.
2600 (_int_malloc, _int_free): Remove zero perturb_byte checks.
2602 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
2604 * malloc/malloc.c: (force_reg): Remove.
2605 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
2606 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
2607 force_reg by atomic_forced_read.
2608 * malloc/arena.c (ptmalloc_init): Likewise.
2609 * malloc/hooks.c (top_check): Likewise.
2611 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2615 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
2617 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2619 2013-12-08 Joseph Myers <joseph@codesourcery.com>
2621 * math/auto-libm-test-in: Add tests of lgamma.
2622 * math/auto-libm-test-out: Regenerated.
2623 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
2624 (M_LOG_2_SQRT_PIl): Likewise.
2625 (lgamma_test_data): Use AUTO_TESTS_f_f1.
2626 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2628 (func_calc_desc): Add mpfr_f_f1 union field.
2637 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
2638 (test_functions): Add lgamma.
2639 (calc_generic_results): Handle mpfr_f_f1.
2640 * sysdeps/i386/fpu/libm-test-ulps: Update.
2641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2643 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2645 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
2646 __mpn_add_n for PowerPC64/POWER7.
2647 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
2648 __mpn_sub_n for PowerPC64/POWER7.
2650 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2652 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
2653 __mpn_addmul_1 for PowerPC64.
2654 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
2655 __mpn_submul_1 for PowerPC64.
2656 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
2658 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
2661 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
2664 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
2666 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2668 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
2670 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2672 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
2673 add multiarch folders.
2674 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
2675 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
2676 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
2677 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
2678 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
2679 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
2680 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
2681 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
2682 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
2683 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
2684 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
2685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
2686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
2687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
2688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
2689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
2690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
2692 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2695 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
2696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
2698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
2700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
2701 multiarch __ieee754_hypot for PowerPC32.
2702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
2704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
2706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
2707 multiarch __ieee754_hypotf for PowerPC32.
2709 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2711 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
2712 long_double_symbol only if __logbl is defined.
2713 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
2714 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
2715 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
2716 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
2717 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
2718 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
2719 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
2720 path for implementation.
2721 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2722 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2724 logb, and logbl multiarch implementations for PowerPC32.
2725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2730 multiarch logb for PowerPC32.
2731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2736 multiarch logbf for PowerPC32.
2737 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2741 multiarch logbl implementation for PowerPC32.
2743 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2746 and modff multiarch implementations.
2747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2752 multiarch modf for PowerPC32.
2753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2758 multiarch modff for PowerPC32.
2760 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2763 and lrintf multiarch implementations.
2764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2769 multiarch lrint for PowerPC32.
2770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2771 file: multiarch lrintf for PowerPC32.
2773 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2776 and lroundf multiarch implementations.
2777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2784 multiarch lround for PowerPC32.
2785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2786 file: multiarch lroundf for PowerPC32.
2788 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2791 copysign and copysignf multiarch implementations.
2792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2797 file: multiarch copysign for PowerPC32.
2798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2799 file: multiarch copysignf for PowerPC32.
2801 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2804 and truncf multiarch implementations.
2805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2810 multiarch trunc for PowerPC32.
2811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2816 multiarch truncf for PowerPC32.
2818 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2821 and roundf multiarch implementations.
2822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2827 multiarch round for PowerPC32.
2828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2833 multiarch roundf for PowerPC32.
2835 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2838 and floorf multiarch implementations.
2839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2844 multiarch floor for PowerPC32.
2845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2850 multiarch floorf for PowerPC32.
2852 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2855 and ceilf multiarch implementations.
2856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2861 multiarch ceil for PowerPC32.
2862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2867 multiarch ceilf for PowerPC32.
2869 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2871 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2873 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2876 and finitef multiarch implementations.
2877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2882 multiarch finite for PowerPC32.
2883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2886 file: multiarch finitef for PowerPC32.
2888 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2891 and isinff multiarch implementations.
2892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2897 multiarch isinf for PowerPC32.
2898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2901 multiarch isinff for PowerPC32.
2903 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2905 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2906 alias when __isnan is defined.
2907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2908 and isnanf multiarch implementations.
2909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2918 multiarch isnan for PowerPC32.
2919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2924 multiarch isnanf for PowerPC32.
2926 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2929 and sqrtf multiarch implementations.
2930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2935 multiarch sqrt for PowerPC32.
2936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2941 multiarch sqrtf for PowerPC32.
2943 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2946 and llroundf multiarch implementations.
2947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2954 file: multiarch llround for PowerPC32.
2955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2956 file: multiarch llroundf for PowerPC32.
2958 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2961 multiarch PowerPC32 fpu implementations.
2962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2967 multiarch llrint for PowerPC32.
2968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2975 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2979 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2981 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2983 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2985 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2987 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2988 multiarch wordcopy for PPC32.
2989 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2991 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2992 (__libc_ifunc_impl_list): Likewise.
2993 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2994 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2995 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2996 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2997 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2998 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
3000 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3002 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
3003 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
3005 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
3007 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
3009 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3010 multiarch wcscpy for PPC32.
3011 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3013 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3014 (__libc_ifunc_impl_list): Likewise.
3015 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3016 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3017 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
3018 sysdeps/powerpc/power6/wcscpy.c.
3020 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3022 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3023 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3025 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3027 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3029 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3030 multiarch wcsrchr for PPC32.
3031 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3033 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3034 (__libc_ifunc_impl_list): Likewise.
3035 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3036 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3037 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3038 sysdeps/powerpc/power6/wcsrchr.c.
3040 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3042 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3044 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3046 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3047 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
3048 multiarch wcschr for PPc32.
3049 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3051 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3052 (__libc_ifunc_impl_list): Likewise.
3053 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
3054 * sysdeps/powerpc/power6/wcschr.c: ... to here.
3055 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
3056 sysdeps/powerpc/power6/wcschr.c.
3058 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3060 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
3061 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
3063 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
3064 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
3065 file: multiarch strchr for PPC32.
3066 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
3068 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3069 (__libc_ifunc_impl_list): Likewise.
3071 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3073 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
3075 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
3077 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
3079 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
3080 multiarch strchrnul for PPC32.
3081 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
3083 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3084 (__libc_ifunc_impl_list): Likewise.
3086 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3088 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
3090 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
3091 multiarch strncasecmp for PPC32.
3092 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
3094 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
3095 multiarch strncasecmp_l for PPC32.
3096 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
3097 strncasecmp multiarch objects.
3098 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3099 (__libc_ifunc_impl_list): Likewise.
3101 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3103 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
3105 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
3106 multiarch strncasecmp for PPC32.
3107 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3109 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
3110 multiarch strcasecmp_l for PPC32.
3111 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
3113 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3114 (__libc_ifunc_impl_list): Likewise.
3116 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3118 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
3120 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
3122 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
3123 multiarch strncmp for PPC32.
3124 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
3126 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3127 (__libc_ifunc_impl_list): Likewise.
3129 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3131 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
3132 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
3134 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
3135 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
3136 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
3138 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3139 (__libc_ifunc_impl_list): Likewise.
3141 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3143 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
3145 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
3147 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
3148 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
3150 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3151 (__libc_ifunc_impl_list): Likewise.
3153 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3155 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
3157 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
3159 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
3160 multiarch rawmemchr for PPC32.
3161 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
3163 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3164 (__libc_ifunc_impl_list): Likewise.
3166 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3168 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
3170 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
3172 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
3173 file: memrchr multiarch for PPC32.
3174 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
3176 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3177 (__libc_ifunc_impl_list): Likewise.
3179 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3181 * string/memchr.c (__memchr): Using macro to redefine symbol name.
3182 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
3184 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
3185 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
3186 multiarch memchr for PPC32.
3187 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
3189 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3190 (__libc_ifunc_impl_list): Likewise.
3192 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3194 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
3195 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
3197 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
3199 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
3200 file: multiarch mempcpy for PPC32.
3201 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
3203 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3204 (__libc_ifunc_impl_list): Likewise.
3206 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3208 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
3209 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
3210 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
3211 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
3212 multiarch bzero for PPC32.
3213 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
3215 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
3217 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
3218 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
3219 file: multiarch memset for PPC32.
3220 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
3221 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
3222 memset multiarch objects.
3223 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3224 (__libc_ifunc_impl_list): Likewise.
3226 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3228 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
3230 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
3231 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
3233 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
3234 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
3236 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3237 (__libc_ifunc_impl_list): Likewise.
3239 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3241 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
3242 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
3243 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
3245 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
3247 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
3249 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
3250 multiarch memcpy for PPC32.
3251 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
3253 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3254 (__libc_ifunc_impl_list): Likewise.
3256 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3258 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
3259 support multiarch for POWER/PPC32.
3260 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3262 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
3264 Implies file to make multiarch folder appers before the fpu and
3265 default folder for power4 configuration.
3267 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3269 * scripts/bench.pl: Append volatile keyword to type.
3271 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3273 * sysdeps/sh/sotruss-lib.c: New file.
3274 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
3276 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3280 2013-12-05 Joseph Myers <joseph@codesourcery.com>
3283 * math/w_tgamma.c: Include <errno.h>.
3284 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
3285 * math/w_tgammaf.c: Include <errno.h>.
3286 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
3287 * math/w_tgammal.c: Include <errno.h>.
3288 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
3289 * math/auto-libm-test-in: Do not allow missing errno on tgamma
3290 underflow. Add more tgamma tests.
3291 * math/auto-libm-test-out: Regenerated.
3292 * sysdeps/i386/fpu/libm-test-ulps: Update.
3293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3295 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
3296 sin, sinh, tan, tanh, tgamma, y0 and y1.
3297 * math/auto-libm-test-out: Regenerated.
3298 * math/libm-test.inc (TEST_COND_x86_64): New macro.
3299 (TEST_COND_x86): Likewise.
3300 (M_E2l): Remove macro.
3302 (M_2_SQRT_PIl): Likewise.
3303 (M_SQRT_PIl): Likewise.
3304 (M_1_DIV_El): Likewise.
3305 (log_test_data): Use AUTO_TESTS_f_f.
3306 (log10_test_data): Likewise.
3307 (log1p_test_data): Likewise.
3308 (log2_test_data): Likewise.
3309 (sin_test_data): Likewise.
3310 (sin_tonearest_test_data): Likewise.
3311 (sin_towardzero_test_data): Likewise.
3312 (sin_downward_test_data): Likewise.
3313 (sin_upward_test_data): Likewise.
3314 (sinh_test_data): Likewise.
3315 (sinh_tonearest_test_data): Likewise.
3316 (sinh_towardzero_test_data): Likewise.
3317 (sinh_downward_test_data): Likewise.
3318 (sinh_upward_test_data): Likewise.
3319 (tan_test_data): Likewise.
3320 (tan_tonearest_test_data): Likewise.
3321 (tan_towardzero_test_data): Likewise.
3322 (tan_downward_test_data): Likewise.
3323 (tan_upward_test_data): Likewise.
3324 (tanh_test_data): Likewise.
3325 (tgamma_test_data): Likewise.
3326 (y0_test_data): Likewise.
3327 (y1_test_data): Likewise.
3328 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
3329 (special_real_inputs): Add pi/4.
3330 * sysdeps/i386/fpu/libm-test-ulps: Update.
3331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3333 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3335 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
3336 "longjmp_target" static probes.
3337 (__longjmp): Rename to __longjmp_symbol.
3338 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3339 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
3340 on which longjmp to generate.
3341 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3342 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
3344 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3345 (__sigjmp_save): Rename to __sigjmp_save_symbol.
3346 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3347 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
3348 and __sigjmp_save_symbol based on which sigsetjmp to generated.
3349 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
3350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
3351 __longjmp_symbol based on which __longjmp to generate.
3352 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
3354 (setjmp): Rename to setjmp_symbol.
3355 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3356 (_setjmp): Rename to _setjmp_symbol.
3357 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3358 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
3359 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
3360 which setjmp to generate.
3361 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
3362 "longjmp_target" static probes.
3364 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3366 * benchtests/README: Add note about output arguments.
3367 * benchtests/bench-sincos.c: Remove file.
3368 * benchtests/sincos-inputs: New file.
3369 * scripts/bench.pl: Identify output arguments and define
3370 static variables for them.
3372 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
3375 * Makefile (INSTALL): Add install-plain.texi as the primary
3377 * manual/install-plain.texi: New file.
3378 * manual/install.texi: Include node directive only for
3379 non-plaintext output.
3381 2013-12-04 Joseph Myers <joseph@codesourcery.com>
3383 * stdlib/longlong.h: Update from GCC.
3387 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
3388 * math/w_j0f.c (y0f): Likewise.
3389 * math/w_j0l.c (__y0l): Likewise.
3390 * math/w_j1.c (y1): Likewise.
3391 * math/w_j1f.c (y1f): Likewise.
3392 * math/w_j1l.c (__y1l): Likewise
3393 * math/w_jn.c (yn): Likewise.
3394 * math/w_jnf.c (ynf): Likewise.
3395 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
3396 Bessel function pole errors in _POSIX_ mode. Use NAN as return
3397 value for Bessel function domain errors outside _SVID_ mode.
3398 Adjust sign of return value for yn (negative integer, 0).
3399 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
3400 by zero in return for negative x and set sign appropriately for
3402 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
3403 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3404 * math/libm-test.inc (y0_test_data): Add more tests and adjust
3405 expectations in error cases.
3406 (y1_test_data): Likewise.
3407 (yn_test_data): Likewise.
3408 * sysdeps/i386/fpu/libm-test-ulps: Update.
3409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3411 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3413 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
3414 "64" to "64-v1". Add "64-v2".
3415 (abi-64-options): Rename to ...
3416 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
3417 (abi-64-condition): Rename to ...
3418 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
3419 (abi-64-ld-soname): Rename to ...
3420 (abi-64-v1-ld-soname): ... this.
3421 (abi-64-v2-options): Define.
3422 (abi-64-v2-condition): Likewise.
3423 (abi-64-v2-ld-soname): Likewise.
3424 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
3425 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
3426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
3427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
3428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
3430 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3431 Alan Modra <amodra@gmail.com>
3433 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
3434 New versions for use with the ELFv2 ABI.
3435 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
3436 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
3438 (struct La_ppc64v2_retval): Likewise.
3439 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
3440 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
3441 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
3442 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
3443 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
3444 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
3445 Do not save or restore CR.
3446 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
3447 (_dl_profile_resolve): Do no save or restore CR. Support extended
3448 return values for ELFv2 ABI. Fix location of FPR return registers.
3449 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
3450 updated values for _CALL_ELF == 2.
3451 (La_regs, La_retval, int_retval): Likewise.
3453 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3455 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
3456 (FRAME_MIN_SIZE_PARM): Likewise.
3457 (FRAME_BACKCHAIN): Likewise.
3458 (FRAME_CR_SAVE): Likewise.
3459 (FRAME_LR_SAVE): Likewise.
3460 (FRAME_TOC_SAVE): Likewise.
3461 (FRAME_PARM_SAVE): Likewise.
3462 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3463 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3464 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3465 (call_mcount_parm_offset): New macro.
3466 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
3467 (PROF): Use symbolic stack frame offsets.
3468 (TAIL_CALL_SYSCALL_ERROR): Likewise.
3469 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
3470 Redefine in terms of FRAME_MIN_SIZE.
3471 (_dl_runtime_resolve): Use symbolic stack frame offsets.
3472 (_dl_profile_resolve): Likewise. Update comment.
3473 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
3474 symbols stack frame offsets.
3475 (__sigsetjmp): Likewise.
3476 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
3477 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
3478 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
3479 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
3481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
3482 (FRAME_BACKCHAIN): Remove.
3483 (FRAME_CR_SAVE): Likewise.
3484 (FRAME_LR_SAVE): Likewise.
3485 (FRAME_COMPILER_DW): Likewise.
3486 (FRAME_LINKER_DW): Likewise.
3487 (FRAME_TOC_SAVE): Likewise.
3488 (FRAME_PARM_SAVE): Likewise.
3489 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3490 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3491 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
3493 (CHECK_SP): Use symbolic stack frame offsets.
3494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
3495 zone" instead of caller's parameter save area for temp storage.
3496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3497 Likewise. Also, use symbolic stack frame offsets.
3498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
3499 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
3500 our own stack frame instead of the caller's.
3501 (__socket): Use symbolic stack frame offsets.
3503 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3504 Alan Modra <amodra@gmail.com>
3506 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
3508 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
3509 PPC64_LOCAL_ENTRY_OFFSET): Define.
3510 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
3512 (elf_machine_fixup_plt): Call it.
3513 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
3515 (elf_machine_rela): Update call to elf_machine_plt_conflict.
3516 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3517 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
3518 r2 before calling target.
3520 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3521 Alan Modra <amodra@gmail.com>
3523 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
3524 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
3525 versions of macros to support ELFv2 ABI.
3526 (LOCALENTRY): New macro.
3527 (ENTRY, EALIGN): Use it.
3528 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
3529 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
3530 fall through into ENTRY entry point.
3531 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
3532 Only define if _CALL_ELF != 2.
3534 (elf_machine_matches_host): Verify ABI version matches.
3535 (RTLD_START): Use LOCALENTRY.
3536 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
3537 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
3538 (PLT_ENTRY_WORDS): New macro.
3539 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
3540 (elf_machine_runtime_setup): Support ELFv2 ABI.
3541 (elf_machine_fixup_plt): Likewise.
3542 (elf_machine_plt_conflict): Likewise.
3543 (resolve_ifunc): Likewise.
3544 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3545 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
3548 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
3549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3550 (makecontext): Support ELFv2 ABI.
3551 * elf/elf.h (EF_PPC64_ABI): Define.
3553 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3555 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
3556 New assembler macro.
3557 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
3558 [ASSEMBLER] (ENTRY): ... but instead here ...
3559 [ASSEMBLER] (EALIGN): ... and here.
3560 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
3561 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
3562 [!ASSEMBLER] (ENTRY_2): Use it.
3563 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
3564 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
3565 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3566 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
3567 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
3568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
3569 Use PPC64_LOAD_FUNCPTR.
3571 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3573 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
3575 2013-12-04 Alan Modra <amodra@gmail.com>
3577 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
3578 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
3579 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
3580 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
3582 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
3583 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
3584 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
3585 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
3586 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
3587 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
3589 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3592 (__makecontext): Fix incorrect CFI when backtracing out of
3593 context created via makecontext.
3594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
3595 (__setcontext): Fix incorrect CFI during switch to new context.
3596 (__novec_setcontext): Likewise.
3598 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
3601 * time/strptime_l.c (__strptime_internal): Allow modifiers
3603 * time/tst-strptime.c (day_tests): Add testcase.
3606 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3608 * scripts/bench.pl: Skip over blank lines.
3610 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
3613 * manual/time.texi (Calendar Time): Clarify what timezone functions
3616 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3620 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
3622 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
3624 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3625 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3626 * debug/memset_chk.c (__memset_chk): Likewise.
3627 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
3628 * debug/strncpy_chk.c: Likewise.
3630 2013-12-03 Joseph Myers <joseph@codesourcery.com>
3634 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
3635 (__ieee754_exp): For possibly underflowing results, check size of
3636 result and force underflow exception if required.
3637 * math/auto-libm-test-in: Add more tests of exp.
3638 * math/auto-libm-test-out: Regenerated.
3639 * sysdeps/i386/fpu/libm-test-ulps: Update.
3640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3643 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
3644 * math/w_exp2f.c (__exp2f): Likewise.
3645 * math/w_exp2l.c (__exp2l): Likewise.
3646 * math/auto-libm-test-in: Do not allow missing errno on exp2
3648 * math/auto-libm-test-out: Regenerated.
3650 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
3653 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
3654 handle filename validation.
3655 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
3658 2013-12-03 Joseph Myers <joseph@codesourcery.com>
3661 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
3662 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
3663 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
3665 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
3666 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
3667 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3668 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
3669 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3670 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
3671 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3672 * math/auto-libm-test-in: Don't allow missing errno from erfc.
3673 Add more erfc tests.
3674 * math/auto-libm-test-out: Regenerated.
3675 * sysdeps/i386/fpu/libm-test-ulps: Update.
3676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3678 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
3679 exp2, expm1, j0 and j1.
3680 * math/auto-libm-test-out: Regenerated.
3681 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
3682 (erfc_test_data): Likewise.
3683 (exp_test_data): Likewise.
3684 (exp_tonearest_test_data): Likewise.
3685 (exp_towardzero_test_data): Likewise.
3686 (exp_downward_test_data): Likewise.
3687 (exp_upward_test_data): Likewise.
3688 (exp10_test_data): Likewise.
3689 (exp2_test_data): Likewise.
3690 (expm1_test_data): Likewise.
3691 (j0_test_data): Likewise.
3692 (j1_test_data): Likewise.
3693 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
3694 (input_flag_type): Add flag_xfail_rounding.
3695 (input_flags): Add xfail-rounding.
3696 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
3697 (output_for_one_input_case): Handle flag_xfail_rounding.
3698 * sysdeps/i386/fpu/libm-test-ulps: Update.
3699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3701 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
3704 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
3707 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3710 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3711 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
3712 (STAP_PROBE0): New macro.
3713 (STAP_PROBE1): Likewise.
3714 (STAP_PROBE2): Likewise.
3715 (STAP_PROBE3): Likewise.
3716 (STAP_PROBE4): Likewise.
3718 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
3720 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3722 2013-12-02 Steve Ellcey <sellcey@mips.com>
3724 * benchtests/Makefile (bench): Add sqrt.
3725 (LDLIBS-bench-sqrt): New.
3726 * benchtests/sqrt-input: New.
3728 2013-12-02 Pavel Simerda <psimerda@redhat.com>
3730 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3731 (GAIH_EAI): Likewise.
3732 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3733 (gaih_inet): Likewise.
3734 (getaddrinfo): Don't use GAIH_EAI.
3736 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3737 (struct gaih): Remove definition.
3739 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3741 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3742 Use HERRNOP directly.
3744 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3748 2013-11-30 Joseph Myers <joseph@codesourcery.com>
3750 * math/gen-auto-libm-tests.c (test_functions): Add more
3751 single-argument functions.
3752 (special_fill_pi_2): New function.
3753 (special_fill_minus_pi_2): Likewise.
3754 (special_fill_pi_6): Likewise.
3755 (special_fill_minus_pi_6): Likewise.
3756 (special_fill_pi_3): Likewise.
3757 (special_fill_2pi_3): Likewise.
3758 (special_fill_e): Likewise.
3759 (special_fill_1_e): Likewise.
3760 (special_fill_e_minus_1): Likewise.
3761 (special_real_inputs): Add more special inputs.
3762 (output_for_one_input_case): Do not require ERANGE on underflow to
3763 zero if round-to-nearest result does not underflow to zero, unless
3764 exact results required.
3765 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3766 atan, atanh, cbrt, cos and cosh.
3767 * math/auto-libm-test-out: Regenerated.
3768 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3769 (acos_tonearest_test_data): Likewise.
3770 (acos_towardzero_test_data): Likewise.
3771 (acos_downward_test_data): Likewise.
3772 (acos_upward_test_data): Likewise.
3773 (acosh_test_data): Likewise.
3774 (asin_test_data): Likewise.
3775 (asin_tonearest_test_data): Likewise.
3776 (asin_towardzero_test_data): Likewise.
3777 (asin_upward_test_data): Likewise.
3778 (asinh_test_data): Likewise.
3779 (atan_test_data): Likewise.
3780 (atanh_test_data): Likewise.
3781 (cbrt_test_data): Likewise.
3782 (cos_test_data): Likewise.
3783 (cos_tonearest_test_data): Likewise.
3784 (cos_towardzero_test_data): Likewise.
3785 (cos_downward_test_data): Likewise.
3786 (cos_upward_test_data): Likewise.
3787 (cosh_test_data): Likewise.
3788 (cosh_tonearest_test_data): Likewise.
3789 (cosh_towardzero_test_data): Likewise.
3790 (cosh_downward_test_data): Likewise.
3791 (cosh_upward_test_data): Likewise.
3792 * sysdeps/i386/fpu/libm-test-ulps: Update.
3793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3795 2013-11-29 Joseph Myers <joseph@codesourcery.com>
3798 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3799 * math/w_exp10f.c (__exp10f): Likewise.
3800 * math/w_exp10l.c (__exp10l): Likewise.
3801 * math/libm-test.inc (exp10_test_data): Add more tests and expect
3802 errno settings in existing tests.
3805 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3806 precision control set to double precision.
3807 * sysdeps/i386/fpu/w_sqrt.c: New file.
3808 * math/auto-libm-test-in: Add more tests.
3809 * math/auto-libm-test-out: Update.
3811 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3812 (sqrt_test_tonearest): New function.
3813 (sqrt_towardzero_test_data): New variable.
3814 (sqrt_test_towardzero): New function.
3815 (sqrt_downward_test_data): New variable.
3816 (sqrt_test_downward): New function.
3817 (sqrt_upward_test_data): New variable.
3818 (sqrt_test_upward): New function.
3819 (main): Call the new functions.
3821 * math/gen-auto-libm-tests.c: New file.
3822 * math/auto-libm-test-in: Likewise.
3823 * math/auto-libm-test-out: New generated file.
3824 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3826 (%beautify): Add generated representations of zero.
3827 (top level): Set $auto_input and call parse_auto_input.
3828 (beautify): Remove trailing "f" from hex float constants.
3829 (parse_args): Handle XFAIL_TEST.
3830 (convert_condition): New function.
3831 (or_value): Likewise.
3832 (or_cond_value): Likewise.
3833 (generate_testfile): Handle AUTO_TESTS_* lines.
3834 (parse_auto_input): New function.
3835 * math/libm-test.inc (XFAIL_TEST): New macro.
3836 (ERRNO_UNCHANGED): Update value.
3837 (ERRNO_EDOM): Likewise.
3838 (ERRNO_ERANGE): Likewise.
3839 (IGNORE_RESULT): Likewise.
3840 (TEST_COND_flt_32): New macro.
3841 (TEST_COND_dbl_64): Likewise.
3842 (TEST_COND_ldbl_96_intel): Likewise.
3843 (TEST_COND_ldbl_96_m68k): Likewise.
3844 (TEST_COND_ldbl_128): Likewise.
3845 (TEST_COND_ldbl_128ibm): Likewise.
3846 (TEST_COND_long32): Likewise.
3847 (TEST_COND_long64): Likewise.
3848 (TEST_COND_before_rounding): Likewise.
3849 (TEST_COND_after_rounding): Likewise.
3850 (enable_test): Handle XFAIL_TEST flag.
3851 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3852 with finite results.
3853 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3856 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3857 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3860 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3861 __tls_get_addr_internal instead of __tls_get_offset in order to
3862 avoid GOT pointer dependency. Make rtld export
3863 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3864 __tls_get_addr since we are a __tls_get_offset platform.
3865 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3866 GOT pointer being set up before.
3867 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3869 2013-11-28 Joseph Myers <joseph@codesourcery.com>
3871 * manual/math.texi (Errors in Math Functions): Document accuracy
3875 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3876 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3877 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3878 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3879 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3880 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3881 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3882 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3883 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3884 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3885 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3886 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3887 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3888 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3889 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3890 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3892 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3893 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3894 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3895 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3896 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3898 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3900 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3902 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3903 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3904 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3905 atomic-feupdateenv and flt-rounds.
3906 * sysdeps/powerpc/nofpu/Versions (libc): Add
3907 __atomic_feholdexcept, __atomic_feclearexcept,
3908 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3909 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3910 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3911 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3912 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3917 * manual/arith.texi (FP Exceptions): Document that exceptions may
3918 not be raised when matherr is used.
3919 (Math Error Reporting): Document overflow in directed rounding
3920 modes. Document that errno may not be set when finite values are
3921 returned on overflow. Document intent to set errno on underflow
3922 only for underflow to zero.
3925 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3926 round-to-nearest then adjust result for other rounding modes.
3927 * include/fenv.h (fegetround): Use libm_hidden_proto.
3928 * math/fegetround.c (fegetround): Use libm_hidden_def.
3929 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3930 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3931 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3932 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3934 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3935 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3936 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3937 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3939 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3942 * nss/Versions (libnss_files): Add
3943 _nss_files_gethostbyname3_r.
3944 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3946 (HOST_DB_LOOKUP): Remove macro.
3947 (_nss_files_gethostbyname_r): Implement function without the
3948 HOST_DB_LOOKUP macro.
3949 (_nss_files_gethostbyname2_r): Likewise.
3951 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
3953 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3955 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
3957 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3958 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3961 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3963 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3964 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3965 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3966 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3967 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3968 __fe_nomask_env_priv and attribute_hidden.
3969 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3970 (libc_feupdateenv_test_ppc): Likewise.
3971 (libc_feresetround_ppc): Likewise.
3972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3973 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3974 compat_symbol macro.
3975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3976 (__fe_nomask_env): Likewise.
3977 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3979 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3981 * string/Makefile: Remove ifunc tests.
3982 * string/test-string.h: Define TEST_IFUNC.
3983 * string/test-bcopy-ifunc.c: Remove.
3984 * string/test-bzero-ifunc.c: Likewise.
3985 * string/test-memccpy-ifunc.c: Likewise.
3986 * string/test-memchr-ifunc.c: Likewise.
3987 * string/test-memcmp-ifunc.c: Likewise.
3988 * string/test-memcpy-ifunc.c: Likewise.
3989 * string/test-memmem-ifunc.c: Likewise.
3990 * string/test-memmove-ifunc.c: Likewise.
3991 * string/test-mempcpy-ifunc.c: Likewise.
3992 * string/test-memrchr-ifunc.c: Likewise.
3993 * string/test-memset-ifunc.c: Likewise.
3994 * string/test-rawmemchr-ifunc.c: Likewise.
3995 * string/test-stpcpy-ifunc.c: Likewise.
3996 * string/test-stpncpy-ifunc.c: Likewise.
3997 * string/test-strcasecmp-ifunc.c: Likewise.
3998 * string/test-strcasestr-ifunc.c: Likewise.
3999 * string/test-strcat-ifunc.c: Likewise.
4000 * string/test-strchr-ifunc.c: Likewise.
4001 * string/test-strchrnul-ifunc.c: Likewise.
4002 * string/test-strcmp-ifunc.c: Likewise.
4003 * string/test-strcpy-ifunc.c: Likewise.
4004 * string/test-strcspn-ifunc.c: Likewise.
4005 * string/test-strlen-ifunc.c: Likewise.
4006 * string/test-strncasecmp-ifunc.c: Likewise.
4007 * string/test-strncat-ifunc.c: Likewise.
4008 * string/test-strncmp-ifunc.c: Likewise.
4009 * string/test-strncpy-ifunc.c: Likewise.
4010 * string/test-strnlen-ifunc.c: Likewise.
4011 * string/test-strpbrk-ifunc.c: Likewise.
4012 * string/test-strrchr-ifunc.c: Likewise.
4013 * string/test-strspn-ifunc.c: Likewise.
4014 * string/test-strstr-ifunc.c: Likewise.
4016 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4018 * benchtests/Makefile: Remove ifunc tests.
4019 * benchtests/bench-string.h: Define TEST_IFUNC.
4020 * benchtests/bench-bcopy-ifunc.c: Remove.
4021 * benchtests/bench-bzero-ifunc.c: Likewise.
4022 * benchtests/bench-memccpy-ifunc.c: Likewise.
4023 * benchtests/bench-memchr-ifunc.c: Likewise.
4024 * benchtests/bench-memcmp-ifunc.c: Likewise.
4025 * benchtests/bench-memcpy-ifunc.c: Likewise.
4026 * benchtests/bench-memmem-ifunc.c: Likewise.
4027 * benchtests/bench-memmove-ifunc.c: Likewise.
4028 * benchtests/bench-mempcpy-ifunc.c: Likewise.
4029 * benchtests/bench-memrchr-ifunc.c: Likewise.
4030 * benchtests/bench-memset-ifunc.c: Likewise.
4031 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4032 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4033 * benchtests/bench-stpcpy-ifunc.c: Likewise.
4034 * benchtests/bench-stpncpy-ifunc.c: Likewise.
4035 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4036 * benchtests/bench-strcasestr-ifunc.c: Likewise.
4037 * benchtests/bench-strcat-ifunc.c: Likewise.
4038 * benchtests/bench-strchr-ifunc.c: Likewise.
4039 * benchtests/bench-strchrnul-ifunc.c: Likewise.
4040 * benchtests/bench-strcmp-ifunc.c: Likewise.
4041 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4042 * benchtests/bench-strcpy-ifunc.c: Likewise.
4043 * benchtests/bench-strcspn-ifunc.c: Likewise.
4044 * benchtests/bench-strlen-ifunc.c: Likewise.
4045 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4046 * benchtests/bench-strncat-ifunc.c: Likewise.
4047 * benchtests/bench-strncmp-ifunc.c: Likewise.
4048 * benchtests/bench-strncpy-ifunc.c: Likewise.
4049 * benchtests/bench-strnlen-ifunc.c: Likewise.
4050 * benchtests/bench-strpbrk-ifunc.c: Likewise.
4051 * benchtests/bench-strrchr-ifunc.c: Likewise.
4052 * benchtests/bench-strsep-ifunc.c: Likewise.
4053 * benchtests/bench-strspn-ifunc.c: Likewise.
4054 * benchtests/bench-strstr-ifunc.c: Likewise.
4056 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4058 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4060 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4062 * resolv/netdb.h: Use __glibc_reserved instead __unused.
4063 * rt/aio.h: Likewise.
4064 * sysdeps/gnu/bits/utmp.h: Likewise.
4065 * sysdeps/gnu/bits/utmpx.h: Likewise.
4066 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4067 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4068 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4069 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4070 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4071 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4072 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
4073 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
4074 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4075 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4076 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4077 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4078 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
4080 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4081 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
4082 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4083 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4084 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4085 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4086 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
4087 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
4088 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
4089 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4090 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4091 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4092 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
4093 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4094 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4095 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4096 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4097 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
4098 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
4099 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4100 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4101 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4102 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4103 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4104 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4105 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
4106 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4107 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4109 2013-11-25 Carlos O'Donell <carlos@redhat.com>
4112 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
4113 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
4115 2013-11-25 Joseph Myers <joseph@codesourcery.com>
4117 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4118 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4121 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4123 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
4124 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
4125 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
4126 (__fesetround): Remove define.
4127 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
4128 rounding and exceptions handling.
4129 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
4130 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
4131 (__fe_nomask_env): Likewise.
4132 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
4133 __fegetround instead of fegetround.
4134 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4135 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4137 2013-11-21 Roland McGrath <roland@hack.frob.com>
4139 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
4142 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4144 2013-11-21 Meador Inge <meadori@codesourcery.com>
4147 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
4148 (encrypt_r): Likewise.
4149 * malloc/obstack.h (obstack_free): Likewise.
4150 * posix/unistd.h (encrypt): Likewise.
4152 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
4154 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
4155 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
4156 DL_CALL_DT_FINI() that call the functions directly.
4157 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
4158 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
4159 * elf/dl-fini.c: Likewise.
4161 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
4163 * malloc/hooks.c (memalign_check): Add alignment rounding.
4164 * malloc/malloc.c (_mid_memalign): New function.
4165 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
4166 Implement by calling _mid_memalign.
4167 * manual/probes.texi (Memory Allocation Probes): Remove
4168 memory_valloc_retry and memory_pvalloc_retry.
4170 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4172 * locale/programs/locarchive.c (open_archive): Add const
4173 qualifier to ARCHIVEFNAME and copy default fname to
4177 * libio/tst-widetext.input: Rename Oriya to Odia.
4178 * locale/iso-639.def: Likewise.
4180 * manual/probes.texi (Mathematical Function Probes): Add
4181 documentation for sin, cos, asin and acos probes.
4182 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
4183 (__sin32): Add slowasin probe.
4184 (__cos32): Add slowacos probe.
4185 (__mpsin): Add slowsin probe.
4186 (__mpcos): Add slowcos probe.
4188 2013-11-19 Joseph Myers <joseph@codesourcery.com>
4191 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
4192 thread-local __sim_exceptions_thread and global
4193 __sim_exceptions_global.
4194 (__sim_disabled_exceptions): Change to thread-local
4195 __sim_disabled_exceptions_thread and global
4196 __sim_disabled_exceptions_global.
4197 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4198 and global __sim_round_mode_global.
4199 (__simulate_exceptions): Use thread-local floating-point state and
4200 set global state from it as needed.
4201 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
4202 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
4203 __sim_round_mode_thread.
4204 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
4205 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
4206 and global __sim_exceptions_global.
4207 (__sim_disabled_exceptions): Change to thread-local
4208 __sim_disabled_exceptions_thread and global
4209 __sim_disabled_exceptions_global.
4210 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4211 and global __sim_round_mode_global.
4212 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
4213 (SIM_SET_GLOBAL): Likewise.
4214 * sysdeps/powerpc/soft-fp/sfp-machine.h
4215 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
4216 __sim_round_mode_thread.
4217 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
4218 __sim_disabled_exceptions_thread.
4219 (__sim_exceptions): Change to __sim_exceptions_thread.
4220 (__sim_disabled_exceptions): Change to
4221 __sim_disabled_exceptions_thread.
4222 (__sim_round_mode): Change to __sim_round_mode_thread.
4223 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
4224 thread-local floating-point state and set global state from it as
4226 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
4227 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
4228 (__sim_disabled_exceptions): Remove extern declaration.
4229 (feenableexcept): Use thread-local floating-point state and set
4230 global state from it as needed.
4231 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
4233 (__sim_disabled_exceptions): Likewise.
4234 (__sim_round_mode): Likewise.
4235 (__fegetenv): Use thread-local floating-point state.
4236 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
4237 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4238 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
4239 floating-point state and set global state from it as needed.
4240 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
4241 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4242 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
4244 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4245 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
4247 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
4248 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
4249 Use __sim_round_mode_thread.
4250 * math/test-fenv-tls.c: New file.
4251 * math/Makefile (tests): Add test-fenv-tls.
4252 ($(objpfx)test-fenv-tls): Depend on
4253 $(common-objpfx)nptl/libpthread.so.
4255 2013-11-19 Andreas Schwab <schwab@suse.de>
4257 * locale/programs/locale.c (show_info): Decode wordarray elements.
4258 * locale/categories.def (LC_MONETARY): Add element for
4259 _NL_MONETARY_CRNCYSTR.
4260 * locale/C-monetary.c (conversion_rate): New variable.
4261 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
4264 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
4266 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
4267 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
4269 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4271 * elf/Makefile (tst-auxv): New test.
4272 * elf/tst-auxv.c: New
4273 * elf/rtld.c (dl_main): Adjust AT_EXECFN
4275 2013-11-18 Joseph Myers <joseph@codesourcery.com>
4277 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
4278 (hidden_proto): Caller changed.
4279 (hidden_tls_proto): New macro.
4280 (libc_hidden_tls_proto): Likewise.
4281 (rtld_hidden_tls_proto): Likewise.
4282 (libm_hidden_tls_proto): Likewise.
4283 (libresolv_hidden_tls_proto): Likewise.
4284 (librt_hidden_tls_proto): Likewise.
4285 (libdl_hidden_tls_proto): Likewise.
4286 (libnss_files_hidden_tls_proto): Likewise.
4287 (libnsl_hidden_tls_proto): Likewise.
4288 (libnss_nisplus_hidden_tls_proto): Likewise.
4289 (libutil_hidden_tls_proto): Likewise.
4291 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
4294 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
4295 (decompose_rpath): Defer expansion to fillin_rpath.
4296 (_dl_init_paths): Pass linkmap to fillin_rpath.
4298 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4300 * benchtests/Makefile: Add strsep.
4301 * benchtests/bench-strsep.c: New file: strsep benchtest.
4302 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
4304 2013-11-18 Andreas Schwab <schwab@suse.de>
4306 * locale/programs/locale.c (show_info) [case byte]: Check for
4307 '\377' instead of '\177'.
4308 * locale/C-monetary.c (not_available): Always use "\377".
4309 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
4310 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
4311 detect unavailable sign_posn locale elements.
4312 * locale/localeconv.c (__localeconv): For grouping and
4313 mon_grouping handle "\177" and "\377" like no grouping.
4314 (INT_ELEM): New macro. Use it to set all numeric members.
4315 * locale/programs/ld-monetary.c (monetary_read)
4316 <tok_mon_grouping>: Normalize single -1 to the empty string.
4317 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
4320 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
4323 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
4324 when we match (nil).
4325 * stdio-common/tst-sscanf.c (struct test): Add testcase.
4327 2013-11-16 Joseph Myers <joseph@codesourcery.com>
4329 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
4330 (NO_TEST_INLINE): Update value.
4331 (ERRNO_UNCHANGED): Likewise.
4332 (ERRNO_EDOM): Likewise.
4333 (ERRNO_ERANGE): Likewise.
4334 (IGNORE_RESULT): Likewise.
4335 (check_float_internal): Check signs of NaN results if
4337 (check_complex): Pass TEST_NAN_SIGN flag through to second
4338 check_float_internal call.
4339 (copysign_test_data): Add tests with quiet NaNs as second
4340 argument. Use TEST_NAN_SIGN.
4341 (fabs_test_data): Add test of negative quiet NaN argument. Use
4343 (signbit_test_data): Add tests of quiet NaN argument.
4344 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
4346 * math/gen-libm-test.pl (show_exceptions): Take extra argument
4348 (parse_args): Handle function results specified as IGNORE.
4349 * math/libm-test.inc (IGNORE_RESULT): New macro.
4350 (check_float_internal): Do not check numerical result if flag
4352 (check_complex): Pass through IGNORE_RESULT to second
4353 check_float_internal call.
4354 (check_int): Do not check numerical result if flag IGNORE_RESULT
4356 (check_long): Likewise.
4357 (check_bool): Likewise.
4358 (check_longlong): Likewise.
4359 (lrint_test_data): Add tests of infinite and NaN arguments.
4360 (lrint_tonearest_test_data): Likewise.
4361 (lrint_towardzero_test_data): Likewise.
4362 (lrint_downward_test_data): Likewise.
4363 (lrint_upward_test_data): Likewise.
4364 (llrint_test_data): Likewise.
4365 (llrint_tonearest_test_data): Likewise.
4366 (llrint_towardzero_test_data): Likewise.
4367 (llrint_downward_test_data): Likewise.
4368 (llrint_upward_test_data): Likewise.
4369 (lround_test_data): Likewise.
4370 (llround_test_data): Likewise.
4372 * math/libm-test.inc (NO_TEST_INLINE): New macro.
4373 (ERRNO_UNCHANGED): Update value.
4374 (ERRNO_EDOM): Likewise.
4375 (ERRNO_ERANGE): Likewise.
4376 (NO_TEST_INLINE_FLOAT): New macro.
4377 (NO_TEST_INLINE_DOUBLE): Likewise.
4378 (enable_test): New function.
4379 (RUN_TEST_f_f): Check enable_test before running test.
4380 (RUN_TEST_2_f): Likewise.
4381 (RUN_TEST_fff_f): Likewise.
4382 (RUN_TEST_c_f): Likewise.
4383 (RUN_TEST_f_f1): Likewise.
4384 (RUN_TEST_fF_f1): Likewise.
4385 (RUN_TEST_fI_f1): Likewise.
4386 (RUN_TEST_ffI_f1): Likewise.
4387 (RUN_TEST_c_c): Likewise.
4388 (RUN_TEST_cc_c): Likewise.
4389 (RUN_TEST_f_i): Likewise.
4390 (RUN_TEST_f_i_tg): Likewise.
4391 (RUN_TEST_ff_i_tg): Likewise.
4392 (RUN_TEST_f_b): Likewise.
4393 (RUN_TEST_f_b_tg): Likewise.
4394 (RUN_TEST_f_l): Likewise.
4395 (RUN_TEST_f_L): Likewise.
4396 (RUN_TEST_fFF_11): Likewise.
4397 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
4399 (cosh_test_data): Likewise.
4400 (exp_test_data): Likewise.
4401 (expm1_test_data): Likewise.
4402 (hypot_test_data): Likewise.
4403 (pow_test_data): Likewise.
4404 (sinh_test_data): Likewise.
4405 (tanh_test_data): Likewise.
4406 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
4409 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
4410 tests with quiet NaN input and output.
4411 (acosh_test_data): Likewise.
4412 (asin_test_data): Likewise.
4413 (asinh_test_data): Likewise.
4414 (atan_test_data): Likewise.
4415 (atanh_test_data): Likewise.
4416 (atan2_test_data): Likewise.
4417 (cbrt_test_data): Likewise.
4418 (cos_test_data): Likewise.
4419 (cosh_test_data): Likewise.
4420 (erf_test_data): Likewise.
4421 (erfc_test_data): Likewise.
4422 (exp_test_data): Likewise.
4423 (exp10_test_data): Likewise.
4424 (exp2_test_data): Likewise.
4425 (expm1_test_data): Likewise.
4426 (hypot_test_data): Likewise.
4427 (j0_test_data): Likewise.
4428 (j1_test_data): Likewise.
4429 (jn_test_data): Likewise.
4430 (lgamma_test_data): Likewise.
4431 (log_test_data): Likewise.
4432 (log10_test_data): Likewise.
4433 (log1p_test_data): Likewise.
4434 (log2_test_data): Likewise.
4435 (pow_test_data): Likewise.
4436 (scalb_test_data): Likewise.
4437 (sin_test_data): Likewise.
4438 (sincos_test_data): Likewise.
4439 (sinh_test_data): Likewise.
4440 (tan_test_data): Likewise.
4441 (tanh_test_data): Likewise.
4442 (tgamma_test_data): Likewise.
4443 (y0_test_data): Likewise.
4444 (y1_test_data): Likewise.
4445 (yn_test_data): Likewise.
4448 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
4449 argument being NaN and avoid computations with second argument in
4451 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4452 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4453 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4455 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
4457 * locale/iso-639.def: Add Chitwani Tharu (the).
4459 2013-11-14 Andreas Schwab <schwab@suse.de>
4461 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
4462 word instead of empty string.
4464 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4467 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
4468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4469 (__fe_nomask_env): Likewise.
4471 2013-11-13 Steve Ellcey <sellcey@mips.com>
4473 * benchtests/bench-timing.h: Include time.h.
4475 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
4478 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
4480 * sysdeps/unix/sysv/linux/configure: Regenerated.
4482 2013-11-13 Joseph Myers <joseph@codesourcery.com>
4485 * stdlib/strtod_l.c (round_and_return): Do not consider
4486 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
4487 exponent one less than half the least subnormal exponent.
4488 * stdlib/test-strtod-round-data: Add more tests.
4489 * stdlib/tst-strtod-round.c (tests): Regenerated.
4491 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4494 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
4495 (__fe_mask_env): Likewise.
4496 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
4497 libm_hidden_proto and add function prototype.
4498 (__fe_mask_env): Add function prototype.
4499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4500 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
4501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4502 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
4503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4504 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
4506 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4508 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
4509 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
4511 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4513 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
4514 of htab_find_slot().
4516 2013-11-11 David S. Miller <davem@davemloft.net>
4519 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
4520 symbol in the non-vis3 case in static builds.
4521 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
4522 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
4523 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
4524 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
4526 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4529 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
4532 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4534 * benchtests/Makefile: Add bench-strtod.
4535 * benchtests/bench-strtod.c: New file: strtod benchtest
4537 2013-11-11 Andreas Schwab <schwab@suse.de>
4540 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
4541 terminating NUL in key length.
4543 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4545 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4546 Add artificial ODP entry for vDSO symbol for PPC64.
4547 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
4548 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4550 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
4553 * nss/getent.c (services_keys): Recognize services starting with digit.
4555 2013-11-06 David S. Miller <davem@davemloft.net>
4558 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
4559 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
4561 2013-11-06 Will Newton <will.newton@linaro.org>
4563 * manual/memory.texi (Malloc Examples): Remove register
4564 keyword from examples.
4566 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
4568 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
4570 2013-11-04 Joseph Myers <joseph@codesourcery.com>
4573 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
4574 depending on [__GCC_IEC_559 > 0].
4575 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
4576 depending on [__GCC_IEC_559_COMPLEX > 0].
4578 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
4580 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
4583 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
4585 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
4587 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
4590 * malloc/malloc (malloc_info): Do not handle first bin as
4593 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
4595 * locale/iso-639.def: Add Central Nahuatl (nhn).
4597 2013-11-01 Bruno Haible <bruno@clisp.org>
4600 * manual/math.texi (BSD Random): Specify range upper bound as
4603 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
4605 * locale/iso-639.def: Add Meadow Mari (mhr).
4607 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
4609 [BZ #14752], [BZ #15763]
4610 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
4612 * rt/tst_shm.c: Add test for escaping directory.
4614 2013-10-31 Andreas Schwab <schwab@suse.de>
4617 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
4618 followed by 'x' as part of digit sequence.
4619 * stdio-common/tst-sscanf.c (double_tests2): New tests.
4621 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4624 * configure.ac: allow GNU Make 4.0 and greater.
4625 * configure: Regenerated.
4627 2013-10-30 Will Newton <will.newton@linaro.org>
4630 * malloc/hooks.c (memalign_check): Limit alignment to the
4631 maximum representable power of two.
4632 * malloc/malloc.c (__libc_memalign): Likewise.
4633 * malloc/tst-memalign.c (do_test): Add test for very
4634 large alignment values.
4635 * malloc/tst-posix_memalign.c (do_test): Likewise.
4637 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
4640 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
4641 (munmap_chunk): Likewise.
4642 (mremap_chunk): Likewise.
4644 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
4647 * stdlib/div.c (div): Remove obsolete code.
4648 * stdlib/ldiv.c (ldiv): Likewise.
4649 * stdlib/lldiv.c (lldiv): Likewise.
4651 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4654 * nss/nss_files/files-XXX.c (get_contents_ret): New
4656 (get_contents): New function.
4657 (internal_getent): Use it. Expand size of LINEBUFLEN.
4659 2013-10-30 Mike Frysinger <vapier@gentoo.org>
4661 * configure.in: Moved to ...
4662 * configure.ac: ... here. Change reference to configure.in
4664 * sysdeps/arm/preconfigure.ac: ... here.
4665 configure.in to configure.ac.
4666 * sysdeps/gnu/configure.in: Moved to ...
4667 * sysdeps/gnu/configure.ac: ... here.
4668 * sysdeps/i386/configure.in: Moved to ...
4669 * sysdeps/i386/configure.ac: ... here.
4670 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
4671 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
4672 * sysdeps/mach/configure.in: Moved to ...
4673 * sysdeps/mach/configure.ac: ... here.
4674 * sysdeps/mach/hurd/configure.in: Moved to ...
4675 * sysdeps/mach/hurd/configure.ac: ... here.
4676 * sysdeps/powerpc/configure.in: Moved to ...
4677 * sysdeps/powerpc/configure.ac: ... here.
4678 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
4679 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
4680 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
4681 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
4682 * sysdeps/s390/s390-32/configure.in: Moved to ...
4683 * sysdeps/s390/s390-32/configure.ac: ... here.
4684 * sysdeps/s390/s390-64/configure.in: Moved to ...
4685 * sysdeps/s390/s390-64/configure.ac: ... here.
4686 * sysdeps/sh/configure.in: Moved to ...
4687 * sysdeps/sh/configure.ac: ... here.
4688 * sysdeps/sparc/configure.in: Moved to ...
4689 * sysdeps/sparc/configure.ac: ... here.
4690 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
4691 * sysdeps/unix/sysv/linux/configure.ac: ... here.
4692 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
4693 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
4694 * sysdeps/x86_64/configure.in: Moved to ...
4695 * sysdeps/x86_64/configure.ac: ... here.
4696 * sysdeps/x86_64/preconfigure.in: Moved to ...
4697 * sysdeps/x86_64/preconfigure.ac: ... here.
4698 * aclocal.m4: Change reference to configure.in to configure.ac.
4699 * config.h.in: Likewise.
4700 * manual/install.texi: Likewise.
4701 * manual/maint.texi: Likewise.
4702 * Makefile: Likewise.
4703 * malloc/Makefile: Likewise.
4704 * nscd/Makefile: Likewise.
4705 * Makeconfig: Change reference to configure.in and
4706 preconfigure.in to configure.ac and preconfigure.ac
4708 * INSTALL: Regenerated.
4709 * configure: Likewise.
4710 * sysdeps/gnu/configure: Likewise.
4711 * sysdeps/i386/configure: Likewise.
4712 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
4713 * sysdeps/mach/configure: Likewise.
4714 * sysdeps/mach/hurd/configure: Likewise.
4715 * sysdeps/powerpc/configure: Likewise.
4716 * sysdeps/powerpc/powerpc32/configure: Likewise.
4717 * sysdeps/powerpc/powerpc64/configure: Likewise.
4718 * sysdeps/s390/s390-32/configure: Likewise.
4719 * sysdeps/s390/s390-64/configure: Likewise.
4720 * sysdeps/sh/configure: Likewise.
4721 * sysdeps/sparc/configure: Likewise.
4722 * sysdeps/unix/sysv/linux/configure: Likewise.
4723 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4724 * sysdeps/x86_64/configure: Likewise.
4725 * sysdeps/x86_64/preconfigure: Likewise.
4727 2013-10-29 Andreas Schwab <schwab@suse.de>
4729 * stdio-common/Makefile (tst-swscanf-ENV): Define.
4731 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4733 * benchtests/pow-inputs: Add new inputs.
4735 * benchtests/exp-inputs: Add new inputs.
4737 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4738 conditional check for return value.
4739 (__cos32): Likewise.
4741 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4743 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4744 to provide a boost for large inputs with word alignment.
4745 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4746 implementation based on optimized PPC64 strcpy.
4747 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4748 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4749 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4750 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4752 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4755 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4757 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4760 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4761 * time/tst-strptime.c (day_tests): Add testcase.
4763 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4766 * manual/pattern.texi: Acknowledge that fnmatch can fail.
4768 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
4771 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4772 MAP_FAILED on error.
4774 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4777 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4778 heap for large requests.
4780 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
4783 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4784 result if the result has no associated interface.
4785 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4786 interface for all 127.X.Y.Z addresses.
4788 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
4790 * locale/iso-639.def: Add Ligurian (lij)
4792 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
4795 * sunrpc/rpc_main.c: Document rpcgen -5.
4797 2013-10-19 Michael Stahl <mstahl@redhat.com>
4799 * elf/rtld.c (do_preload): Print the reason why preloading failed.
4801 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4804 * posix/glob.c: Match only directories when trailing slash is present.
4805 * posix/tst-gnuglob.c (my_opendir): Do not open files.
4806 (main): Add testcase.
4808 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4811 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4813 2013-10-18 Carlos O'Donell <carlos@redhat.com>
4815 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4816 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4817 AUTH_DES and cindex for FIPS 140-2.
4818 (DES Encryption): Add cindex FIPS 46-3.
4820 * locale/locarchive.h (struct locarhandle): Add fname.
4821 * locale/programs/localedef.c (main): Pass ARGV[remaining]
4822 if an optional argument was specified to --list-archive,
4824 * locale/programs/locarchive.c (show_archive_content): Take new
4825 argument fname and pass it via ah.fname to open_archive.
4826 * locale/programs/localedef.h: Update decl.
4827 (open_archive): If AH->fname is non-null, open that file
4828 rather than the default file name, and don't ignore ENOENT.
4829 (create_archive): Set AH.fname to NULL.
4830 (delete_locales_from_archive): Likewise.
4831 (add_locales_to_archive): Likewise.
4832 * locale/programs/locfile.c (write_all_categories): Likewise.
4834 2013-10-18 Joseph Myers <joseph@codesourcery.com>
4835 Aldy Hernandez <aldyh@redhat.com>
4837 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4838 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4839 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4840 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4841 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4842 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4843 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4844 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4845 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4846 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4847 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4848 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4849 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4850 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4851 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4853 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4855 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4857 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4859 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4860 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4862 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4863 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4864 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4865 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4867 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4868 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4869 * sysdeps/powerpc/preconfigure: Likewise.
4870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4872 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4873 Replace contents of file by #include of <fenv_libc.h>.
4874 * sysdeps/powerpc/soft-fp/sfp-machine.h
4875 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4877 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4878 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4879 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4880 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4881 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4882 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4883 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4884 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4885 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4886 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4887 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4888 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4890 Allow copysignl PLT reference to be missing.
4892 2013-10-18 Richard Sandiford <richard@codesourcery.com>
4893 Joseph Myers <joseph@codesourcery.com
4896 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4898 (add_to_tablewc): Assert sequence of wide characters is nonempty.
4900 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4902 * elf/tst-tls-dlinfo.c: Don't include tls.h.
4903 * elf/tst-tls1.c: Likewise.
4904 * elf/tst-tls10.h: Likewise.
4905 * elf/tst-tls14.c: Likewise.
4906 * elf/tst-tls2.c: Likewise.
4907 * elf/tst-tls3.c: Likewise.
4908 * elf/tst-tls4.c: Likewise.
4909 * elf/tst-tls5.c: Likewise.
4910 * elf/tst-tls6.c: Likewise.
4911 * elf/tst-tls7.c: Likewise.
4912 * elf/tst-tls8.c: Likewise.
4913 * elf/tst-tls9.c: Likewise.
4914 * elf/tst-tlsmod1.c: Likewise.
4915 * elf/tst-tlsmod13.c: Likewise.
4916 * elf/tst-tlsmod13a.c: Likewise.
4917 * elf/tst-tlsmod14a.c: Likewise.
4918 * elf/tst-tlsmod16a.c: Likewise.
4919 * elf/tst-tlsmod16b.c: Likewise.
4920 * elf/tst-tlsmod2.c: Likewise.
4921 * elf/tst-tlsmod3.c: Likewise.
4922 * elf/tst-tlsmod4.c: Likewise.
4923 * elf/tst-tlsmod5.c: Likewise.
4924 * elf/tst-tlsmod6.c: Likewise.
4926 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
4929 * malloc/malloc.c: remove checks for statistics.
4931 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4934 * inet/inet_net.c (inet_network): Detect additional invalid strings.
4935 * inet/tst-network.c: Add testcase.
4937 2013-10-17 Andreas Schwab <schwab@suse.de>
4940 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4941 to determine canonical name.
4943 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4945 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4946 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4947 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4948 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4949 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4950 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4951 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4952 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4953 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4954 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4955 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4956 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4957 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4958 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4959 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4960 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4961 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4962 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4963 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4964 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4965 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4966 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4967 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4968 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4969 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4970 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4971 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4972 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4973 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4974 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4975 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4976 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4977 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4978 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4979 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4980 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4981 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4982 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4983 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4984 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4985 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4986 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4987 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4988 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4989 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4990 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4991 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4992 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4993 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4994 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4995 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4996 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4997 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4998 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4999 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5000 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5001 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5002 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5004 2013-10-17 Joseph Myers <joseph@codesourcery.com>
5007 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5008 make result into a quiet NaN.
5010 2013-10-16 Joseph Myers <joseph@codesourcery.com>
5012 * soft-fp/adddf3.c: Fix horizontal whitespace.
5013 * soft-fp/addsf3.c: Likewise.
5014 * soft-fp/addtf3.c: Likewise.
5015 * soft-fp/divdf3.c: Likewise.
5016 * soft-fp/divsf3.c: Likewise.
5017 * soft-fp/divtf3.c: Likewise.
5018 * soft-fp/double.h: Likewise.
5019 * soft-fp/eqdf2.c: Likewise.
5020 * soft-fp/eqsf2.c: Likewise.
5021 * soft-fp/eqtf2.c: Likewise.
5022 * soft-fp/extenddftf2.c: Likewise.
5023 * soft-fp/extended.h: Likewise.
5024 * soft-fp/extendsfdf2.c: Likewise.
5025 * soft-fp/extendsftf2.c: Likewise.
5026 * soft-fp/extendxftf2.c: Likewise.
5027 * soft-fp/fixdfdi.c: Likewise.
5028 * soft-fp/fixdfsi.c: Likewise.
5029 * soft-fp/fixdfti.c: Likewise.
5030 * soft-fp/fixsfdi.c: Likewise.
5031 * soft-fp/fixsfsi.c: Likewise.
5032 * soft-fp/fixsfti.c: Likewise.
5033 * soft-fp/fixtfdi.c: Likewise.
5034 * soft-fp/fixtfsi.c: Likewise.
5035 * soft-fp/fixtfti.c: Likewise.
5036 * soft-fp/fixunsdfdi.c: Likewise.
5037 * soft-fp/fixunsdfsi.c: Likewise.
5038 * soft-fp/fixunsdfti.c: Likewise.
5039 * soft-fp/fixunssfdi.c: Likewise.
5040 * soft-fp/fixunssfsi.c: Likewise.
5041 * soft-fp/fixunssfti.c: Likewise.
5042 * soft-fp/fixunstfdi.c: Likewise.
5043 * soft-fp/fixunstfsi.c: Likewise.
5044 * soft-fp/fixunstfti.c: Likewise.
5045 * soft-fp/floatdidf.c: Likewise.
5046 * soft-fp/floatdisf.c: Likewise.
5047 * soft-fp/floatditf.c: Likewise.
5048 * soft-fp/floatsidf.c: Likewise.
5049 * soft-fp/floatsisf.c: Likewise.
5050 * soft-fp/floatsitf.c: Likewise.
5051 * soft-fp/floattidf.c: Likewise.
5052 * soft-fp/floattisf.c: Likewise.
5053 * soft-fp/floattitf.c: Likewise.
5054 * soft-fp/floatundidf.c: Likewise.
5055 * soft-fp/floatundisf.c: Likewise.
5056 * soft-fp/floatunditf.c: Likewise.
5057 * soft-fp/floatunsidf.c: Likewise.
5058 * soft-fp/floatunsisf.c: Likewise.
5059 * soft-fp/floatunsitf.c: Likewise.
5060 * soft-fp/floatuntidf.c: Likewise.
5061 * soft-fp/floatuntisf.c: Likewise.
5062 * soft-fp/floatuntitf.c: Likewise.
5063 * soft-fp/fmadf4.c: Likewise.
5064 * soft-fp/fmasf4.c: Likewise.
5065 * soft-fp/fmatf4.c: Likewise.
5066 * soft-fp/gedf2.c: Likewise.
5067 * soft-fp/gesf2.c: Likewise.
5068 * soft-fp/getf2.c: Likewise.
5069 * soft-fp/ledf2.c: Likewise.
5070 * soft-fp/lesf2.c: Likewise.
5071 * soft-fp/letf2.c: Likewise.
5072 * soft-fp/muldf3.c: Likewise.
5073 * soft-fp/mulsf3.c: Likewise.
5074 * soft-fp/multf3.c: Likewise.
5075 * soft-fp/negdf2.c: Likewise.
5076 * soft-fp/negsf2.c: Likewise.
5077 * soft-fp/negtf2.c: Likewise.
5078 * soft-fp/op-1.h: Likewise.
5079 * soft-fp/op-2.h: Likewise.
5080 * soft-fp/op-4.h: Likewise.
5081 * soft-fp/op-8.h: Likewise.
5082 * soft-fp/op-common.h: Likewise.
5083 * soft-fp/quad.h: Likewise.
5084 * soft-fp/single.h: Likewise.
5085 * soft-fp/soft-fp.h: Likewise.
5086 * soft-fp/sqrtdf2.c: Likewise.
5087 * soft-fp/sqrtsf2.c: Likewise.
5088 * soft-fp/sqrttf2.c: Likewise.
5089 * soft-fp/subdf3.c: Likewise.
5090 * soft-fp/subsf3.c: Likewise.
5091 * soft-fp/subtf3.c: Likewise.
5092 * soft-fp/truncdfsf2.c: Likewise.
5093 * soft-fp/trunctfdf2.c: Likewise.
5094 * soft-fp/trunctfsf2.c: Likewise.
5095 * soft-fp/trunctfxf2.c: Likewise.
5096 * soft-fp/unorddf2.c: Likewise.
5097 * soft-fp/unordsf2.c: Likewise.
5098 * soft-fp/unordtf2.c: Likewise.
5100 2013-10-15 Joseph Myers <joseph@codesourcery.com>
5102 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
5103 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
5105 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
5107 * elf/dl-libc.c: Clear initfini list after freeing.
5109 2013-10-14 Joseph Myers <joseph@codesourcery.com>
5111 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
5112 * soft-fp/addsf3.c: Likewise.
5113 * soft-fp/addtf3.c: Likewise.
5114 * soft-fp/divdf3.c: Likewise.
5115 * soft-fp/divsf3.c: Likewise.
5116 * soft-fp/divtf3.c: Likewise.
5117 * soft-fp/double.h: Likewise.
5118 * soft-fp/eqdf2.c: Likewise.
5119 * soft-fp/eqsf2.c: Likewise.
5120 * soft-fp/eqtf2.c: Likewise.
5121 * soft-fp/extenddftf2.c: Likewise.
5122 * soft-fp/extended.h: Likewise.
5123 * soft-fp/extendsfdf2.c: Likewise.
5124 * soft-fp/extendsftf2.c: Likewise.
5125 * soft-fp/extendxftf2.c: Likewise.
5126 * soft-fp/fixdfdi.c: Likewise.
5127 * soft-fp/fixdfsi.c: Likewise.
5128 * soft-fp/fixdfti.c: Likewise.
5129 * soft-fp/fixsfdi.c: Likewise.
5130 * soft-fp/fixsfsi.c: Likewise.
5131 * soft-fp/fixsfti.c: Likewise.
5132 * soft-fp/fixtfdi.c: Likewise.
5133 * soft-fp/fixtfsi.c: Likewise.
5134 * soft-fp/fixtfti.c: Likewise.
5135 * soft-fp/fixunsdfdi.c: Likewise.
5136 * soft-fp/fixunsdfsi.c: Likewise.
5137 * soft-fp/fixunsdfti.c: Likewise.
5138 * soft-fp/fixunssfdi.c: Likewise.
5139 * soft-fp/fixunssfsi.c: Likewise.
5140 * soft-fp/fixunssfti.c: Likewise.
5141 * soft-fp/fixunstfdi.c: Likewise.
5142 * soft-fp/fixunstfsi.c: Likewise.
5143 * soft-fp/fixunstfti.c: Likewise.
5144 * soft-fp/floatdidf.c: Likewise.
5145 * soft-fp/floatdisf.c: Likewise.
5146 * soft-fp/floatditf.c: Likewise.
5147 * soft-fp/floatsidf.c: Likewise.
5148 * soft-fp/floatsisf.c: Likewise.
5149 * soft-fp/floatsitf.c: Likewise.
5150 * soft-fp/floattidf.c: Likewise.
5151 * soft-fp/floattisf.c: Likewise.
5152 * soft-fp/floattitf.c: Likewise.
5153 * soft-fp/floatundidf.c: Likewise.
5154 * soft-fp/floatundisf.c: Likewise.
5155 * soft-fp/floatunsidf.c: Likewise.
5156 * soft-fp/floatunsisf.c: Likewise.
5157 * soft-fp/floatuntidf.c: Likewise.
5158 * soft-fp/floatuntisf.c: Likewise.
5159 * soft-fp/floatuntitf.c: Likewise.
5160 * soft-fp/fmadf4.c: Likewise.
5161 * soft-fp/fmasf4.c: Likewise.
5162 * soft-fp/fmatf4.c: Likewise.
5163 * soft-fp/gedf2.c: Likewise.
5164 * soft-fp/gesf2.c: Likewise.
5165 * soft-fp/getf2.c: Likewise.
5166 * soft-fp/ledf2.c: Likewise.
5167 * soft-fp/lesf2.c: Likewise.
5168 * soft-fp/letf2.c: Likewise.
5169 * soft-fp/muldf3.c: Likewise.
5170 * soft-fp/mulsf3.c: Likewise.
5171 * soft-fp/multf3.c: Likewise.
5172 * soft-fp/negdf2.c: Likewise.
5173 * soft-fp/negsf2.c: Likewise.
5174 * soft-fp/negtf2.c: Likewise.
5175 * soft-fp/op-1.h: Likewise.
5176 * soft-fp/op-2.h: Likewise.
5177 * soft-fp/op-4.h: Likewise.
5178 * soft-fp/op-8.h: Likewise.
5179 * soft-fp/op-common.h: Likewise.
5180 * soft-fp/quad.h: Likewise.
5181 * soft-fp/single.h: Likewise.
5182 * soft-fp/soft-fp.h: Likewise.
5183 * soft-fp/sqrtdf2.c: Likewise.
5184 * soft-fp/sqrtsf2.c: Likewise.
5185 * soft-fp/sqrttf2.c: Likewise.
5186 * soft-fp/subdf3.c: Likewise.
5187 * soft-fp/subsf3.c: Likewise.
5188 * soft-fp/subtf3.c: Likewise.
5189 * soft-fp/truncdfsf2.c: Likewise.
5190 * soft-fp/trunctfdf2.c: Likewise.
5191 * soft-fp/trunctfsf2.c: Likewise.
5192 * soft-fp/trunctfxf2.c: Likewise.
5193 * soft-fp/unorddf2.c: Likewise.
5194 * soft-fp/unordsf2.c: Likewise.
5195 * soft-fp/unordtf2.c: Likewise.
5197 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
5200 * misc/error.c (error_tail): Fix possible buffer overflow.
5202 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
5205 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
5208 2013-10-14 P. J. McDermott <pj@pehjota.net>
5211 * elf/ldd.bash.in (try_trace): New function. Delete previous code
5212 testing pipefail option.
5214 2013-10-12 Joseph Myers <joseph@codesourcery.com>
5216 * soft-fp/double.h: Indent preprocessor directives inside #if.
5217 * soft-fp/extended.h: Likewise.
5218 * soft-fp/op-2.h: Likewise.
5219 * soft-fp/op-4.h: Likewise.
5220 * soft-fp/op-common.h: Likewise.
5221 * soft-fp/quad.h: Likewise.
5222 * soft-fp/single.h: Likewise.
5223 * soft-fp/soft-fp.h: Likewise.
5225 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
5227 * iconv/iconv_prog.c: Fix typos.
5228 * stdio-common/psiginfo-data.h: Likewise.
5230 2013-10-12 Reuben Thomas <rrt@sc3d.org>
5233 * locale/setlocale.c: Fix typo.
5235 2013-10-12 Joseph Myers <joseph@codesourcery.com>
5238 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
5239 signaling NaN arguments.
5240 * soft-fp/unordsf2.c (__unordsf2): Likewise.
5241 * soft-fp/unordtf2.c (__unordtf2): Likewise.
5244 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
5246 * soft-fp/gesf2.c (__gesf2): Likewise.
5247 * soft-fp/getf2.c (__getf2): Likewise.
5248 * soft-fp/ledf2.c (__ledf2): Likewise.
5249 * soft-fp/lesf2.c (__lesf2): Likewise.
5250 * soft-fp/letf2.c (__letf2): Likewise.
5252 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
5253 * soft-fp/eqsf2.c (__eqsf2): Likewise.
5254 * soft-fp/eqtf2.c (__eqtf2): Likewise.
5255 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
5256 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
5257 * soft-fp/fixdfti.c (__fixdfti): Likewise.
5258 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
5259 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
5260 * soft-fp/fixsfti.c (__fixsfti): Likewise.
5261 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
5262 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
5263 * soft-fp/fixtfti.c (__fixtfti): Likewise.
5264 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
5265 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
5266 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
5267 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
5268 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
5269 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
5270 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
5271 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
5272 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
5273 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
5274 * soft-fp/floatdisf.c (__floatdisf): Likewise.
5275 * soft-fp/floatsisf.c (__floatsisf): Likewise.
5276 * soft-fp/floattidf.c (__floattidf): Likewise.
5277 * soft-fp/floattisf.c (__floattisf): Likewise.
5278 * soft-fp/floattitf.c (__floattitf): Likewise.
5279 * soft-fp/floatundidf.c (__floatundidf): Likewise.
5280 * soft-fp/floatundisf.c (__floatundisf): Likewise.
5281 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
5282 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
5283 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
5284 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
5285 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
5286 * soft-fp/gesf2.c (__gesf2): Likewise.
5287 * soft-fp/getf2.c (__getf2): Likewise.
5288 * soft-fp/ledf2.c (__ledf2): Likewise.
5289 * soft-fp/lesf2.c (__lesf2): Likewise.
5290 * soft-fp/letf2.c (__letf2): Likewise.
5292 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
5293 Undefine and redefine.
5294 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
5295 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
5296 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
5297 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
5298 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5299 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
5300 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5301 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
5302 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5303 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
5304 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5305 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
5306 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5307 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
5308 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5311 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
5312 without decrementing exponent if mantissa >= that for the
5314 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
5315 denominator, not >. Decrement exponent in < case instead of
5316 incrementing in >= case.
5317 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
5318 without decrementing exponent if mantissa >= that for the
5321 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
5322 computing saturated result for unsigned overflow.
5324 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5325 Jeff Law <law@redhat.com>
5327 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
5328 (atan2Mp): Add systemtap probe marker.
5329 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
5330 (__ieee754_log): Add systemtap probe marker.
5331 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
5332 (atanMp): Add systemtap probe marker.
5333 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
5334 (tanMp): Add systemtap probe marker.
5335 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
5336 (__slowexp): Add systemtap probe marker.
5337 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
5338 (__slowpow): Add systemtap probe marker.
5339 * manual/probes.texi: Document probes.
5341 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
5344 * libio/fileops.c (_IO_new_file_write): Return count of bytes
5346 (_IO_new_file_xsputn): Don't return EOF if nothing has been
5348 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
5349 written to buffer but not flushed.
5350 * libio/iofwrite_u.c: Likewise.
5351 * libio/iopadn.c: Return bytes returned even if EOF was
5353 * libio/iowpadn.c: Likewise.
5354 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
5355 if _IO_padn does not write the whole buffer.
5356 [!COMPILE_WPRINTF] (PAD): Likewise.
5358 2013-10-10 David S. Miller <davem@davemloft.net>
5360 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
5363 2013-10-10 Joseph Myers <joseph@codesourcery.com>
5365 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
5366 instead of FSF address.
5367 * soft-fp/fixdfti.c: Likewise.
5368 * soft-fp/fixsfti.c: Likewise.
5369 * soft-fp/fixtfti.c: Likewise.
5370 * soft-fp/fixunsdfti.c: Likewise.
5371 * soft-fp/fixunssfti.c: Likewise.
5372 * soft-fp/fixunstfti.c: Likewise.
5373 * soft-fp/floattidf.c: Likewise.
5374 * soft-fp/floattisf.c: Likewise.
5375 * soft-fp/floattitf.c: Likewise.
5376 * soft-fp/floatuntidf.c: Likewise.
5377 * soft-fp/floatuntisf.c: Likewise.
5378 * soft-fp/floatuntitf.c: Likewise.
5379 * soft-fp/trunctfxf2.c: Likewise.
5381 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
5382 * soft-fp/fixdfti.c: Likewise.
5383 * soft-fp/fixsfti.c: Likewise.
5384 * soft-fp/fixtfti.c: Likewise.
5385 * soft-fp/fixunsdfti.c: Likewise.
5386 * soft-fp/fixunssfti.c: Likewise.
5387 * soft-fp/fixunstfti.c: Likewise.
5388 * soft-fp/floattidf.c: Likewise.
5389 * soft-fp/floattisf.c: Likewise.
5390 * soft-fp/floattitf.c: Likewise.
5391 * soft-fp/floatuntidf.c: Likewise.
5392 * soft-fp/floatuntisf.c: Likewise.
5393 * soft-fp/floatuntitf.c: Likewise.
5394 * soft-fp/trunctfxf2.c: Likewise.
5396 2013-10-10 David S. Miller <davem@davemloft.net>
5398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5400 2013-10-10 Joseph Myers <joseph@codsourcery.com>
5402 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5403 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
5404 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
5405 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
5406 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
5407 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
5408 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
5410 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
5411 for NaNs before doing comparisons on argument.
5412 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5415 2013-10-10 Will Newton <will.newton@linaro.org>
5417 * malloc/hooks.c (memalign_check): Ensure the value of bytes
5418 passed to _int_memalign does not overflow.
5420 2013-10-10 Torvald Riegel <triegel@redhat.com>
5422 * scripts/bench.pl: Add include-sources directive.
5423 * benchtests/README: Update documentation.
5425 2013-10-10 Joseph Myers <joseph@codesourcery.com>
5427 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
5428 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
5429 instead of FP_INIT_ROUNDMODE.
5430 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
5431 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
5434 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
5435 copy class of input value.
5436 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
5437 not handle exceptions.
5438 * soft-fp/negsf2.c (__negsf2): Likewise.
5439 * soft-fp/negtf2.c (__negtf2): Likewise.
5440 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
5442 2013-10-09 Joseph Myers <joseph@codesourcery.com>
5444 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
5445 semicolon. From Linux kernel.
5447 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
5449 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
5451 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
5454 * manual/socket.texi: Added statement about buffer
5455 for gethostbyname2_r.
5457 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
5459 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
5460 Use .p2align directive instead, throughout.
5461 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5462 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5463 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5464 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5465 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5466 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
5467 * sysdeps/x86_64/strchr.S: Likewise.
5468 * sysdeps/x86_64/strrchr.S: Likewise.
5470 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5472 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
5474 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
5476 * sysdeps/generic/math_private.h (__mpsin1): Remove
5478 (__mpcos1): Likewise.
5479 (__mpsin): New argument __range_reduce.
5480 (__mpcos): Likewise.
5481 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5482 (slow): Use __mpsin and __mpcos.
5489 (bsloww1): Likewise.
5490 (bsloww2): Likewise.
5493 (csloww1): Likewise.
5494 (csloww2): Likewise.
5495 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
5496 range_reduce. Merge in __mpsin1.
5497 (__mpcos): Likewise.
5499 (__mpcos1): Likewise.
5501 2013-10-07 Joseph Myers <joseph@codesourcery.com>
5503 * locale/loadlocale.c (_nl_intern_locale_data): Use
5505 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
5506 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
5507 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
5508 obstack data is appropriately aligned.
5509 (obstack_int32_grow_fast): Likewise.
5510 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
5511 * locale/programs/locfile.c (add_locale_uint32): Likewise.
5512 (add_locale_uint32_array): Likewise.
5514 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5516 * benchtests/Makefile: Remove ARGLIST and RET variables.
5517 ($(objpfx)bench-%.c): Pass only function name to the script.
5518 * benchtests/README: Update documentation.
5519 * benchtests/acos-inputs: Add new directives.
5520 * benchtests/acosh-inputs: Likewise.
5521 * benchtests/asin-inputs: Likewise.
5522 * benchtests/asinh-inputs: Likewise.
5523 * benchtests/atan-inputs: Likewise.
5524 * benchtests/atanh-inputs: Likewise.
5525 * benchtests/cos-inputs: Likewise.
5526 * benchtests/cosh-inputs: Likewise.
5527 * benchtests/exp-inputs: Likewise.
5528 * benchtests/log-inputs: Likewise.
5529 * benchtests/pow-inputs: Likewise.
5530 * benchtests/rint-inputs: Likewise.
5531 * benchtests/sin-inputs: Likewise.
5532 * benchtests/sinh-inputs: Likewise.
5533 * benchtests/tan-inputs: Likewise.
5534 * benchtests/tanh-inputs: Likewise.
5535 * scripts/bench.pl: Add support for new directives.
5537 2013-10-07 Alan Modra <amodra@gmail.com>
5539 * README: Fix careless merge.
5541 2013-10-05 Alan Modra <amodra@gmail.com>
5543 * NEWS: Mention powerpc64le support and bugs fixed.
5544 * README: Both big-endian and little-endian powerpc64 supported.
5546 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5548 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
5549 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
5550 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
5551 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
5553 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
5555 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
5558 2013-10-04 Joseph Myers <joseph@codesourcery.com>
5560 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
5561 Move -mhard-float appending from
5562 ports/sysdeps/powerpc/powerpc32/Makefile.
5563 [$(with-fp) = yes] (ASFLAGS): Likewise.
5564 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
5565 * sysdeps/powerpc/nofpu: Move directory from
5566 ports/sysdeps/powerpc/nofpu.
5567 * sysdeps/powerpc/soft-fp: Move directory from
5568 ports/sysdeps/powerpc/soft-fp.
5569 * sysdeps/powerpc/powerpc32/405: Move directory from
5570 ports/sysdeps/powerpc/powerpc32/405.
5571 * sysdeps/powerpc/powerpc32/440: Move directory from
5572 ports/sysdeps/powerpc/powerpc32/440.
5573 * sysdeps/powerpc/powerpc32/464: Move directory from
5574 ports/sysdeps/powerpc/powerpc32/464.
5575 * sysdeps/powerpc/powerpc32/476: Move directory from
5576 ports/sysdeps/powerpc/powerpc32/476.
5577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
5578 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
5579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
5580 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
5581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
5582 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
5583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
5584 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
5585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
5586 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
5587 * README: Update for powerpc-*-linux-gnu software floating point
5590 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
5591 case to powerpc/powerpc32*.
5592 * sysdeps/unix/sysv/linux/configure: Regenerated.
5594 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
5595 (_FPU_MASK_OM): Define as 0x04.
5596 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
5597 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
5599 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
5601 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
5603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
5604 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
5607 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
5610 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
5611 and setcontext_e500.
5613 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
5615 * locale/iso-3166.def: Update iso-1366.def and related occurrences
5617 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5619 * manual/threads.texi (Default Thread Attributes): Fix typo.
5621 2013-10-04 Will Newton <will.newton@linaro.org>
5623 * malloc/Makefile: Add tst-memalign.
5624 * malloc/tst-memalign.c: New file.
5626 * malloc/tst-posix_memalign.c: Add comments.
5627 (do_test): Add comments and call free on all potentially
5628 allocated pointers. Add space after cast.
5630 * malloc/tst-pvalloc.c: Add comments.
5631 (do_test): Add comments and call free on all potentially
5632 allocated pointers. Remove duplicate check for NULL pointer.
5633 Add space after cast.
5635 * malloc/tst-valloc.c: Add comments.
5636 (do_test): Add comments and call free on all potentially
5637 allocated pointers. Remove duplicate check for NULL pointer.
5638 Add space after cast.
5640 2013-10-04 Alan Modra <amodra@gmail.com>
5642 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5643 Use stdint types in rather than __attribute__((mode())).
5644 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5646 2013-10-04 Alan Modra <amodra@gmail.com>
5648 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5649 Correct handling of unaligned relocs for little-endian.
5650 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5652 2013-10-04 Alan Modra <amodra@gmail.com>
5654 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
5655 * configure: Regenerate.
5656 * nptl/shlib-versions: Powerpc*le starts at 2.18.
5657 * shlib-versions: Likewise.
5659 2013-10-04 Alan Modra <amodra@gmail.com>
5661 * string/tester.c (test_memrchr): Increment reported test cycle.
5663 2013-10-04 Alan Modra <amodra@gmail.com>
5665 * string/test-memcpy.c (do_one_test): When reporting errors, print
5666 string address and don't overrun end of string.
5668 2013-10-04 Alan Modra <amodra@gmail.com>
5670 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
5671 insrdi. Make better use of reg selection to speed exit slightly.
5672 Schedule entry path a little better. Remove useless "are we done"
5673 checks on entry to main loop. Handle wrapping around zero address.
5674 Correct main loop count. Handle single left-over word from main
5675 loop inline rather than by using loop_small. Remove extra word
5676 case in loop_small caused by wrong loop count. Add little-endian
5678 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5679 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
5681 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5682 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
5683 support. Avoid rlwimi.
5684 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
5686 2013-10-04 Alan Modra <amodra@gmail.com>
5688 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
5690 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5691 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5692 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5693 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5694 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5695 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
5697 2013-10-04 Alan Modra <amodra@gmail.com>
5699 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
5700 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5701 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5702 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
5703 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5704 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5705 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5706 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5707 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
5708 use of regs. Use power7 mtocrf. Tidy function tails.
5710 2013-10-04 Alan Modra <amodra@gmail.com>
5712 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
5713 Formatting. Consistently use rXXX register defines or rN defines.
5714 Use early exit labels that avoid restoring unused non-volatile regs.
5715 Make cr field use more consistent with rWORDn compares. Rename
5716 regs used as shift registers for unaligned loop, using rN defines
5717 for short lifetime/multiple use regs.
5718 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5719 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
5720 addi 1,1,64 to pop stack frame. Simplify return value code.
5721 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5723 2013-10-04 Alan Modra <amodra@gmail.com>
5725 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5726 support. Correct typos, formatting. Optimize tail. Use insrdi
5728 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5729 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5730 little-endian support. Correct typos.
5731 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
5733 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
5734 in loop and entry code to keep "and." results.
5735 (strchr): Add little-endian support. Comment. Move cntlzd
5737 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5739 2013-10-04 Alan Modra <amodra@gmail.com>
5741 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5742 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5743 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5744 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5746 2013-10-04 Alan Modra <amodra@gmail.com>
5748 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5749 (rTMP): Define as r11.
5750 (strcmp): Add little-endian support. Optimise tail.
5751 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5752 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5753 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5754 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5755 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5756 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5757 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5759 2013-10-04 Alan Modra <amodra@gmail.com>
5761 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5762 little-endian support. Remove unnecessary "are we done" tests.
5763 Handle "s" wrapping around zero and extremely large "size".
5764 Correct main loop count. Handle single left-over word from main
5765 loop inline rather than by using small_loop. Correct comments.
5766 Delete "zero" tail, use "end_max" instead.
5767 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5769 2013-10-04 Alan Modra <amodra@gmail.com>
5771 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5772 support. Don't branch over align.
5773 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5774 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5775 support. Rearrange tmp reg use to suit. Comment.
5776 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5778 2013-10-04 Alan Modra <amodra@gmail.com>
5780 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5782 2013-10-04 Alan Modra <amodra@gmail.com>
5784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5785 conditional form of branch and link when obtaining pc.
5786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5788 2013-10-04 Alan Modra <amodra@gmail.com>
5790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5795 2013-10-04 Alan Modra <amodra@gmail.com>
5797 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5798 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5799 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5800 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5801 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5802 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5803 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5804 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5805 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5806 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5808 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5809 Alistair Popple <alistair@ozlabs.au.ibm.com>
5810 Alan Modra <amodra@gmail.com>
5813 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5814 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5815 _dl_hwcap access for little-endian.
5816 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
5817 destroy vmx regs when saving unaligned.
5818 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5819 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
5820 destroy vmx regs when saving unaligned.
5822 2013-10-04 Alan Modra <amodra@gmail.com>
5824 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5825 Don't use a union to pack hi/low value.
5827 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5829 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5831 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5832 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5833 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5834 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5835 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5837 2013-10-04 Alan Modra <amodra@gmail.com>
5839 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5840 constants to usual value for .cst8 section, and remove redundant
5842 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5843 constant for 0x1p52. Load little-endian words of double from
5844 correct stack offsets.
5846 2013-10-04 Alan Modra <amodra@gmail.com>
5848 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5849 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5850 words of double from correct stack offsets.
5851 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5852 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5853 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5854 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5855 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5856 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5857 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5858 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5859 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5860 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5861 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5862 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5863 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5864 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5865 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5866 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5867 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5869 2013-10-04 Alan Modra <amodra@gmail.com>
5871 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5872 64-bit int/double union.
5873 (_FPU_SETCW): Likewise.
5874 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5875 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5877 2013-10-04 Alan Modra <amodra@gmail.com>
5879 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5880 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5882 2013-10-04 Alan Modra <amodra@gmail.com>
5884 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5885 use vector int constants.
5886 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5888 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5890 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5891 array with long long.
5892 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5893 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5894 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5895 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5896 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5897 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5898 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5899 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5900 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5901 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5902 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5903 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5904 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5906 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5908 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5909 (__signbit): Likewise. Correct for little-endian.
5910 (__signbitl): Call __signbit.
5911 (lrint): Correct for little-endian.
5912 (lrintf): Call lrint.
5914 2013-10-04 Alan Modra <amodra@gmail.com>
5916 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5917 union 32-bit int array member with 64-bit int array.
5918 (t515, tm256): Double rather than long double.
5919 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5921 2013-10-04 Alan Modra <amodra@gmail.com>
5923 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5925 (IEEE854_LONG_DOUBLE_BIAS): Delete.
5926 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5927 version of math_ldbl.h.
5929 2013-10-04 Alan Modra <amodra@gmail.com>
5931 [BZ #15734], [BZ #15735]
5932 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5933 all uses of ieee875 long double macros and unions. Simplify test
5934 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
5935 ldbl_extract_mantissa value for ix,iy exponents. Properly
5936 normalize after ldbl_extract_mantissa, and don't add hidden bit
5937 already handled. Don't treat low word of ieee854 mantissa like
5938 low word of IBM long double and mask off bit when testing for
5940 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5941 all uses of ieee875 long double macros and unions. Simplify tests
5942 for 0.0L and inf. Correct double adjustment of k. Delete dead code
5943 adjusting ha,hb. Simplify code setting kld. Delete two600 and
5944 two1022, instead use their values. Recognise that tests for large
5945 "a" and small "b" are mutually exclusive. Rename vars. Comment.
5946 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5947 Rewrite all uses of ieee875 long double macros and unions. Simplify
5948 test for 0.0L and nan. Correct negation.
5949 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5950 ieee875 long double macros and unions. Correct output for large
5951 magnitude x. Correct absolute value calculation.
5952 (__erfcl): Likewise.
5953 * math/libm-test.inc: Add tests for errors discovered in IBM long
5954 double versions of fmodl, remainderl, erfl and erfcl.
5956 2013-10-04 Alan Modra <amodra@gmail.com>
5958 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5959 all uses of ieee854 long double macros and unions. Simplify tests
5960 for long doubles that are fully specified by the high double.
5961 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5963 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5964 Remove dead code too.
5965 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5966 (__ieee754_ynl): Likewise.
5967 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5968 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5969 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5970 Remove dead code too.
5971 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5972 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5973 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5974 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5976 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5978 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5979 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5980 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5981 Comment on variable precision.
5982 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5983 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5985 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5986 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5987 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5988 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5989 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5991 2013-10-04 Alan Modra <amodra@gmail.com>
5993 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5994 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5995 all uses of ieee854 long double macros and unions.
5996 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5997 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5998 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5999 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
6000 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6001 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6003 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
6004 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6005 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
6006 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6007 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6008 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6009 Simplify sign and nan test too.
6010 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
6011 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6012 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
6013 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6015 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6016 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6018 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6019 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6020 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6021 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6022 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6023 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6025 2013-10-04 Alan Modra <amodra@gmail.com>
6027 * stdio-common/printf_size.c (__printf_size): Don't use
6028 union ieee854_long_double in fpnum union.
6029 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
6030 signbit macro to retrieve sign from long double.
6031 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6032 retrieve sign from long double.
6033 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6034 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6035 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6036 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6037 * math/test-misc.c (main): Don't use union ieee854_long_double.
6039 2013-10-04 Alan Modra <amodra@gmail.com>
6042 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6043 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6044 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6045 calculation. Remove unnecessary test for denormal exponent.
6046 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6047 Correct handling of denormals. Avoid undefined shift behaviour.
6048 Correct normalisation of low mantissa when low double is denormal.
6049 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6050 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
6051 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
6052 Correct normalisation of low mantissa. Test for overflow of high
6053 mantissa and normalise.
6054 (ldbl_nearbyint): Use more readable constant for two52.
6055 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
6056 (__mpn_construct_long_double): Fix test for overflow of high
6057 mantissa and correct normalisation. Avoid undefined shift.
6059 2013-10-04 Alan Modra <amodra@gmail.com>
6061 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6062 (union ibm_extended_long_double): Define as an array of ieee754_double.
6063 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
6064 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
6065 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
6066 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6067 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6068 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
6069 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6070 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6071 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6072 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
6073 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6075 2013-10-03 Joseph Myers <joseph@codesourcery.com>
6077 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
6078 page size instead of calling getpagesize.
6080 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
6081 (LOCFILE_ALIGN_MASK): Likewise.
6082 (LOCFILE_ALIGN_UP): Likewise.
6083 (LOCFILE_ALIGNED_P): Likewise.
6084 * locale/programs/ld-collate.c (collate_output): Use the new
6085 macros instead of __alignof__ (int32_t).
6086 * locale/weight.h (findidx): Likewise.
6088 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
6091 * manual/string.texi: Fix strncat and wcsncat.
6093 2013-10-03 Brooks Moses <bmoses@google.com>
6096 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
6097 * Makerules: ...here, and adjust associated comments.
6099 2013-10-02 Will Newton <will.newton@linaro.org>
6101 * malloc/Makefile: Add tst-pvalloc.
6102 * malloc/tst-pvalloc.c: New file.
6104 2013-10-02 Will Newton <will.newton@linaro.org>
6106 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
6107 improve test coverage.
6109 2013-10-02 Will Newton <will.newton@linaro.org>
6111 * malloc/Makefile: Add tst-posix_memalign.
6112 * malloc/tst-posix_memalign.c: New file.
6114 2013-10-01 Eric Blake <eblake@redhat.com>
6116 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
6117 Use __THROWNL rather than __THROW on static functions.
6119 2013-09-30 Petr Machata <pmachata@redhat.com>
6121 * elf/elf.h (R_AARCH64_ABS16): New macro.
6122 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
6123 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
6124 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
6125 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
6126 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
6127 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
6128 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
6129 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
6130 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
6131 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
6132 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
6133 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
6134 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
6135 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
6136 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
6137 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
6138 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
6139 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
6140 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
6141 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
6142 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
6143 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
6144 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
6145 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
6146 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
6147 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
6148 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
6149 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
6150 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
6151 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
6152 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
6153 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
6154 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
6155 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
6156 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
6157 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
6158 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
6159 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
6160 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
6161 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
6162 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
6163 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
6164 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
6165 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
6166 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
6167 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
6168 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
6169 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
6170 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
6171 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
6172 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
6173 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
6174 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
6175 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
6176 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
6177 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
6178 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
6179 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
6180 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
6181 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
6182 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
6183 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
6184 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
6185 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
6186 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
6187 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
6188 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
6189 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
6190 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
6191 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
6192 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
6193 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
6194 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
6195 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
6196 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
6197 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
6198 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
6199 (R_AARCH64_TLSDESC_LDR): Likewise.
6200 (R_AARCH64_TLSDESC_ADD): Likewise.
6201 (R_AARCH64_TLSDESC_CALL): Likewise.
6203 2013-09-30 Andreas Schwab <schwab@suse.de>
6206 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
6207 the nss database lookup.
6208 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6209 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6211 2013-09-28 Mike Frysinger <vapier@gentoo.org>
6213 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
6215 2013-09-28 P. J. McDermott <pj@pehjota.net>
6217 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
6218 ${Bash-specific parameter/pattern/string} parameter expansion.
6219 * sysdeps/unix/make-syscalls.sh: Likewise.
6221 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6223 * sysdeps/sh/stackguard-macros.h: New file.
6225 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
6227 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6228 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
6229 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
6230 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
6231 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6232 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
6234 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6236 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
6237 Fix thread ID register.
6239 2013-09-25 Joseph Myers <joseph@codesourcery.com>
6241 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
6242 [POSIX || UNIX98]: Require rather than permitting all symbols from
6244 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
6245 element of struct sched_param.
6246 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
6247 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
6248 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
6249 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
6252 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
6254 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
6255 argument calculation.
6257 2013-09-24 Joseph Myers <joseph@codesourcery.com>
6259 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
6261 [POSIX] (pthread_attr_t): Do not require type.
6262 [POSIX] (pthread_cond_t): Likewise.
6263 [POSIX] (pthread_condattr_t): Likewise.
6264 [POSIX] (pthread_key_t): Likewise.
6265 [POSIX] (pthread_mutex_t): Likewise.
6266 [POSIX] (pthread_mutexattr_t): Likewise.
6267 [POSIX] (pthread_once_t): Likewise.
6268 [POSIX] (pthread_t): Likewise.
6269 [POSIX-based standards] (pthread_atfork): Expect function.
6271 2013-09-24 Joseph Myers <joseph@codesourcery.com>
6272 Richard Sandiford <richard@codesourcery.com>
6274 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
6275 (swap_endianness_p): New extern variable.
6276 (set_big_endian): New inline function.
6277 (maybe_swap_uint32): Likewise.
6278 (maybe_swap_uint32_array): Likewise.
6279 (maybe_swap_uint32_obstack): Likewise.
6280 * locale/programs/locfile.c: Include <stdbool.h>.
6281 (swap_endianness_p): New variable.
6282 (add_locale_uint32): Call maybe_swap_uint32.
6283 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
6284 (write_locale_data): Call maybe_swap_uint32_array.
6285 * locale/programs/ld-collate.c (obstack_int32_grow): Call
6287 (obstack_int32_grow_fast): Likewise.
6288 (output_weightwc): Call maybe_swap_uint32_obstack.
6289 (collate_output): Likewise.
6290 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
6291 (OPT_LITTLE_ENDIAN): Likewise.
6292 (options): Add --little-endian and --big-endian options.
6293 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
6294 * locale/programs/locarchive.c: Include "locfile.h".
6298 (create_archive): Use the new macros to access fields of
6299 structures directly mapped from or written to locale archives.
6300 (oldlocrecentcmp): Likewise.
6301 (enlarge_archive): Likewise.
6302 (insert_name): Likewise.
6303 (add_alias): Likewise.
6304 (add_locale): Likewise.
6305 (delete_locales_from_archive): Likewise.
6306 (show_archive_content): Likewise.
6307 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
6310 2013-09-24 Roland McGrath <roland@hack.frob.com>
6312 * manual/freemanuals.texi: Updated from (newly) canonical copy at
6313 http://www.gnu.org/doc/freemanuals.texi.
6314 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
6316 2013-09-24 Will Newton <will.newton@linaro.org>
6318 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
6321 2013-09-23 Joseph Myers <joseph@codesourcery.com>
6323 * locale/hashval.h (compute_hashval): Interpret bytes of key as
6326 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
6328 * manual/threads.texi (POSIX Threads): Fix a typo.
6330 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6333 * string/tst-strcoll-overflow.c: New test case.
6334 * string/Makefile (xtests): Add tst-strcoll-overflow.
6335 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
6336 cache if string sizes may cause integer overflow.
6339 * string/strcoll_l.c (coll_seq): New members rule, idx,
6340 save_idx and back_us.
6341 (get_next_seq_nocache): New function.
6342 (do_compare_nocache): New function.
6343 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
6346 2013-09-23 Carlos O'Donell <carlos@redhat.com>
6349 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
6350 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
6351 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
6354 * elf/Makefile (tests): Add tst-ptrguard1.
6355 (tests-static): Add tst-ptrguard1-static.
6356 (tst-ptrguard1-ARGS): Define.
6357 (tst-ptrguard1-static-ARGS): Define.
6358 * elf/tst-ptrguard1.c: New file.
6359 * elf/tst-ptrguard1-static.c: New file.
6360 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
6361 * sysdeps/i386/stackguard-macros.h: Likewise.
6362 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6363 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6364 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6365 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6366 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6367 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6369 2013-09-23 Hector Marco <hecmargi@upv.es>
6370 Ismael Ripoll <iripoll@disca.upv.es>
6371 Carlos O'Donell <carlos@redhat.com>
6374 * sysdeps/generic/stackguard-macros.h: Define
6375 __pointer_chk_guard_local and POINTER_CHK_GUARD.
6376 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
6377 Define __pointer_chk_guard_local.
6378 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
6379 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
6381 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
6384 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
6386 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
6388 * include/string.h (__ffs): Declare as hidden.
6389 * string/ffs.c (__ffs): Define as hidden.
6390 * sysdeps/i386/ffs.c (__ffs): Likewise.
6391 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6392 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
6393 * sysdeps/s390/ffs.c (__ffs): Likewise.
6394 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
6396 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
6398 * NEWS: Mention malloc probes.
6400 * malloc/arena.c (new_heap): New memory_heap_new probe.
6401 (grow_heap): New memory_heap_more probe.
6402 (shrink_heap): New memory_heap_less probe.
6403 (heap_trim): New memory_heap_free probe.
6404 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
6405 (systrim): New memory_sbrk_less probe.
6406 * manual/probes.texi: Document them.
6408 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
6409 * manual/probes.texi: Document it.
6411 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
6412 (__libc_realloc): Add memory_realloc_retry probe.
6413 (__libc_memalign): Add memory_memalign_retry probe.
6414 (__libc_valloc): Add memory_valloc_retry probe.
6415 (__libc_pvalloc): Add memory_pvalloc_retry probe.
6416 (__libc_calloc): Add memory_calloc_retry probe.
6417 * manual/probes.texi: Document them.
6419 * malloc/arena.c (get_free_list): Add probe
6420 memory_arena_reuse_free_list.
6421 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
6422 and memory_arena_reuse.
6423 (arena_get2) [!PER_THREAD]: Likewise.
6424 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
6425 memory_arena_reuse_realloc.
6426 * manual/probes.texi: Document them.
6428 * malloc/malloc.c (__libc_free): Add
6429 memory_mallopt_free_dyn_thresholds probe.
6430 (__libc_mallopt): Add multiple memory_mallopt probes.
6431 * manual/probes.texi: Document them.
6433 * malloc/malloc.c: Include stap-probe.h.
6434 (__libc_mallopt): Add memory_mallopt probe.
6435 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
6436 * manual/probes.texi: New.
6437 * manual/Makefile (chapters): Add probes.
6438 * manual/threads.texi: Set next node.
6440 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
6443 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
6444 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
6445 Add `Chinese' to `nan' entry name.
6447 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6449 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
6450 (POLYNOMIAL): Likewise.
6451 (TAYLOR_SINCOS): Likewise.
6452 (TAYLOR_SLOW): Likewise.
6453 (__sin): Use TAYLOR_SINCOS.
6455 (slow): Use TAYLOR_SLOW.
6460 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6462 * stdlib/strtod_l.c: Fix buffer overrun.
6464 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6466 * benchtests/Makefile (bench): Add sincos.
6467 * benchtests/bench-sincos.c: New file.
6469 * math/libm-test.inc (cos_test_data): New test inputs.
6470 (sin_test_data): Likewise.
6472 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
6480 (bsloww1): Likewise.
6481 (bsloww2): Likewise.
6483 (csloww1): Likewise.
6484 (csloww2): Likewise.
6486 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
6491 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
6495 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
6497 * config.h.in (HAVE_MIPS_NAN2008): New macro.
6498 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
6499 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
6500 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
6501 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
6502 * elf/cache.c (print_entry): Handle the new cache flags.
6504 2013-09-18 Joseph Myers <joseph@codesourcery.com>
6505 Aldy Hernandez <aldyh@redhat.com>
6507 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
6508 Change condition to [_SOFT_FLOAT].
6509 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
6510 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
6511 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
6512 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
6513 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
6514 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
6515 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
6516 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
6517 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
6518 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
6519 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
6520 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
6521 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
6522 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
6523 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
6524 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
6527 2013-09-18 Joseph Myers <joseph@codesourcery.com>
6529 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
6530 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6531 (__longjmp): Use LOAD_GP to load saved GPRs.
6532 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
6533 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6534 (__sigsetjmp): Use SAVE_GP to save GPRs.
6536 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
6537 Do not append -msoft-float.
6538 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
6540 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6542 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
6544 2013-09-17 Joseph Myers <joseph@codesourcery.com>
6547 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
6548 (_FPU_GETCW): Use initial "__" on variable and field names but not
6549 on macro parameter name.
6550 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
6551 parentheses around reference to macro parameter.
6553 2013-09-13 Richard Sandiford <richard@codesourcery.com>
6555 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
6557 (ctype_startup): Use uint32_t in cast and sizeof for
6560 2013-09-11 Jia Liu <proljc@gmail.com>
6562 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
6564 [__FreeBSD__]: Likewise.
6566 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
6568 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6569 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
6570 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
6571 (strchr): Remove __strchr_sse42 ifunc selection.
6572 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
6573 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
6575 2013-09-11 Will Newton <will.newton@linaro.org>
6577 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
6578 parameter to RES. Remove hardcoded 1000 value.
6579 * benchtests/bench-skeleton.c (main): Pass RES parameter
6580 to TIMING_INIT and multiply result by 1000.
6582 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6586 2013-09-11 Andreas Schwab <schwab@suse.de>
6588 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6590 (O_TMPFILE) [__USE_GNU]: Define.
6591 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
6594 2013-09-11 Will Newton <will.newton@linaro.org>
6597 * malloc/malloc.c (__libc_memalign): Check the value of bytes
6600 2013-09-11 Will Newton <will.newton@linaro.org>
6603 * malloc/malloc.c (__libc_valloc): Check the value of bytes
6606 2013-09-11 Will Newton <will.newton@linaro.org>
6609 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
6612 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
6614 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
6615 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6616 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6617 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6618 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6620 2013-09-10 Allan McRae <allan@archlinux.org>
6623 * manual/arith.texi (Parsing of Floats): Clarify
6627 * manual/install.texi (Running make install): Mention
6629 * INSTALL: Regenerated.
6631 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6633 * csu/init-first.c (_init): Remove the !SHARED condition around
6634 FPU control word initialization.
6635 * elf/dl-support.c (_dl_fpu_control): New variable.
6636 (_dl_aux_init) <AT_FPUCW>: Initialize it.
6637 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
6638 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
6639 * math/test-fpucw-static.c: New file.
6640 * math/test-fpucw-ieee.c: New file.
6641 * math/test-fpucw-ieee-static.c: New file.
6642 * math/Makefile (tests): Add `test-fpucw-ieee' and
6644 (tests-static): New variable.
6645 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
6647 [($(build-shared),yes)]
6648 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6650 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
6653 2013-09-09 Allan McRae <allan@archlinux.org>
6656 * manual/string.texi (Collation Functions): Fix typo in
6658 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
6661 * stdlib/isomac.c (get_null_defines): Fix memory leak.
6664 * libio/memstream.c (open_memstream): Fix memory leak.
6665 * libio/wmemstream.c (open_wmemstream): Likewise.
6668 * nscd/netgroupcache.c: Fix nesting of ifdefs.
6670 2013-09-09 Will Newton <will.newton@linaro.org>
6672 * malloc/Makefile: Add tst-realloc to tests.
6673 * malloc/tst-realloc.c: New file.
6675 2013-09-09 Allan McRae <allan@archlinux.org>
6678 * COPYING: Update from GNU website to fix FSF address.
6679 * COPYING.LIB: Likewise.
6681 2013-09-06 David S. Miller <davem@davemloft.net>
6683 * po/zh_TW.po: Update Chinese (traditional) translation from
6684 translation project.
6686 2013-09-06 Richard Sandiford <richard@codesourcery.com>
6687 Joseph Myers <joseph@codesourcery.com>
6689 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
6691 (obstack_chunk_alloc): New macro.
6692 (obstack_chunk_free): Likewise.
6693 (record_offset): New function.
6694 (init_locale_data): Likewise.
6695 (align_locale_data): Likewise.
6696 (add_locale_empty): Likewise.
6697 (add_locale_raw_data): Likewise.
6698 (add_locale_raw_obstack): Likewise.
6699 (add_locale_string): Likewise.
6700 (add_locale_wstring): Likewise.
6701 (add_locale_uint32): Likewise.
6702 (add_locale_uint32_array): Likewise.
6703 (add_locale_char): Likewise.
6704 (start_locale_structure): Likewise.
6705 (end_locale_structure): Likewise.
6706 (start_locale_prelude): Likewise.
6707 (end_locale_prelude): Likewise.
6708 (write_locale_data): Take locale_file structure rather than an
6710 * locale/programs/locfile.h: Include "obstack.h".
6711 (struct locale_file): Change to store locale file contents instead
6713 (init_locale_data): New prototype.
6714 (align_locale_data): Likewise.
6715 (add_locale_empty): Likewise.
6716 (add_locale_raw_data): Likewise.
6717 (add_locale_raw_obstack): Likewise.
6718 (add_locale_string): Likewise.
6719 (add_locale_wstring): Likewise.
6720 (add_locale_uint32): Likewise.
6721 (add_locale_uint32_array): Likewise.
6722 (add_locale_char): Likewise.
6723 (start_locale_structure): Likewise.
6724 (end_locale_structure): Likewise.
6725 (start_locale_prelude): Likewise.
6726 (end_locale_prelude): Likewise.
6727 (write_locale_data): Update prototype.
6728 * locale/programs/3level.h (struct TABLE): Remove result field.
6729 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6730 Use new locale_file interface.
6731 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6732 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6733 * locale/programs/ld-address.c (address_output): Use new
6734 locale_file interface.
6735 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6737 (collate_finish): Don't call collseq_table_finalize.
6738 (collate_output): Use new locale_file interface.
6739 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6741 (NO_FINALIZE): Change to NO_ADD_LOCALE.
6742 (TABLE): Move defines earlier in file.
6743 (ELEMENT): Likewise.
6744 (DEFAULT): Likewise.
6745 (wctrans_table_add): Move macro and inline function earlier in
6747 (struct wctype_table): Move type earlier in file.
6748 (add_locale_wctype_table): New static prototype.
6749 (struct locale_ctype_t): Use logical types instead of struct iovec
6750 pointers for members.
6751 (ctype_output): Use new locale_file interface.
6752 (wctype_table_finalize): Change to add_locale_wctype_table. Use
6753 new locale_file interface.
6754 (allocate_arrays): Update for use of new locale_file interface.
6755 * locale/programs/ld-identification.c (identification_output): Use
6756 new locale_file interface.
6757 * locale/programs/ld-measurement.c (measurement_output): Likewise.
6758 * locale/programs/ld-messages.c (messages_output): Likewise.
6759 * locale/programs/ld-monetary.c (monetary_output): Likewise.
6760 * locale/programs/ld-name.c (name_output): Likewise.
6761 * locale/programs/ld-numeric.c (numeric_output): Likewise.
6762 * locale/programs/ld-paper.c (paper_output): Likewise.
6763 * locale/programs/ld-telephone.c (telephone_output): Likewise.
6764 * locale/programs/ld-time.c (time_output): Likewise.
6766 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6768 * benchtests/Makefile: Add memrchr benchmark.
6769 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6770 benchmark as memrchr.
6771 * benchtests/bench-memrchr-ifunc.c: New file.
6772 * benchtests/bench-memrchr.c: New file.
6774 2013-09-06 Will Newton <will.newton@linaro.org>
6776 * benchtests/Makefile (string-bench): Add memcpy.
6778 2013-09-05 Carlos O'Donell <carlos@redhat.com>
6779 Cong Wang <amwang@redhat.com>
6782 * sysdeps/unix/sysv/linux/bits/in.h
6783 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6784 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6785 before __USE_KERNEL_IPV6_DEFS uses.
6786 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6788 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6789 sockaddr_in6, or ipv6_mreq.
6791 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6793 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6794 memory access for final bytes in some large inputs.
6795 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6797 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6799 * string/test-memrchr.c: New file.
6800 * string/test-memrchr-ifunc.c: New file.
6801 * string/Makefile: Add new memrchr testcase.
6803 2013-09-05 Mike Frysinger <vapier@gentoo.org>
6805 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6806 fanotify_init returns EPERM.
6808 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6810 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6812 (top level): Treat second token from macro or constant entries for
6813 allowed headers as allowed.
6814 * include/complex.h: Condition internal declarations on
6816 * include/fenv.h: Condition include of <stdbool.h> and internal
6817 declarations on [!_ISOMAC].
6819 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
6822 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6824 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6826 * configure.in (--enable-versioning): Remove configure option.
6827 (libc_cv_asm_symver_directive): Remove configure test.
6828 (libc_cv_ld_version_script_option): Likewise.
6829 (VERSIONING): Remove variable and AC_SUBST.
6830 (DO_VERSIONING): Remove AC_DEFINE.
6831 * configure: Regenerated.
6832 * config.h.in (DO_VERSIONING): Remove macro.
6833 * Makerules [$(versioning) = yes]: Change conditionals to
6834 [$(build-shared) = yes].
6835 * config.make.in (versioning): Remove variable.
6836 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6837 [$(build-shared) = yes].
6838 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6839 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6840 * elf/Makefile [$(versioning) = yes]: Change conditionals to
6841 [$(build-shared) = yes].
6842 * extra-lib.mk [$(versioning) = yes]: Likewise.
6843 * hurd/Makefile [$(versioning) = yes]: Likewise.
6844 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6846 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6848 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6849 [SHARED && !NO_HIDDEN].
6850 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6852 [SHARED && DO_VERSIONING]: Likewise..
6853 * libio/Makefile [$(versioning) = yes]: Change conditionals to
6854 [$(build-shared) = yes].
6855 * manual/install.texi (--disable-versioning): Remove
6857 * INSTALL: Regenerated.
6858 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6860 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6861 [$(build-shared) = yes].
6862 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6863 * sysdeps/i386/i686/multiarch/strstr-c.c
6864 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6865 [SHARED && !NO_HIDDEN].
6866 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6867 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6868 * sysdeps/powerpc/powerpc32/dl-machine.c
6869 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6870 * sysdeps/powerpc/powerpc32/sysdep.h
6871 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6872 to [SHARED && PIC && !NO_HIDDEN].
6873 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6874 conditional to [SHARED].
6876 2013-09-04 Will Newton <will.newton@linaro.org>
6878 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6879 * benchtests/bench-string.h: Include bench-timing.h instead
6880 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6881 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6882 call to HP_TIMING_DIFF_INIT.
6883 * benchtests/bench-memccpy.c: Use bench-timing.h macros
6884 instead of hp-timing.h macros.
6885 * benchtests/bench-memchr.c: Likewise.
6886 * benchtests/bench-memcmp.c: Likewise.
6887 * benchtests/bench-memcpy.c: Likewise.
6888 * benchtests/bench-memmem.c: Likewise.
6889 * benchtests/bench-memmove.c: Likewise.
6890 * benchtests/bench-memset.c: Likewise.
6891 * benchtests/bench-rawmemchr.c: Likewise.
6892 * benchtests/bench-strcasecmp.c: Likewise.
6893 * benchtests/bench-strcasestr.c: Likewise.
6894 * benchtests/bench-strcat.c: Likewise.
6895 * benchtests/bench-strchr.c: Likewise.
6896 * benchtests/bench-strcmp.c: Likewise.
6897 * benchtests/bench-strcpy.c: Likewise.
6898 * benchtests/bench-strcpy_chk.c: Likewise.
6899 * benchtests/bench-strlen.c: Likewise.
6900 * benchtests/bench-strncasecmp.c: Likewise.
6901 * benchtests/bench-strncat.c: Likewise.
6902 * benchtests/bench-strncmp.c: Likewise.
6903 * benchtests/bench-strncpy.c: Likewise.
6904 * benchtests/bench-strnlen.c: Likewise.
6905 * benchtests/bench-strpbrk.c: Likewise.
6906 * benchtests/bench-strrchr.c: Likewise.
6907 * benchtests/bench-strspn.c: Likewise.
6908 * benchtests/bench-strstr.c: Likewise.
6910 2013-09-04 Will Newton <will.newton@linaro.org>
6912 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6914 2013-09-03 Joseph Myers <joseph@codesourcery.com>
6917 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6918 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6919 * math/libm-test.inc (lgamma_test_data): Add more tests.
6920 * sysdeps/i386/fpu/libm-test-ulps: Update.
6921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6923 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
6925 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6926 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6928 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6929 Add strcmp-sse2-unaligned
6930 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6932 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6934 * Versions.def (libc): Add GLIBC_2.19.
6936 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6938 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6939 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6941 2013-09-02 Joseph Myers <joseph@codesourcery.com>
6944 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6945 intermediate calculations in recurrence.
6946 (__ieee754_ynf): Likewise.
6947 * math/libm-test.inc (jn_test_data): Do not allow spurious
6948 underflow exception. Add more tests.
6949 (yn_test_data): Add more tests.
6950 * sysdeps/i386/fpu/libm-test-ulps: Update.
6951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6953 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
6955 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6957 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6959 * csu/init-first.c: Fix then/than typos.
6960 * locale/programs/ld-collate.c: Likewise.
6961 * locale/programs/linereader.h: Likewise.
6962 * manual/charset.texi: Likewise.
6963 * manual/filesys.texi: Likewise.
6964 * manual/stdio.texi: Likewise.
6965 * manual/string.texi: Likewise.
6966 * stdlib/fmtmsg.c: Likewise.
6967 * sysdeps/i386/stpncpy.S: Likewise.
6968 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6969 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6970 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6971 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6973 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6975 * elf/dl-open.c: Fix typos.
6976 * iconvdata/gbbig5.c: Likewise.
6977 * iconvdata/iso-2022-jp.c: Likewise.
6978 * iconv/gconv_int.h: Likewise.
6979 * iconv/loop.c: Likewise.
6980 * nis/rpcsvc/nis.h: Likewise.
6981 * resolv/ns_name.c: Likewise.
6982 * stdio-common/vfscanf.c: Likewise.
6983 * streams/stropts.h: Likewise.
6984 * sunrpc/rpc_thread.c: Likewise.
6985 * sysdeps/i386/strpbrk.S: Likewise.
6986 * sysdeps/ieee754/k_standard.c: Likewise.
6987 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6988 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6989 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6990 * sysdeps/mach/hurd/profil.c: Likewise.
6991 * sysdeps/s390/dl-procinfo.h: Likewise.
6992 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6993 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6994 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6995 * sysdeps/x86_64/dl-trampoline.S: Likewise.
6996 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6998 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7000 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
7001 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
7003 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
7005 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
7007 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
7008 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
7009 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
7010 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
7011 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
7012 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
7013 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
7014 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
7016 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7017 Roland McGrath <roland@hack.frob.com>
7019 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7020 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7022 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
7024 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7025 __executable_start symbol instead of _start.
7027 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7029 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7030 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7032 * sysdeps/gnu/ldsodefs.h: ... this new file.
7034 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7035 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7036 instead of ELFOSABI_LINUX.
7038 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
7039 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7040 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7041 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7043 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7044 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7045 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7047 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7048 (ibm_extended_long_double): Add ieee_nan member.
7049 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
7050 (do_test): New function.
7052 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7054 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7055 functions, renamed from truncdfsf_test, trunctfsf_test,
7057 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7059 (do_test): Run all these.
7061 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
7063 * argp/argp-help.c: Fix typos.
7064 * argp/argp-parse.c: Likewise.
7065 * debug/backtracesyms.c: Likewise.
7066 * elf/elf.h: Likewise.
7067 * malloc/malloc.c: Likewise.
7068 * nis/nis_print.c: Likewise.
7069 * resolv/res_comp.c: Likewise.
7070 * stdlib/stdlib.h: Likewise.
7071 * sunrpc/clnt_tcp.c: Likewise.
7072 * sunrpc/clnt_udp.c: Likewise.
7073 * sunrpc/clnt_unix.c: Likewise.
7074 * sysdeps/unix/bsd/ptsname.c: Likewise.
7075 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7076 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
7077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
7079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
7081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7083 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7085 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7087 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
7088 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7090 2013-08-27 Mike Frysinger <vapier@gentoo.org>
7093 * dlfcn/Makefile (tests): Add bug-dl-leaf.
7094 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
7095 ($(objpfx)bug-dl-leaf): New rule.
7096 ($(objpfx)bug-dl-leaf.so): Likewise.
7097 ($(objpfx)bug-dl-leaf.out): Likewise.
7098 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
7099 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
7100 * dlfcn/bug-dl-leaf.c: New test.
7101 * dlfcn/bug-dl-leaf-lib.c: Likewise.
7102 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
7103 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
7104 (dlclose): Likewise.
7105 (dlmopen): Likewise.
7107 2013-08-27 Roland McGrath <roland@hack.frob.com>
7109 * include/netdb.h [!_ISOMAC]:
7110 Don't include <tls.h>.
7111 (h_errno, __libc_h_errno): Move declaration and macros out of
7114 * include/resolv.h [_RESOLV_H_]:
7115 Don't include <tls.h>.
7116 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
7117 * resolv/res_libc.c: Don't include <tls.h>.
7118 (_res): Use __attribute__ ((nocommon)) in place of
7119 __attribute__ ((section (".bss"))).
7121 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
7122 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
7124 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
7126 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
7127 only under [SIOCGIFCONF && SIOCGIFNETMASK].
7129 * resolv/res_mkquery.c: Include <sys/time.h>.
7131 * inet/ifreq.c: Moved to ...
7132 * sysdeps/unix/ifreq.c: ... here.
7133 * inet/ifreq.c: New file, true stub version.
7135 * socket/sa_len.c: New file.
7136 * socket/Makefile (aux): Add it.
7137 * sysdeps/unix/sysv/linux/Makefile
7138 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
7139 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
7140 and #include <socket/sa_len.c>.
7141 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
7142 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
7144 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
7145 * bits/socket.h: ... here.
7147 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
7148 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
7149 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
7151 2013-08-27 Andreas Schwab <schwab@suse.de>
7154 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
7155 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
7156 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
7157 * string/test-strcasecmp.c (test_main): Run tests in several
7159 * string/test-strncasecmp.c (test_main): Likewise.
7161 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
7162 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
7163 to __strcasecmp_nonascii and __strncasecmp_nonascii.
7164 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
7165 (__strncasecmp_ssse3) [PIC]: Likewise.
7167 2013-08-26 Roland McGrath <roland@hack.frob.com>
7169 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
7171 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
7172 instead of explicitly declaring xdecrypt.
7173 * nis/nss_nis/nis-publickey.c: Likewise.
7175 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7178 * nscd/aicache.c: Include res_hconf.h.
7179 (addhstaiX): Initialize res_hconf.
7181 2013-08-26 Andreas Schwab <schwab@suse.de>
7183 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
7184 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
7186 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7188 * nscd/aicache.c (addhstaiX): Fix indentation.
7190 2013-08-25 Mike Frysinger <vapier@gentoo.org>
7192 * configure.ac: Quote $build_pt_chown test.
7193 * configure: Regenerated.
7195 2013-08-23 Joseph Myers <joseph@codesourcery.com>
7198 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
7199 * math/s_cexpf.c (__cexpf): Likewise.
7200 * math/s_cexpl.c (__cexpl): Likewise.
7201 * math/libm-test.inc (cexp_test_data): Correct expected return
7202 value for NaN + i0. Add another test.
7204 2013-08-22 David S. Miller <davem@davemloft.net>
7206 * po/ca.po: Update Catalan translation from translation project.
7207 * po/uk.po: Add Ukrainian translations from translation project.
7209 2013-08-21 Joseph Myers <joseph@codesourcery.com>
7212 * math/s_fdim.c (__fdim): Check for infinite arguments if result
7213 is infinite, not alongside NaN test.
7214 * math/s_fdimf.c (__fdimf): Likewise.
7215 * math/s_fdiml.c (__fdiml): Likewise.
7216 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
7219 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
7221 * argp/argp-help.c: Fix typos.
7222 * crypt/speeds.c: Likewise.
7223 * csu/check_fds.c: Likewise.
7224 * elf/dl-load.c: Likewise.
7225 * elf/dl-open.c: Likewise.
7226 * elf/reldep3.c: Likewise.
7227 * elf/reldep.c: Likewise.
7228 * elf/sprof.c: Likewise.
7229 * iconv/iconv_charmap.c: Likewise.
7230 * iconv/skeleton.c: Likewise.
7231 * iconv/strtab.c: Likewise.
7232 * io/lockf64.c: Likewise.
7233 * libio/libioP.h: Likewise.
7234 * resolv/gai_notify.c: Likewise.
7235 * resolv/ns_name.c: Likewise.
7236 * resolv/ns_samedomain.c: Likewise.
7237 * resolv/res_send.c: Likewise.
7238 * stdlib/random.c: Likewise.
7239 * sunrpc/rpc/xdr.h: Likewise.
7240 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
7241 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7242 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7243 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7244 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7245 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7246 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7247 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7248 * sysdeps/mach/hurd/check_fds.c: Likewise.
7249 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7250 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7251 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7252 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7253 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7254 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7255 * sysdeps/pthread/aio_notify.c: Likewise.
7256 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
7257 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
7258 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
7259 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7260 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7262 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7264 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
7265 version if bit_Slow_SSE4_2 is set.
7266 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7267 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7269 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7272 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
7273 trampoline stack frame information.
7274 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
7275 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
7276 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
7277 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
7278 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
7279 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7280 (_libc_vdso_platform_setup): Initialize the signal trampolines.
7281 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
7283 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
7284 interrupting a syscall and set with option SA_SIGINFO.
7286 2013-08-20 Joseph Myers <joseph@codesourcery.com>
7289 * math/s_cproj.c (__cproj): Only return an infinity if one part of
7290 argument is infinite.
7291 * math/s_cprojf.c (__cprojf): Likewise.
7292 * math/s_cprojl.c (__cprojl): Likewise.
7293 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
7294 * math/libm-test.inc (cproj_test_data): Add more tests.
7296 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
7298 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
7299 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
7300 size. Use __ffs to determine corresponding shift.
7302 2013-08-20 Joseph Myers <joseph@codesourcery.com>
7303 Roland McGrath <roland@hack.frob.com>
7305 * Makefile (INSTALL): Remove trailing blank lines from output of
7308 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7310 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
7311 Align 32 bit compat elf_greg to 8 bytes.
7313 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7315 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
7317 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7319 * string/strcoll_l.c (coll_seq): New structure.
7320 (get_next_seq_cached): New function.
7321 (get_next_seq): New function.
7322 (do_compare): New function.
7323 (STRCOLL): Use GNU style definition. Simplify implementation
7324 by using get_next_seq, get_next_seq_cached and do_compare.
7326 2013-08-16 Florian Weimer <fweimer@redhat.com>
7330 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
7332 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
7334 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
7335 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
7336 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
7338 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
7339 GETDENTS_64BIT_ALIGNED.
7340 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7341 * manual/filesys.texi (Reading/Closing Directory): Document
7342 ENAMETOOLONG return value of readdir_r. Recommend readdir more
7344 * manual/conf.texi (Limits for Files): Add portability note to
7346 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
7348 2013-08-13 Andreas Schwab <schwab@suse.de>
7351 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
7353 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
7354 LDBL_MAX_EXP >= 16384]: Add tests for it.
7356 2013-08-12 David S. Miller <davem@davemloft.net>
7358 * version.h (RELEASE): Set to "development".
7359 (VERSION): Set to "2.18.90".
7360 * NEWS: Add 2.19 section.
7362 2013-08-03 David S. Miller <davem@davemloft.net>
7364 * po/ko.po: Update Korean translation from translation project.
7366 2013-08-01 David S. Miller <davem@davemloft.net>
7368 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
7369 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
7372 2013-07-30 David S. Miller <davem@davemloft.net>
7374 * po/fr.po: Update French translation from translation project.
7376 2013-07-28 David S. Miller <davem@davemloft.net>
7378 * po/cs.po: Update Czech translation from translation project.
7380 * po/sv.po: Update Swedish translation from translation project.
7382 2013-07-27 David S. Miller <davem@davemloft.net>
7384 * po/eo.po: Update Esperanto translation from translation project.
7386 * po/vi.po: Update Vietnamese translation from translation project.
7388 * po/de.po: Update German translation from translation project.
7390 2013-07-26 David S. Miller <davem@davemloft.net>
7392 * po/bg.po: Update Bulgarian translation from translation project.
7394 * po/nl.po: Update Dutch translation from translation project.
7395 * po/pl.po: Update Polish translation from translation project.
7396 * po/ru.po: Update Russian translation from translation project.
7398 2013-07-24 David S. Miller <davem@davemloft.net>
7400 * po/libc.pot: Update.
7402 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7404 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
7406 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
7407 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
7408 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
7410 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7412 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
7414 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7415 Andreas Schwab <schwab@suse.de>
7416 Roland McGrath <roland@hack.frob.com>
7417 Joseph Myers <joseph@codesourcery.com>
7418 Carlos O'Donell <carlos@redhat.com>
7421 * config.h.in: Define HAVE_PT_CHOWN.
7422 * config.make.in (build-pt-chown): New variable.
7423 * configure.in (--enable-pt_chown): New configure option.
7424 * configure: Regenerate.
7425 * login/Makefile: Include Makeconfig. Build pt_chown only if
7426 build-pt-chown is enabled.
7427 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
7428 pt_chown to fix pty ownership.
7429 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
7431 * manual/install.texi (Configuring and compiling): Mention
7432 --enable-pt_chown. Add @findex for grantpt.
7433 * INSTALL: Regenerate.
7435 2013-07-20 David S. Miller <davem@davemloft.net>
7437 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
7438 difference between 32-bit and 64-bit.
7440 2013-07-15 Carlos O'Donell <carlos@redhat.com>
7443 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
7444 Avoid system header dependency with -ffreestanding.
7445 ($(objpfx)bits/syscall%d): Likewise.
7447 2013-07-13 David S. Miller <davem@davemloft.net>
7449 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
7450 underflows from atanl/atan2l due to bug 15319.
7451 (casinh_test_data): Likewise.
7453 2013-07-07 David S. Miller <davem@davemloft.net>
7455 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7457 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
7459 * sysdeps/i386/fpu/libm-test-ulps: Update.
7460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7462 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7464 * configure.in (--enable-lock-elision): Fix message text.
7465 * INSTALL: Regenerate.
7466 * configure: Regenerate.
7468 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7472 2013-07-03 Andreas Jaeger <aj@suse.de>
7474 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
7476 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
7477 (ptrace_peeksiginfo_args): Add.
7478 (__ptrace_peeksiginfo_flags): Add.
7479 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7480 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7481 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7483 2013-07-03 Allan McRae <allan@archlinux.org>
7485 * sysdeps/i386/fpu/libm-test-ulps: Update.
7487 2013-07-02 David S. Miller <davem@davemloft.net>
7489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7491 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
7493 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7495 2013-07-02 Joseph Myers <joseph@codesourcery.com>
7497 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7500 2013-07-02 Andi Kleen <ak@linux.intel.com>
7502 * config.h.in (ENABLE_LOCK_ELISION): Add.
7503 * configure.in (--enable-lock-elision): Add option.
7504 * manual/install.texi: Document --enable lock elision.
7505 * configure: Regenerate
7506 * INSTALL: Regenerate.
7508 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
7510 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
7511 SSE4.2 strcasecmp for libc.a.
7512 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7514 2013-07-02 Joseph Myers <joseph@codesourcery.com>
7517 * soft-fp/op-common.h (_FP_FMA): New macro.
7518 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
7519 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
7520 (_FP_MUL_MEAT_1_imm): ... here.
7521 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
7522 (_FP_MUL_MEAT_1_wide): ... here.
7523 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
7524 (_FP_MUL_MEAT_1_hard): ... here.
7525 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
7526 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
7527 (_FP_MUL_MEAT_2_wide): ... here.
7528 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
7529 (_FP_MUL_MEAT_2_wide_3mul): ... here.
7530 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
7531 (_FP_MUL_MEAT_2_gmp): ... here.
7532 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
7533 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
7534 (_FP_MUL_MEAT_4_wide): ... here.
7535 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
7536 (_FP_MUL_MEAT_4_gmp): ... here.
7537 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
7538 (_FP_WFRACBITS_DW_S): Likewise.
7539 (_FP_WFRACXBITS_DW_S): Likewise.
7540 (_FP_HIGHBIT_DW_S): Likewise.
7541 (FP_FMA_S): Likewise.
7542 (_FP_FRAC_HIGH_DW_S): Likewise.
7543 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
7544 (_FP_WFRACBITS_DW_D): Likewise.
7545 (_FP_WFRACXBITS_DW_D): Likewise.
7546 (_FP_HIGHBIT_DW_D): Likewise.
7547 (FP_FMA_D): Likewise.
7548 (_FP_FRAC_HIGH_DW_D): Likewise.
7549 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
7550 (_FP_WFRACBITS_DW_E): Likewise.
7551 (_FP_WFRACXBITS_DW_E): Likewise.
7552 (_FP_HIGHBIT_DW_E): Likewise.
7553 (FP_FMA_E): Likewise.
7554 (_FP_FRAC_HIGH_DW_E): Likewise.
7555 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
7556 (_FP_WFRACBITS_DW_Q): Likewise.
7557 (_FP_WFRACXBITS_DW_Q): Likewise.
7558 (_FP_HIGHBIT_DW_Q): Likewise.
7559 (FP_FMA_Q): Likewise.
7560 (_FP_FRAC_HIGH_DW_Q): Likewise.
7561 * soft-fp/fmasf4.c: New file.
7562 * soft-fp/fmadf4.c: Likewise.
7563 * soft-fp/fmatf4.c: Likewise.
7565 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7567 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
7568 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
7570 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
7572 (index_Slow_SSE4_2): Likewise.
7573 (index_Prefer_PMINUB_for_stringop): Likewise.
7574 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
7575 bit_Slow_SSE4_2 is set.
7576 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7577 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7579 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7581 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
7582 rtld_global._dl_hwcap2.
7583 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
7585 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
7586 POWER8 feature descriptions defined in _dl_hwcap2.
7587 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
7588 string handling for POWER8 feature bits.
7589 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
7590 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
7591 _dl_powerpc_cap_flags.
7592 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
7593 * sysdeps/powerpc/rtld-global-offsets.sym
7594 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
7595 _dl_hwcap2 in the rtld_global_ro structure.
7597 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7599 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
7600 hardware capabilities in support of AT_HWCAP2.
7601 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
7602 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
7604 (_dl_show_auxv): Add support for calling _dl_procinfo to display
7605 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
7606 explicitly the unknown a_type display mechanism is used.
7607 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
7608 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
7610 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
7611 to macro prototype for AT_HWCAP2 support.
7612 * sysdeps/i386/dl-procinfo.h: Likewise.
7613 * sysdeps/s390/dl-procinfo.h: Likewise.
7614 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
7615 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
7616 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
7617 return -1 for unknown a_type display fallback.
7618 * sysdeps/sparc/dl-procinfo.h: Likewise.
7619 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
7620 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
7622 2013-06-28 Joseph Myers <joseph@codesourcery.com>
7624 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
7625 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
7627 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
7630 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
7631 mprotect making __stack_prot writable.
7633 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
7634 Joseph Myers <joseph@codesourcery.com>
7636 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
7637 as being properly aligned.
7639 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
7641 * dlfcn/modstatic5.c: New file.
7642 * dlfcn/tststatic5.c: New file.
7643 * dlfcn/Makefile (tests): Add tststatic5.
7644 (tests-static): Likewise.
7645 (modules-names): Add modstatic5.
7646 (tststatic5-ENV): New variable.
7647 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
7650 * elf/dl-support.c (_dl_main_map): New variable.
7651 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
7652 (_dl_nns, _dl_load_adds): Set to 1.
7653 (_dl_initial_searchlist): Refer to _dl_main_map.
7654 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
7655 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
7656 call to _dl_get_origin.
7657 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
7659 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
7660 * dlfcn/modstatic3.c: New file.
7661 * dlfcn/tststatic3.c: New file.
7662 * dlfcn/tststatic4.c: New file.
7663 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
7664 (tests-static): Likewise.
7665 (modules-names): Add modstatic3.
7666 (tststatic3-ENV, tststatic4-ENV): New variables.
7667 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
7668 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
7670 2013-06-26 Joseph Myers <joseph@codesourcery.com>
7672 * configure.in (CC): Require GCC version 4.4 or later.
7673 * configure: Regenerated.
7674 * manual/install.texi (Tools for Compilation): Update GCC version
7676 * INSTALL: Regenerated.
7678 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7681 * string/test-memcmp.c (check2): New.
7682 (main): Call check2.
7684 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
7686 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
7689 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
7691 (dl_open_worker) [!SHARED]: ... here.
7693 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7695 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
7697 2013-06-25 Richard Henderson <rth@redhat.com>
7699 * locale/programs/locarchive.c: Include <libc-internal.h>
7701 2013-06-25 Joseph Myers <joseph@codesourcery.com>
7703 * manual/texinfo.tex: Update to version 2013-06-21.17, with
7704 trailing whitespace removed.
7706 2013-06-24 Mike Frysinger <vapier@gentoo.org>
7709 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
7710 * locale/programs/locarchive.c: Include libc-mmap.h.
7711 (prepare_address_space): Take two new outputs (the mmap base and len).
7712 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
7714 (create_archive): Declare new mmap base and len values for
7715 prepare_address_space, and store the result in ah.
7716 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
7717 (enlarge_archive): If ah->mmap_base is not NULL, use that and
7718 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7719 Declare new mmap base and len values for
7720 prepare_address_space, and store the result in new_ah.
7721 (open_archive): Declare new mmap base and len values for
7722 prepare_address_space, and store the result in ah.
7723 (close_archive): If ah->mmap_base is not NULL, use that and
7724 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7725 * sysdeps/generic/libc-mmap.h: New file.
7727 2013-06-24 Mike Frysinger <vapier@gentoo.org>
7729 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7730 (ALIGN_UP): Likewise.
7731 (PTR_ALIGN_DOWN): Likewise.
7732 (PTR_ALIGN_UP): Likewise.
7734 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7736 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7737 entry mapped to PPC_PLATFORM_POWER8.
7738 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7740 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7741 (_dl_string_platform): Add case for exporting platform position for
7743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7744 search path to sysdeps/powerpc/powerpc32/power8 directory.
7745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7746 search path to sysdeps/powerpc/powerpc64/power8 directory.
7747 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7749 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7752 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7754 * INSTALL: Regenerate.
7756 * nscd/connections.c (nscd_init): Fix comment.
7758 2013-06-22 Joseph Myers <joseph@codesourcery.com>
7760 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7763 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7764 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7766 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7768 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7770 (DL_DST_REQ_STATIC): Remove macro.
7772 2013-06-21 Joseph Myers <joseph@codesourcery.com>
7775 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7776 with a shift of 0 bits.
7778 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7780 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7783 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7786 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7788 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7790 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7791 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7792 accepts -fno-tree-loop-distribute-patterns.
7793 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7794 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7796 * string/memset.c (memset): Likewise.
7797 * string/test-memmove.c (simple_memmove): Disable loop transformation
7799 * string/test-memset.c (simple_memset): Likewise.
7800 * benchtests/bench-memmove.c (simple_memmove): Likewise.
7801 * benchtests/bench-memset.c (simple_memset): Likewise.
7802 * configure: Regenerated.
7804 2013-06-20 Joseph Myers <joseph@codesourcery.com>
7806 * math/test-misc.c (main): Ignore fesetround failure when failures
7807 of subsequent rounding tests would be ignored.
7810 * math/fedisblxcpt.c (fedisableexcept): Return 0.
7811 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7812 * math/fegetenv.c (__fegetenv): Return 0.
7813 * math/fegetexcept.c (fegetexcept): Return 0.
7814 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7816 * math/feholdexcpt.c (feholdexcept): Return 0.
7817 * math/fesetenv.c (__fesetenv): Return 0.
7818 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7819 argument FE_TONEAREST.
7820 * math/feupdateenv.c (__feupdateenv): Return 0.
7821 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7823 2013-06-18 Roland McGrath <roland@hack.frob.com>
7825 * elf/rtld-Rules (rtld-compile-command.S): New variable.
7826 (rtld-compile-command.s, rtld-compile-command.c): New variables.
7827 ($(objpfx)rtld-%.os rules): Use them.
7829 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7831 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7834 2013-06-17 Roland McGrath <roland@hack.frob.com>
7836 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7837 length of target pattern, then descending length of dependency pattern.
7838 * configure.in (AWK): Require gawk 3.1.2 or newer.
7839 * manual/install.texi (Tools for Compilation): Say that we do.
7840 * configure: Regenerated.
7842 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7843 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7844 * scripts/sysd-rules.awk: ... this new script.
7845 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7846 than a glob-style pattern.
7848 2013-06-17 Joseph Myers <joseph@codesourcery.com>
7850 * math/test-misc.c (main): Do not treat incorrectly rounded
7851 conversions as failure unless ROUNDING_TESTS passes.
7853 2013-06-15 Joseph Myers <joseph@codesourcery.com>
7856 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7857 restore exception state around main square root computation, then
7858 check for inexactness explicitly.
7860 * math/libm-test.inc (fma_test_data): Add another test.
7862 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7864 * manual/threads.texi (Non-POSIX Extensions): New document
7865 node. Document pthread_getattr_default_np and
7866 pthread_setattr_default_np.
7868 * Versions.def (libpthread): Add GLIBC_2.18.
7869 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7878 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7880 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7882 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7884 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7886 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7889 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7891 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7892 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7894 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7895 H.J. Lu <hjl.tools@gmail.com>
7898 * sysdeps/x86_64/rtld-memset.c: Remove file.
7899 * sysdeps/x86_64/rtld-memset.S: New file.
7901 2013-06-14 Joseph Myers <joseph@codesourcery.com>
7903 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7904 (test_in_one_mode): Take arguments for whether the rounding mode
7905 is supported for each floating-point type.
7906 (do_test): Pass new arguments to test_in_one_mode using
7909 2013-06-13 Roland McGrath <roland@hack.frob.com>
7911 * posix/tst-waitid.c (do_test): Distinguish different instances of
7912 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
7913 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7914 before entering the kernel for waitpid.
7916 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7918 * NEWS: Fix note on clock function precision. Text by Roland
7921 2013-06-13 Roland McGrath <roland@hack.frob.com>
7923 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7924 it into place only when and if the sanity check passes.
7926 2013-06-13 Joseph Myers <joseph@codesourcery.com>
7928 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7929 output for whether conversion result is exact. Take argument
7930 indicating whether type is IBM long double.
7931 (round_for_all): Change need_exact field to ibm_ld.
7932 * stdlib/tst-strtod-round.c (struct exactness): New type.
7933 (struct test): Change bool ld_ok field to struct exactness exact.
7934 (TEST): Update all definitions for change to field.
7935 (tests): Regenerate array contents.
7936 (test_in_one_mode): Take pointer to new field instead of old ld_ok
7937 field value. Check for IBM long double here.
7938 (do_test): Update calls to test_in_one_mode.
7940 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7943 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7944 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7946 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7949 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7950 generated by the compiler on loop optimizations.
7951 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7952 general definitions.
7954 2013-06-12 Joseph Myers <joseph@codesourcery.com>
7956 * math/bug-nextafter.c: Include <math-tests.h>.
7957 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7959 * math/bug-nexttoward.c: Include <math-tests.h>.
7960 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7962 * math/test-misc.c: Include <math-tests.h>.
7963 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7966 2013-06-12 Andreas Jaeger <aj@suse.de>
7968 * po/ia.po: Update Interlingua translation from translation
7971 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7973 * include/fenv.h: Include stdbool.h.
7974 (struct rm_ctx): New structure.
7975 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7977 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7978 (SET_RESTORE_ROUNDF): Likewise.
7979 (SET_RESTORE_ROUNDL): Likewise.
7980 (SET_RESTORE_ROUND_NOEX): Likewise.
7981 (SET_RESTORE_ROUND_NOEXF): Likewise.
7982 (SET_RESTORE_ROUND_NOEXL): Likewise.
7983 (SET_RESTORE_ROUND_53BIT): Likewise.
7984 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7985 (libc_feresetround_noexf_ctx): Likewise.
7986 (libc_feresetround_noexl_ctx): Likewise.
7987 (libc_feholdsetround_53bit_ctx): Likewise.
7988 (libc_feresetround_53bit_ctx): Likewise.
7989 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7990 (libc_feholdexcept_setround_sse_ctx): New function.
7991 (libc_fesetenv_sse_ctx): Likewise.
7992 (libc_feupdateenv_sse_ctx): Likewise.
7993 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7994 (libc_feholdexcept_setround_387_ctx): Likewise.
7995 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7996 (libc_feholdsetround_387_prec_ctx): Likewise.
7997 (libc_feholdsetround_387_ctx): Likewise.
7998 (libc_feholdsetround_387_53bit_ctx): Likewise.
7999 (libc_feholdsetround_sse_ctx): Likewise.
8000 (libc_feresetround_sse_ctx): Likewise.
8001 (libc_feresetround_387_ctx): Likewise.
8002 (libc_feupdateenv_387_ctx): Likewise.
8003 (libc_feholdexcept_setroundf_ctx): Define macro.
8004 (libc_fesetenvf_ctx): Likewise.
8005 (libc_feupdateenvf_ctx): Likewise.
8006 (libc_feholdsetroundf_ctx): Likewise.
8007 (libc_feresetroundf_ctx): Likewise.
8008 (libc_feholdexcept_setround_ctx): Likewise.
8009 (libc_fesetenv_ctx): Likewise.
8010 (libc_feupdateenv_ctx): Likewise.
8011 (libc_feholdsetround_ctx): Likewise.
8012 (libc_feresetround_ctx): Likewise.
8013 (libc_feholdexcept_setroundl_ctx): Likewise.
8014 (libc_feupdateenvl_ctx): Likewise.
8015 (libc_feholdsetroundl_ctx): Likewise.
8016 (libc_feresetroundl_ctx): Likewise.
8017 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
8018 (libc_feresetround_53bit_ctx): Likewise.
8020 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8022 * locale/iso-639.def: Convert to UTF-8.
8024 2013-06-11 Joseph Myers <joseph@codesourcery.com>
8026 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8027 (EXCEPTION_TESTS_double): Likewise.
8028 (EXCEPTION_TESTS_long_double): Likewise.
8029 (EXCEPTION_TESTS): Likewise.
8030 * math/libm-test.inc (test_exceptions): Only test exceptions if
8031 EXCEPTION_TESTS (FLOAT).
8033 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8035 * benchtests/Makefile (string-bench): Add strcpy_chk and
8037 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8038 * benchtests/bench-stpcpy_chk.c: New file.
8039 * benchtests/bench-strcpy_chk-ifunc.c: New file.
8040 * benchtests/bench-strcpy_chk.c: New file.
8041 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8043 (do_test): Likewise.
8045 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8047 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
8048 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
8049 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
8050 with tabs where appropriate.
8051 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
8053 [PPC_PLATFORM_PPC440]: Likewise.
8054 [PPC_PLATFORM_PPC464]: Likewise.
8055 [PPC_PLATFORM_PPC476]: Likewise.
8056 (_dl_string_platform): Add support for detecting ppc405, ppc440,
8057 ppc464, and ppc476 platform strings merging from ports/
8060 2013-06-11 Andreas Schwab <schwab@suse.de>
8063 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
8064 (from_ucs4_idx): Regenerate.
8065 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
8066 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
8067 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
8068 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
8069 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
8070 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
8071 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
8072 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
8073 from FROM_LOOP and TO_LOOP specific macros.
8074 (BODY): Handle combining characters.
8075 * iconvdata/BIG5HKSCS.irreversible: Update.
8076 * iconvdata/BIG5HKSCS.precomposed: New file.
8077 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
8079 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
8081 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8083 * include/sys/time.h: Fix indentation and add copyright header.
8085 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
8086 (do_test): Likewise.
8087 * string/test-memchr.c (do_one_test): Likewise.
8088 (do_test): Likewise.
8089 * string/test-memcmp.c (do_one_test): Likewise.
8090 (do_test): Likewise.
8091 * string/test-memcpy.c (do_one_test): Likewise.
8092 (do_test): Likewise.
8093 * string/test-memmem.c (do_one_test): Likewise.
8094 (do_test): Likewise.
8095 (do_random_tests): Likewise.
8096 * string/test-memmove.c (do_one_test): Likewise.
8097 (do_test): Likewise.
8098 * string/test-memset.c (do_one_test): Likewise.
8099 (do_test): Likewise.
8100 * string/test-rawmemchr.c (do_one_test): Likewise.
8101 (do_test): Likewise.
8102 * string/test-strcasecmp.c (do_one_test): Likewise.
8103 (do_test): Likewise.
8104 * string/test-strcasestr.c (do_one_test): Likewise.
8105 (do_test): Likewise.
8106 * string/test-strcat.c (do_one_test): Likewise.
8107 (do_test): Likewise.
8108 * string/test-strchr.c (do_one_test): Likewise.
8109 (do_test): Likewise.
8110 * string/test-strcmp.c (do_one_test): Likewise.
8111 (do_test): Likewise.
8112 * string/test-strcpy.c (do_one_test): Likewise.
8113 (do_test): Likewise.
8114 * string/test-string.h: Likewise.
8115 (test_init): Likewise.
8116 * string/test-strlen.c (do_one_test): Likewise.
8117 (do_test): Likewise.
8118 * string/test-strncasecmp.c (do_one_test): Likewise.
8119 (do_test): Likewise.
8120 * string/test-strncat.c (do_one_test): Likewise.
8121 (do_test): Likewise.
8122 * string/test-strncmp.c (do_one_test): Likewise.
8123 (do_test_limit): Likewise.
8124 (do_test): Likewise.
8125 * string/test-strncpy.c (do_one_test): Likewise.
8126 (do_test): Likewise.
8127 * string/test-strnlen.c (do_one_test): Likewise.
8128 (do_test): Likewise.
8129 * string/test-strpbrk.c (do_one_test): Likewise.
8130 (do_test): Likewise.
8131 * string/test-strrchr.c (do_one_test): Likewise.
8132 (do_test): Likewise.
8133 * string/test-strspn.c (do_one_test): Likewise.
8134 (do_test): Likewise.
8135 * string/test-strstr.c (do_one_test): Likewise.
8136 (do_test): Likewise.
8138 * benchtests/Makefile (string-bench): Add string benchmarks.
8139 * benchtests/bench-bcopy-ifunc.c: New file.
8140 * benchtests/bench-bcopy.c: New file.
8141 * benchtests/bench-bzero-ifunc.c: New file.
8142 * benchtests/bench-bzero.c: New file.
8143 * benchtests/bench-memccpy-ifunc.c: New file.
8144 * benchtests/bench-memccpy.c: New file.
8145 * benchtests/bench-memchr-ifunc.c: New file.
8146 * benchtests/bench-memchr.c: New file.
8147 * benchtests/bench-memcmp-ifunc.c: New file.
8148 * benchtests/bench-memcmp.c: New file.
8149 * benchtests/bench-memmem-ifunc.c: New file.
8150 * benchtests/bench-memmem.c: New file.
8151 * benchtests/bench-memmove-ifunc.c: New file.
8152 * benchtests/bench-memmove.c: New file.
8153 * benchtests/bench-mempcpy-ifunc.c: New file.
8154 * benchtests/bench-mempcpy.c: New file.
8155 * benchtests/bench-memset-ifunc.c: New file.
8156 * benchtests/bench-memset.c: New file.
8157 * benchtests/bench-rawmemchr-ifunc.c: New file.
8158 * benchtests/bench-rawmemchr.c: New file.
8159 * benchtests/bench-stpcpy-ifunc.c: New file.
8160 * benchtests/bench-stpcpy.c: New file.
8161 * benchtests/bench-stpncpy-ifunc.c: New file.
8162 * benchtests/bench-stpncpy.c: New file.
8163 * benchtests/bench-strcasecmp-ifunc.c: New file.
8164 * benchtests/bench-strcasecmp.c: New file.
8165 * benchtests/bench-strcasestr-ifunc.c: New file.
8166 * benchtests/bench-strcasestr.c: New file.
8167 * benchtests/bench-strcat-ifunc.c: New file.
8168 * benchtests/bench-strcat.c: New file.
8169 * benchtests/bench-strchr-ifunc.c: New file.
8170 * benchtests/bench-strchr.c: New file.
8171 * benchtests/bench-strchrnul-ifunc.c: New file.
8172 * benchtests/bench-strchrnul.c: New file.
8173 * benchtests/bench-strcmp-ifunc.c: New file.
8174 * benchtests/bench-strcmp.c: New file.
8175 * benchtests/bench-strcpy-ifunc.c: New file.
8176 * benchtests/bench-strcpy.c: New file.
8177 * benchtests/bench-strcspn-ifunc.c: New file.
8178 * benchtests/bench-strcspn.c: New file.
8179 * benchtests/bench-strlen-ifunc.c: New file.
8180 * benchtests/bench-strlen.c: New file.
8181 * benchtests/bench-strncasecmp-ifunc.c: New file.
8182 * benchtests/bench-strncasecmp.c: New file.
8183 * benchtests/bench-strncat-ifunc.c: New file.
8184 * benchtests/bench-strncat.c: New file.
8185 * benchtests/bench-strncmp-ifunc.c: New file.
8186 * benchtests/bench-strncmp.c: New file.
8187 * benchtests/bench-strncpy-ifunc.c: New file.
8188 * benchtests/bench-strncpy.c: New file.
8189 * benchtests/bench-strnlen-ifunc.c: New file.
8190 * benchtests/bench-strnlen.c: New file.
8191 * benchtests/bench-strpbrk-ifunc.c: New file.
8192 * benchtests/bench-strpbrk.c: New file.
8193 * benchtests/bench-strrchr-ifunc.c: New file.
8194 * benchtests/bench-strrchr.c: New file.
8195 * benchtests/bench-strspn-ifunc.c: New file.
8196 * benchtests/bench-strspn.c: New file.
8197 * benchtests/bench-strstr-ifunc.c: New file.
8198 * benchtests/bench-strstr.c: New file.
8200 * benchtests/Makefile: Disable parallel execution of targets.
8201 (string-bench): Add memcpy.
8202 (benchset): New variable to store a list of benchmark sets.
8203 (bench-func): Renamed from bench.
8204 (bench-set): New target.
8205 (bench): Depend on bench-func and bench-set.
8206 * benchtests/README: Add section on benchmark sets.
8207 * benchtests/bench-memcpy-ifunc.c: New file.
8208 * benchtests/bench-memcpy.c: New file.
8209 * benchtests/bench-string.h: New file.
8211 2013-06-11 Andreas Schwab <schwab@suse.de>
8214 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
8215 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
8216 values in the triple.
8217 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
8218 terminator in the group key.
8220 2013-06-11 Andreas Jaeger <aj@suse.de>
8222 * po/zh_TW.po: Update Chinese (traditional) translation from
8223 translation project.
8225 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8227 * include/time.h (__clock_gettime): Add libc_hidden_proto.
8228 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
8229 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
8230 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8231 (clock_getcpuclockid): Likewise.
8232 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
8233 Add weak_alias and libc_hidden_def.
8234 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8235 * rt/clock_gettime.c (clock_gettime): Rename to
8236 __clock_gettime. Add weak_alias and libc_hidden_def.
8237 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
8238 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
8239 __clock_nanosleep. Add weak_alias and libc_hidden_def.
8240 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
8241 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
8243 * rt/clock_settime.c (clock_settime): Rename to
8244 __clock_settime. Add weak_alias and libc_hidden_def.
8245 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
8247 2013-06-10 Joseph Myers <joseph@codesourcery.com>
8249 * mach/err_boot.sub: Remove trailing whitespace.
8250 * mach/err_ipc.sub: Likewise.
8251 * mach/err_mach.sub: Likewise.
8253 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
8254 (ROUNDING_TESTS_double): Likewise.
8255 (ROUNDING_TESTS_long_double): Likewise.
8256 (ROUNDING_TESTS): Likewise.
8257 * math/libm-test.inc: Include <math-tests.h>.
8258 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
8259 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8260 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8261 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8263 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8265 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
8268 2013-06-08 Joseph Myers <joseph@codesourcery.com>
8270 * sysdeps/gnu/errlist.awk: Do not generate space at end of
8271 otherwise empty TRANS lines.
8272 * sysdeps/gnu/errlist.c: Regenerated.
8274 * catgets/gencat.c (error_print): Use (void) in function
8276 * crypt/crypt_util.c (__init_des): Likewise.
8277 * crypt/speeds.c (Stop): Likewise.
8279 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
8280 * inet/ruserpass.c (token): Likewise.
8281 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
8282 * intl/localealias.c (extend_alias_table): Likewise.
8283 * intl/plural-exp.c (init_germanic_plural): Likewise.
8284 * libio/fcloseall.c (__fcloseall): Likewise.
8285 * libio/genops.c (_IO_flush_all): Likewise.
8286 (_IO_flush_all_linebuffered): Likewise.
8287 (_IO_cleanup): Likewise.
8288 (_IO_iter_begin): Likewise.
8289 (_IO_iter_end): Likewise.
8290 (_IO_list_lock): Likewise.
8291 (_IO_list_unlock): Likewise.
8292 (_IO_list_resetlock): Likewise.
8293 * libio/getchar.c (getchar): Likewise.
8294 * libio/getchar_u.c (getchar_unlocked): Likewise.
8295 * libio/getwchar.c (getwchar): Likewise.
8296 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
8297 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
8298 * login/getpt.c (__getpt): Likewise.
8299 * login/tst-utmp.c (main): Likewise.
8300 * malloc/hooks.c (__malloc_check_init): Likewise.
8301 * malloc/malloc.c (__malloc_stats): Likewise.
8302 * malloc/mtrace.c (tr_break): Likewise.
8304 (muntrace): Likewise.
8305 * misc/fstab.c (endfsent): Likewise.
8306 * misc/getclktck.c (__getclktck): Likewise.
8307 * misc/getdtsz.c (__getdtablesize): Likewise.
8308 * misc/gethostid.c (gethostid): Likewise.
8309 * misc/getpagesize.c (__getpagesize): Likewise.
8310 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
8311 (__get_nprocs): Likewise.
8312 (__get_phys_pages): Likewise.
8313 (__get_avphys_pages): Likewise.
8314 * misc/getttyent.c (getttyent): Likewise.
8315 (setttyent): Likewise.
8316 (endttyent): Likewise.
8317 * misc/getusershell.c (getusershell): Likewise.
8318 (endusershell): Likewise.
8319 (setusershell): Likewise.
8320 (initshells): Likewise.
8321 * misc/hsearch.c (__hdestroy): Likewise.
8322 * misc/sync.c (sync): Likewise.
8323 * misc/syslog.c (closelog_internal): Likewise.
8324 (closelog): Likewise.
8325 * misc/ttyslot.c (ttyslot): Likewise.
8326 * misc/vhangup.c (vhangup): Likewise.
8327 * posix/fork.c (__fork): Likewise.
8328 * posix/getegid.c (__getegid): Likewise.
8329 * posix/geteuid.c (__geteuid): Likewise.
8330 * posix/getgid.c (__getgid): Likewise.
8331 * posix/getpid.c (__getpid): Likewise.
8332 * posix/getppid.c (__getppid): Likewise.
8333 * posix/getuid.c (__getuid): Likewise.
8334 * posix/pause.c (pause): Likewise.
8335 * posix/setpgrp.c (setpgrp): Likewise.
8336 * posix/setsid.c (__setsid): Likewise.
8337 * posix/test-vfork.c (noop): Likewise.
8338 * resolv/gethnamaddr.c (_endhtent): Likewise.
8339 (_gethtent): Likewise.
8340 (ht_endhostent): Likewise.
8341 (gethostent): Likewise.
8342 (dns_service): Likewise.
8343 * stdlib/drand48.c (drand48): Likewise.
8344 * stdlib/lrand48.c (lrand48): Likewise.
8345 * stdlib/mrand48.c (mrand48): Likewise.
8346 * stdlib/rand.c (rand): Likewise.
8347 * stdlib/random.c (__random): Likewise.
8348 * stdlib/setenv.c (clearenv): Likewise.
8349 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
8350 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
8351 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
8352 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
8353 (__get_nprocs): Likewise.
8354 (__get_phys_pages): Likewise.
8355 (__get_avphys_pages): Likewise.
8356 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
8357 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
8358 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
8359 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
8360 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
8361 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
8362 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
8363 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
8364 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
8365 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
8366 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
8367 * sysdeps/mach/hurd/sync.c (sync): Likewise.
8368 * sysdeps/posix/clock.c (clock): Likewise.
8369 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
8370 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
8371 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
8372 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
8373 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
8374 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8375 (__get_nprocs_conf): Likewise.
8376 (__get_phys_pages): Likewise.
8377 (__get_avphys_pages): Likewise.
8378 * time/clock.c (clock): Likewise.
8379 * time/tzset.c (__tzname_max): Likewise.
8381 2013-06-07 Joseph Myers <joseph@codesourcery.com>
8383 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
8384 (__bswap_32): Do not use "register".
8385 * crypt/crypt.c (_ufc_doit_r): Likewise.
8386 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8387 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8388 * gmon/gmon.c (__monstartup): Likewise.
8389 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
8390 * hurd/hurdmalloc.c (more_memory): Likewise.
8393 (realloc): Likewise.
8394 (malloc_fork_prepare): Likewise.
8395 (malloc_fork_parent): Likewise.
8396 (malloc_fork_child): Likewise.
8397 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
8398 (_svcauth_des): Likewise.
8399 * inet/inet_lnaof.c (inet_lnaof): Likewise.
8400 * inet/inet_net.c (inet_network): Likewise.
8401 * inet/inet_netof.c (inet_netof): Likewise.
8402 * inet/rcmd.c (__validuser2_sa): Likewise.
8403 * io/fts.c (fts_open): Likewise.
8404 (fts_load): Likewise.
8405 (fts_close): Likewise.
8406 (fts_read): Likewise.
8407 (fts_children): Likewise.
8408 (fts_build): Likewise.
8409 (fts_stat): Likewise.
8410 (fts_sort): Likewise.
8411 (fts_alloc): Likewise.
8412 (fts_lfree): Likewise.
8413 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
8414 (_IO_file_xsgetn): Likewise.
8415 (_IO_file_xsgetn_mmap): Likewise.
8416 * libio/iofopncook.c (_IO_cookie_read): Likewise.
8417 (_IO_cookie_write): Likewise.
8418 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
8419 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
8420 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
8421 * malloc/obstack.c (_obstack_begin): Likewise.
8422 (_obstack_begin_1): Likewise.
8423 (_obstack_newchunk): Likewise.
8424 (_obstack_allocated_p): Likewise.
8425 (obstack_free): Likewise.
8426 (_obstack_memory_used): Likewise.
8427 * misc/getttyent.c (getttynam): Likewise.
8428 (getttyent): Likewise.
8431 * misc/getusershell.c (initshells): Likewise.
8432 * misc/syslog.c (__vsyslog_chk): Likewise.
8433 * misc/ttyslot.c (ttyslot): Likewise.
8434 * nis/nis_hash.c (__nis_hash): Likewise.
8435 * posix/fnmatch_loop.c (FCT): Likewise.
8436 * posix/getconf.c (print_all): Likewise.
8438 * posix/getopt.c (exchange): Likewise.
8439 * posix/glob.c (globfree): Likewise.
8440 (prefix_array): Likewise.
8441 (__glob_pattern_type): Likewise.
8442 * resolv/arpa/nameser.h (NS_GET16): Likewise.
8443 (NS_GET32): Likewise.
8444 (NS_PUT16): Likewise.
8445 (NS_PUT32): Likewise.
8446 * resolv/gethnamaddr.c (getanswer): Likewise.
8447 (gethostbyname2): Likewise.
8448 (gethostbyaddr): Likewise.
8449 (_gethtent): Likewise.
8450 (_gethtbyname2): Likewise.
8451 (_gethtbyaddr): Likewise.
8452 * resolv/ns_print.c (dst_s_get_int16): Likewise.
8453 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8454 * resolv/res_init.c (__res_vinit): Likewise.
8455 (net_mask): Likewise.
8456 * resolv/res_mkquery.c (outchar): Likewise.
8458 * stdio-common/printf_fp.c (outchar): Likewise.
8460 * stdio-common/printf_fphex.c (outchar): Likewise.
8462 * stdio-common/printf_size.c (outchar): Likewise.
8464 * stdio-common/test_rdwr.c (main): Likewise.
8465 * stdio-common/tfformat.c (matches): Likewise.
8466 * stdio-common/vfprintf.c (outchar): Likewise.
8467 (printf_unknown): Likewise.
8468 (buffered_vfprintf): Likewise.
8469 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8470 * stdio-common/xbug.c (AppendToBuffer): Likewise.
8471 (ReadFile): Likewise.
8472 * stdlib/qsort.c (SWAP): Likewise.
8473 (_quicksort): Likewise.
8474 * stdlib/setenv.c (__add_to_environ): Likewise.
8475 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8476 * stdlib/strtol_l.c (__strtol_l): Likewise.
8477 * stdlib/tst-strtod.c (main): Likewise.
8478 * stdlib/tst-strtol.c (main): Likewise.
8479 * stdlib/tst-strtoll.c (main): Likewise.
8480 * string/bits/string2.h (__strcmp_cc): Likewise.
8481 (__strcmp_cg): Likewise.
8482 (__strcspn_c1): Likewise.
8483 (__strcspn_c2): Likewise.
8484 (__strcspn_c3): Likewise.
8485 (__strspn_c1): Likewise.
8486 (__strspn_c2): Likewise.
8487 (__strspn_c3): Likewise.
8488 (__strsep_1c): Likewise.
8489 (__strsep_2c): Likewise.
8490 (__strsep_3c): Likewise.
8491 * string/memccpy.c (__memccpy): Likewise.
8492 * string/stpcpy.c (__stpcpy): Likewise.
8493 * string/strcmp.c (strcmp): Likewise.
8494 * string/strrchr.c (strrchr): Likewise.
8495 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
8497 * sysdeps/mach/hurd/getcwd.c
8498 (_hurd_canonicalize_directory_name_internal): Likewise.
8499 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
8500 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
8501 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
8502 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
8503 Likewise, in both definitions.
8504 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
8506 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
8507 64] (__bswap_64): Likewise.
8508 * time/test_time.c (main): Likewise.
8509 * time/tzfile.c (__tzfile_read): Likewise.
8510 (__tzfile_compute): Likewise.
8511 * time/tzset.c (__tzset_parse_tz): Likewise.
8512 (tzset_internal): Likewise.
8513 (compute_change): Likewise.
8514 * wcsmbs/wcscat.c (__wcscat): Likewise.
8515 * wcsmbs/wcschr.c (wcschr): Likewise.
8516 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8517 * wcsmbs/wcscspn.c (wcscspn): Likewise.
8518 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8519 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
8520 * wcsmbs/wcsspn.c (wcsspn): Likewise.
8521 * wcsmbs/wcsstr.c (wcsstr): Likewise.
8522 * wcsmbs/wmemchr.c (wmemchr): Likewise.
8523 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8524 * wcsmbs/wmemset.c (wmemset): Likewise.
8526 2013-06-06 Joseph Myers <joseph@codesourcery.com>
8528 * scripts/config.guess: Update to version 2013-05-16.
8529 * scripts/config.sub: Update to version 2013-04-24.
8530 * scripts/install-sh: Update to version 2011-11-20.07.
8531 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
8532 * scripts/move-if-change: Update to version 2012-01-06 07:23.
8534 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
8536 * debug/fgetws_u_chk.c: Fix leading whitespaces.
8537 * elf/sln.c: Likewise.
8538 * hurd/hurd/ioctl.h: Likewise.
8539 * hurd/hurdmalloc.c: Likewise.
8540 * hurd/xattr.c: Likewise.
8541 * include/shlib-compat.h: Likewise.
8542 * inet/ruserpass.c: Likewise.
8543 * libio/iofgets_u.c: Likewise.
8544 * libio/iofgetws_u.c: Likewise.
8545 * locale/programs/ld-identification.c: Likewise.
8546 * locale/programs/ld-time.c: Likewise.
8547 * mach/msg-destroy.c: Likewise.
8548 * nss/nss_files/files-netgrp.c: Likewise.
8549 * resolv/res_data.c: Likewise.
8550 * soft-fp/op-1.h: Likewise.
8551 * soft-fp/op-2.h: Likewise.
8552 * soft-fp/op-4.h: Likewise.
8553 * soft-fp/op-common.h: Likewise.
8554 * stdio-common/printf_fphex.c: Likewise.
8555 * stdlib/strtod_l.c: Likewise.
8556 * sunrpc/rpc/clnt.h: Likewise.
8557 * sysdeps/generic/framestate.c: Likewise.
8558 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8559 * sysdeps/i386/bsd-setjmp.S: Likewise.
8560 * sysdeps/i386/__longjmp.S: Likewise.
8561 * sysdeps/i386/setjmp.S: Likewise.
8562 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8563 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8564 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8565 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8566 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8567 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8568 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8569 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8570 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8571 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8572 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8573 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8574 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8575 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8576 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8577 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8578 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8579 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
8580 * sysdeps/ieee754/support.c: Likewise.
8581 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8582 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
8583 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
8584 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
8585 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
8586 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
8587 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
8588 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
8589 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
8590 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
8591 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
8592 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
8593 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
8594 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
8595 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
8596 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
8597 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8600 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
8602 * posix/transbug.c: Remove executable mode.
8604 2013-06-05 Joseph Myers <joseph@codesourcery.com>
8606 * crypt/speeds.c: Remove trailing whitespace.
8607 * dlfcn/default.c: Likewise.
8608 * elf/ifuncdep2.c: Likewise.
8609 * elf/ifuncmain1.c: Likewise.
8610 * elf/ifuncmain1vis.c: Likewise.
8611 * elf/testobj.h: Likewise.
8612 * elf/tst-stackguard1.c: Likewise.
8613 * gmon/sys/gmon.h: Likewise.
8614 * hurd/hurdmsg.c: Likewise.
8615 * hurd/new-fd.c: Likewise.
8616 * hurd/ports-get.c: Likewise.
8617 * iconvdata/ibm1008_420.c: Likewise.
8618 * inet/tst-getni1.c: Likewise.
8619 * inet/tst-getni2.c: Likewise.
8620 * libio/ioungetc.c: Likewise.
8621 * libio/wfiledoalloc.c: Likewise.
8622 * manual/libm-err-tab.pl: Likewise.
8623 * math/w_dremf.c: Likewise.
8624 * misc/ftruncate.c: Likewise.
8625 * posix/bug-glob2.c: Likewise.
8626 * posix/tst-pcre.c: Likewise.
8627 * posix/wait4.c: Likewise.
8628 * resolv/README: Likewise.
8629 * resolv/res_debug.h: Likewise.
8630 * resolv/tst-inet_ntop.c: Likewise.
8631 * setjmp/bug269-setjmp.c: Likewise.
8632 * soft-fp/extended.h: Likewise.
8633 * soft-fp/op-1.h: Likewise.
8634 * soft-fp/op-2.h: Likewise.
8635 * soft-fp/op-4.h: Likewise.
8636 * soft-fp/op-8.h: Likewise.
8637 * soft-fp/testit.c: Likewise.
8638 * stdio-common/bug16.c: Likewise.
8639 * stdlib/random.c: Likewise.
8640 * sunrpc/rpcsvc/rquota.x: Likewise.
8641 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
8642 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8643 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8644 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8645 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8646 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8647 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8648 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8649 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8650 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8651 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8652 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8653 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8654 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8655 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8656 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8657 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8658 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8659 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8660 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8661 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8662 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8663 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8664 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8665 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8666 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8667 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8668 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8669 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8670 * sysdeps/ieee754/s_lib_version.c: Likewise.
8671 * sysdeps/mach/hurd/check_fds.c: Likewise.
8672 * sysdeps/mach/hurd/getsockname.c: Likewise.
8673 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
8674 * sysdeps/mach/hurd/recvfrom.c: Likewise.
8675 * sysdeps/powerpc/bits/link.h: Likewise.
8676 * sysdeps/powerpc/dl-procinfo.c: Likewise.
8677 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
8678 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
8679 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
8680 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8681 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8682 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
8683 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8684 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
8685 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8686 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8687 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8688 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
8689 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8690 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8691 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8692 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8693 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8694 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8695 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8696 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8697 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
8698 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8699 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8700 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
8701 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8702 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8703 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8704 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8705 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8706 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8707 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8708 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8709 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8710 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
8711 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8712 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
8713 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8714 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8715 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
8716 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
8717 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
8718 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
8719 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
8720 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8721 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
8722 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
8723 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8724 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8725 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8726 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8727 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8728 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8729 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8730 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8731 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8732 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8733 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8734 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8735 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8736 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8737 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8738 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8739 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8740 * sysdeps/powerpc/sysdep.h: Likewise.
8741 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8742 * sysdeps/s390/s390-64/sub_n.S: Likewise.
8743 * sysdeps/sh/dl-trampoline.S: Likewise.
8744 * sysdeps/sh/memset.S: Likewise.
8745 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8746 * sysdeps/sh/strlen.S: Likewise.
8747 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8748 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8749 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8750 * sysdeps/sparc/sparc32/rem.S: Likewise.
8751 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8752 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8753 * sysdeps/sparc/sparc32/strchr.S: Likewise.
8754 * sysdeps/sparc/sparc32/udiv.S: Likewise.
8755 * sysdeps/sparc/sparc32/urem.S: Likewise.
8756 * sysdeps/sparc/sparc64/add_n.S: Likewise.
8757 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8758 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8759 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8760 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8761 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8762 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8763 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8764 * sysdeps/unix/bsd/times.c: Likewise.
8765 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8766 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8770 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8771 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8772 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8773 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8774 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8775 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8776 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8777 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8778 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8779 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8780 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8781 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8782 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8783 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8784 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8785 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8786 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8787 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8788 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8789 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8790 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8791 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8792 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8793 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8794 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8795 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8796 * sysdeps/x86_64/strcspn.S: Likewise.
8798 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8800 * locale/C-translit.h: Revert #include <stdint.h> because this is a
8801 generated file. Regenerate properly from gen-translit.pl.
8802 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
8803 locale/C-translit.h.
8805 2013-06-05 Andreas Schwab <schwab@suse.de>
8808 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8809 week as 6 instead of -1.
8810 * time/tst-strptime.c (day_tests): Add test case.
8812 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8814 * sysdeps/generic/math_private.h
8815 (libc_feholdexcept_setround_53bit): Replace with
8816 libc_feholdsetround_53bit.
8817 (libc_feupdateenv_53bit): Replace with
8818 libc_feresetround_53bit.
8819 (SET_RESTORE_ROUND_53BIT): Adjust.
8821 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8823 * string/test-strchrnul.c: Add copyright header.
8825 * posix/tst-getaddrinfo4.c: Increase test timeout.
8827 2013-06-03 Carlos O'Donell <carlos@redhat.com>
8830 * math/libm-test.inc (MAX_EXP): Remove
8832 (ulp): Use MIN_EXP - MANT_DIG.
8833 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8835 2013-05-31 Carlos O'Donell <carlos@redhat.com>
8837 * po/be.po: Revert last change.
8838 * po/zh_CN.po: Likewise.
8839 * po/header.pot: Likewise.
8841 2013-05-31 Joseph Myers <joseph@codesourcery.com>
8843 * Makefile ($(common-objpfx)linkobj/libc.so): Define
8844 link-libc-deps to empty as target-specific variable.
8845 * Makerules (link-libc-args): New variable.
8846 (libc-for-link): Likewise.
8847 (link-libc-deps): Likewise.
8848 (lib%.so): Depend on $(link-libc-deps). Link with
8850 (build-module): Link with $(link-libc-args).
8851 (build-module-asneeded): Likewise.
8852 (build-module-helper-objlist): Filter out $(link-libc-deps) from
8854 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8855 target-specific variable.
8856 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8857 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8858 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8860 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8862 ($(objpfx)libpcprofile.so): Likewise.
8863 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8865 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8866 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8867 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8869 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8870 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8871 * login/Makefile ($(objpfx)libutil.so): Likewise.
8872 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8873 * math/Makefile ($(objpfx)libm.so): Likewise.
8874 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8875 $(objpfx)libnsl.so): Define libc-for-link as target-specific
8876 variable instead of depending directly on libc.
8877 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8878 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8880 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8882 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8883 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8884 ($(objpfx)libanl.so): Likewise.
8885 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8887 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8889 * sysdeps/i386/fpu/Makefile: Remove file.
8890 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8891 ($(objpfx)libm.so): Remove dependency on ld.so.
8893 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
8896 * nis/yp_xdr.c (XDRMAXNAME): Define.
8897 (XDRMAXRECORD): Define.
8898 (xdr_domainname): Use XDRMAXNAME.
8899 (xdr_mapname): Likewise.
8900 (xdr_peername): Likewise.
8901 (xdr_keydat): Use XDRMAXRECORD.
8902 (xdr_valdat): Likewise.
8904 2013-05-30 Jeff Law <law@redhat.com>
8907 * manual/errno.texi (ESTALE): Update to account for more than
8908 just NFS file systems.
8909 * sysdeps/gnu/errlist.c: Regenerated.
8911 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8914 * elf/Makefile (tests): Add tst-null-argv.
8915 (modules-names): Add tst-null-argv-lib.
8916 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8917 (tst-null-argv-ENV): Set environment for tst-null-argv.
8918 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8919 (RTLD_PROGNAME): New macro.
8920 * elf/tst-null-argv.c: New test case.
8921 * elf/tst-null-argv-lib.c: Library for test case.
8922 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8923 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8924 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8925 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8926 * elf/dl-init.c (call_init): Likewise.
8927 (_dl_init): Likewise.
8928 * elf/dl-load.c (print_search_path): Likewise.
8929 (_dl_map_object): Likewise.
8930 * elf/dl-lookup.c (do_lookup_x): Likewise.
8931 (add_dependency): Likewise.
8932 (_dl_lookup_symbol_x): Likewise.
8933 (_dl_debug_bindings): Likewise.
8934 * elf/dl-open.c (_dl_show_scope): Likewise.
8935 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8936 * elf/dl-version.c (match_symbol): Likewise.
8937 (_dl_check_map_versions): Likewise.
8938 * elf/rtld.c (dl_main): Likewise.
8939 (print_unresolved): Use RTLD_PROGNAME.
8940 (print_missing_version): Likewise.
8941 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8942 (elf_machine_rela): Likewise.
8943 * sysdeps/powerpc/powerpc32/dl-machine.c
8944 (__process_machine_rela): Likewise.
8945 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8947 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8949 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8951 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8952 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8954 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8956 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8958 2013-05-28 Carlos O'Donell <carlos@redhat.com>
8960 * po/be.po: Add descriptive title.
8961 * po/zh_CN.po: Likewise.
8962 * po/header.pot: Likewise.
8964 2013-05-28 Mike Frysinger <vapier@gentoo.org>
8966 * locale/programs/locarchive.c (create_archive): Inlucde fname in
8968 (enlarge_archive): Likewise.
8970 2013-05-28 Ben North <ben@redfrontdoor.org>
8972 * manual/arith.texi (frexp): It is the magnitude of the return
8973 value which lies in [0.5, 1), not the return value itself.
8975 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8977 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8979 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
8981 * stdio-common/bug26.c (main): Correct fscanf template.
8983 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8984 declare _dl_skip_args.
8986 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8989 * manual/platform.texi: Add missing @end deftypefun.
8991 2013-05-24 Joseph Myers <joseph@codesourcery.com>
8994 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8995 bit of mantissa of 2^16382.
8996 * math/libm-test.inc (hypot_test_data): Add more tests.
8998 * math/libm-test.inc: Add drem and pow10 to list of tested
9000 (pow10_test): New function.
9001 (drem_test): Likewise.
9002 (drem_test_tonearest): Likewise.
9003 (drem_test_towardzero): Likewise.
9004 (drem_test_downward): Likewise.
9005 (drem_test_upward): Likewise.
9006 (main): Call the new functions.
9008 * math/libm-test.inc (finite_test_data): Remove.
9009 (finite_test): Run tests from isfinite_test_data.
9010 (gamma_test_data): Remove.
9011 (gamma_test): Run tests from lgamma_test_data.
9012 * sysdeps/i386/fpu/libm-test-ulps: Update.
9013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9015 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9017 * manual/platform.texi: Add PowerPC PPR function set documentation.
9018 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9021 2013-05-24 Carlos O'Donell <carlos@redhat.com>
9023 * math/libm-test.inc (MAX_EXP): Define.
9025 (ulp): New function.
9026 (check_float_internal): Use ULPDIFF.
9027 (cpow_test): Disable failing test.
9028 (check_ulp): Test ulp() implemetnation.
9029 (main): Call check_ulp before starting tests.
9031 2013-05-24 Joseph Myers <joseph@codesourcery.com>
9033 * math/gen-libm-test.pl (generate_testfile): Do not handle
9034 START_DATA and END_DATA.
9035 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9037 (acos_tonearest_test_data): Likewise.
9038 (acos_towardzero_test_data): Likewise.
9039 (acos_downward_test_data): Likewise.
9040 (acos_upward_test_data): Likewise.
9041 (acosh_test_data): Likewise.
9042 (asin_test_data): Likewise.
9043 (asin_tonearest_test_data): Likewise.
9044 (asin_towardzero_test_data): Likewise.
9045 (asin_downward_test_data): Likewise.
9046 (asin_upward_test_data): Likewise.
9047 (asinh_test_data): Likewise.
9048 (atan_test_data): Likewise.
9049 (atanh_test_data): Likewise.
9050 (atan2_test_data): Likewise.
9051 (cabs_test_data): Likewise.
9052 (cacos_test_data): Likewise.
9053 (cacosh_test_data): Likewise.
9054 (carg_test_data): Likewise.
9055 (casin_test_data): Likewise.
9056 (casinh_test_data): Likewise.
9057 (catan_test_data): Likewise.
9058 (catanh_test_data): Likewise.
9059 (cbrt_test_data): Likewise.
9060 (ccos_test_data): Likewise.
9061 (ccosh_test_data): Likewise.
9062 (ceil_test_data): Likewise.
9063 (cexp_test_data): Likewise.
9064 (cimag_test_data): Likewise.
9065 (clog_test_data): Likewise.
9066 (clog10_test_data): Likewise.
9067 (conj_test_data): Likewise.
9068 (copysign_test_data): Likewise.
9069 (cos_test_data): Likewise.
9070 (cos_tonearest_test_data): Likewise.
9071 (cos_towardzero_test_data): Likewise.
9072 (cos_downward_test_data): Likewise.
9073 (cos_upward_test_data): Likewise.
9074 (cosh_test_data): Likewise.
9075 (cosh_tonearest_test_data): Likewise.
9076 (cosh_towardzero_test_data): Likewise.
9077 (cosh_downward_test_data): Likewise.
9078 (cosh_upward_test_data): Likewise.
9079 (cpow_test_data): Likewise.
9080 (cproj_test_data): Likewise.
9081 (creal_test_data): Likewise.
9082 (csin_test_data): Likewise.
9083 (csinh_test_data): Likewise.
9084 (csqrt_test_data): Likewise.
9085 (ctan_test_data): Likewise.
9086 (ctan_tonearest_test_data): Likewise.
9087 (ctan_towardzero_test_data): Likewise.
9088 (ctan_downward_test_data): Likewise.
9089 (ctan_upward_test_data): Likewise.
9090 (ctanh_test_data): Likewise.
9091 (ctanh_tonearest_test_data): Likewise.
9092 (ctanh_towardzero_test_data): Likewise.
9093 (ctanh_downward_test_data): Likewise.
9094 (ctanh_upward_test_data): Likewise.
9095 (erf_test_data): Likewise.
9096 (erfc_test_data): Likewise.
9097 (exp_test_data): Likewise.
9098 (exp_tonearest_test_data): Likewise.
9099 (exp_towardzero_test_data): Likewise.
9100 (exp_downward_test_data): Likewise.
9101 (exp_upward_test_data): Likewise.
9102 (exp10_test_data): Likewise.
9103 (exp2_test_data): Likewise.
9104 (expm1_test_data): Likewise.
9105 (fabs_test_data): Likewise.
9106 (fdim_test_data): Likewise.
9107 (finite_test_data): Likewise.
9108 (floor_test_data): Likewise.
9109 (fma_test_data): Likewise.
9110 (fma_towardzero_test_data): Likewise.
9111 (fma_downward_test_data): Likewise.
9112 (fma_upward_test_data): Likewise.
9113 (fmax_test_data): Likewise.
9114 (fmin_test_data): Likewise.
9115 (fmod_test_data): Likewise.
9116 (fpclassify_test_data): Likewise.
9117 (frexp_test_data): Likewise.
9118 (gamma_test_data): Likewise.
9119 (hypot_test_data): Likewise.
9120 (ilogb_test_data): Likewise.
9121 (isfinite_test_data): Likewise.
9122 (isgreater_test_data): Likewise.
9123 (isgreaterequal_test_data): Likewise.
9124 (isinf_test_data): Likewise.
9125 (isless_test_data): Likewise.
9126 (islessequal_test_data): Likewise.
9127 (islessgreater_test_data): Likewise.
9128 (isnan_test_data): Likewise.
9129 (isnormal_test_data): Likewise.
9130 (issignaling_test_data): Likewise.
9131 (isunordered_test_data): Likewise.
9132 (j0_test_data): Likewise.
9133 (j1_test_data): Likewise.
9134 (jn_test_data): Likewise.
9135 (ldexp_test_data): Likewise.
9136 (lgamma_test_data): Likewise.
9137 (lrint_test_data): Likewise.
9138 (lrint_tonearest_test_data): Likewise.
9139 (lrint_towardzero_test_data): Likewise.
9140 (lrint_downward_test_data): Likewise.
9141 (lrint_upward_test_data): Likewise.
9142 (llrint_test_data): Likewise.
9143 (llrint_tonearest_test_data): Likewise.
9144 (llrint_towardzero_test_data): Likewise.
9145 (llrint_downward_test_data): Likewise.
9146 (llrint_upward_test_data): Likewise.
9147 (log_test_data): Likewise.
9148 (log10_test_data): Likewise.
9149 (log1p_test_data): Likewise.
9150 (log2_test_data): Likewise.
9151 (logb_test_data): Likewise.
9152 (logb_downward_test_data): Likewise.
9153 (lround_test_data): Likewise.
9154 (llround_test_data): Likewise.
9155 (modf_test_data): Likewise.
9156 (nearbyint_test_data): Likewise.
9157 (nextafter_test_data): Likewise.
9158 (nexttoward_test_data): Likewise.
9159 (pow_test_data): Likewise.
9160 (pow_tonearest_test_data): Likewise.
9161 (pow_towardzero_test_data): Likewise.
9162 (pow_downward_test_data): Likewise.
9163 (pow_upward_test_data): Likewise.
9164 (remainder_test_data): Likewise.
9165 (remainder_tonearest_test_data): Likewise.
9166 (remainder_towardzero_test_data): Likewise.
9167 (remainder_downward_test_data): Likewise.
9168 (remainder_upward_test_data): Likewise.
9169 (remquo_test_data): Likewise.
9170 (rint_test_data): Likewise.
9171 (rint_tonearest_test_data): Likewise.
9172 (rint_towardzero_test_data): Likewise.
9173 (rint_downward_test_data): Likewise.
9174 (rint_upward_test_data): Likewise.
9175 (round_test_data): Likewise.
9176 (scalb_test_data): Likewise.
9177 (scalbn_test_data): Likewise.
9178 (scalbln_test_data): Likewise.
9179 (signbit_test_data): Likewise.
9180 (sin_test_data): Likewise.
9181 (sin_tonearest_test_data): Likewise.
9182 (sin_towardzero_test_data): Likewise.
9183 (sin_downward_test_data): Likewise.
9184 (sin_upward_test_data): Likewise.
9185 (sincos_test_data): Likewise.
9186 (sinh_test_data): Likewise.
9187 (sinh_tonearest_test_data): Likewise.
9188 (sinh_towardzero_test_data): Likewise.
9189 (sinh_downward_test_data): Likewise.
9190 (sinh_upward_test_data): Likewise.
9191 (sqrt_test_data): Likewise.
9192 (tan_test_data): Likewise.
9193 (tan_tonearest_test_data): Likewise.
9194 (tan_towardzero_test_data): Likewise.
9195 (tan_downward_test_data): Likewise.
9196 (tan_upward_test_data): Likewise.
9197 (tanh_test_data): Likewise.
9198 (tgamma_test_data): Likewise.
9199 (trunc_test_data): Likewise.
9200 (y0_test_data): Likewise.
9201 (y1_test_data): Likewise.
9202 (yn_test_data): Likewise.
9203 (significand_test_data): Likewise.
9205 * math/gen-libm-test.pl (@functions): Remove variable.
9206 (generate_testfile): Don't handle START and END lines.
9207 * math/libm-test.inc (START): New macro.
9209 (END_COMPLEX): Likewise.
9210 (acos_test): Use END macro without arguments.
9211 (acos_test_tonearest): Likewise.
9212 (acos_test_towardzero): Likewise.
9213 (acos_test_downward): Likewise.
9214 (acos_test_upward): Likewise.
9215 (acosh_test): Likewise.
9216 (asin_test): Likewise.
9217 (asin_test_tonearest): Likewise.
9218 (asin_test_towardzero): Likewise.
9219 (asin_test_downward): Likewise.
9220 (asin_test_upward): Likewise.
9221 (asinh_test): Likewise.
9222 (atan_test): Likewise.
9223 (atanh_test): Likewise.
9224 (atan2_test): Likewise.
9225 (cabs_test): Likewise.
9226 (cacos_test): Use END_COMPLEX macro without arguments.
9227 (cacosh_test): Likewise.
9228 (carg_test): Use END macro without arguments.
9229 (casin_test): Use END_COMPLEX macro without arguments.
9230 (casinh_test): Likewise.
9231 (catan_test): Likewise.
9232 (catanh_test): Likewise.
9233 (cbrt_test): Use END macro without arguments.
9234 (ccos_test): Use END_COMPLEX macro without arguments.
9235 (ccosh_test): Likewise.
9236 (ceil_test): Use END macro without arguments.
9237 (cexp_test): Use END_COMPLEX macro without arguments.
9238 (cimag_test): Use END macro without arguments.
9239 (clog_test): Use END_COMPLEX macro without arguments.
9240 (clog10_test): Likewise.
9241 (conj_test): Likewise.
9242 (copysign_test): Use END macro without arguments.
9243 (cos_test): Likewise.
9244 (cos_test_tonearest): Likewise.
9245 (cos_test_towardzero): Likewise.
9246 (cos_test_downward): Likewise.
9247 (cos_test_upward): Likewise.
9248 (cosh_test): Likewise.
9249 (cosh_test_tonearest): Likewise.
9250 (cosh_test_towardzero): Likewise.
9251 (cosh_test_downward): Likewise.
9252 (cosh_test_upward): Likewise.
9253 (cpow_test): Use END_COMPLEX macro without arguments.
9254 (cproj_test): Likewise.
9255 (creal_test): Use END macro without arguments.
9256 (csin_test): Use END_COMPLEX macro without arguments.
9257 (csinh_test): Likewise.
9258 (csqrt_test): Likewise.
9259 (ctan_test): Likewise.
9260 (ctan_test_tonearest): Likewise.
9261 (ctan_test_towardzero): Likewise.
9262 (ctan_test_downward): Likewise.
9263 (ctan_test_upward): Likewise.
9264 (ctanh_test): Likewise.
9265 (ctanh_test_tonearest): Likewise.
9266 (ctanh_test_towardzero): Likewise.
9267 (ctanh_test_downward): Likewise.
9268 (ctanh_test_upward): Likewise.
9269 (erf_test): Use END macro without arguments.
9270 (erfc_test): Likewise.
9271 (exp_test): Likewise.
9272 (exp_test_tonearest): Likewise.
9273 (exp_test_towardzero): Likewise.
9274 (exp_test_downward): Likewise.
9275 (exp_test_upward): Likewise.
9276 (exp10_test): Likewise.
9277 (exp2_test): Likewise.
9278 (expm1_test): Likewise.
9279 (fabs_test): Likewise.
9280 (fdim_test): Likewise.
9281 (finite_test): Likewise.
9282 (floor_test): Likewise.
9283 (fma_test): Likewise.
9284 (fma_test_towardzero): Likewise.
9285 (fma_test_downward): Likewise.
9286 (fma_test_upward): Likewise.
9287 (fmax_test): Likewise.
9288 (fmin_test): Likewise.
9289 (fmod_test): Likewise.
9290 (fpclassify_test): Likewise.
9291 (frexp_test): Likewise.
9292 (gamma_test): Likewise.
9293 (hypot_test): Likewise.
9294 (ilogb_test): Likewise.
9295 (isfinite_test): Likewise.
9296 (isgreater_test): Likewise.
9297 (isgreaterequal_test): Likewise.
9298 (isinf_test): Likewise.
9299 (isless_test): Likewise.
9300 (islessequal_test): Likewise.
9301 (islessgreater_test): Likewise.
9302 (isnan_test): Likewise.
9303 (isnormal_test): Likewise.
9304 (issignaling_test): Likewise.
9305 (isunordered_test): Likewise.
9306 (j0_test): Likewise.
9307 (j1_test): Likewise.
9308 (jn_test): Likewise.
9309 (ldexp_test): Likewise.
9310 (lgamma_test): Likewise.
9311 (lrint_test): Likewise.
9312 (lrint_test_tonearest): Likewise.
9313 (lrint_test_towardzero): Likewise.
9314 (lrint_test_downward): Likewise.
9315 (lrint_test_upward): Likewise.
9316 (llrint_test): Likewise.
9317 (llrint_test_tonearest): Likewise.
9318 (llrint_test_towardzero): Likewise.
9319 (llrint_test_downward): Likewise.
9320 (llrint_test_upward): Likewise.
9321 (log_test): Likewise.
9322 (log10_test): Likewise.
9323 (log1p_test): Likewise.
9324 (log2_test): Likewise.
9325 (logb_test): Likewise.
9326 (logb_test_downward): Likewise.
9327 (lround_test): Likewise.
9328 (llround_test): Likewise.
9329 (modf_test): Likewise.
9330 (nearbyint_test): Likewise.
9331 (nextafter_test): Likewise.
9332 (nexttoward_test): Likewise.
9333 (pow_test): Likewise.
9334 (pow_test_tonearest): Likewise.
9335 (pow_test_towardzero): Likewise.
9336 (pow_test_downward): Likewise.
9337 (pow_test_upward): Likewise.
9338 (remainder_test): Likewise.
9339 (remainder_test_tonearest): Likewise.
9340 (remainder_test_towardzero): Likewise.
9341 (remainder_test_downward): Likewise.
9342 (remainder_test_upward): Likewise.
9343 (remquo_test): Likewise.
9344 (rint_test): Likewise.
9345 (rint_test_tonearest): Likewise.
9346 (rint_test_towardzero): Likewise.
9347 (rint_test_downward): Likewise.
9348 (rint_test_upward): Likewise.
9349 (round_test): Likewise.
9350 (scalb_test): Likewise.
9351 (scalbn_test): Likewise.
9352 (scalbln_test): Likewise.
9353 (signbit_test): Likewise.
9354 (sin_test): Likewise.
9355 (sin_test_tonearest): Likewise.
9356 (sin_test_towardzero): Likewise.
9357 (sin_test_downward): Likewise.
9358 (sin_test_upward): Likewise.
9359 (sincos_test): Likewise.
9360 (sinh_test): Likewise.
9361 (sinh_test_tonearest): Likewise.
9362 (sinh_test_towardzero): Likewise.
9363 (sinh_test_downward): Likewise.
9364 (sinh_test_upward): Likewise.
9365 (sqrt_test): Likewise.
9366 (tan_test): Likewise.
9367 (tan_test_tonearest): Likewise.
9368 (tan_test_towardzero): Likewise.
9369 (tan_test_downward): Likewise.
9370 (tan_test_upward): Likewise.
9371 (tanh_test): Likewise.
9372 (tgamma_test): Likewise.
9373 (trunc_test): Likewise.
9374 (y0_test): Likewise.
9375 (y1_test): Likewise.
9376 (yn_test): Likewise.
9377 (significand_test): Likewise.
9379 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
9382 * libio/genops.c (_IO_no_init): Initialize wide struct info.
9384 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
9387 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
9388 __ppc_mdoio and __ppc_mdoom.
9389 * manual/platform.texi: Document new functions __ppc_yield,
9390 __ppc_mdoio and __ppc_mdoom.
9392 2013-05-22 Carlos O'Donell <carlos@redhat.com>
9394 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
9395 (main): Mention "tls" pseudo-hwcap is legacy.
9396 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
9398 2013-05-22 Joseph Myers <joseph@codesourcery.com>
9400 * math/gen-libm-test.pl (parse_args): Output only string of
9401 arguments as text for test name, not full call or descriptions of
9402 tests for extra outputs.
9403 (generate_testfile): Do not pass function name to parse_args.
9404 Generate this_func variable from START.
9405 * math/libm-test.inc (struct test_f_f_data): Rename test_name
9407 (struct test_ff_f_data): Likewise.
9408 (test_ff_f_data_nexttoward): Likewise.
9409 (struct test_fi_f_data): Likewise.
9410 (struct test_fl_f_data): Likewise.
9411 (struct test_if_f_data): Likewise.
9412 (struct test_fff_f_data): Likewise.
9413 (struct test_c_f_data): Likewise.
9414 (struct test_f_f1_data): Likewise. Remove field extra_name.
9415 (struct test_fF_f1_data): Likewise.
9416 (struct test_ffI_f1_data): Likewise.
9417 (struct test_c_c_data): Rename test_name field to arg_str.
9418 (struct test_cc_c_data): Likewise.
9419 (struct test_f_i_data): Likewise.
9420 (struct test_ff_i_data): Likewise.
9421 (struct test_f_l_data): Likewise.
9422 (struct test_f_L_data): Likewise.
9423 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
9425 (COMMON_TEST_SETUP): New macro.
9426 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9427 (COMMON_TEST_CLEANUP): Likewise.
9428 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9429 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
9431 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
9432 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
9434 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
9435 (RUN_TEST_fff_f): Take argument string. Call new setup and
9437 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
9438 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
9440 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
9441 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
9443 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9444 (RUN_TEST_fF_f1): Take argument string. Call new setup and
9446 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9447 (RUN_TEST_fI_f1): Take argument string. Call new setup and
9449 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9450 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
9452 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9453 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
9455 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
9456 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
9458 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
9459 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
9461 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
9462 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
9464 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
9465 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
9467 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
9468 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
9470 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
9471 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
9473 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
9474 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
9476 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
9477 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
9479 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
9480 (RUN_TEST_fFF_11): Take argument string. Call new setup and
9482 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
9484 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9486 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
9487 to _sifields.sigfault.
9488 (si_addr_lsb): Define new macro.
9489 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9490 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9491 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
9493 2013-05-03 Carlos O'Donell <carlos at redhat.com>
9496 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
9498 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
9500 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
9503 2013-05-22 Joseph Myers <joseph@codesourcery.com>
9505 * math/gen-libm-test.pl (parse_args): Do not include expected
9506 result in test name.
9507 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
9508 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9509 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9510 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9511 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9514 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9516 * benchtests/Makefile: Sort function entries.
9518 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
9519 tanh, asinh, acosh, atanh.
9520 * benchtests/acos-inputs: New file.
9521 * benchtests/acosh-inputs: New file.
9522 * benchtests/asin-inputs: New file.
9523 * benchtests/asinh-inputs: New file.
9524 * benchtests/atanh-inputs: New file.
9525 * benchtests/cosh-inputs: New file.
9526 * benchtests/log-inputs: New file.
9527 * benchtests/sinh-inputs: New file.
9528 * benchtests/tanh-inputs: New file.
9530 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
9533 * posix/tst-getaddrinfo4.c: New test.
9534 * posix/Makefile (tests): Add it.
9536 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9539 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
9540 when no services were used.
9541 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
9542 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
9544 2013-05-21 Andreas Schwab <schwab@suse.de>
9547 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
9548 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
9550 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
9551 redundant variable declarations and reallocation of buffer when
9552 parsing as IPv6 address. Always set NSS status when called from
9553 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
9554 buffer too small. Correct computation of needed size.
9555 * nss/Makefile (tests): Add test-digits-dots.
9556 * nss/test-digits-dots.c: New test.
9558 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9560 * benchtests/Makefile: Remove instructions for adding
9562 * benchtests/README: New file to explain how to execute and
9563 enhance the benchmark tests.
9565 2013-05-21 Andreas Schwab <schwab@suse.de>
9568 * setjmp/Makefile (tests): Add tst-sigsetjmp.
9569 * setjmp/tst-sigsetjmp.c: New test.
9571 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
9573 * sysdeps/x86_64/memset.S (memset): New implementation.
9574 (__bzero): Likewise.
9575 (__memset_tail): New function.
9577 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
9579 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
9580 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
9581 __memcpy_sse2_unaligned ifunc selection.
9582 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9583 Add memcpy-sse2-unaligned.S.
9584 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9585 Add: __memcpy_sse2_unaligned.
9587 2013-05-19 Joseph Myers <joseph@codesourcery.com>
9590 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9591 math_force_eval before restoring floating-point envrionment.
9592 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
9593 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
9595 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
9597 (__nearbyintl): Use math_force_eval before restoring
9598 floating-point environment.
9599 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
9601 * math/gen-libm-test.pl (special_functions): Remove.
9602 (parse_args): Don't handle TEST_extra. Handle functions with no
9604 * math/libm-test.inc (struct test_sincos_data): Replace with
9605 struct test_fFF_11_data.
9606 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
9607 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
9608 (sincos_test_data): Change element type to struct
9609 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
9610 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
9611 RUN_TEST_LOOP_sincos.
9612 * math/README.libm-test: Don't mention special handling of
9613 individual functions.
9614 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
9615 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9616 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9617 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9618 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9621 * math/gen-libm-test.pl (get_variable): Remove function.
9622 (parse_args): Don't show pointer parameters to call in test
9623 names. Use "extra output N" in test names for extra outputs
9624 rather than naming variables.
9626 2013-05-18 Joseph Myers <joseph@codesourcery.com>
9629 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
9630 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
9631 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
9633 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
9635 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
9638 * math/gen-libm-test.pl (@tests): Remove variable.
9640 (new_test): Remove function.
9641 (show_exceptions): New function.
9642 (special_functions): Use show_exceptions instead of new_test.
9643 (parse_args): Likewise.
9644 (generate_testfile): Pass only function name in generated call to
9645 print_max_error or print_complex_max_error.
9646 (get_ulps): Do not handle complex tests specially.
9647 (output_test): Rename to ...
9648 (get_all_ulps_for_test): ... this. Return a string rather than
9649 printing to a file. Require ulps to be present.
9650 (output_ulps): Generate arrays rather than #defines.
9651 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
9652 (struct ulp_data): New type.
9653 (BUILD_COMPLEX_ULP): Remove macro.
9654 (compare_ulp_data): New function.
9655 (find_ulps): Likewise.
9656 (find_test_ulps): Likewise.
9657 (find_function_ulps): Likewise.
9658 (find_complex_function_ulps): Likewise.
9659 (print_max_error): Determine allowed ulps using
9661 (print_complex_max_error): Determine allowed ulps using
9662 find_complex_function_ulps.
9663 (check_float_internal): Determine max ulps using find_test_ulps.
9664 (check_float): Do not take max_ulp parameter. Update call to
9665 check_float_internal.
9666 (check_complex): Likewise.
9667 (check_int): Do not take max_ulp parameter.
9668 (check_long): Likewise.
9669 (check_bool): Likewise.
9670 (check_longlong): Likewise.
9671 (struct test_f_f_data): Remove max_ulp field.
9672 (struct test_ff_f_data): Likewise.
9673 (struct test_ff_f_data_nexttoward): Likewise.
9674 (struct test_fi_f_data): Likewise.
9675 (struct test_fl_f_data): Likewise.
9676 (struct test_if_f_data): Likewise.
9677 (struct test_fff_f_data): Likewise.
9678 (struct test_c_f_data): Likewise.
9679 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
9680 (struct test_fF_f1_data): Likewise.
9681 (struct test_ffI_f1_data): Likewise.
9682 (struct test_c_c_data): Remove max_ulp field.
9683 (struct test_cc_c_data): Likewise.
9684 (struct test_f_i_data): Likewise.
9685 (struct test_ff_i_data): Likewise.
9686 (struct test_f_l_data): Likewise.
9687 (struct test_f_L_data): Likewise.
9688 (struct test_sincos_data): Likewise.
9689 (RUN_TEST_f_f): Do not handle ulps.
9690 (RUN_TEST_LOOP_f_f): Likewise.
9691 (RUN_TEST_2_f): Likewise.
9692 (RUN_TEST_LOOP_2_f): Likewise.
9693 (RUN_TEST_fff_f): Likewise.
9694 (RUN_TEST_LOOP_fff_f): Likewise.
9695 (RUN_TEST_c_f): Likewise.
9696 (RUN_TEST_LOOP_c_f): Likewise.
9697 (RUN_TEST_f_f1): Likewise.
9698 (RUN_TEST_LOOP_f_f1): Likewise.
9699 (RUN_TEST_fF_f1): Likewise.
9700 (RUN_TEST_LOOP_fF_f1): Likewise.
9701 (RUN_TEST_fI_f1): Likewise.
9702 (RUN_TEST_LOOP_fI_f1): Likewise.
9703 (RUN_TEST_ffI_f1): Likewise.
9704 (RUN_TEST_LOOP_ffI_f1): Likewise.
9705 (RUN_TEST_c_c): Likewise.
9706 (RUN_TEST_LOOP_c_c): Likewise.
9707 (RUN_TEST_cc_c): Likewise.
9708 (RUN_TEST_LOOP_cc_c): Likewise.
9709 (RUN_TEST_f_i): Likewise.
9710 (RUN_TEST_LOOP_f_i): Likewise.
9711 (RUN_TEST_f_i_tg): Likewise.
9712 (RUN_TEST_LOOP_f_i_tg): Likewise.
9713 (RUN_TEST_ff_i_tg): Likewise.
9714 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9715 (RUN_TEST_f_b): Likewise.
9716 (RUN_TEST_LOOP_f_b): Likewise.
9717 (RUN_TEST_f_b_tg): Likewise.
9718 (RUN_TEST_LOOP_f_b_tg): Likewise.
9719 (RUN_TEST_f_l): Likewise.
9720 (RUN_TEST_LOOP_f_l): Likewise.
9721 (RUN_TEST_f_L): Likewise.
9722 (RUN_TEST_LOOP_f_L): Likewise.
9723 (RUN_TEST_sincos): Likewise.
9724 (RUN_TEST_LOOP_sincos): Likewise.
9726 2013-05-17 Joseph Myers <joseph@codesourcery.com>
9730 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9731 main case of finite arguments, set rounding mode to FE_TONEAREST
9732 and discard exceptions.
9733 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9735 (remainder_tonearest_test_data): New variable.
9736 (remainder_test_tonearest): New function.
9737 (remainder_towardzero_test_data): New variable.
9738 (remainder_test_towardzero): New function.
9739 (remainder_downward_test_data): New variable.
9740 (remainder_test_downward): New function.
9741 (remainder_upward_test_data): New variable.
9742 (remainder_test_upward): New function.
9743 (main): Call the new test functions.
9745 * math/libm-test.inc (struct test_f_f1_data): Remove field
9747 (struct test_fF_f1_data): Likewise.
9748 (struct test_ffI_f1_data): Likewise.
9749 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
9750 based on value of EXTRA_EXPECTED.
9751 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9752 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
9753 EXTRA_VAR based on value of EXTRA_EXPECTED.
9754 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9755 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
9756 EXTRA_VAR based on value of EXTRA_EXPECTED.
9757 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9758 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
9759 EXTRA_VAR based on value of EXTRA_EXPECTED.
9760 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9761 * math/gen-libm-test.pl (parse_args): Don't output initializers
9762 for extra output values.
9764 * math/libm-test.inc (check_int): Expect result to be exactly
9765 equal to expected value and do not handle ulps.
9766 (check_long): Likewise.
9767 (check_longlong): Likewise.
9769 * math/libm-test.inc (ceil_test_data): Test for "inexact"
9771 (cimag_test_data): Likewise.
9772 (conj_test_data): Likewise.
9773 (copysign_test_data): Likewise.
9774 (cproj_test_data): Likewise.
9775 (creal_test_data): Likewise.
9776 (fabs_test_data): Likewise.
9777 (fdim_test_data): Likewise.
9778 (finite_test_data): Likewise.
9779 (floor_test_data): Likewise.
9780 (fmax_test_data): Likewise.
9781 (fmin_test_data): Likewise.
9782 (fmod_test_data): Likewise.
9783 (fpclassify_test_data): Likewise.
9784 (frexp_test_data): Likewise.
9785 (ilogb_test_data): Likewise.
9786 (isfinite_test_data): Likewise.
9787 (isgreater_test_data): Likewise.
9788 (isgreaterequal_test_data): Likewise.
9789 (isinf_test_data): Likewise.
9790 (isless_test_data): Likewise.
9791 (islessequal_test_data): Likewise.
9792 (islessgreater_test_data): Likewise.
9793 (isnan_test_data): Likewise.
9794 (isnormal_test_data): Likewise.
9795 (issignaling_test_data): Likewise.
9796 (isunordered_test_data): Likewise.
9797 (ldexp_test_data): Likewise.
9798 (lrint_test_data): Likewise.
9799 (lrint_test_data) [TEST_FLOAT]: Disable one test.
9800 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9801 (lrint_tonearest_test_data): Test for "inexact" exceptions.
9802 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9803 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9804 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9806 (lrint_towardzero_test_data): Test for "inexact" exceptions.
9807 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9808 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9809 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9811 (lrint_downward_test_data): Test for "inexact" exceptions.
9812 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9813 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9814 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9816 (lrint_upward_test_data): Test for "inexact" exceptions.
9817 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9819 (llrint_test_data): Test for "inexact" exceptions.
9820 (llrint_test_data) [TEST_FLOAT]: Disable one test.
9821 (llrint_tonearest_test_data): Test for "inexact" exceptions.
9822 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9823 (llrint_towardzero_test_data): Test for "inexact" exceptions.
9824 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9825 (llrint_downward_test_data): Test for "inexact" exceptions.
9826 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9827 (llrint_upward_test_data): Test for "inexact" exceptions.
9828 (logb_test_data): Likewise.
9829 (logb_downward_test_data): Likewise.
9830 (nextafter_test_data): Likewise.
9831 (nexttoward_test_data): Likewise.
9832 (remainder_test_data): Likewise.
9833 (remquo_test_data): Likewise.
9834 (scalbn_test_data): Likewise.
9835 (scalbln_test_data): Likewise.
9836 (signbit_test_data): Likewise.
9837 (sqrt_test_data): Likewise.
9838 (significand_test_data): Likewise.
9840 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9843 * benchtests/bench-modf.c (struct args): Mark arg0 as
9845 * scripts/bench.pl: Mark members of struct args as volatile.
9847 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9850 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9851 negative infinity on POWER6 or lower.
9852 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9854 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9857 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9858 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9859 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9860 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9861 (_FP_SETQNAN): New macro.
9862 (_FP_SETQNAN_SEMIRAW): Likewise.
9863 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9864 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9865 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9866 (FP_EXTEND): Use _FP_FRAC_SNANP.
9867 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9868 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9870 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9872 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9875 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9877 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9878 with DIVIDE_BY_ZERO_EXCEPTION.
9879 (gamma_test_data): Likewise.
9880 (lgamma_test_data): Likewise.
9881 (log_test_data): Likewise.
9882 (log10_test_data): Likewise.
9883 (log2_test_data): Likewise.
9884 (tgamma_test_data): Likewise.
9886 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9887 (acos_test_tonearest): Likewise.
9888 (acos_test_towardzero): Likewise.
9889 (acos_test_downward): Likewise.
9890 (acos_test_upward): Likewise.
9891 (acosh_test): Likewise.
9892 (asin_test): Likewise.
9893 (asin_test_tonearest): Likewise.
9894 (asin_test_towardzero): Likewise.
9895 (asin_test_downward): Likewise.
9896 (asin_test_upward): Likewise.
9897 (asinh_test): Likewise.
9898 (atan_test): Likewise.
9899 (atanh_test): Likewise.
9900 (atan2_test): Likewise.
9901 (cabs_test): Likewise.
9902 (cacos_test): Likewise.
9903 (cacosh_test): Likewise.
9904 (casin_test): Likewise.
9905 (casinh_test): Likewise.
9906 (catan_test): Likewise.
9907 (catanh_test): Likewise.
9908 (cbrt_test): Likewise.
9909 (ccos_test): Likewise.
9910 (ccosh_test): Likewise.
9911 (cexp_test): Likewise.
9912 (clog_test): Likewise.
9913 (clog10_test): Likewise.
9914 (cos_test): Likewise.
9915 (cos_test_tonearest): Likewise.
9916 (cos_test_towardzero): Likewise.
9917 (cos_test_downward): Likewise.
9918 (cos_test_upward): Likewise.
9919 (cosh_test): Likewise.
9920 (cosh_test_tonearest): Likewise.
9921 (cosh_test_towardzero): Likewise.
9922 (cosh_test_downward): Likewise.
9923 (cosh_test_upward): Likewise.
9924 (cpow_test): Likewise.
9925 (csin_test): Likewise.
9926 (csinh_test): Likewise.
9927 (csqrt_test): Likewise.
9928 (ctan_test): Likewise.
9929 (ctan_test_tonearest): Likewise.
9930 (ctan_test_towardzero): Likewise.
9931 (ctan_test_downward): Likewise.
9932 (ctan_test_upward): Likewise.
9933 (ctanh_test): Likewise.
9934 (ctanh_test_tonearest): Likewise.
9935 (ctanh_test_towardzero): Likewise.
9936 (ctanh_test_downward): Likewise.
9937 (ctanh_test_upward): Likewise.
9938 (erf_test): Likewise.
9939 (erfc_test): Likewise.
9940 (exp_test): Likewise.
9941 (exp_test_tonearest): Likewise.
9942 (exp_test_towardzero): Likewise.
9943 (exp_test_downward): Likewise.
9944 (exp_test_upward): Likewise.
9945 (exp10_test): Likewise.
9946 (exp2_test): Likewise.
9947 (expm1_test): Likewise.
9948 (fmod_test): Likewise.
9949 (gamma_test): Likewise.
9950 (hypot_test): Likewise.
9951 (j0_test): Likewise.
9952 (j1_test): Likewise.
9953 (jn_test): Likewise.
9954 (lgamma_test): Likewise.
9955 (log_test): Likewise.
9956 (log10_test): Likewise.
9957 (log1p_test): Likewise.
9958 (log2_test): Likewise.
9959 (logb_test_downward): Likewise.
9960 (pow_test): Likewise.
9961 (pow_test_tonearest): Likewise.
9962 (pow_test_towardzero): Likewise.
9963 (pow_test_downward): Likewise.
9964 (pow_test_upward): Likewise.
9965 (remainder_test): Likewise.
9966 (remquo_test): Likewise.
9967 (sin_test): Likewise.
9968 (sin_test_tonearest): Likewise.
9969 (sin_test_towardzero): Likewise.
9970 (sin_test_downward): Likewise.
9971 (sin_test_upward): Likewise.
9972 (sincos_test): Likewise.
9973 (sinh_test): Likewise.
9974 (sinh_test_tonearest): Likewise.
9975 (sinh_test_towardzero): Likewise.
9976 (sinh_test_downward): Likewise.
9977 (sinh_test_upward): Likewise.
9978 (sqrt_test): Likewise.
9979 (tan_test): Likewise.
9980 (tan_test_tonearest): Likewise.
9981 (tan_test_towardzero): Likewise.
9982 (tan_test_downward): Likewise.
9983 (tan_test_upward): Likewise.
9984 (tanh_test): Likewise.
9985 (tgamma_test): Likewise.
9986 (y0_test): Likewise.
9987 (y1_test): Likewise.
9988 (yn_test): Likewise.
9990 * math/gen-libm-test.pl (adjust_arg): Remove function.
9991 (special_function): Remove argument $in_func. Only handle
9992 generating output for tables of tests, not inside functions.
9993 (parse_args): Likewise.
9994 (generate_testfile): Remove variable $in_func. Update call to
9996 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9997 (MINUS_ZERO_INIT): Rename macro to minus_zero.
9998 (PLUS_INFTY_INIT): Rename macro to plus_infty.
9999 (MINUS_INFTY_INIT): Rename macro to minus_infty.
10000 (QNAN_VALUE_INIT): Rename macro to qnan_value.
10001 (MAX_VALUE_INIT): Rename macro to max_value.
10002 (MIN_VALUE_INIT): Rename macro to min_value.
10003 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
10004 (plus_zero): Remove variable.
10005 (minus_zero): Likewise.
10006 (plus_infty): Likewise.
10007 (minus_infty): Likewise.
10008 (qnan_value): Likewise.
10009 (max_value): Likewise.
10010 (min_value): Likewise.
10011 (min_subnorm_value): Likewise.
10013 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10015 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
10016 uint64_t or uint32_t usage.
10017 * crypt/sha256-block.c: Likewise.
10018 * crypt/sha256-crypt.c: Likewise.
10019 * crypt/sha256.c: Likewise.
10020 * crypt/sha512-block.c: Likewise.
10021 * crypt/sha512-crypt.c: Likewise.
10022 * crypt/sha512.c: Likewise.
10023 * debug/backtrace-tst.c: Likewise.
10024 * debug/pcprofiledump.c: Likewise.
10025 * elf/cache.c: Likewise.
10026 * elf/dl-cache.c: Likewise.
10027 * elf/dl-misc.c: Likewise.
10028 * elf/dl-profile.c: Likewise.
10029 * elf/dl-support.c: Likewise.
10030 * elf/ldconfig.c: Likewise.
10031 * elf/sprof.c: Likewise.
10032 * iconv/dummy-repertoire.c: Likewise.
10033 * iconv/iconv_charmap.c: Likewise.
10034 * iconv/skeleton.c: Likewise.
10035 * iconvdata/8bit-generic.c: Likewise.
10036 * iconvdata/cp737.h: Likewise.
10037 * iconvdata/cp775.h: Likewise.
10038 * iconvdata/ibm1008.h: Likewise.
10039 * iconvdata/ibm1025.h: Likewise.
10040 * iconvdata/ibm1046.h: Likewise.
10041 * iconvdata/ibm1097.h: Likewise.
10042 * iconvdata/ibm1112.h: Likewise.
10043 * iconvdata/ibm1122.h: Likewise.
10044 * iconvdata/ibm1123.h: Likewise.
10045 * iconvdata/ibm1124.h: Likewise.
10046 * iconvdata/ibm1129.h: Likewise.
10047 * iconvdata/ibm1130.h: Likewise.
10048 * iconvdata/ibm1132.h: Likewise.
10049 * iconvdata/ibm1133.h: Likewise.
10050 * iconvdata/ibm1137.h: Likewise.
10051 * iconvdata/ibm1140.h: Likewise.
10052 * iconvdata/ibm1141.h: Likewise.
10053 * iconvdata/ibm1142.h: Likewise.
10054 * iconvdata/ibm1143.h: Likewise.
10055 * iconvdata/ibm1144.h: Likewise.
10056 * iconvdata/ibm1145.h: Likewise.
10057 * iconvdata/ibm1146.h: Likewise.
10058 * iconvdata/ibm1147.h: Likewise.
10059 * iconvdata/ibm1148.h: Likewise.
10060 * iconvdata/ibm1149.h: Likewise.
10061 * iconvdata/ibm1153.h: Likewise.
10062 * iconvdata/ibm1154.h: Likewise.
10063 * iconvdata/ibm1155.h: Likewise.
10064 * iconvdata/ibm1156.h: Likewise.
10065 * iconvdata/ibm1157.h: Likewise.
10066 * iconvdata/ibm1158.h: Likewise.
10067 * iconvdata/ibm1160.h: Likewise.
10068 * iconvdata/ibm1161.h: Likewise.
10069 * iconvdata/ibm1162.h: Likewise.
10070 * iconvdata/ibm1163.h: Likewise.
10071 * iconvdata/ibm1164.h: Likewise.
10072 * iconvdata/ibm1166.h: Likewise.
10073 * iconvdata/ibm1167.h: Likewise.
10074 * iconvdata/ibm12712.h: Likewise.
10075 * iconvdata/ibm1390.h: Likewise.
10076 * iconvdata/ibm1399.h: Likewise.
10077 * iconvdata/ibm16804.h: Likewise.
10078 * iconvdata/ibm4517.h: Likewise.
10079 * iconvdata/ibm4899.h: Likewise.
10080 * iconvdata/ibm4909.h: Likewise.
10081 * iconvdata/ibm4971.h: Likewise.
10082 * iconvdata/ibm5347.h: Likewise.
10083 * iconvdata/ibm803.h: Likewise.
10084 * iconvdata/ibm856.h: Likewise.
10085 * iconvdata/ibm901.h: Likewise.
10086 * iconvdata/ibm902.h: Likewise.
10087 * iconvdata/ibm9030.h: Likewise.
10088 * iconvdata/ibm9066.h: Likewise.
10089 * iconvdata/ibm921.h: Likewise.
10090 * iconvdata/ibm922.h: Likewise.
10091 * iconvdata/ibm9448.h: Likewise.
10092 * iconvdata/isiri-3342.h: Likewise.
10093 * iconvdata/jis0201.h: Likewise.
10094 * include/link.h: Likewise.
10095 * include/netdb.h: Likewise.
10096 * inet/check_native.c: Likewise.
10097 * inet/check_pf.c: Likewise.
10098 * inet/getipv4sourcefilter.c: Likewise.
10099 * inet/getnameinfo.c: Likewise.
10100 * inet/getsourcefilter.c: Likewise.
10101 * inet/htonl.c: Likewise.
10102 * inet/setipv4sourcefilter.c: Likewise.
10103 * inet/setsourcefilter.c: Likewise.
10104 * inet/test-inet6_opt.c: Likewise.
10105 * inet/tst-network.c: Likewise.
10106 * locale/C-collate.c: Likewise.
10107 * locale/C-ctype.c: Likewise.
10108 * locale/C-time.c: Likewise.
10109 * locale/C-translit.h: Likewise.
10110 * locale/loadarchive.c: Likewise.
10111 * locale/programs/3level.h: Likewise.
10112 * locale/programs/charmap.c: Likewise.
10113 * locale/programs/charmap.h: Likewise.
10114 * locale/programs/ld-address.c: Likewise.
10115 * locale/programs/ld-collate.c: Likewise.
10116 * locale/programs/ld-ctype.c: Likewise.
10117 * locale/programs/ld-identification.c: Likewise.
10118 * locale/programs/ld-measurement.c: Likewise.
10119 * locale/programs/ld-messages.c: Likewise.
10120 * locale/programs/ld-monetary.c: Likewise.
10121 * locale/programs/ld-name.c: Likewise.
10122 * locale/programs/ld-numeric.c: Likewise.
10123 * locale/programs/ld-paper.c: Likewise.
10124 * locale/programs/ld-telephone.c: Likewise.
10125 * locale/programs/ld-time.c: Likewise.
10126 * locale/programs/linereader.c: Likewise.
10127 * locale/programs/locale.c: Likewise.
10128 * locale/programs/locarchive.c: Likewise.
10129 * locale/programs/locfile.h: Likewise.
10130 * locale/programs/repertoire.c: Likewise.
10131 * locale/programs/simple-hash.c: Likewise.
10132 * locale/programs/simple-hash.h: Likewise.
10133 * malloc/memusage.c: Likewise.
10134 * malloc/memusagestat.c: Likewise.
10135 * nis/nis_defaults.c: Likewise.
10136 * nis/nis_hash.c: Likewise.
10137 * nis/nis_print.c: Likewise.
10138 * nis/nis_xdr.c: Likewise.
10139 * nscd/connections.c: Likewise.
10140 * nscd/hstcache.c: Likewise.
10141 * nscd/nscd_gethst_r.c: Likewise.
10142 * nscd/nscd_getserv_r.c: Likewise.
10143 * nscd/nscd_helper.c: Likewise.
10144 * nscd/servicescache.c: Likewise.
10145 * nss/makedb.c: Likewise.
10146 * nss/nss_db/db-XXX.c: Likewise.
10147 * nss/nss_db/db-initgroups.c: Likewise.
10148 * nss/nss_db/db-netgrp.c: Likewise.
10149 * nss/nss_files/files-network.c: Likewise.
10150 * nss/nss_files/files-parse.c: Likewise.
10151 * posix/bug-regex5.c: Likewise.
10152 * posix/fnmatch_loop.c: Likewise.
10153 * posix/regcomp.c: Likewise.
10154 * posix/regexec.c: Likewise.
10155 * posix/tst-rfc3484-2.c: Likewise.
10156 * posix/tst-rfc3484-3.c: Likewise.
10157 * posix/tst-rfc3484.c: Likewise.
10158 * resolv/nss_dns/dns-canon.c: Likewise.
10159 * resolv/nss_dns/dns-network.c: Likewise.
10160 * resolv/res_init.c: Likewise.
10161 * resolv/res_mkquery.c: Likewise.
10162 * resolv/tst-aton.c: Likewise.
10163 * stdlib/cxa_atexit.c: Likewise.
10164 * stdlib/cxa_finalize.c: Likewise.
10165 * stdlib/gen-fpioconst.c: Likewise.
10166 * stdlib/strtol_l.c: Likewise.
10167 * string/tst-endian.c: Likewise.
10168 * sunrpc/auth_des.c: Likewise.
10169 * sunrpc/clnt_udp.c: Likewise.
10170 * sunrpc/rtime.c: Likewise.
10171 * sunrpc/svcauth_des.c: Likewise.
10172 * sunrpc/xdr.c: Likewise.
10173 * sunrpc/xdr_intXX_t.c: Likewise.
10174 * sunrpc/xdr_rec.c: Likewise.
10175 * sysdeps/generic/ldconfig.h: Likewise.
10176 * sysdeps/generic/ldsodefs.h: Likewise.
10177 * sysdeps/generic/memusage.h: Likewise.
10178 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10179 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
10180 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
10181 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10182 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10183 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10184 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10185 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10186 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10187 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10188 * sysdeps/posix/getaddrinfo.c: Likewise.
10189 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10190 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10191 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10192 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10193 * sysdeps/powerpc/test-gettimebase.c: Likewise.
10194 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10195 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
10196 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
10197 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10198 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
10199 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10200 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10201 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
10202 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
10203 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
10204 * sysdeps/x86_64/dl-tls.h: Likewise.
10205 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
10206 * time/alt_digit.c: Likewise.
10207 * time/era.c: Likewise.
10208 * wcsmbs/tst-c16c32-1.c: Likewise.
10210 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10212 * math/libm-test.inc (struct test_sincos_data): New type.
10213 (RUN_TEST_LOOP_sincos): New macro.
10214 (sincos_test_data): New variable.
10215 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
10217 2013-05-16 Richard Henderson <rth@redhat.com>
10219 * math/atest-exp2.c (LIMB64): New macro.
10220 (CONSTSZ): New macro.
10221 (mp_exp1, mp_exp_m1, mp_log2): New variables.
10223 (print_mpn_fp): ... to function scope.
10224 (read_mpn_hex): Remove.
10225 (get_log2): Remove.
10226 (exp2_mpn): Use mp_log2.
10227 (main): Use mp_exp1.
10229 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10231 * math/libm-test.inc: Remove comment about not testing "inexact"
10233 (INEXACT_EXCEPTION): New macro.
10234 (NO_INEXACT_EXCEPTION): Likewise.
10235 (INVALID_EXCEPTION_OK): Update value.
10236 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10237 (OVERFLOW_EXCEPTION_OK): Likewise.
10238 (UNDERFLOW_EXCEPTION_OK): Likewise.
10239 (IGNORE_ZERO_INF_SIGN): Likewise.
10240 (ERRNO_UNCHANGED): Likewise.
10241 (ERRNO_EDOM): Likewise.
10242 (ERRNO_ERANGE): Likewise.
10243 (test_exceptions): Handle testing "inexact" exceptions.
10244 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
10245 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
10246 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
10247 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
10249 (rint_towardzero_test_data): Likewise.
10250 (rint_downward_test_data): Likewise.
10251 (rint_upward_test_data): Likewise.
10253 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
10254 with OVERFLOW_EXCEPTION.
10255 (exp10_test_data): Likewise.
10256 (exp2_test_data): Likewise.
10257 (expm1_test_data): Likewise.
10258 (lgamma_test_data): Likewise.
10259 (pow_test_data): Likewise.
10260 (tgamma_test_data): Likewise.
10261 (yn_test_data): Remove duplicate test of overflow.
10263 * math/libm-test.inc (struct test_cc_c_data): New type.
10264 (RUN_TEST_LOOP_cc_c): New macro.
10265 (cpow_test_data): New variable.
10266 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
10268 * math/libm-test.inc (struct test_f_L_data): New type.
10269 (RUN_TEST_LOOP_f_L): New macro.
10270 (llrint_test_data): New variable.
10271 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
10272 (llrint_tonearest_test_data): New variable.
10273 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
10274 (llrint_towardzero_test_data): New variable.
10275 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
10276 (llrint_downward_test_data): New variable.
10277 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
10278 (llrint_upward_test_data): New variable.
10279 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
10280 (llround_test_data): New variable.
10281 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
10283 2013-05-13 Peter Collingbourne <pcc@google.com>
10285 * math/atest-exp2.c (get_log2): Remove const attribute.
10287 2013-05-15 Joseph Myers <joseph@codesourcery.com>
10289 * math/libm-test.inc (struct test_f_l_data): New type.
10290 (RUN_TEST_LOOP_f_l): New macro.
10291 (lrint_test_data): New variable.
10292 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
10293 (lrint_tonearest_test_data): New variable.
10294 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
10295 (lrint_towardzero_test_data): New variable.
10296 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
10297 (lrint_downward_test_data): New variable.
10298 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
10299 (lrint_upward_test_data): New variable.
10300 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
10301 (lround_test_data): New variable.
10302 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
10304 2013-05-15 Peter Collingbourne <pcc@google.com>
10306 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
10307 (EXTRACT_WORDS64) Use where appropriate.
10308 (INSERT_WORDS64) Likewise.
10310 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
10311 constraints with x constraints.
10312 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
10314 * malloc/obstack.c (_obstack_compat): Add initializer.
10316 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
10318 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
10319 si_trapno and add si_addr_lsb to _sifields.sigfault.
10320 (si_trapno): Remove macro.
10321 (si_addr_lsb): Define new macro.
10322 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10324 2013-05-15 Joseph Myers <joseph@codesourcery.com>
10326 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
10327 instead of TEST_f_l.
10328 (llrint_test_tonearest): Likewise.
10329 (llrint_test_towardzero): Likewise.
10330 (llrint_test_downward): Likewise.
10331 (llrint_test_upward): Likewise.
10332 (llround_test): Likewise.
10334 * math/libm-test.inc (struct test_f_i_data): Add comment.
10335 (RUN_TEST_LOOP_f_b): New macro.
10336 (RUN_TEST_LOOP_f_b_tg): Likewise.
10337 (finite_test_data): New variable.
10338 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
10339 (isfinite_test_data): New variable.
10340 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10341 (isinf_test_data): New variable.
10342 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10343 (isnan_test_data): New variable.
10344 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10345 (isnormal_test_data): New variable.
10346 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10347 (issignaling_test_data): New variable.
10348 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10349 (signbit_test_data): New variable.
10350 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10352 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
10353 with INVALID_EXCEPTION.
10354 (acosh_test_data): Likewise.
10355 (asin_test_data): Likewise.
10356 (atanh_test_data): Likewise.
10357 (fmod_test_data): Likewise.
10358 (log_test_data): Likewise.
10359 (log10_test_data): Likewise.
10360 (log2_test_data): Likewise.
10361 (pow_test_data): Likewise.
10362 (sqrt_test_data): Likewise.
10363 (y0_test_data): Likewise.
10364 (y1_test_data): Likewise.
10365 (yn_test_data): Likewise.
10367 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
10370 * math/libm-test.inc (struct test_ff_i_data): New type.
10371 (RUN_TEST_LOOP_ff_i_tg): New macro.
10372 (isgreater_test_data): New variable.
10373 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10374 (isgreaterequal_test_data): New variable.
10375 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10376 (isless_test_data): New variable.
10377 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10378 (islessequal_test_data): New variable.
10379 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10380 (islessgreater_test_data): New variable.
10381 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10382 (isunordered_test_data): New variable.
10383 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10385 2013-05-14 David S. Miller <davem@davemloft.net>
10387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10389 2013-05-14 Joseph Myers <joseph@codesourcery.com>
10391 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
10393 * math/libm-test.inc (struct test_fF_f1_data): Change type of
10395 (struct test_f_i_data): Change type of max_ulp to int.
10397 * math/libm-test.inc (test_ffI_f1_data): New type.
10398 (RUN_TEST_LOOP_ffI_f1): New macro.
10399 (remquo_test_data): New variable.
10400 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
10402 * setjmp/tst-setjmp-fp.c: New file.
10403 * setjmp/Makefile (tests): Add tst-setjmp-fp.
10404 (link-libm): New variable.
10405 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
10407 * math/libm-test.inc (struct test_f_i_data): New type.
10408 (RUN_TEST_LOOP_f_i): New macro.
10409 (RUN_TEST_LOOP_f_i_tg): Likewise.
10410 (fpclassify_test_data): New variable.
10411 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
10412 (ilogb_test_data): New variable.
10413 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
10415 * math/libm-test.inc (scalbln_test): Correct function name in END
10418 * math/libm-test.inc (struct test_f_f1_data): Add comment.
10419 (RUN_TEST_LOOP_fI_f1): New macro.
10420 (frexp_test_data): New variable.
10421 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
10423 * math/libm-test.inc (struct test_fF_f1_data): New type.
10424 (RUN_TEST_LOOP_fF_f1): New macro.
10425 (modf_test_data): New variable.
10426 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
10428 * math/libm-test.inc (struct test_f_f1_data): New type.
10429 (RUN_TEST_LOOP_f_f1): New macro.
10430 (gamma_test_data): New variable.
10431 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10432 (lgamma_test_data): New variable.
10433 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10435 2013-05-13 Carlos O'Donell <carlos@redhat.com>
10437 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
10438 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
10439 (main): Comment "tls" pseudo-hwcap.
10441 2013-05-13 Joseph Myers <joseph@codesourcery.com>
10443 * math/libm-test.inc (struct test_fl_f_data): New type.
10444 (RUN_TEST_LOOP_fl_f): New variable.
10445 (scalbln_test_data): New variable.
10446 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
10448 * math/libm-test.inc (struct test_fi_f_data): New type.
10449 (RUN_TEST_LOOP_fi_f): New macro.
10450 (ldexp_test_data): New variable.
10451 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
10452 (scalbn_test_data): New variable.
10453 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
10455 * math/libm-test.inc (struct test_c_f_data): New type.
10456 (RUN_TEST_LOOP_c_f): New macro.
10457 (cabs_test_data): New variable.
10458 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
10459 (carg_test_data): New variable.
10460 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
10461 (cimag_test_data): New variable.
10462 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
10463 (creal_test_data): New variable.
10464 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
10466 * math/libm-test.inc (struct test_if_f_data): New type.
10467 (RUN_TEST_LOOP_if_f): New macro.
10468 (jn_test_data): New variable.
10469 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
10470 (yn_test_data): New variable.
10471 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
10473 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
10475 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10477 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
10478 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
10480 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10482 * benchtests/Makefile (CPPFLAGS-nonlib): Add
10483 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
10484 (bench-deps): Add bench-timing.h.
10485 * benchtests-bench-skeleton.c: Include bench-timing.h.
10486 (main): Use TIMING_* macros instead of clock_gettime.
10487 * benchtests/bench-timing.h: New file.
10490 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
10491 Renamed from _LIB_VERSION.
10492 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
10494 2013-05-12 Joseph Myers <joseph@codesourcery.com>
10496 * math/libm-test.inc (struct test_fff_f_data): New type.
10497 (RUN_TEST_LOOP_fff_f): New macro.
10498 (fma_test_data): New variable.
10499 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
10500 (fma_towardzero_test_data): New variable.
10501 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
10502 (fma_downward_test_data): New variable.
10503 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
10504 (fma_upward_test_data): New variable.
10505 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
10507 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
10508 (struct test_c_c_data): New type.
10509 (RUN_TEST_LOOP_c_c): New macro.
10510 (cacos_test_data): New variable.
10511 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
10512 (cacosh_test_data): New variable.
10513 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
10514 (casin_test_data): New variable.
10515 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
10516 (casinh_test_data): New variable.
10517 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
10518 (catan_test_data): New variable.
10519 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
10520 (catanh_test_data): New variable.
10521 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
10522 (ccos_test_data): New variable.
10523 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
10524 (ccosh_test_data): New variable.
10525 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
10526 (cexp_test_data): New variable.
10527 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
10528 (clog_test_data): New variable.
10529 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
10530 (clog10_test_data): New variable.
10531 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
10532 (conj_test_data): New variable.
10533 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
10534 (cproj_test_data): New variable.
10535 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
10536 (csin_test_data): New variable.
10537 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
10538 (csinh_test_data): New variable.
10539 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
10540 (csqrt_test_data): New variable.
10541 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
10542 (ctan_test_data): New variable.
10543 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
10544 (ctan_tonearest_test_data): New variable.
10545 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10546 (ctan_towardzero_test_data): New variable.
10547 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10548 (ctan_downward_test_data): New variable.
10549 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10550 (ctan_upward_test_data): New variable.
10551 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10552 (ctanh_test_data): New variable.
10553 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
10554 (ctanh_tonearest_test_data): New variable.
10555 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10556 (ctanh_towardzero_test_data): New variable.
10557 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10558 (ctanh_downward_test_data): New variable.
10559 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10560 (ctanh_upward_test_data): New variable.
10561 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10562 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
10565 * math/libm-test.inc (struct test_ff_f_data): New type.
10566 (struct test_ff_f_data_nexttoward): Likewise.
10567 (RUN_TEST_LOOP_2_f): New macro.
10568 (RUN_TEST_LOOP_ff_f): Likewise.
10569 (atan2_test_data): New variable.
10570 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
10571 (copysign_test_data): New variable.
10572 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
10573 (fdim_test_data): New variable.
10574 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
10575 (fmax_test_data): New variable.
10576 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
10577 (fmin_test_data): New variable.
10578 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
10579 (fmod_test_data): New variable.
10580 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
10581 (hypot_test_data): New variable.
10582 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
10583 (nextafter_test_data): New variable.
10584 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
10585 (nexttoward_test_data): New variable.
10586 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
10587 (pow_test_data): New variable.
10588 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
10589 (pow_tonearest_test_data): New variable.
10590 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
10591 (pow_towardzero_test_data): New variable.
10592 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
10593 (pow_downward_test_data): New variable.
10594 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
10595 (pow_upward_test_data): New variable.
10596 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
10597 (remainder_test_data): New variable.
10598 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
10599 (scalb_test_data): New variable.
10600 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
10601 * sysdeps/i386/fpu/libm-test-ulps: Update.
10603 2013-05-11 Joseph Myers <joseph@codesourcery.com>
10605 * math/libm-test.inc (fma_test): Use max_value instead of local
10607 (nextafter_test): Likewise.
10609 * math/libm-test.inc (acos_towardzero_test_data): New variable.
10610 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10611 (acos_downward_test_data): New variable.
10612 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10613 (acos_upward_test_data): New variable.
10614 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10615 (acosh_test_data): New variable.
10616 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
10617 (asin_test_data): New variable.
10618 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
10619 (asin_tonearest_test_data): New variable.
10620 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10621 (asin_towardzero_test_data): New variable.
10622 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10623 (asin_downward_test_data): New variable.
10624 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10625 (asin_upward_test_data): New variable.
10626 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10627 (asinh_test_data): New variable.
10628 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
10629 (atan_test_data): New variable.
10630 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
10631 (atanh_test_data): New variable.
10632 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
10633 (cbrt_test_data): New variable.
10634 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
10635 (ceil_test_data): New variable.
10636 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
10637 (cos_test_data): New variable.
10638 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
10639 (cos_tonearest_test_data): New variable.
10640 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10641 (cos_towardzero_test_data): New variable.
10642 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10643 (cos_downward_test_data): New variable.
10644 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10645 (cos_upward_test_data): New variable.
10646 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10647 (cosh_test_data): New variable.
10648 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
10649 (cosh_tonearest_test_data): New variable.
10650 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10651 (cosh_towardzero_test_data): New variable.
10652 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10653 (cosh_downward_test_data): New variable.
10654 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10655 (cosh_upward_test_data): New variable.
10656 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10657 (erf_test_data): New variable.
10658 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
10659 (erfc_test_data): New variable.
10660 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
10661 (exp_test_data): New variable.
10662 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
10663 (exp_tonearest_test_data): New variable.
10664 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10665 (exp_towardzero_test_data): New variable.
10666 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10667 (exp_downward_test_data): New variable.
10668 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10669 (exp_upward_test_data): New variable.
10670 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10671 (exp10_test_data): New variable.
10672 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
10673 (exp2_test_data): New variable.
10674 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
10675 (expm1_test_data): New variable.
10676 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
10677 (fabs_test_data): New variable.
10678 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
10679 (floor_test_data): New variable.
10680 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
10681 (j0_test_data): New variable.
10682 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
10683 (j1_test_data): New variable.
10684 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
10685 (log_test_data): New variable.
10686 (log_test): Run tests with RUN_TEST_LOOP_f_f.
10687 (log10_test_data): New variable.
10688 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
10689 (log1p_test_data): New variable.
10690 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
10691 (log2_test_data): New variable.
10692 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
10693 (logb_test_data): New variable.
10694 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
10695 (logb_downward_test_data): New variable.
10696 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10697 (nearbyint_test_data): New variable.
10698 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
10699 (rint_test_data): New variable.
10700 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
10701 (rint_tonearest_test_data): New variable.
10702 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10703 (rint_towardzero_test_data): New variable.
10704 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10705 (rint_downward_test_data): New variable.
10706 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10707 (rint_upward_test_data): New variable.
10708 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10709 (round_test_data): New variable.
10710 (round_test): Run tests with RUN_TEST_LOOP_f_f.
10711 (sin_test_data): New variable.
10712 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
10713 (sin_tonearest_test_data): New variable.
10714 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10715 (sin_towardzero_test_data): New variable.
10716 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10717 (sin_downward_test_data): New variable.
10718 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10719 (sin_upward_test_data): New variable.
10720 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10721 (sinh_test_data): New variable.
10722 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
10723 (sinh_tonearest_test_data): New variable.
10724 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10725 (sinh_towardzero_test_data): New variable.
10726 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10727 (sinh_downward_test_data): New variable.
10728 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10729 (sinh_upward_test_data): New variable.
10730 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10731 (sqrt_test_data): New variable.
10732 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10733 (tan_test_data): New variable.
10734 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10735 (tan_tonearest_test_data): New variable.
10736 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10737 (tan_towardzero_test_data): New variable.
10738 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10739 (tan_downward_test_data): New variable.
10740 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10741 (tan_upward_test_data): New variable.
10742 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10743 (tanh_test_data): New variable.
10744 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10745 (tgamma_test_data): New variable.
10746 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10747 (trunc_test_data): New variable.
10748 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10749 (y0_test_data): New variable.
10750 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10751 (y1_test_data): New variable.
10752 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10753 (significand_test_data): New variable.
10754 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10756 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
10759 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10761 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
10763 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10765 2013-05-10 Andreas Jaeger <aj@suse.de>
10768 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10769 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10771 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10773 * math/gen-libm-test.pl (adjust_arg): New function.
10774 (special_functions): Handle generating output in both functions
10776 (parse_args): Likewise.
10777 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
10778 $in_func argument to parse_args.
10779 * math/libm-test.inc (struct test_f_f_data): New type.
10780 (IF_ROUND_INIT_): New macro.
10781 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10782 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10783 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10784 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10785 (ROUND_RESTORE_): Likewise.
10786 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10787 (ROUND_RESTORE_FE_TONEAREST): Likewise.
10788 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10789 (ROUND_RESTORE_FE_UPWARD): Likewise.
10790 (RUN_TEST_LOOP_f_f): New macro.
10791 (acos_test_data): New variable.
10792 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10793 (acos_tonearest_test_data): New variable.
10794 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10796 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10798 * benchtests/bench-skeleton.c (startup): Fix coding style.
10800 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10803 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10804 negative infinity argument.
10805 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10806 negative infinity argument.
10807 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10808 negative infinity argument.
10809 * math/libm-test.inc (tgamma_test): Expect errno to be set for
10812 2013-05-10 Florian Weimer <fweimer@redhat.com>
10814 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10815 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10816 * iconv/iconv_prog.c (main): Likewise.
10817 * locale/programs/charmap-dir.c (charmap_readdir)
10818 (fopen_uncompressed): Likewise.
10819 * locale/programs/locfile.c (siblings_uncached)
10820 (write_locale_data): Use lstat64 instead of lstat.
10821 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10824 2013-05-10 Andreas Jaeger <aj@suse.de>
10827 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10829 Include <locale.h>.
10831 2013-05-09 Carlos O'Donell <carlos@redhat.com>
10833 * elf/dl-close.c (_dl_close_worker): Add comments.
10835 2013-05-09 Joseph Myers <joseph@codesourcery.com>
10838 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10840 (__ieee754_rem_pio2l): Update comments.
10843 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10845 (__ieee754_rem_pio2l): Update comments.
10847 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10848 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10850 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10853 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10854 (M_PI_34_LOG10El): Likewise.
10855 (M_PI2_LOG10El): Likewise.
10856 (M_PI4_LOG10El): Likewise.
10857 (M_PI_LOG10El): Likewise.
10859 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10861 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10863 2013-05-08 Joseph Myers <joseph@codesourcery.com>
10865 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10866 (MINUS_ZERO_INIT): Likewise.
10867 (PLUS_INFTY_INIT): Likewise.
10868 (MINUS_INFTY_INIT): Likewise.
10869 (QNAN_VALUE_INIT): Likewise.
10870 (MAX_VALUE_INIT): Likewise.
10871 (MIN_VALUE_INIT): Likewise.
10872 (MIN_SUBNORM_VALUE_INIT): Likewise.
10873 (plus_zero): Initialize with PLUS_ZERO_INIT.
10874 (minus_zero): Initialize with MINUS_ZERO_INIT.
10875 (plus_infty): Initialize with PLUS_INFTY_INIT.
10876 (minus_infty): Initialize with MINUS_INFTY_INIT.
10877 (qnan_value): Initialize with QNAN_VALUE_INIT.
10878 (max_value): Initialize with MAX_VALUE_INIT.
10879 (min_value): Initialize with MIN_VALUE_INIT.
10880 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10882 * math/libm-test.inc (RUN_TEST_if_f): New macro.
10883 (jn_test): Use TEST_if_f instead of TEST_ff_f.
10884 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10885 (yn_test): Use TEST_if_f instead of TEST_ff_f.
10887 * math/libm-test.inc (RUN_TEST_f_f): New macro.
10888 (RUN_TEST_2_f): Likewise.
10889 (RUN_TEST_ff_f): Likewise.
10890 (RUN_TEST_fi_f): Likewise.
10891 (RUN_TEST_fl_f): Likewise.
10892 (RUN_TEST_fff_f): Likewise.
10893 (RUN_TEST_c_f): Likewise.
10894 (RUN_TEST_f_f1): Likewise.
10895 (RUN_TEST_fF_f1): Likewise.
10896 (RUN_TEST_fI_f1): Likewise.
10897 (RUN_TEST_ffI_f1): Likewise.
10898 (RUN_TEST_c_c): Likewise.
10899 (RUN_TEST_cc_c): Likewise.
10900 (RUN_TEST_f_i): Likewise.
10901 (RUN_TEST_f_i_tg): Likewise.
10902 (RUN_TEST_ff_i_tg): Likewise.
10903 (RUN_TEST_f_b): Likewise.
10904 (RUN_TEST_f_b_tg): Likewise.
10905 (RUN_TEST_f_l): Likewise.
10906 (RUN_TEST_f_L): Likewise.
10907 (RUN_TEST_sincos): Likewise.
10908 * math/gen-libm-test.pl (new_test): Take new argument to indicate
10909 whether to show exceptions. Do not include ");\n" in return
10911 (special_functions): Output call to RUN_TEST_sincos instead of
10912 check_float calls. Update calls to new_test.
10913 (parse_args): Output call to single RUN_TEST_* macro instead of
10914 check_* calls and other assignments. Update calls to new_test.
10920 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10921 input to result for tgamma overflow.
10922 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10923 (gamma_coeff): New variable.
10924 (NCOEFF): New macro.
10925 (gamma_positive): New function.
10926 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10927 underflow here. Use gamma_positive instead of exp (lgamma) for
10929 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10930 (gamma_coeff): New variable.
10931 (NCOEFF): New macro.
10932 (gammaf_positive): New function.
10933 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10934 underflow here. Use gamma_positive instead of exp (lgamma) for
10936 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10937 (gamma_coeff): New variable.
10938 (NCOEFF): New macro.
10939 (gammal_positive): New function.
10940 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10941 underflow here. Use gamma_positive instead of exp (lgamma) for
10943 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10944 (gamma_coeff): New variable.
10945 (NCOEFF): New macro.
10946 (gammal_positive): New function.
10947 (__ieee754_gammal_r): Handle positive infinity, overflow and
10948 underflow here. Handle NaN the same as positive infinity. Remove
10949 check x < 0xffffffff for negative integers. Use gamma_positive
10950 instead of exp (lgamma) for other arguments.
10951 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10952 (gamma_coeff): New variable.
10953 (NCOEFF): New macro.
10954 (gammal_positive): New function.
10955 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10956 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10957 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10958 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10959 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10960 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10961 * sysdeps/generic/math_private.h (__gamma_productf): New
10963 (__gamma_product): Likewise.
10964 (__gamma_productl): Likewise.
10965 * math/Makefile (libm-calls): Add gamma_product.
10966 * math/libm-test.inc (tgamma_test): Add more tests.
10967 * sysdeps/i386/fpu/libm-test-ulps: Update.
10968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10970 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
10972 * benchtests/bench-skeleton.c (main): Preheat CPU.
10974 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
10976 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10978 2013-05-07 Roland McGrath <roland@hack.frob.com>
10980 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10981 and _dl_skip_args_internal.
10983 2013-05-07 Carlos O'Donell <carlos@redhat.com>
10985 * manual/message.texi (Message Translation): Talk about users.
10986 Message to key mapping impacts design.
10988 2013-05-06 Roland McGrath <roland@hack.frob.com>
10990 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10992 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10994 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10995 * sysdeps/wordsize-64/glob64.c: ... here.
10997 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10998 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
11001 * debug/getlogin_r_chk.c: Moved to ...
11002 * login/getlogin_r_chk.c: ... here.
11003 * debug/Makefile (routines): Move getlogin_r_chk to ...
11004 * login/Makefile (routines): ... here.
11005 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
11006 * login/Versions (libc: GLIBC_2.4): ... here.
11008 * io/poll.c (__poll): Renamed from poll.
11009 Add libc_hidden_def.
11010 (poll): Define as weak alias.
11012 * debug/ptsname_r_chk.c: Moved to ...
11013 * login/ptsname_r_chk.c: ... here.
11014 * debug/Makefile (routines): Move ptsname_r_chk to ...
11015 * login/Makefile (routines): ... here.
11016 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
11017 * login/Versions (libc: GLIBC_2.4): ... here.
11019 * posix/getlogin.c: Moved to ...
11020 * login/getlogin.c: ... here.
11021 * posix/getlogin_r.c: Moved to ...
11022 * login/getlogin_r.c: ... here.
11023 * posix/getlogin_r.c: Moved to ...
11024 * login/getlogin_r.c: ... here.
11025 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11026 * login/Makefile (routines): ... here.
11027 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11028 * login/Versions (libc: GLIBC_2.0): ... here.
11030 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11031 (setrlimit): Define as weak alias.
11033 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11034 Call __ names for open, ftruncate, and close.
11035 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11036 (truncate): Define as weak alias.
11038 2013-05-06 Joseph Myers <joseph@codesourcery.com>
11040 * math/gen-libm-test.pl (parse_args): Initialize x before each
11041 test of frexp, modf and remquo.
11043 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11044 test signgam value.
11046 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11050 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11052 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11054 2013-05-06 Roland McGrath <roland@hack.frob.com>
11056 * elf/dl-writev.h: New file.
11057 * elf/dl-misc.c: Include it.
11058 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
11059 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
11061 2013-05-04 Joseph Myers <joseph@codesourcery.com>
11063 * math/libm-test.inc (noXFails): Remove variable.
11064 (noXPasses): Likewise.
11065 (BUILD_COMPLEX_INT): Remove macro.
11066 (print_screen): Remove xfail argument.
11067 (print_screen_max_error): Likewise.
11068 (update_stats): Likewise.
11069 (print_max_error): Likewise. Update calls to other affected
11071 (print_complex_max_error): Likewise.
11072 (test_single_exception): Update calls to print_screen.
11073 (test_single_errno): Likewise.
11074 (check_float_internal): Remove xfail argument. Update calls to
11075 other affected functions.
11076 (check_float): Likewise.
11077 (check_complex): Likewise.
11078 (check_int): Likewise.
11079 (check_long): Likewise.
11080 (check_bool): Likewise.
11081 (check_longlong): Likewise.
11082 (main): Don't print noXFails and noXPasses.
11083 * math/gen-libm-test.pl (top level): Don't mention expected
11084 failure handling in comment.
11085 (new_test): Don't handle expected failures.
11086 (parse_args): Don't mention expected failure handling in comment.
11087 (generate_testfile): Don't handle expected failures.
11088 (parse_ulps): Likewise.
11089 (print_ulps_file): Likewise.
11090 (get_failure): Remove function.
11091 (output_test): Don't handle expected failures.
11092 * make/README.libm-test: Don't mention expected failure handling.
11094 * math/libm-test.inc (plus_zero): Make const. Add initializer.
11095 (minus_zero): Likewise.
11096 (plus_infty): Likewise.
11097 (minus_infty): Likewise.
11098 (qnan_value): Likewise.
11099 (max_value): Likewise.
11100 (min_value): Likewise.
11101 (min_subnorm_value): Likewise.
11102 (initialize): Do not initialize those variables dynamically.
11104 2013-05-03 Roland McGrath <roland@hack.frob.com>
11106 * io/open.c (__open_2): Moved to ...
11107 * io/open_2.c: ... this new file.
11108 * io/open64.c (__open64_2): Moved to ...
11109 * io/open64_2.c: ... this new file.
11110 * io/openat.c (__openat_2): Moved to ...
11111 * io/openat_2.c: ... this new file.
11112 * io/openat64.c (__openat64_2): Moved to ...
11113 * io/openat64_2.c: ... this new file.
11114 * io/Makefile (routines): Add them.
11115 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
11116 * sysdeps/unix/sysv/linux/open_2.c: File removed.
11117 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
11118 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
11119 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
11120 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
11121 (__openat64): Add hidden_ver.
11122 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
11123 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
11125 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
11126 Separately conditionalize setting of GLRO(dl_sysinfo) so
11127 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
11128 as well, but the actual setting is only under [NEED_DL_SYSINFO].
11130 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11132 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
11133 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
11135 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
11136 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11137 (_libc_vdso_platform_setup): Add __vdso_time initialization.
11138 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
11139 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
11141 2013-05-03 Joseph Myers <joseph@codesourcery.com>
11143 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
11144 test signgam value.
11146 * math/libm-test.inc (hypot_test): Do not use
11147 IGNORE_ZERO_INF_SIGN.
11149 2013-05-03 Andreas Jaeger <aj@suse.de>
11151 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
11153 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
11154 (PF_MAX): Adjust for VSOCK change.
11156 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11160 2013-05-02 Carlos O'Donell <carlos@redhat.com>
11163 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
11164 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
11165 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
11167 2013-05-02 David S. Miller <davem@davemloft.net>
11169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11171 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
11173 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
11175 2013-05-01 Roland McGrath <roland@hack.frob.com>
11177 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
11179 2013-05-01 Richard Smith <richard@metafoo.co.uk>
11182 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
11183 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11184 Use __attribute__ ((__gnu_inline__)).
11185 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11186 Don't use __attribute__ ((__gnu_inline__)).
11188 2013-05-01 Joseph Myers <joseph@codesourcery.com>
11191 * math/s_catan.c (__catan): Handle small real or imaginary part of
11192 input specially to avoid spurious underflow.
11193 * math/s_catanf.c (__catanf): Likewise.
11194 * math/s_catanh.c (__catanh): Likewise.
11195 * math/s_catanhf.c (__catanhf): Likewise.
11196 * math/s_catanhl.c (__catanhl): Likewise.
11197 * math/s_catanl.c (__catanl): Likewise.
11198 * math/libm-test.inc (catan_test): Add more tests.
11199 (catanh_test): Likewise.
11200 * sysdeps/i386/fpu/libm-test-ulps: Update.
11201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11203 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11207 2013-04-30 Joseph Myers <joseph@codesourcery.com>
11210 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
11211 accurately for denominator in atan2.
11212 * math/s_catanf.c (__catanf): Likewise.
11213 * math/s_catanh.c (__catanh): Likewise.
11214 * math/s_catanhf.c (__catanhf): Likewise.
11215 * math/s_catanhl.c (__catanhl): Likewise.
11216 * math/s_catanl.c (__catanl): Likewise.
11217 * math/libm-test.inc (catan_test): Add more tests.
11218 (catanh_test): Likewise.
11219 * sysdeps/i386/fpu/libm-test-ulps: Update.
11220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11222 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11224 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
11226 * benchtests/Makefile (bench): Remove slow benchmarks.
11227 * benchtests/atan-inputs: Add slow benchmark inputs.
11228 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
11229 (BENCH_FUNC): Accept variant offset.
11231 * benchtests/bench-skeleton.c (main): Run benchmark for each
11233 * benchtests/cos-inputs: Add slow benchmark inputs.
11234 * benchtests/exp-inputs: Likewise.
11235 * benchtests/pow-inputs: Likewise.
11236 * benchtests/sin-inputs: Likewise.
11237 * benchtests/slowatan-inputs: Remove.
11238 * benchtests/slowatan.c: Remove.
11239 * benchtests/slowcos-inputs: Remove.
11240 * benchtests/slowcos.c: Remove.
11241 * benchtests/slowexp-inputs: Remove.
11242 * benchtests/slowexp.c: Remove.
11243 * benchtests/slowpow-inputs: Remove.
11244 * benchtests/slowpow.c: Remove.
11245 * benchtests/slowsin-inputs: Remove.
11246 * benchtests/slowsin.c: Remove.
11247 * benchtests/slowtan-inputs: Remove.
11248 * benchtests/slowtan.c: Remove.
11249 * benchtests/tan-inputs: Add slow benchmark inputs.
11250 * scripts/bench.pl: Parse comments and directives.
11252 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
11254 ($(objpfx)bench-%.c): Remove *-ITER.
11255 * benchtests/bench-modf.c: Remove definition of ITER.
11256 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
11257 (main): Loop for DURATION seconds instead of fixed number of
11259 * scripts/bench.pl: Don't expect iterations in parameters.
11261 2013-04-29 Roland McGrath <roland@hack.frob.com>
11263 * io/fchdir.c (__fchdir): Renamed from fchdir.
11264 (fchdir): Define as weak alias.
11266 2013-04-29 Joseph Myers <joseph@codesourcery.com>
11268 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
11269 (ERRNO_EDOM): Likewise.
11270 (ERRNO_ERANGE): Likewise.
11271 (noErrnoTests): New variable.
11272 (init_max_error): Set errno to 0.
11273 (test_single_errno): New function.
11274 (test_errno): Likewise.
11275 (check_float_internal): Call test_errno. Set errno to 0.
11276 (check_complex): Refer to errno tests in comment.
11277 (check_int): Call test_errno. Set errno to 0.
11278 (check_long): Likewise.
11279 (check_bool): Likewise.
11280 (check_longlong): Likewise.
11281 (cos_test): Use ERRNO_* flags for errno tests instead of
11283 (expm1_test): Likewise.
11284 (fmod_test): Likewise.
11285 (ilogb_test): Likewise.
11286 (lgamma_test): Likewise.
11287 (pow_test): Likewise.
11288 (remainder_test): Likewise.
11289 (sin_test): Likewise.
11290 (tan_test): Likewise.
11291 (yn_test): Likewise.
11292 (initialize): Set errno to 0.
11293 (main): Print number of errno tests.
11294 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
11296 2013-04-29 Andreas Jaeger <aj@suse.de>
11299 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
11303 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
11304 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
11308 * stdlib/random.c (__initstate): Return NULL if
11312 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
11313 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
11316 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11320 2013-04-29 Joseph Myers <joseph@codesourcery.com>
11322 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
11323 of individual tests.
11324 (casin_test): Likewise.
11325 (casinh_test): Likewise.
11327 2013-04-27 Joseph Myers <joseph@codesourcery.com>
11330 * math/s_catan.c (__catan): Handle arguments with large real or
11331 imaginary part separately without squaring.
11332 * math/s_catanf.c (__catanf): Likewise.
11333 * math/s_catanh.c (__catanh): Likewise.
11334 * math/s_catanhf.c (__catanhf): Likewise.
11335 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11337 (__catanhl): Handle arguments with large real or imaginary part
11338 separately without squaring.
11339 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11341 (__catanl): Handle arguments with large real or imaginary part
11342 separately without squaring.
11343 * math/libm-test.inc (catan_test): Add more tests.
11344 (catanh_test): Likewise.
11345 * sysdeps/i386/fpu/libm-test-ulps: Update.
11346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11348 2013-04-27 Andreas Jaeger <aj@suse.de>
11351 * stdlib/stdlib.h: Update guards for qecvt.
11352 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
11355 2013-04-27 Allan McRae <allan@archlinux.org>
11357 * sysdeps/i386/fpu/libm-test-ulps: Update.
11359 2013-04-26 Joseph Myers <joseph@codesourcery.com>
11362 * math/s_catan.c: Include <float.h>.
11363 (__catan): Ensure underflow exception occurs for underflowed
11365 * math/s_catanf.c: Include <float.h>.
11366 (__catanf): Ensure underflow exception occurs for underflowed
11368 * math/s_catanh.c: Include <float.h>.
11369 (__catanh): Ensure underflow exception occurs for underflowed
11371 * math/s_catanhf.c: Include <float.h>.
11372 (__catanhf): Ensure underflow exception occurs for underflowed
11374 * math/s_catanhl.c: Include <float.h>.
11375 (__catanhl): Ensure underflow exception occurs for underflowed
11377 * math/s_catanl.c: Include <float.h>.
11378 (__catanl): Ensure underflow exception occurs for underflowed
11380 * math/libm-test.inc (catan_test): Add more tests.
11381 (catanh_test): Likewise.
11384 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
11385 underflowed result.
11386 * math/s_ccoshf.c (__ccoshf): Likewise.
11387 * math/s_ccoshl.c (__ccoshl): Likewise.
11388 * math/s_csin.c (__csin): Likewise.
11389 * math/s_csinf.c (__csinf): Likewise.
11390 * math/s_csinh.c (__csinh): Likewise.
11391 * math/s_csinhf.c (__csinhf): Likewise.
11392 * math/s_csinhl.c (__csinhl): Likewise.
11393 * math/s_csinl.c (__csinl): Likewise.
11394 * math/libm-test.inc (ccos_test): Add more tests.
11395 (ccosh_test): Likewise.
11396 (csin_test): Likewise.
11397 (csinh_test): Likewise.
11399 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11401 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
11402 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
11403 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
11404 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
11405 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
11406 powerpc/power5+/fpu folders.
11407 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11410 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11412 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11414 2013-04-25 Joseph Myers <joseph@codesourcery.com>
11416 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
11417 additions to variable.
11418 [$(config-machine) = x86_64] (modules-names): Likewise.
11419 ($(objpfx)tst-audit3): Remove dependency.
11420 ($(objpfx)tst-audit3.out): Likewise.
11421 ($(objpfx)tst-audit4): Likewise.
11422 ($(objpfx)tst-audit4.out): Likewise.
11423 ($(objpfx)tst-audit5): Likewise.
11424 ($(objpfx)tst-audit5.out): Likewise.
11425 ($(objpfx)tst-audit6): Likewise.
11426 ($(objpfx)tst-audit6.out): Likewise.
11427 ($(objpfx)tst-audit7): Likewise.
11428 ($(objpfx)tst-audit7.out): Likewise.
11429 (tst-audit3-ENV): Remove variable.
11430 (tst-audit4-ENV): Likewise.
11431 (tst-audit5-ENV): Likewise.
11432 (tst-audit6-ENV): Likewise.
11433 (tst-audit7-ENV): Likewise.
11434 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
11435 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
11436 addition to variable.
11437 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
11438 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
11439 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
11440 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
11441 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
11442 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
11443 tst-audit3, tst-audit4 and tst-audit5.
11444 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
11445 tst-audit6 and tst-audit7.
11446 [$(subdir) = elf] (modules-names): Add audit modules for those
11448 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
11449 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
11450 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
11451 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
11452 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
11453 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
11454 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
11455 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
11456 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
11457 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
11458 [$(subdir) = elf] (tst-audit3-ENV): New variable.
11459 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
11460 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
11461 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
11462 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
11463 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
11465 [$(subdir) = elf && $(config-cflags-avx) = yes]
11466 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
11467 [$(subdir) = elf && $(config-cflags-avx) = yes]
11468 (CFLAGS-tst-auditmod4a.c): Likewise.
11469 [$(subdir) = elf && $(config-cflags-avx) = yes]
11470 (CFLAGS-tst-auditmod4b.c): Likewise.
11471 [$(subdir) = elf && $(config-cflags-avx) = yes]
11472 (CFLAGS-tst-auditmod6b.c): Likewise.
11473 [$(subdir) = elf && $(config-cflags-avx) = yes]
11474 (CFLAGS-tst-auditmod6c.c): Likewise.
11475 [$(subdir) = elf && $(config-cflags-avx) = yes]
11476 (CFLAGS-tst-auditmod7b.c): Likewise.
11477 * elf/tst-audit3.c: Move to ...
11478 * sysdeps/x86_64/tst-audit3.c: ... here.
11479 * elf/tst-audit4.c: Move to ...
11480 * sysdeps/x86_64/tst-audit4.c: ... here.
11481 * elf/tst-audit5.c: Move to ...
11482 * sysdeps/x86_64/tst-audit5.c: ... here.
11483 * elf/tst-audit6.c: Move to ...
11484 * sysdeps/x86_64/tst-audit6.c: ... here.
11485 * elf/tst-audit7.c: Move to ...
11486 * sysdeps/x86_64/tst-audit7.c: ... here.
11487 * elf/tst-auditmod3a.c: Move to ...
11488 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
11489 * elf/tst-auditmod3b.c: Move to ...
11490 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
11491 * elf/tst-auditmod4a.c: Move to ...
11492 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
11493 * elf/tst-auditmod4b.c: Move to ...
11494 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
11495 * elf/tst-auditmod5a.c: Move to ...
11496 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
11497 * elf/tst-auditmod5b.c: Move to ...
11498 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
11499 * elf/tst-auditmod6a.c: Move to ...
11500 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
11501 * elf/tst-auditmod6b.c: Move to ...
11502 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
11503 * elf/tst-auditmod6c.c: Move to ...
11504 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
11505 * elf/tst-auditmod7a.c: Move to ...
11506 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
11507 * elf/tst-auditmod7b.c: Move to ...
11508 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
11510 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
11513 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
11514 define unconditionally.
11515 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
11516 define unconditionally.
11517 (INT8_C, INT16_C, etc.): Likewise.
11519 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
11521 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
11522 __ehdr_start with hidden visibility.
11524 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
11526 2013-04-24 Carlos O'Donell <carlos@redhat.com>
11528 * math/libm-test.inc (cos_test): Use accurate hex constants.
11529 (sincost_test): Likewise.
11531 2013-04-24 Joseph Myers <joseph@codesourcery.com>
11533 * math/libm-test.inc (catan_test): Add more tests.
11534 (catanh_test): Likewise.
11536 * math/s_catanf.c (__catanf): Use suffixed floating-point
11538 * math/s_catanhf.c (__catanhf): Likewise.
11539 * math/s_catanhl.c (__catanhl): Likewise.
11540 * math/s_catanl.c (__catanl): Likewise.
11543 * math/s_catan.c (__catan): Calculate imaginary part of result
11544 with log1p not log unless computing log of number close to 0.
11545 * math/s_catanf.c (__catanf): Likewise.
11546 * math/s_catanl.c (__catanl): Likewise.
11547 * math/s_catanh.c (__catanh): Calculate real part of result with
11548 log1p not log unless computing log of number close to 0.
11549 * math/s_catanhf.c (__catanhf): Likewise.
11550 * math/s_catanhl.c (__catanhl): Likewise.
11551 * math/libm-test.inc (catan_test): Add more tests.
11552 (catanh_test): Likewise.
11553 * sysdeps/i386/fpu/libm-test-ulps: Update.
11554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11556 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11558 * benchtests/Makefile: Mention files in which fast and slow
11559 paths of math functions are implemented.
11561 2013-04-23 Roland McGrath <roland@hack.frob.com>
11563 * sysdeps/posix/timespec_get.c: New file.
11565 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11567 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
11569 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
11571 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
11572 powerpc/power5/fpu folders.
11573 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
11574 * benchtests/Makefile: Add modf testcase.
11575 * benchtests/bench-modf.c: New file: Benchmark test for mo
11577 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11580 * time/Makefile (tests): Add tst-strptime-whitespace.
11581 * time/strptime_l.c (get_number): Use ISSPACE.
11582 (__strptime_internal): Likewise.
11583 * time/tst-strptime-whitespace.c: New test case.
11585 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
11587 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
11589 (_nss_files_init): Set it here.
11591 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
11593 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
11594 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
11597 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
11599 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
11601 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11603 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
11606 2013-04-21 David S. Miller <davem@davemloft.net>
11608 * po/ru.po: Update Russion translation from translation project.
11610 2013-04-17 Adam Conrad <adconrad@0c3.net>
11612 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
11615 2013-04-17 Carlos O'Donell <carlos@redhat.com>
11617 * configure.in: Remove i386 configure warning. Remove i386 case.
11618 * configure: Regenerate.
11619 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
11620 Add example to error message.
11621 * sysdeps/i386/configure: Regenerate.
11623 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11625 * benchtests/Makefile (bench): Add cos, tan, slowcos and
11627 * benchtests/cos-inputs: New file.
11628 * benchtests/slowcos-inputs: New file.
11629 * benchtests/slowcos.c: New file.
11630 * benchtests/slowtan-inputs: New file.
11631 * benchtests/slowtan.c: New file.
11632 * benchtests/tan-inputs: New file.
11634 2013-04-16 Roland McGrath <roland@hack.frob.com>
11636 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
11639 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11641 * benchtests/Makefile: Include cppflags-iterator.mk to add
11642 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
11644 * Makefile.in (bench-clean): New target.
11645 * benchtests/Makefile (bench-clean): Likewise.
11647 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
11649 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
11651 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
11653 * stdio-common/tstdiomisc.c: Fix coding-style violation.
11655 2013-04-15 Andreas Schwab <schwab@suse.de>
11657 * nscd/grpcache.c (cache_addgr): Properly check for short write.
11658 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11659 * nscd/pwdcache.c (cache_addpw): Likewise.
11660 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
11663 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11665 * benchtests/Makefile (bench): Write all output to
11666 bench-out.tmp together.
11668 2013-04-15 Andreas Schwab <schwab@suse.de>
11670 * nscd/nscd.c (main): Don't fork again after closing files.
11672 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11674 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
11676 * benchtests/Rules (bench-deps): Collect dependencies into a
11677 single variable. Add Makefile to dependencies.
11678 ($(objpfx)bench-%.c): Depend on bench-deps.
11680 2013-04-12 Roland McGrath <roland@hack.frob.com>
11681 Xavier Roche <roche+kml2@exalead.com>
11684 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
11685 just that it's a file descriptor.
11686 * manual/llio.texi (Synchronizing AIO Operations): Update description
11687 for EBADF error from aio_fsync.
11689 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11691 * Rules (bench): Move target definition...
11692 * benchtests/Makefile: ... here.
11694 2013-04-11 Carlos O'Donell <carlos@redhat.com>
11696 * math/libm-test.inc (cos_test): Fix PI/2 test.
11697 (sincos_test): Likewise.
11698 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11699 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11701 2013-04-11 Andreas Schwab <schwab@suse.de>
11704 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
11705 accept exponent character only when digits were seen.
11706 * stdio-common/Makefile (tests): Add bug26.
11707 * stdio-common/bug26.c: New file.
11710 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
11713 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11715 * Makeconfig (rtld-prefix): Define built linker prefix.
11716 * Rules (run-bench): Use it.
11717 * math/Makefile (run-regen-ulps): Likewise.
11719 * Rules (bench): Remove eval.
11721 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11722 Roland McGrath <roland@hack.frob.com>
11723 Ondrej Bilka <neleai@seznam.cz>
11726 * time/getdate.c: Include ctype.h and alloca.h.
11727 (__getdate_r): Trim leading and trailing spaces of input.
11728 * time/tst-getdate.c (tests): Add tests with leading and
11731 2013-04-08 Roland McGrath <roland@hack.frob.com>
11734 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11735 when computing value.
11737 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11739 * math/README.libm-test (How can I generate "libm-test-ulps"?):
11740 Use testrun.sh to run libm tests.
11743 * elf/dl-open.c (dl_open_worker): memset all of seen array.
11745 2013-04-06 Marko Myllynen <myllynen@redhat.com>
11748 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11750 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11752 * Makefile.in (regen-ulps): New target.
11753 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11754 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11755 [ifneq (no,$(PERL)] (regen-ulps): New target.
11756 [ifeq (no,$(PERL)] (regen-ulps): New target.
11757 * math/libm-test.inc (ulps_file_name): Define.
11758 (output_dir): New variable.
11759 (options): Add "output-dir" option.
11760 (parse_opt): Handle 'o' case.
11761 (main): If output_dir is non-NULL use it as a prefix
11763 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11765 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11767 [BZ #10060, #10062]
11768 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11769 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11770 fail configure if __sync_val_compare_and_swap is not inlined.
11771 * sysdeps/i386/configure: Regenerate.
11772 * configure.in: Build for i686 when configured for i386.
11773 * configure: Regenerate.
11774 * README: Remove i386 reference.
11776 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11778 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11779 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11781 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
11783 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11784 (lmsnanval): New variables.
11785 (F): Add conversion tests.
11786 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11787 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11789 * stdio-common/tstdiomisc.c (F): Properly collect individual
11792 [BZ #14686, #15336]
11793 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11794 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11795 Instead, use input NaN values or generate a qNaN by arithmetic
11796 operation. Also fix bugs to comply with the standard.
11797 * math/libm-test.inc (remainder_test): Add more tests.
11799 [BZ #15335, #15342]
11800 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11801 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11802 input NaN values or generate a qNaN by arithmetic operation.
11804 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11807 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11810 2013-04-03 Joseph Myers <joseph@codesourcery.com>
11813 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11814 underflowed result.
11815 * math/s_cexpf.c (__cexpf): Likewise.
11816 * math/s_cexpl.c (__cexpl): Likewise.
11817 * math/libm-test.inc (cexp_test): Add more tests.
11819 2013-04-03 Andreas Schwab <schwab@suse.de>
11822 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11823 order arrays from heap if bigger than alloca cutoff.
11825 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
11827 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11828 (SNAN_TESTS_double): Refer to GCC PR56831.
11829 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11832 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11834 * Rules (bench): Move bench.out after the run is complete.
11836 * Rules (bench): Echo currently running benchmark.
11838 * benchtests/Makefile (bench): Add atan and slowatan.
11839 * benchtests/atan-inputs: New file.
11840 * benchtests/slowatan-inputs: New file.
11841 * benchtests/slowatan.c: New file.
11843 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11844 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11848 * sysdeps/unix/sysv/linux/kernel-features.h
11849 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11850 __ASSUME_XFS_RESTRICTED_CHOWN.
11851 * sysdeps/unix/sysv/linux/pathconf.c
11852 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11853 Save and restore errno.
11855 2013-04-02 Joseph Myers <joseph@codesourcery.com>
11858 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11859 arguments using __kernel_casinh.
11860 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11861 arguments using __kernel_casinhf.
11862 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11863 arguments using __kernel_casinhl.
11864 * math/libm-test.inc (cacosh_test): Add more tests.
11865 * sysdeps/i386/fpu/libm-test-ulps: Update.
11866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11868 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11870 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11871 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11873 * bench/Makefile (bench): Add sin and slowsin.
11874 * benchtests/sin-inputs: New file.
11875 * benchtests/slowsin-inputs: New file.
11876 * benchtests/slowsin.c: New file.
11878 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11879 (bench): Add slowexp and slowpow.
11880 (exp-ITER): Increase iterations.
11881 (pow-ITER): Likewise.
11882 * benchtests/exp-inputs: Change input.
11883 * benchtests/pow-inputs: Likewise.
11884 * benchtests/slowexp-inputs: New file.
11885 * benchtests/slowexp.c: New file.
11886 * benchtests/slowpow-inputs: New file.
11887 * benchtests/slowpow.c: New file.
11889 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11891 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11893 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11894 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11895 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11896 * benchtests/Makefile: Add rint benchtest.
11897 * benchtests/rint-inputs: Input for rint benchtest.
11899 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
11901 * Versions.def (libm): Add GLIBC_2.18.
11902 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11903 hidden libm prototypes.
11904 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11905 * math/Makefile (libm-calls): Add s_issignaling.
11906 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11907 __issignalingf, __issignalingl. Adjust all libm.abilist files.
11908 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11910 * math/math.h [__USE_GNU] (issignaling): New macro.
11911 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11912 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11913 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11914 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11915 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11916 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11917 * manual/arith.texi (issignaling): New section.
11918 * manual/libm-err-tab.pl (@all_functions): Update comment.
11919 * math/gen-libm-test.pl (parse_args): Apply special handling for
11921 * math/libm-test.inc (print_float, issignaling_test): New
11923 (check_float_internal): Add issignaling checks.
11924 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11925 default definition.
11926 * sysdeps/powerpc/math-tests.h: New file.
11927 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11929 * math/test-snan.c (TEST_FUNC): Likewise.
11931 2013-03-30 David S. Miller <davem@davemloft.net>
11933 * po/de.po: Update from translation team.
11935 2013-03-30 Joseph Myers <joseph@codesourcery.com>
11938 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11939 imaginary part less than 1.0 and real part less than 0.5
11941 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11942 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11943 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11944 (cacos_test): Add more tests.
11945 (casin_test): Likewise.
11946 (casinh_test): Likewise.
11947 * sysdeps/i386/fpu/libm-test-ulps: Update.
11948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11950 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11952 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11953 ONE with its value.
11955 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11956 (__pow_mp): Replace ONE and MONE with their values.
11957 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11958 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11959 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11960 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11961 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11962 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11964 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11966 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11967 (__pow_mp): Replace ZERO and MZERO with their values.
11968 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11969 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11970 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11971 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11972 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11973 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11976 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11978 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11980 2013-03-28 Roland McGrath <roland@hack.frob.com>
11982 * include/stdlib.h [!SHARED] (__call_tls_dtors):
11983 Declare with __attribute__ ((weak)).
11984 * stdlib/exit.c (__libc_atexit) [!SHARED]:
11985 Call __call_tls_dtors only if it's not NULL.
11987 2013-03-28 Roland McGrath <roland@hack.frob.com>
11989 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11990 didn't do it already, then set _dl_phdr and _dl_phnum based on the
11991 magic __ehdr_start linker symbol if it's defined.
11992 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11993 them up here if it was already done.
11995 * elf/dl-support.c (_dl_phdr): Make pointer to const.
11996 (_dl_aux_init): Use const in cast when setting it.
11997 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11998 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11999 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
12001 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
12003 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
12004 * csu/libc-tls.c: Nor here.
12005 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
12007 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
12008 (__libc_message): Never call vsyslog.
12010 2013-03-28 Alan Modra <amodra@gmail.com>
12012 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12014 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12017 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12020 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12024 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12027 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12028 Don't add gid passed as argument.
12030 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12032 2013-03-27 Joseph Myers <joseph@codesourcery.com>
12035 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12036 imaginary part between 1.0 and 1.5 and real part less than 0.5
12038 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12039 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12040 * math/libm-test.inc (cacos_test): Add more tests.
12041 (casin_test): Likewise.
12042 (casinh_test): Likewise.
12043 * sysdeps/i386/fpu/libm-test-ulps: Update.
12044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12046 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12048 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12051 (denorm): Likewise.
12052 (__dbl_mp): Likewise.
12053 (add_magnitudes): Likewise.
12054 (sub_magnitudes): Likewise.
12062 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
12064 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
12065 (__dubcos): Likewise.
12066 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
12067 (__ieee754_acos): Likewise.
12068 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12069 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
12070 (__exp1): Likewise.
12071 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12072 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12074 (my_log2): Likewise.
12075 (checkint): Likewise.
12076 * sysdeps/ieee754/dbl-64/e_remainder.c
12077 (__ieee754_remainder): Likewise.
12078 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12079 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12080 (bsloww): Likewise.
12081 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12083 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12084 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
12085 MANTISSA_STORE_T to store computations on mantissa. Use
12086 macros for rounding and division.
12087 (denorm): Likewise.
12088 (__dbl_mp): Likewise.
12089 (add_magnitudes): Likewise.
12090 (sub_magnitudes): Likewise.
12093 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12094 powers of two in terms of TWOPOW macro.
12095 (mp_no): Make type of mantissa as MANTISSA_T.
12096 [!RADIXI]: Define RADIXI.
12097 [!TWO52]: Define TWO52.
12098 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12100 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12102 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
12103 llroundl symbol when building for PPC32.
12105 2013-03-24 Mark H Weaver <mhw@netris.org>
12107 * manual/arith.texi (Normalization Functions): Fix prototypes for
12108 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
12110 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12113 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
12114 high value to check if expl overflow.
12115 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
12116 to check for underflow and overflow.
12117 * math/libm-test.inc: Add exp test.
12119 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
12122 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
12125 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12127 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
12130 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
12132 * math/gen-libm-test.pl (parse_args, special_functions): Properly
12133 wrap blocks consisting of several statements.
12135 * sysdeps/generic/math-tests.h: New file.
12136 * sysdeps/i386/fpu/math-tests.h: Likewise.
12137 * math/test-snan.c: Include it.
12138 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
12140 2013-03-21 Joseph Myers <joseph@codesourcery.com>
12143 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
12144 (__ieee754_j0l): Do not improve calculations using cos of twice
12145 input for inputs above LDBL_MAX / 2.0L.
12146 (__ieee754_y0l): Likewise.
12147 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
12148 (__ieee754_j1l): Do not improve calculations using cos of twice
12149 input for inputs above LDBL_MAX / 2.0L.
12150 (__ieee754_y1l): Likewise.
12151 * math/libm-test.inc (j0_test): Add another test.
12152 (j1_test): Likewise.
12153 (y0_test): Likewise.
12154 (y1_test): Likewise.
12155 * sysdeps/i386/fpu/libm-test-ulps: Update.
12157 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12159 * Rules ($(objpfx)bench-%.c): Include code from a C source
12162 2013-03-21 Joseph Myers <joseph@codesourcery.com>
12165 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12166 imaginary part 1.0 and real part less than 0.5 specially.
12167 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12168 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12169 * math/libm-test.inc (cacos_test): Add more tests.
12170 (casin_test): Likewise.
12171 (casinh_test): Likewise.
12172 * sysdeps/i386/fpu/libm-test-ulps: Update.
12173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12175 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12177 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
12178 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
12180 2013-03-20 Joseph Myers <joseph@codesourcery.com>
12182 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
12183 * config.make.in (config-cflags-sse4): Remove variable.
12184 (config-cflags-avx): Likewise.
12185 (config-cflags-sse2avx): Likewise.
12186 (config-cflags-novzeroupper): Likewise.
12187 (config-asflags-i686): Likewise.
12188 (have-mfma4): Likewise.
12189 (have-as-vis3): Likewise.
12191 * configure.in (MIG): Do not AC_SUBST.
12192 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
12193 (libc_cv_cc_sse4): Do not AC_SUBST.
12194 (libc_cv_cc_avx): Likewise.
12195 (libc_cv_cc_sse2avx): Likewise.
12196 (libc_cv_cc_novzeroupper): Likewise.
12197 (libc_cv_cc_fma4): Likewise.
12198 (libc_cv_as_i686): Likewise.
12199 (libc_cv_sparc_as_vis3): Likewise.
12200 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
12202 (config-asflags-i686): Likewise.
12203 (config-cflags-avx): Likewise.
12204 (config-cflags-sse2avx): Likewise.
12205 (have-mfma4): Likewise.
12206 (config-cflags-novzeroupper): Likewise.
12207 * sysdeps/mach/configure.in (MIG): Likewise.
12208 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
12209 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
12211 (config-cflags-avx): Likewise.
12212 (config-cflags-sse2avx): Likewise.
12213 (have-mfma4): Likewise.
12214 (config-cflags-novzeroupper): Likewise.
12215 * configure: Regenerated.
12216 * sysdeps/i386/configure: Likewise.
12217 * sysdeps/mach/configure: Likewise.
12218 * sysdeps/sparc/configure: Likewise.
12219 * sysdeps/x86_64/configure: Likewise.
12221 2013-03-20 Roland McGrath <roland@hack.frob.com>
12224 * locale/programs/localedef.c (options): Put N_ translation marker
12225 on argument names, not just descriptions.
12227 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12229 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
12231 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
12234 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
12236 2013-03-19 Roland McGrath <roland@hack.frob.com>
12238 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
12239 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
12240 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
12241 [!BEFORE_ABORT] (before_abort): New function.
12242 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
12243 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
12244 (writev_for_fatal): New function.
12245 (WRITEV_FOR_FATAL): New macro; call that.
12246 (backtrace_and_maps): New function.
12247 (BEFORE_ABORT): New macro; call that.
12248 (struct str_list): Type removed.
12249 (__libc_message, __libc_fatal): Functions removed.
12250 Include <sysdeps/posix/libc_fatal.c> instead.
12252 2013-03-19 Joseph Myers <joseph@codesourcery.com>
12254 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
12256 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
12259 2013-03-19 Andreas Schwab <schwab@suse.de>
12261 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
12262 * sysdeps/gnu/configure: Regenerate.
12264 * configure.in: Substitute libc_cv_rtlddir.
12265 * configure: Regenerate.
12266 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
12267 * Makeconfig (rtlddir, inst_rtlddir): New variables.
12268 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
12269 * elf/Makefile (install-others, CFLAGS-interp.c)
12270 (ldso_install, common-ldd-rewrite): Likewise.
12271 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
12272 $(inst_slibdir)/$(rtld-installed-name).
12273 * scripts/rellns-sh: Add -p option.
12274 * Makerules (make-shlib-link): Use rellns-sh to get relative name
12277 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12279 * manual/nptl.texi: Renamed to ...
12280 * manual/threads.texi: ... this.
12281 * manual/Makefile (chapters): Update.
12283 2013-03-18 Roland McGrath <roland@hack.frob.com>
12286 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
12287 on argument names, not just descriptions.
12288 * malloc/memusagestat.c (options): Likewise.
12289 * nss/getent.c (options): Likewise.
12291 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
12294 * iconv/iconv_prog.c (options): Put N_ translation marker
12295 on argument names, not just descriptions.
12296 * iconv/iconvconfig.c (options): Likewise.
12298 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
12300 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
12301 implementation which is faster on all x86_64 architectures.
12302 Tested on AMD, Intel Nehalem, SNB, IVB.
12303 * sysdeps/x86_64/strnlen.S: Likewise.
12305 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12306 Remove all multiarch strlen and strnlen versions.
12307 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12308 Remove strlen and strnlen related parts.
12310 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
12311 Inline strlen part.
12312 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12314 * sysdeps/x86_64/multiarch/strlen.S: Remove.
12315 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
12316 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
12317 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
12318 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12319 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
12321 2013-03-17 Carlos O'Donell <carlos@redhat.com>
12323 * manual/memory.texi (Malloc Tunable Parameters):
12324 Sort parameters alphabetically. Add comments for missing entries.
12326 2013-03-17 David S. Miller <davem@davemloft.net>
12328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12330 2013-03-16 Joseph Myers <joseph@codesourcery.com>
12333 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
12334 for arguments at most half maximum finite value.
12335 * math/libm-test.inc (j0_test): Add more tests.
12336 (j1_test): Likewise.
12337 (y0_test): Likewise.
12338 (y1_test): Likewise.
12339 * sysdeps/i386/fpu/libm-test-ulps: Update.
12340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12343 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
12344 1 / x and functions P and Q for arguments above 0x1p256L.
12345 (__ieee754_y0l): Likewise.
12346 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12347 (__ieee754_y1l): Likewise.
12348 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
12349 (j1_test): Likewise.
12350 (y0_test): Likewise.
12351 (y1_test): Likewise.
12353 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
12355 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
12358 2013-03-15 Roland McGrath <roland@hack.frob.com>
12360 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
12361 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
12362 zero since it's initialized to EXEC_PAGESIZE.
12364 * sysdeps/unix/sysv/linux/ldsodefs.h
12365 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
12366 * sysdeps/generic/ldsodefs.h: ... here.
12368 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
12370 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
12372 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
12374 * math/test-snan.c: Renamed from
12375 sysdeps/powerpc/fpu/test-powerpc-snan.c.
12376 * math/Makefile (tests): Add test-snan.
12377 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
12380 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
12381 SUFFIX. Initialize qNaN_var with __builtin_nan family of
12383 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
12384 __builtin_nan family of functions.
12385 * math/libm-test.inc (initialize): Initialize qnan_value with
12386 __builtin_nan family of functions.
12387 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
12389 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
12391 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
12392 storage class. Initialize qNaN_var and sNaN_var with
12393 __builtin_nan and __builtin_nans families of functions,
12396 * math/libm-test.inc (acosh_test): Also test with qNaN input.
12397 (sqrt_test): Remove duplicate test with qNaN input.
12398 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
12399 (round_test, signbit_test, significand_test): Note missing +/-Inf
12400 as well as qNaN tests.
12402 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
12403 qNaN_var. Fix a few strings, too.
12404 * math/libm-test.inc (nan_value): Rename to qnan_value.
12405 * math/gen-libm-test.pl (%beautify): Adjust to that.
12406 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
12407 * math/test-misc.c (main): Likewise.
12408 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
12409 to __qnan_bytes, and __qnan_union, respectively.
12410 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
12412 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
12413 and lqnanval, respectively.
12414 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
12415 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
12416 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
12417 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
12419 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
12420 * math/test-misc.c (main) [__x86_64__]: Enable test for long
12423 * math/test-misc.c (main): Fix copy'n'pastos.
12424 * misc/tst-efgcvt.c (special): Likewise.
12426 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
12427 Remove declarations.
12429 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12431 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
12432 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
12433 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
12434 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
12436 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12438 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
12439 macro to return vdso values correctly in IFUNC implementations.
12440 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12441 Optimization by using IFUNC.
12443 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12444 Richard Henderson <rth@redhat.com>
12445 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12447 * Makefile.in (bench): New target.
12448 * NEWS: Mention the benchmark framework.
12449 * Rules (bench): Likewise.
12450 (binaries-bench): Generate binaries for functions to
12452 * benchtests/Makefile: New makefile for benchmark tests.
12453 * benchtests/bench-skeleton.c: New skeleton file for benchmark
12455 * benchtests/exp-inputs: New input file for EXP function.
12456 * benchtests/pow-inputs: New input file for POW function.
12457 * scripts/bench.pl: New script to generate source files for
12458 benchmark programs.
12460 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12462 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12463 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
12464 computations on mantissa. Use macros for rounding and
12466 (denorm): Likewise.
12467 (__dbl_mp): Likewise.
12468 (add_magnitudes): Likewise.
12469 (sub_magnitudes): Likewise.
12472 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12473 powers of two in terms of TWOPOW macro.
12474 (mp_no): Make type of mantissa as MANTISSA_T.
12475 [!RADIXI]: Define RADIXI.
12476 [!TWO52]: Define TWO52.
12477 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12479 * manual/nptl.texi (cindex): Modify threads to pthreads.
12481 2013-03-15 Joseph Myers <joseph@codesourcery.com>
12483 * sysdeps/x86_64/preconfigure: Regenerated.
12485 2013-03-14 Joseph Myers <joseph@codesourcery.com>
12488 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
12490 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
12491 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
12493 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
12494 * math/libm-test.inc (j0_test): Do not allow one spurious
12495 underflow exception.
12496 (y1_test): Likewise.
12498 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12500 * manual/Makefile (chapters): Add nptl.
12501 * manual/debug.texi (Debugging Support): Add link to Threads
12503 * manual/nptl.texi: New file.
12505 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
12507 2013-03-14 Petr Baudis <pasky@ucw.cz>
12509 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
12510 for non-NULL pointer before the memory validity test. Pointed
12511 out by Holger Brunck <holger.brunck@keymile.com>.
12513 2013-03-13 Andreas Schwab <schwab@suse.de>
12515 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
12518 2013-03-13 Joseph Myers <joseph@codesourcery.com>
12520 * timezone/zic.c: Update from tzcode 2013b.
12522 2013-03-12 Carlos O'Donell <carlos@redhat.com>
12524 * manual/install.texi (Configuring and compiling):
12525 Mention i686 and i586.
12526 * INSTALL: Regenerate.
12528 2013-03-12 Roland McGrath <roland@hack.frob.com>
12530 * sysdeps/init_array/elf-init.c: New file.
12532 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
12533 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
12535 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
12536 __gmon_start__ as global, but as static with a .preinit_array pointer.
12537 * sysdeps/init_array/gmon-start.c: New file. Use that.
12538 * sysdeps/init_array/crti.S: New file, empty except for comments.
12539 * sysdeps/init_array/crtn.S: Likewise.
12541 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
12543 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
12545 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12546 Remove Prefer_SSE_for_memop.
12547 * sysdeps/x86_64/multiarch/init-arch.h: Remove
12548 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
12549 HAS_PREFER_SSE_FOR_MEMOP.
12550 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12552 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12553 Remove bzero, memset ifunc support.
12554 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
12555 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
12556 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12557 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12559 2013-03-11 Andreas Schwab <schwab@suse.de>
12562 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
12564 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
12565 (GLIBC_2.16): Remove pthread_atfork.
12567 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
12569 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
12570 (ptestcases.h): Likewise.
12572 2013-03-08 Roland McGrath <roland@hack.frob.com>
12574 * Makeconfig ($(common-objpfx)config.status): Depend on
12575 sysdeps/*/preconfigure{,.in} too.
12577 2013-03-08 Joseph Myers <joseph@codesourcery.com>
12579 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
12580 (__free_hook): Use void * instead of __malloc_ptr_t.
12581 (__malloc_hook): Likewise.
12582 (__realloc_hook): Likewise.
12583 (__memalign_hook): Likewise.
12584 (__after_morecore_hook): Likewise.
12585 * malloc/arena.c (save_malloc_hook): Likewise.
12586 (save_free_hook): Likewise.
12587 * malloc/hooks.c (malloc_hook_ini): Likewise.
12588 (realloc_hook_ini): Likewise.
12589 (memalign_hook_ini): Likewise.
12590 * malloc/malloc.c (malloc_hook_ini): Likewise.
12591 (realloc_hook_ini): Likewise.
12592 (memalign_hook_ini): Likewise.
12593 (__free_hook): Likewise.
12594 (__malloc_hook): Likewise.
12595 (__realloc_hook): Likewise.
12596 (__memalign_hook): Likewise.
12597 (__libc_malloc): Likewise.
12598 (__libc_free): Likewise.
12599 (__libc_realloc): Likewise.
12600 (__libc_memalign): Likewise.
12601 (__libc_valloc): Likewise.
12602 (__libc_pvalloc): Likewise.
12603 (__libc_calloc): Likewise.
12604 (__posix_memalign): Likewise.
12605 * malloc/morecore.c (__sbrk): Likewise.
12606 (__default_morecore): Likewise.
12608 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
12610 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
12611 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
12612 __malloc_ptrdiff_t.
12614 * malloc/malloc.h (__malloc_size_t): Remove macro.
12615 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
12617 (old_memalign_hook): Likewise.
12618 (old_realloc_hook): Likewise.
12619 (struct hdr): Likewise.
12621 (mallochook): Likewise.
12622 (memalignhook): Likewise.
12623 (reallochook): Likewise.
12624 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
12625 (tr_old_realloc_hook): Likewise.
12626 (tr_old_memalign_hook): Likewise.
12627 (tr_mallochook): Likewise.
12628 (tr_reallochook): Likewise.
12629 (tr_memalignhook): Likewise.
12631 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12633 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
12634 default_ldbl_pack and using as default implementation.
12635 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
12637 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
12638 redundant definition.
12639 (ldbl_insert_mantissa): Likewise.
12640 (ldbl_canonicalize): Likewise.
12641 (ldbl_nearbyint): Likewise.
12642 (ldbl_pack): Rename to ldbl_pack_ppc.
12643 (ldbl_unpack): Rename to ldbl_unpack_ppc.
12644 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
12645 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
12647 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12649 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
12650 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
12651 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
12652 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
12653 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
12654 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
12655 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
12656 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
12658 2013-03-07 Andreas Jaeger <aj@suse.de>
12660 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12663 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12665 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
12666 Include mpa.h and declare __MPEXP.
12667 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
12668 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12669 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12670 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
12671 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12672 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12673 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
12675 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
12676 (__slowpow): Use long double EXPL and LOGL functions to
12678 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12679 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12680 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
12681 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12682 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12683 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
12685 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
12686 intermediate variable to calculate exponent.
12688 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12692 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
12693 [!NO__SQR]: Define __sqr.
12694 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
12695 and NO__SQR. Remove all code except __mul and __sqr. Include
12696 sysdeps/ieee754/dbl-64/mpa.c.
12697 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12700 * posix/Makefile (tests): Add tst-pathconf.
12701 * posix/tst-pathconf.c: New test case.
12702 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12704 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
12706 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
12708 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
12710 2013-03-06 Andreas Jaeger <aj@suse.de>
12712 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
12713 definition via __MAP_ANONYMOUS.
12715 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12716 it's not part of Linux headers.
12718 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12719 (MAP_HUGE_MASK): Define.
12721 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12723 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12724 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12726 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12727 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12729 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12730 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12732 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12734 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12735 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12736 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12737 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12738 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12739 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12741 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12744 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12745 Handle f2fs and efivarfs.
12747 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12750 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12751 (EFIVARFS_MAGIC): Add.
12752 (F2FS_LINK_MAX): Add.
12754 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12756 * stdio-common/vfprintf.c: Replace __builtin_expect with
12759 2013-03-06 Joseph Myers <joseph@codesourcery.com>
12762 * sysdeps/generic/bp-sym.h: Remove file.
12763 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12764 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12765 <bp-sym.h> and <bp-asm.h>.
12766 (__longjmp): Don't use BP_SYM.
12767 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12769 (memcpy): Don't use BP_SYM.
12770 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12771 <bp-sym.h> and <bp-asm.h>.
12772 (memcpy): Don't use BP_SYM.
12773 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12775 (memcpy): Don't use BP_SYM.
12776 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12778 (memset): Don't use BP_SYM.
12779 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12780 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12781 (__bzero): Don't use BP_SYM.
12782 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12783 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12784 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12785 <bp-sym.h> and <bp-asm.h>.
12786 (memcmp): Don't use BP_SYM. Remove comment about bounded
12788 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12789 <bp-sym.h> and <bp-asm.h>.
12790 (memcpy): Don't use BP_SYM.
12791 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12792 <bp-sym.h> and <bp-asm.h>.
12793 (memset): Don't use BP_SYM.
12794 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12795 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12796 (__bzero): Don't use BP_SYM.
12797 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12798 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12799 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12800 <bp-sym.h> and <bp-asm.h>.
12801 (strncmp): Don't use BP_SYM. Remove comment about bounded
12803 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12804 <bp-sym.h> and <bp-asm.h>.
12805 (memcpy): Don't use BP_SYM.
12806 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12807 <bp-sym.h> and <bp-asm.h>.
12808 (memset): Don't use BP_SYM.
12809 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12810 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12811 (__bzero): Don't use BP_SYM.
12812 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12813 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12814 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12815 <bp-sym.h> and <bp-asm.h>.
12816 (__memchr): Don't use BP_SYM.
12817 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12818 <bp-sym.h> and <bp-asm.h>.
12819 (memcmp): Don't use BP_SYM. Remove comment about bounded
12821 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12822 <bp-sym.h> and <bp-asm.h>.
12823 (memcpy): Don't use BP_SYM.
12824 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12825 <bp-sym.h> and <bp-asm.h>.
12826 (__mempcpy): Don't use BP_SYM.
12827 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12828 <bp-sym.h> and <bp-asm.h>.
12829 (__memrchr): Don't use BP_SYM.
12830 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12831 <bp-sym.h> and <bp-asm.h>.
12832 (memset): Don't use BP_SYM.
12833 (__bzero): Likewise.
12834 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12835 <bp-sym.h> and <bp-asm.h>.
12836 (__rawmemchr): Don't use BP_SYM.
12837 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12838 <bp-sym.h> and <bp-asm.h>.
12839 (__STRCMP): Don't use BP_SYM.
12840 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12841 <bp-sym.h> and <bp-asm.h>.
12842 (strchr): Don't use BP_SYM.
12843 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12844 <bp-sym.h> and <bp-asm.h>.
12845 (__strchrnul): Don't use BP_SYM.
12846 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12847 <bp-sym.h> and <bp-asm.h>.
12848 (strlen): Don't use BP_SYM.
12849 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12850 <bp-sym.h> and <bp-asm.h>.
12851 (strncmp): Don't use BP_SYM. Remove comment about bounded
12853 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12854 <bp-sym.h> and <bp-asm.h>.
12855 (__strnlen): Don't use BP_SYM.
12856 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12857 <bp-sym.h> and <bp-asm.h>.
12858 (__GI__setjmp): Don't use BP_SYM.
12859 (_setjmp): Likewise.
12860 (__sigsetjmp): Likewise.
12861 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12862 (L(start_addresses)): Don't use BP_SYM.
12863 (_start): Likewise.
12864 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12866 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12867 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12868 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12869 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12870 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12872 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12873 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
12874 about bounded pointers.
12875 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12876 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12877 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12879 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12880 about bounded pointers. Remove GKM FIXME comments.
12881 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12882 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12884 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12885 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
12886 Remove GKM FIXME comments.
12887 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12888 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12889 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12891 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12892 about bounded pointers. Remove GKM FIXME comment.
12893 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12895 (strncmp): Don't use BP_SYM. Remove comment about bounded
12897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12898 <bp-sym.h> and <bp-asm.h>.
12899 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12901 <bp-sym.h> and <bp-asm.h>.
12902 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12905 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12907 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12910 2013-03-05 David S. Miller <davem@davemloft.net>
12912 * po/es.po: Update from translation team.
12914 2013-03-05 Andreas Jaeger <aj@suse.de>
12916 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12917 <bits/mman-linux.h>.
12918 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12920 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12921 <bits/mman-linux.h> to end of file.
12922 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12924 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12925 <bits/mman-linux.h> to end of file.
12926 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12928 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12929 <bits/mman-linux.h> to end of file.
12931 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12932 (MCL_CURRENT, MCL_FUTURE): Define here.
12934 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12937 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12939 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12941 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12943 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12944 fourth parameter needed for rt_sigprocmask syscall.
12945 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12946 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12947 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12948 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12949 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12950 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12952 2013-03-04 Joseph Myers <joseph@codesourcery.com>
12955 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12956 comment about bounded pointers.
12957 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12958 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12960 2013-03-04 Andreas Jaeger <aj@suse.de>
12962 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12963 common definitions.
12965 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12966 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12967 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12968 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12969 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12970 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12972 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12975 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12976 __ieee754_sqrl instead of __sqrl.
12978 2013-03-01 Joseph Myers <joseph@codesourcery.com>
12980 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12981 * sysdeps/powerpc/fpu_control.h: ... here.
12982 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12983 * sysdeps/powerpc/bits/fenvinline.h: ... here.
12984 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12985 * sysdeps/powerpc/bits/mathinline.h: ... here.
12987 2013-03-01 Roland McGrath <roland@hack.frob.com>
12989 * elf/dl-hwcaps.c (_dl_important_hwcaps):
12990 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12991 to just [NEED_DL_SYSINFO_DSO].
12992 * elf/dl-support.c: Likewise.
12993 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12994 * elf/rtld.c (dl_main): Likewise.
12995 * elf/setup-vdso.h (setup_vdso): Likewise.
12996 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12997 * sysdeps/unix/sysv/linux/dl-sysdep.c
12998 (_dl_discover_osversion): Likewise.
13000 2013-03-01 Carlos O'Donell <carlos@redhat.com>
13002 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
13003 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13005 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13007 * NEWS: Mention libm performance improvements and non-x86 PI
13010 * csu/libc-start.c (__pthread_initialize_minimal): Change
13011 function arguments.
13012 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13014 2013-02-28 Joseph Myers <joseph@codesourcery.com>
13017 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
13018 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
13019 <bp-sym.h> and <bp-asm.h>.
13020 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13021 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13023 (memcpy): Don't use BP_SYM.
13024 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13026 (__mpn_add_n): Don't use BP_SYM.
13027 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13028 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13030 (__mpn_addmul_1): Don't use BP_SYM.
13031 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13032 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13034 (_setjmp): Don't use BP_SYM.
13035 (__novmx_setjmp): Likewise.
13036 (__GI__setjmp): Likewise.
13037 (__vmx_setjmp): Likewise.
13038 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13040 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13041 (__bzero): Don't use BP_SYM.
13042 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13043 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13044 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13045 <bp-sym.h> and <bp-asm.h>.
13046 (memcpy): Don't use BP_SYM.
13047 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
13048 <bp-sym.h> and <bp-asm.h>.
13049 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13050 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
13051 <bp-sym.h> and <bp-asm.h>.
13052 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13053 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
13055 (__mpn_lshift): Don't use BP_SYM.
13056 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13057 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
13059 (memset): Don't use BP_SYM.
13060 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13061 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13062 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
13064 (__mpn_mul_1): Don't use BP_SYM.
13065 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13066 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
13067 <bp-sym.h> and <bp-asm.h>.
13068 (memcmp): Don't use BP_SYM.
13069 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
13070 <bp-sym.h> and <bp-asm.h>.
13071 (memcpy): Don't use BP_SYM.
13072 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
13073 <bp-sym.h> and <bp-asm.h>.
13074 (memset): Don't use BP_SYM.
13075 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
13076 <bp-sym.h> and <bp-asm.h>.
13077 (strncmp): Don't use BP_SYM.
13078 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
13079 <bp-sym.h> and <bp-asm.h>.
13080 (memcpy): Don't use BP_SYM.
13081 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
13082 <bp-sym.h> and <bp-asm.h>.
13083 (memset): Don't use BP_SYM.
13084 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
13085 <bp-sym.h> and <bp-asm.h>.
13086 (__memchr): Don't use BP_SYM.
13087 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
13088 <bp-sym.h> and <bp-asm.h>.
13089 (memcmp): Don't use BP_SYM.
13090 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
13091 <bp-sym.h> and <bp-asm.h>.
13092 (memcpy): Don't use BP_SYM.
13093 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
13094 <bp-sym.h> and <bp-asm.h>.
13095 (__mempcpy): Don't use BP_SYM.
13096 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
13097 <bp-sym.h> and <bp-asm.h>.
13098 (__memrchr): Don't use BP_SYM.
13099 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
13100 <bp-sym.h> and <bp-asm.h>.
13101 (memset): Don't use BP_SYM.
13102 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
13103 <bp-sym.h> and <bp-asm.h>.
13104 (__rawmemchr): Don't use BP_SYM.
13105 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
13106 <bp-sym.h> and <bp-asm.h>.
13107 (__STRCMP): Don't use BP_SYM.
13108 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
13109 <bp-sym.h> and <bp-asm.h>.
13110 (strchr): Don't use BP_SYM.
13111 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
13112 <bp-sym.h> and <bp-asm.h>.
13113 (__strchrnul): Don't use BP_SYM.
13114 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
13115 <bp-sym.h> and <bp-asm.h>.
13116 (strlen): Don't use BP_SYM.
13117 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
13118 <bp-sym.h> and <bp-asm.h>.
13119 (strncmp): Don't use BP_SYM.
13120 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
13121 <bp-sym.h> and <bp-asm.h>.
13122 (__strnlen): Don't use BP_SYM.
13123 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
13125 (__mpn_rshift): Don't use BP_SYM.
13126 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13127 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
13128 <bp-sym.h> and <bp-asm.h>.
13129 (__sigsetjmp): Don't use BP_SYM.
13130 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
13131 (L(start_addresses)): Don't use BP_SYM.
13132 (_start): Likewise.
13133 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
13135 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
13136 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13137 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13138 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
13140 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
13141 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13142 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13143 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
13145 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13147 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13148 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
13150 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
13152 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13153 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13154 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
13156 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13158 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
13160 (strncmp): Don't use BP_SYM,
13161 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
13163 (__mpn_sub_n): Don't use BP_SYM.
13164 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13165 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
13167 (__mpn_submul_1): Don't use BP_SYM.
13168 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
13170 <bp-sym.h> and <bp-asm.h>.
13171 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
13173 <bp-sym.h> and <bp-asm.h>.
13174 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13177 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13179 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
13180 Use ZK to minimize writes to Z.
13181 (sub_magnitudes): Simplify code a bit.
13182 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
13183 Use ZK to minimize writes to Z.
13184 (sub_magnitudes): Simplify code a bit.
13186 2013-02-27 Roland McGrath <roland@hack.frob.com>
13188 * csu/gmon-start.c: Add special exception to license text.
13190 2013-02-27 Richard Henderson <rth@redhat.com>
13192 * scripts/config.guess: Update from config.git.
13193 * scripts/config.sub: Likewise.
13195 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13197 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
13199 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
13201 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
13203 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
13205 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
13207 2013-02-26 Roland McGrath <roland@hack.frob.com>
13209 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
13210 [$(build-shared = yes].
13212 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13214 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
13215 (__mul): Reduce iterations for calculating mantissa.
13217 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
13219 (__mpranred): Likewise.
13222 * malloc/memusagestat.c (main): Draw graphs for heap and stack
13223 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
13225 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
13227 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
13228 Define __attribute__.
13230 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13232 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
13234 * posix/regex_internal.h (__attribute): Remove.
13235 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
13236 (re_string_context_at): Likewise.
13237 (bitset_not): Use __attribute__ and mark function as possibly
13239 (bitset_merge): Likewise.
13240 (bitset_mask): Likewise.
13241 (re_string_char_size_at): Likewise.
13242 (re_string_wchar_at): Likewise.
13243 (re_string_elem_size_at): Likewise.
13245 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13247 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
13251 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
13255 (denorm): Likewise.
13256 (__dbl_mp): Likewise.
13257 (add_magnitudes): Likewise.
13258 (sub_magnitudes): Likewise.
13262 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
13265 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
13268 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
13271 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
13272 up changes with default code.
13273 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
13276 2013-02-24 Allan McRae <allan@archlinux.org>
13278 * manual/socket.texi (The Internet Namespace): Order menu items
13279 to match that in the file.
13281 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
13282 node listing of the info page menu.
13284 2013-02-21 Joseph Myers <joseph@codesourcery.com>
13287 * sysdeps/i386/bp-asm.h: Remove file.
13288 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13289 (PARMS): Do not use macros from bp-asm.h.
13293 (__mpn_add_n): Do not use BP_SYM
13294 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
13296 (PARMS): Do not use macros from bp-asm.h.
13299 (__mpn_addmul_1): Do not use BP_SYM
13300 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
13302 (PARMS): Do not use macros from bp-asm.h.
13303 (SIGMSK): Likewise.
13304 (_setjmp): Likewise. Do not use BP_SYM.
13305 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
13307 (PARMS): Do not use macros from bp-asm.h.
13308 (SIGMSK): Likewise.
13309 (setjmp): Likewise. Do not use BP_SYM.
13310 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
13312 (PARMS): Do not use macros from bp-asm.h.
13313 (__frexp): Do not use BP_SYM.
13315 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
13317 (PARMS): Do not use macros from bp-asm.h.
13318 (__frexpf): Do not use BP_SYM.
13319 (frexpf): Likewise.
13320 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
13322 (PARMS): Do not use macros from bp-asm.h.
13323 (__frexpl): Do not use BP_SYM.
13324 (frexpl): Likewise.
13325 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
13327 (PARMS): Do not use macros from bp-asm.h.
13328 (__remquo): Do not use BP_SYM.
13329 (remquo): Likewise.
13330 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
13332 (PARMS): Do not use macros from bp-asm.h.
13333 (__remquof): Do not use BP_SYM.
13334 (remquof): Likewise.
13335 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
13337 (PARMS): Do not use macros from bp-asm.h.
13338 (__remquol): Do not use BP_SYM.
13339 (remquol): Likewise.
13340 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
13342 (PARMS): Do not use macros from bp-asm.h.
13345 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
13346 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
13348 (PARMS): Do not use macros from bp-asm.h.
13349 (strlen): Do not use BP_SYM.
13350 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
13352 (PARMS): Do not use macros from bp-asm.h.
13356 (__mpn_add_n): Do not use BP_SYM.
13357 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
13359 (PARMS): Do not use macros from bp-asm.h.
13362 (__mpn_addmul_1): Do not use BP_SYM.
13363 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
13366 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
13368 (PARMS): Do not use macros from bp-asm.h.
13371 (__mpn_lshift): Do not use BP_SYM.
13372 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
13374 (PARMS): Do not use macros from bp-asm.h.
13378 (memcpy): Likewise. Do not use BP_SYM.
13379 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
13380 libc_hidden_def and weak_alias.
13381 (mempcpy): Do not use BP_SYM in weak_alias.
13382 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
13384 (PARMS): Do not use macros from bp-asm.h.
13387 [!BZERO_P] (CHR): Likewise.
13388 (memset): Likewise. Do not use BP_SYM.
13389 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
13391 (PARMS): Do not use macros from bp-asm.h.
13394 (__mpn_mul_1): Do not use BP_SYM.
13395 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
13397 (PARMS): Do not use macros from bp-asm.h.
13400 (__mpn_rshift): Do not use BP_SYM.
13401 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
13403 (PARMS): Do not use macros from bp-asm.h.
13406 (strchr): Likewise. Do not use BP_SYM.
13407 (index): Do not use BP_SYM in weak_alias.
13408 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
13410 (PARMS): Do not use macros from bp-asm.h.
13413 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
13414 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
13416 (PARMS): Do not use macros from bp-asm.h.
13417 (strlen): Do not use BP_SYM.
13418 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
13420 (PARMS): Do not use macros from bp-asm.h.
13424 (__mpn_sub_n): Do not use BP_SYM.
13425 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
13427 (PARMS): Do not use macros from bp-asm.h.
13430 (__mpn_submul_1): Do not use BP_SYM.
13431 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
13433 (PARMS): Do not use macros from bp-asm.h.
13437 (__mpn_add_n): Do not use BP_SYM.
13438 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
13441 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
13443 (PARMS): Do not use macros from bp-asm.h.
13446 (memcmp): Do not use BP_SYM.
13447 (bcmp): Do not use BP_SYM in weak_alias.
13448 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
13450 (PARMS): Do not use macros from bp-asm.h.
13454 (memcpy): Likewise. Do not use BP_SYM.
13455 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
13457 (PARMS): Do not use macros from bp-asm.h.
13461 (memmove): Likewise. Do not use BP_SYM.
13462 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
13464 (PARMS): Do not use macros from bp-asm.h.
13468 (__mempcpy): Likewise. Do not use BP_SYM.
13469 (mempcpy): Do not use BP_SYM in weak_alias.
13470 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
13472 (PARMS): Do not use macros from bp-asm.h.
13475 [!BZERO_P] (CHR): Likewise.
13476 (memset): Likewise. Do not use BP_SYM.
13477 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
13479 (PARMS): Do not use macros from bp-asm.h.
13481 (strcmp): Do not use BP_SYM.
13482 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
13484 (PARMS): Do not use macros from bp-asm.h.
13487 [USE_AS_STRTOK_R] (SAVE): Likewise.
13488 (FUNCTION): Likewise. Do not use BP_SYM.
13489 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
13491 (strtok_r): Likewise.
13492 (__GI___strtok_r): Likewise.
13493 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13494 (PARMS): Do not use macros from bp-asm.h.
13497 (__mpn_lshift): Do not use BP_SYM.
13498 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13499 (PARMS): Do not use macros from bp-asm.h.
13502 (__memchr): Do not use BP_SYM.
13503 (memchr): Do not use BP_SYM in weak_alias.
13504 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13505 (PARMS): Do not use macros from bp-asm.h.
13508 (memcmp): Do not use BP_SYM.
13509 (bcmp): Do not use BP_SYM in weak_alias.
13510 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
13511 (PARMS): Do not use macros from bp-asm.h.
13514 (__mpn_mul_1): Do not use BP_SYM.
13515 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
13517 (PARMS): Do not use macros from bp-asm.h.
13520 (__rawmemchr): Do not use BP_SYM.
13521 (rawmemchr): Do not use BP_SYM in weak_alias.
13522 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13523 (PARMS): Do not use macros from bp-asm.h.
13526 (__mpn_rshift): Do not use BP_SYM.
13527 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13528 (PARMS): Do not use macros from bp-asm.h.
13529 (SIGMSK): Likewise.
13530 (__sigsetjmp): Likewise. Do not use BP_SYM.
13531 * sysdeps/i386/start.S: Do not include "bp-sym.h".
13532 (_start): Do not use BP_SYM.
13533 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
13534 (PARMS): Do not use macros from bp-asm.h.
13537 (__stpcpy): Likewise. Do not use BP_SYM.
13538 (stpcpy): Do not use BP_SYM in weak_alias.
13539 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
13541 (PARMS): Do not use macros from bp-asm.h.
13545 (__stpncpy): Likewise. Do not use BP_SYM.
13546 (stpncpy): Do not use BP_SYM in weak_alias.
13547 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13548 (PARMS): Do not use macros from bp-asm.h.
13551 (strchr): Likewise. Do not use BP_SYM.
13552 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
13554 (PARMS): Do not use macros from bp-asm.h.
13557 (__strchrnul): Likewise. Do not use BP_SYM.
13558 (strchrnul): Do not use BP_SYM in weak_alias.
13559 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
13561 (PARMS): Do not use macros from bp-asm.h.
13563 (strcspn): Do not use BP_SYM.
13564 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
13566 (PARMS): Do not use macros from bp-asm.h.
13569 (strpbrk): Likewise. Do not use BP_SYM.
13570 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
13572 (PARMS): Do not use macros from bp-asm.h.
13575 (strrchr): Likewise. Do not use BP_SYM.
13576 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
13577 (PARMS): Do not use macros from bp-asm.h.
13579 (strspn): Do not use BP_SYM.
13580 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
13581 (PARMS): Do not use macros from bp-asm.h.
13585 (FUNCTION): Likewise. Do not use BP_SYM.
13586 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
13588 (strtok_r): Likewise.
13589 (__GI___strtok_r): Likewise.
13590 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13591 (PARMS): Do not use macros from bp-asm.h.
13595 (__mpn_sub_n): Do not use BP_SYM.
13596 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
13598 (PARMS): Do not use macros from bp-asm.h.
13601 (__mpn_submul_1): Do not use BP_SYM.
13602 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
13604 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
13606 (PARMS): Do not use macros from bp-asm.h.
13611 (__clone): Do not use BP_SYM.
13612 (clone): Do not use BP_SYM in weak_alias.
13613 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
13615 (PARMS): Do not use macros from bp-asm.h.
13617 (__mmap64): Do not use BP_SYM.
13618 (mmap64): Do not use BP_SYM in weak_alias.
13619 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13620 <bp-sym.h> and <bp-asm.h>.
13621 (PARMS): Do not use macros from bp-asm.h.
13622 (__posix_fadvise64_l64): Do not use BP_SYM.
13623 * sysdeps/unix/sysv/linux/i386/semtimedop.S
13624 (PARMS): Do not use macros from bp-asm.h.
13626 (semtimedop): Do not use BP_SYM.
13627 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
13630 2013-02-21 Allan McRae <allan@archlinux.org>
13632 * manual/message.texi (Charset conversion in gettext):
13633 Move @end statement to beginning of line.
13635 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13637 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
13639 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13642 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
13643 (denorm): Likewise.
13644 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
13645 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
13647 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13649 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
13650 tail-call to the resolved function if pltexit isn't needed.
13652 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13654 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
13655 or Y being zero as being unlikely.
13656 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13659 2013-02-20 Carlos O'Donell <carlos@redhat.com>
13661 * manual/nss.texi (System Databases and Name Service Switch):
13662 Remove frobnicate @pxref.
13664 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13666 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13667 __attribute__ ((unused)) to __attribute__ ((__unused__)).
13669 2013-02-20 Petr Machata <pmachata@redhat.com>
13671 * elf/elf.h (R_ARM_TARGET1): New macro.
13672 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
13673 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
13674 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
13675 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
13676 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
13677 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
13678 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
13679 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
13680 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
13681 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
13682 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
13683 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
13684 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
13685 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
13686 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
13687 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
13688 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
13689 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
13690 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
13691 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
13692 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
13693 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
13694 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
13695 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
13696 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
13697 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
13698 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
13699 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
13700 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
13701 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
13702 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
13703 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
13704 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
13705 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
13706 (R_ARM_THM_GOT_BREL12): Likewise.
13707 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
13708 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
13709 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
13710 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
13711 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
13712 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
13713 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
13714 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
13715 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
13717 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13719 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13720 __attribute_used__ to __attribute__ ((unused)).
13722 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13724 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13726 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13727 comment formatting.
13728 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13730 2013-02-19 Joseph Myers <joseph@codesourcery.com>
13733 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13735 (ENTER): Remove both macro definitions.
13737 (CHECK_BOUNDS_LOW): Likewise.
13738 (CHECK_BOUNDS_HIGH): Likewise.
13739 (CHECK_BOUNDS_BOTH): Likewise.
13740 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13741 (RETURN_BOUNDED_POINTER): Likewise.
13742 (RETURN_NULL_BOUNDED_POINTER): Likewise.
13743 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13744 (POP_ERRNO_LOCATION_RETURN): Likewise.
13745 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13746 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13747 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13749 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13750 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13751 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13752 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13753 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13754 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13755 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13756 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13757 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13758 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13759 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13760 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13761 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13762 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13764 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13765 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13767 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13768 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13769 * sysdeps/i386/i586/memset.S (memset): Likewise.
13770 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13771 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13772 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13774 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13775 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13776 Change uses of L(2) to L(out).
13777 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13778 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13779 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13780 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13781 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13783 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13784 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13786 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13787 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13788 (RETURN): Do not use macro LEAVE.
13789 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13790 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13791 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13792 * sysdeps/i386/i686/memset.S (memset): Likewise.
13793 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13794 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13795 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13796 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13798 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13799 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
13800 L(1_2) and L(1_3) into L(1).
13801 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13802 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13803 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13804 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13805 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13806 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13807 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13808 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13809 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13811 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13812 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13813 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13814 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13815 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13816 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13817 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13818 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13819 * sysdeps/i386/strcspn.S (strcspn): Likewise.
13820 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13821 * sysdeps/i386/strrchr.S (strrchr): Likewise.
13822 * sysdeps/i386/strspn.S (strspn): Likewise.
13823 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13825 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13826 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13827 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13828 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
13829 L(1_3) into L(1_1).
13830 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13831 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13832 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13834 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13836 2013-02-19 Jakub Jelinek <jakub@redhat.com>
13838 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13841 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13843 * math/atest-exp.c (exp_mpn): Remove ROUND.
13844 * math/atest-exp2.c (exp_mpn): Likewise.
13845 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13847 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13848 * stdlib/tst-tls-atexit-lib.c: Likewise.
13849 * stdlib/tst-tls-atexit.c: Likewise.
13851 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13853 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13854 and __attribute_alloc_size__.
13856 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13858 * include/programs/xmalloc.h: Change __attribute_alloc_size to
13859 __attribute_alloc_size__.
13860 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13861 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13863 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13865 * include/programs/xmalloc.h: New file.
13866 * catgets/gencat.c: Include it.
13867 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13868 * elf/pldd.c: Likewise.
13869 * iconv/iconv_charmap.c: Likewise.
13870 * iconv/iconvconfig.c: Likewise.
13871 * iconv/strtab.c: Likewise.
13872 * locale/programs/locale.c: Likewise.
13873 * locale/programs/localedef.h: Likewise.
13874 * locale/programs/simple-hash.c: Likewise.
13875 * nscd/nscd.h: Likewise.
13876 * nss/makedb.c: Likewise.
13877 * sysdeps/generic/ldconfig.h: Likewise.
13879 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13881 * Versions.def: Add GLIBC_2.18.
13882 * include/link.h (struct link_map): New member l_tls_dtor_count.
13883 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13884 (__call_tls_dtors): Likewise.
13885 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13886 __cxa_thread_atexit_impl.
13887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13895 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13896 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13898 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13900 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13903 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13904 (tests): Add test case tst-tls-atexit.
13905 (modules-names): Add shared library for tst-tls-atexit.
13906 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13907 (GLIBC_PRIVATE): Add __call_tls_dtors.
13908 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13910 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13911 * stdlib/tst-tls-atexit.c: New test case.
13912 * stdlib/tst-tls-atexit-lib.c: New test case.
13914 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13916 * elf/Versions (ld): Add _dl_find_dso_for_object.
13917 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13918 * elf/dl-open.c (_dl_find_dso_for_object): New function.
13919 (dl_open_worker): Use _dl_find_dso_for_object.
13920 * elf/dl-sym.c (do_sym): Likewise.
13921 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13923 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13925 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13926 Syntactic changes only.
13927 (_dl_runtime_profile): Do a tail-call to the resolved function.
13929 2013-02-17 Joseph Myers <joseph@codesourcery.com>
13932 * sysdeps/x86_64/bp-asm.h: Remove file.
13933 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13934 <bp-sym.h> and <bp-asm.h>.
13935 (__clone): Do not use BP_SYM.
13936 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13937 <bp-sym.h> and <bp-asm.h>.
13938 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13939 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13941 (_setjmp): Do not use BP_SYM.
13942 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13944 (setjmp): Do not use BP_SYM.
13945 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13947 (mempcpy): Do not use BP_SYM in weak_alias.
13948 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13950 (strchr): Do not use BP_SYM.
13951 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13953 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13954 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13955 (_start): Do not use BP_SYM.
13956 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13958 (strcat): Do not use BP_SYM.
13959 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13961 (STRCMP): Do not use BP_SYM.
13962 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13964 (STRCPY): Do not use BP_SYM.
13965 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13967 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13969 (FUNCTION): Do not use BP_SYM.
13970 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13972 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13974 2013-02-17 Andreas Jaeger <aj@suse.de>
13976 * time/Versions: Sort entries.
13977 * string/Versions: Likewise.
13978 * resolv/Versions: Likewise.
13979 * posix/Versions: Likewise.
13980 * iconv/Versions: Likewise.
13981 * elf/Versions: Likewise.
13982 * wcsmbs/Versions: Likewise.
13984 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13986 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13987 loop termination condition.
13989 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13990 variable to calculate EZ.
13993 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13994 the lower precision input.
13996 2013-02-15 Joseph Myers <joseph@codesourcery.com>
13999 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
14000 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
14001 (run-via-rtld-prefix): Do not handle %-bp tests.
14002 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
14003 (all-object-suffixes): Remove .ob.
14004 (bppfx): Remove variable.
14005 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
14006 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
14007 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
14008 [$(build-bounded) = yes] (libtype.ob): Likewise.
14009 * Makerules (elide-routines.ob): Remove variable.
14010 (do-tests-clean): Do not handle *-bp.out.
14011 (common-mostlyclean): Do not handle *-bp and *-bp.out.
14012 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
14013 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
14014 (tests): Do not include $(tests-bp.out).
14015 (xtests): Do not include $(xtests-bp.out).
14016 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
14017 [$(build-bounded) = yes] ($(addprefix
14018 $(objpfx),$(binaries-bounded))): Remove rule.
14019 ($(objpfx)%-bp.out): Remove rule.
14020 * config.make.in (build-bounded): Remove variable.
14021 * crypt/Makefile [$(build-bounded) = yes]
14022 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14023 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14024 append to variable.
14025 [$(build-bounded) = yes] (install-lib): Likewise.
14026 [$(build-bounded) = yes] (generated): Likewise.
14027 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14029 * intl/Makefile [$(build-bounded) = yes]
14030 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14031 * math/Makefile [$(build-bounded) = yes]
14032 ($(tests:%=$(objpfx)%-bp): Likewise.
14033 * misc/Makefile [$(build-bounded) = yes]
14034 ($(objpfx)tst-tsearch-bp): Likewise.
14035 * nptl/Makeconfig (bounded-thread-library): Remove variable.
14036 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14038 * string/Makefile (o-objects.ob): Remove variable.
14039 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14040 (CFLAGS-.ob): Remove variable.
14041 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14042 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14043 both definitions of variable.
14044 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14045 (ASFLAGS-.ob): Remove variable.
14047 2013-02-14 Joseph Myers <joseph@codesourcery.com>
14050 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
14051 Remove __BOUNDED_POINTERS__ from condition.
14052 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
14053 * string/bits/string2.h [!__NO_STRING_INLINES &&
14054 !__BOUNDED_POINTERS__]: Likewise.
14055 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
14057 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
14058 Remove conditional code.
14059 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
14060 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
14061 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
14065 * csu/libc-start.c: Do not include <bp-sym.h>.
14066 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
14067 * elf/dl-open.c: Do not include <bp-sym.h>.
14068 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
14069 * math/fegetenv.c: Do not include <bp-sym.h>.
14070 (fegetenv): Do not use BP_SYM in versioned symbols.
14071 * nptl/sysdeps/pthread/bits/libc-lockP.h
14072 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
14074 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14075 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
14076 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14077 (__pthread_mutex_destroy): Likewise.
14078 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14079 (__pthread_mutex_lock): Likewise.
14080 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14081 (__pthread_mutex_trylock): Likewise.
14082 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14083 (__pthread_mutex_unlock): Likewise.
14084 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14085 (__pthread_mutexattr_init): Likewise.
14086 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14087 (__pthread_mutexattr_destroy): Likewise.
14088 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14089 (__pthread_mutexattr_settype): Likewise.
14090 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14091 (__pthread_rwlock_init): Likewise.
14092 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14093 (__pthread_rwlock_destroy): Likewise.
14094 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14095 (__pthread_rwlock_rdlock): Likewise.
14096 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14097 (__pthread_rwlock_tryrdlock): Likewise.
14098 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14099 (__pthread_rwlock_wrlock): Likewise.
14100 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14101 (__pthread_rwlock_trywrlock): Likewise.
14102 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14103 (__pthread_rwlock_unlock): Likewise.
14104 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14105 (__pthread_key_create): Likewise.
14106 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14107 (__pthread_setspecific): Likewise.
14108 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14109 (__pthread_getspecific): Likewise.
14110 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
14112 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14113 (_pthread_cleanup_push_defer): Likewise.
14114 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14115 (_pthread_cleanup_pop_restore): Likewise.
14116 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14117 (pthread_setcancelstate): Likewise.
14118 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
14120 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
14121 (memchr): Do not use BP_SYM in weak_alias.
14122 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
14123 (fegetenv): Do not use BP_SYM in versioned symbols.
14124 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
14125 (fesetenv): Do not use BP_SYM in versioned symbols.
14126 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14127 (feupdateenv): Do not use BP_SYM in versioned symbols.
14128 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14129 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14130 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
14131 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
14132 (open64): Do not use BP_SYM in weak_alias.
14133 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
14134 (fegetenv): Do not use BP_SYM in versioned symbols.
14135 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
14136 (fesetenv): Do not use BP_SYM in versioned symbols.
14137 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14138 (feupdateenv): Do not use BP_SYM in versioned symbols.
14139 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
14140 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
14141 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
14142 (feraiseexcept): Do not use BP_SYM in versioned symbols.
14143 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14144 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14145 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
14147 (__libc_start_main): Do not use BP_SYM.
14149 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14151 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
14152 redundant return line.
14154 (denorm): Likewise.
14155 (dbl_mp): Likewise.
14156 (sub_magnitudes): Likewise.
14162 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
14164 (denorm): Likewise.
14165 (dbl_mp): Likewise.
14166 (sub_magnitudes): Likewise.
14173 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
14175 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14176 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
14179 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
14180 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
14181 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
14182 of __mul for squares.
14183 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
14185 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
14187 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
14188 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14190 2013-02-13 Joseph Myers <joseph@codesourcery.com>
14193 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
14195 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
14196 prototype or function definition. Rename ubp_* variables and
14197 parameters. Remove argv definitions conditional on
14198 [__BOUNDED_POINTERS__].
14199 * debug/backtrace.c (__backtrace): Do not use __unbounded.
14200 * elf/dl-runtime.c (_dl_fixup): Likewise.
14201 * include/set-hooks.h (RUN_HOOK): Likewise.
14202 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
14204 * string/strcpy.c (strcpy): Do not use __unbounded.
14205 * sysdeps/generic/frame.h (struct layout): Likewise.
14206 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
14207 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
14208 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
14209 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
14210 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
14211 (__backtrace): Likewise.
14212 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
14214 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14215 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14216 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14218 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
14219 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
14220 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14221 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14222 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
14223 Do not use __unbounded.
14224 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
14225 Rename __unboundedrlimits parameter to rlimits in prototype.
14226 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
14227 Do not use __unbounded.
14228 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
14229 not use __ptrvalue.
14230 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14231 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
14232 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14233 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
14234 __ptrvalue or __unbounded.
14235 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
14236 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
14238 (__new_msgctl): Do not use __ptrvalue.
14239 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
14241 (__libc_msgrcv): Do not use __ptrvalue.
14242 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
14243 startup_info): Do not use __unbounded.
14244 (__libc_start_main): Likewise. Rename ubp_* variables and
14245 parameters. Remove argv definitions conditional on
14246 [__BOUNDED_POINTERS__].
14247 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
14249 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
14251 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
14253 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
14255 (__new_shmctl): Do not use __ptrvalue.
14256 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14257 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14259 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14260 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
14261 (__libc_sigaction): Likewise.
14262 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
14263 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
14265 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14267 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
14269 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
14271 * string/mempcpy.c: Implement by calling memcpy.
14273 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14275 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
14277 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
14280 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
14281 values in the mantissa.
14283 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
14284 minimize writes to Z.
14285 (sub_magnitudes): Simplify code a bit.
14287 2013-02-12 Roland McGrath <roland@hack.frob.com>
14289 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
14290 from the message. The linker prefixes all warnings with that already.
14292 2013-02-12 Andreas Schwab <schwab@suse.de>
14295 * posix/regexec.c (extend_buffers): Add parameter min_len.
14296 (check_matching): Pass minimum needed length.
14297 (clean_state_log_if_needed): Likewise.
14298 (get_subexp): Likewise.
14299 * posix/Makefile (tests): Add bug-regex34.
14300 (bug-regex34-ENV): Define.
14301 * posix/bug-regex34.c: New file.
14304 * posix/regcomp.c (parse_bracket_exp): When looking up collating
14305 elements compare against the byte sequence of it, not its name.
14306 * posix/Makefile (tests): Add bug-regex35.
14307 (bug-regex35-ENV): Define.
14308 * posix/bug-regex35.c: New file.
14310 2013-02-11 Tom de Vries <tom@codesourcery.com>
14312 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
14314 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
14315 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
14316 (CHECK_EOL): Add undef.
14318 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
14320 * bits/stdlib-bsearch.h: New file.
14321 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
14322 * stdlib/stdlib.h: Likewise.
14324 2013-02-11 Roland McGrath <roland@hack.frob.com>
14326 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
14327 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
14329 * manual/search.texi (Array Search Function): Add missing const in
14331 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
14332 declaration to use rlim_t.
14333 (Basic Scheduling Functions): Remove erroneous const from
14334 sched_getparam prototype. Remove erroneous * from
14335 sched_get_priority_max and sched_get_priority_min prototypes.
14336 (Resource Usage): Fix summary @comment on vtimes to refer to
14337 sys/vtimes.h rather than vtimes.h.
14338 Add missing *s in vtimes prototype.
14339 (Limits on Resources): Fix ulimit prototype to return long int.
14340 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
14341 prototypes to use long int rather than double.
14342 (BSD Random): Fix initstate and setstate to use char *, not void *.
14343 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
14344 prototype to make second argument 'struct aiocb64 *const[]'.
14345 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
14346 (Status of AIO Operations): Remove erroneous const in aio_return and
14347 aio_return64 prototypes.
14348 (Synchronizing I/O): Fix sync prototype to return void.
14349 * manual/startup.texi (Suboptions): Remove an erroneous const in
14350 getsubopt prototype.
14351 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
14352 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
14353 use size_t rather than int.
14354 (Scanning All Users): Likewise for getpwent_r.
14355 (Setting Groups): Add missing const to setgroups prototype.
14356 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
14357 * manual/socket.texi (Host Names): Fix gethostbyaddr and
14358 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
14359 'const void *' rather than 'const char *'.
14360 (Host Address Functions): Likewise for inet_ntop.
14361 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
14362 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
14363 ssize_t for return value.
14364 (Sending Data): Likewise for send, sendto, sendmsg.
14365 (Socket Option Functions): Add a missing const in setsockopt prototype.
14366 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
14367 use wchar_t for the argument.
14368 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
14369 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
14371 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
14372 double/float/long double for second argument.
14373 Fix return types of significand, significandf, significandl.
14374 * manual/filesys.texi (Setting Permissions): Use mode_t for second
14375 argument in fchmod prototype.
14376 (File Owner): Use uid_t and gid_t in fchown prototype.
14377 (File Times): Add const to utimes, futimes, and lutimes prototypes.
14378 (Making Special Files): Use mode_t and dev_t in mknod prototype.
14379 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
14380 use 'const struct dirent **' as argument types to CMP function pointer
14382 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
14383 (File Times): Fix summary magic @comment for struct utimbuf and utime
14384 to refer to utime.h, not time.h.
14385 * manual/string.texi (Argz Functions): Add missing const in
14386 argz_extract and argz_next prototypes.
14387 (Finding Tokens in a String): Likewise for basename.
14388 (String/Array Comparison): Fix typo in wcscasecmp prototype.
14389 (Copying and Concatenation): Fix typo in wmemmove prototype.
14390 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
14391 (Signal Stack): Remove erroneous const in sigstack prototype.
14392 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
14394 (Simple Calendar Time): Likewise for stime.
14395 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
14397 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
14398 say sys/sysctl.h instead.
14399 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
14400 and vsyslog prototypes.
14402 2013-02-11 Tom de Vries <tom@codesourcery.com>
14404 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
14407 2013-02-11 Roland McGrath <roland@hack.frob.com>
14409 * misc/sys/mman.h: Fix typo in mremap comment.
14411 2013-02-08 Roland McGrath <roland@hack.frob.com>
14413 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
14414 the '\0' terminator.
14416 2013-02-08 Joseph Myers <joseph@codesourcery.com>
14419 * debug/segfault.c: Don't include <bp-checks.h>.
14420 * sysdeps/generic/bp-checks.h: Remove file.
14421 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
14422 (__GETDENTS): Don't use CHECK_N.
14423 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
14424 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14425 (__getgroups): Don't use CHECK_N.
14426 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
14427 (setgroups): Don't use CHECK_N.
14428 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
14429 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
14430 (__libc_msgrcv): Don't use CHECK_N.
14431 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
14432 (__libc_msgsnd): Don't use CHECK_N.
14433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
14435 (__libc_pread): Don't use CHECK_N.
14436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
14437 include <bp-checks.h>.
14438 (__libc_pread64): Don't use CHECK_N.
14439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
14440 include <bp-checks.h>.
14441 (__libc_pwrite): Don't use CHECK_N.
14442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
14443 include <bp-checks.h>.
14444 (__libc_pwrite64): Don't use CHECK_N.
14445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
14447 (__libc_pread): Don't use CHECK_N.
14448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
14449 include <bp-checks.h>.
14450 (__libc_pread64): Don't use CHECK_N.
14451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
14452 include <bp-checks.h>.
14453 (__libc_pwrite): Don't use CHECK_N.
14454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
14455 include <bp-checks.h>.
14456 (__libc_pwrite64): Don't use CHECK_N.
14457 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
14458 (do_pread): Don't use CHECK_N.
14459 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
14460 (do_pread64): Don't use CHECK_N.
14461 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
14462 (do_pwrite): Don't use CHECK_N.
14463 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
14464 (do_pwrite64): Don't use CHECK_N.
14465 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
14466 (__libc_readv): Don't use CHECK_N.
14467 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
14468 (semop): Don't use CHECK_N.
14469 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
14471 (semtimedop): Don't use CHECK_N.
14472 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
14473 (__libc_pread): Don't use CHECK_N.
14474 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
14476 (__libc_pread64): Don't use CHECK_N.
14477 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
14479 (__libc_pwrite): Don't use CHECK_N.
14480 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
14482 (__libc_pwrite64): Don't use CHECK_N.
14483 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
14485 (__libc_msgrcv): Don't use CHECK_N.
14486 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
14487 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
14488 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
14489 (__libc_writev): Don't use CHECK_N.
14491 2013-02-08 Roland McGrath <roland@hack.frob.com>
14493 * string/strcpy.c: Removed unused variable.
14495 * Makeconfig (+sysdep-includes): Define with := rather than =.
14496 Use an existing include/ subdir of each sysdeps dir before it.
14498 2013-02-08 Carlos O'Donell <carlos@redhat.com>
14500 * nscd/connection.c (register_traced_file): Comment function.
14501 [HAVE_INOTIFY] (union __inev): Define.
14502 [HAVE_INOTIFY] (inotify_check_files): New function.
14503 [HAVE_INOTIFY] (clear_db_cache): Likewise.
14504 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
14506 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
14508 2013-02-08 Carlos O'Donell <carlos@redhat.com>
14510 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
14511 loaded if not already and that a failure is permanent.
14513 2013-02-08 Carlos O'Donell <carlos@redhat.com>
14516 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
14517 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
14519 2013-02-08 Joseph Myers <joseph@codesourcery.com>
14522 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
14523 (CHECK_1_NULL_OK): Likewise.
14524 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
14525 (__fxstat): Do not use CHECK_1.
14526 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
14528 (___fxstat64): Do not use CHECK_1.
14529 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14531 (__fxstatat): Do not use CHECK_1.
14532 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14534 (__fxstatat64): Do not use CHECK_1.
14535 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
14537 (__fxstat): Do not use CHECK_1.
14538 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14540 (__fxstatat): Do not use CHECK_1.
14541 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14543 (__getresgid): Do not use CHECK_1.
14544 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14546 (__getresuid): Do not use CHECK_1.
14547 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
14549 (__lxstat): Do not use CHECK_1.
14550 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14552 (__old_msgctl): Do not use CHECK_1.
14553 (__new_msgctl): Likewise.
14554 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
14556 (__new_setrlimit): Do not use CHECK_1.
14557 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14559 (__old_shmctl): Do not use CHECK_1.
14560 (__new_shmctl): Likewise.
14561 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
14563 (__xstat): Do not use CHECK_1.
14564 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
14565 (__lxstat): Do not use CHECK_1.
14566 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
14568 (___lxstat64): Do not use CHECK_1.
14569 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
14570 (__old_msgctl): Do not use CHECK_1.
14571 (__new_msgctl): Likewise.
14572 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
14574 (__gettimeofday): Do not use CHECK_1.
14575 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
14576 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
14577 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
14579 (__gettimeofday): Do not use CHECK_1.
14580 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
14581 (__old_shmctl): Do not use CHECK_1_NULL_OK.
14582 (__new_shmctl): Do not use CHECK_1.
14583 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
14585 (do_sigtimedwait): Do not use CHECK_1.
14586 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
14588 (do_sigwaitinfo): Do not use CHECK_1.
14589 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
14591 (msgctl): Do not use CHECK_1.
14592 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
14594 (shmctl): Do not use CHECK_1.
14595 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
14596 (ustat): Do not use CHECK_1.
14597 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
14599 (__fxstat): Do not use CHECK_1.
14600 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14602 (__fxstatat): Do not use CHECK_1.
14603 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
14605 (__lxstat): Do not use CHECK_1.
14606 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
14608 (__xstat): Do not use CHECK_1.
14609 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
14610 (__xstat): Do not use CHECK_1.
14611 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
14612 (___xstat64): Do not use CHECK_1.
14615 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
14617 (CHECK_BOUNDS_HIGH): Likewise.
14618 * string/strcpy.c: Do not include <bp-checks.h>.
14619 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
14621 2013-02-07 Roland McGrath <roland@hack.frob.com>
14623 * nscd/nscd-client.h (__nscd_drop_map_ref):
14624 Add __attribute__ ((unused)).
14625 * nis/nss-nisplus.h (niserr2nss): Likewise.
14627 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
14628 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
14630 * csu/libc-tls.c (init_static_tls, init_slotinfo):
14631 Remove inline keyword.
14632 * include/rounding-mode.h (round_away): Likewise.
14633 * libio/wfileops.c (adjust_wide_data): Likewise.
14634 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
14635 (__m128i_strloadu_tolower): Likewise.
14636 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
14637 (__m128i_strloadu_tolower): Likewise.
14638 * time/mktime.c (ydhms_diff): Likewise.
14639 * locale/elem-hash.h (elem_hash): Likewise.
14640 * locale/setlocale.c (setdata): Likewise.
14641 * posix/regex_internal.h (re_string_char_size_at): Likewise.
14642 (re_string_wchar_at): Likewise.
14643 (bitset_not, bitset_merge, bitset_mask): Likewise.
14644 [!(__GNUC__ > 3)] (inline): Remove macro.
14645 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
14646 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
14647 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14648 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
14649 * string/memcmp.c (memcmp_bytes): Likewise.
14650 * locale/programs/locarchive.c (compute_hashval): Likewise.
14651 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
14652 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
14653 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
14654 * nss/getent.c (print_rpc, print_protocols): Likewise.
14655 (print_passwd, print_group, print_aliases): Likewise.
14656 * nis/nss-nisplus.h (niserr2nss): Likewise.
14657 * nscd/connections.c (restart_p): Likewise.
14658 Change return type to bool.
14660 2013-02-05 Roland McGrath <roland@hack.frob.com>
14662 * Makeconfig (all-Depend-files): Add existing
14663 $(sorted-subdirs:=/Depend) files.
14664 (all-subdirs): Remove nss.
14665 * sysdeps/unix/inet/Subdirs: Add it here instead.
14666 * hesiod/Depend: New file.
14668 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
14669 instead of calling alloca.
14671 * io/lseek.c (__lseek): Rename to __libc_lseek.
14672 Define __lseek as an alias.
14674 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
14676 2013-02-04 Carlos O'Donell <carlos@redhat.com>
14678 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
14679 else clause and remove check for non-standard endianness.
14681 2013-02-04 David S. Miller <davem@davemloft.net>
14683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14685 2013-02-04 Joseph Myers <joseph@codesourcery.com>
14688 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
14689 (__ubp_memchr): Remove prototype.
14690 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
14691 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14692 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
14693 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14694 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
14696 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
14697 (__ubp_memchr): Likewise.
14698 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
14699 (__ubp_memchr): Likewise.
14700 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
14701 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
14702 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
14703 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
14705 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14706 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
14707 (__getcwd): Do not use CHECK_STRING.
14708 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14710 (__real_chown): Do not use CHECK_STRING.
14711 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
14713 (fchownat): Do not use CHECK_STRING.
14714 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
14716 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14718 (__lchown): Do not use CHECK_STRING.
14719 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14720 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14721 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14722 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14724 include <bp-checks.h>.
14725 (truncate64): Do not use CHECK_STRING.
14726 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14728 (__real_chown): Do not use CHECK_STRING.
14729 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14731 (__lchown): Do not use CHECK_STRING.
14732 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14734 (__chown): Do not use CHECK_STRING.
14735 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14737 (truncate64): Do not use CHECK_STRING.
14738 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14740 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14741 (__xmknod): Do not use CHECK_STRING.
14742 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14744 (__xmknodat): Do not use CHECK_STRING.
14745 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14746 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14748 2013-02-04 Andreas Schwab <schwab@suse.de>
14751 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14752 * include/netdb.h: Likewise for h_errno.
14753 * elf/tst-stackguard1.c: Include <tls.h>.
14755 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14757 * elf/link.h (struct link_map): Extend the l_addr comment.
14758 * include/link.h (struct link_map): Likewise.
14760 2013-02-01 Joseph Myers <joseph@codesourcery.com>
14763 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14764 (BOUNDED_1): Remove macro.
14765 * debug/backtrace.c: Don't include <bp-checks.h>.
14766 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14767 (__backtrace): Likewise.
14768 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14770 (__backtrace): Don't use BOUNDED_1.
14771 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14773 (__backtrace): Don't use BOUNDED_1.
14774 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14775 (__backtrace): Don't use BOUNDED_1.
14776 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14777 (shmat): Don't use BOUNDED_N.
14779 2013-01-31 Joseph Myers <joseph@codesourcery.com>
14782 * sysdeps/generic/bp-start.h: Remove file.
14783 * csu/libc-start.c: Don't include <bp-start.h>.
14784 (LIBC_START_MAIN): Set up __environ directly instead of using
14785 INIT_ARGV_and_ENVIRON.
14786 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14790 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14792 (CHECK_FCNTL): Likewise.
14793 (CHECK_N_PAGES): Likewise.
14796 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14798 (CHECK_SIGSET_NULL_OK): Likewise.
14799 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14801 (sigpending): Don't use CHECK_SIGSET.
14802 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14804 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14805 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14807 (do_sigsuspend): Don't use CHECK_SIGSET.
14808 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14810 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14811 (do_sigwait): Don't use CHECK_SIGSET.
14812 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14814 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14815 include <bp-checks.h>.
14816 (sigpending): Don't use CHECK_SIGSET.
14817 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14818 include <bp-checks.h>.
14819 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14820 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14822 (sigpending): Don't use CHECK_SIGSET.
14823 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14825 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14828 * sysdeps/generic/bp-semctl.h: Remove file.
14829 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14830 <bp-checks.h> and <bp-semctl.h>.
14831 (__old_semctl): Don't use CHECK_SEMCTL.
14832 (__new_semctl): Likewise.
14833 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14835 (__old_semctl): Don't use CHECK_SEMCTL.
14836 (__new_semctl): Likewise.
14837 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14838 <bp-checks.h> and <bp-semctl.h>.
14839 (__old_semctl): Don't use CHECK_SEMCTL.
14840 (__new_semctl): Likewise.
14841 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14842 <bp-checks.h> and <bp-semctl.h>.
14843 (semctl): Don't use CHECK_SEMCTL.
14846 * Makerules (elide-bp-thunks): Remove variable.
14847 (elide-routines.oS): Don't use $(elide-bp-thunks).
14848 (elide-routines.os): Likewise.
14849 (elide-routines.o): Likewise.
14850 (elide-routines.op): Likewise.
14851 (elide-routines.og): Likewise.
14852 (objects): Don't use $(bp-thunks).
14853 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14855 (common-generated): Do not add s-proto-bp.d.
14856 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14859 Do not generate makefile rules for bounded-pointer thunks.
14860 * sysdeps/generic/bp-thunks.h: Remove file.
14861 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14862 * sysdeps/unix/s-proto-bp.S: Likewise.
14865 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14866 parts of result separately when argument is not close to line from
14867 -i to i and one part of argument is small.
14868 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14869 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14870 * math/libm-test.inc (cacos_test): Add more tests.
14871 (casin_test): Likewise.
14872 (casinh_test): Likewise.
14873 * sysdeps/i386/fpu/libm-test-ulps: Update.
14874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14876 2013-01-31 David S. Miller <davem@davemloft.net>
14878 * po/de.po: Update from translation team.
14880 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
14882 * time/tzfile.c: Include stdint.h for SIZE_MAX.
14884 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
14886 * configure.in (_AC_PROG_CC_C89): New definition.
14887 * configure: Regenerate.
14889 * configure.in (AC_PROG_CPP): New definition.
14890 * configure: Regenerate.
14892 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14894 * debug/tst-backtrace.h: New file.
14895 * debug/tst-backtrace2.c: Include tst-backtrace.h.
14896 (ret): Remove variable.
14898 (FAIL): Remove macro.
14899 (NO_INLINE): Likewise.
14900 (fn1): Use match function instead of strstr.
14901 * debug/tst-backtrace3.c: Include tst-backtrace.h.
14902 (ret): Remove variable.
14904 (FAIL): Remove macro.
14905 (NO_INLINE): Likewise.
14906 (fn): Use match function instead of strstr.
14907 * debug/tst-backtrace4.c: Include tst-backtrace.h.
14908 (ret): Remove variable.
14910 (FAIL): Remove macro.
14911 (NO_INLINE): Likewise.
14912 (handle_signal): Use match function instead of strstr.
14913 * debug/tst-backtrace5.c: Include tst-backtrace.h.
14914 (ret): Remove variable.
14916 (FAIL): Remove macro.
14917 (NO_INLINE): Likewise.
14918 (handle_signal): Use match function instead of strstr.
14920 2013-01-23 Roland McGrath <roland@hack.frob.com>
14922 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14924 2013-01-23 David S. Miller <davem@davemloft.net>
14926 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14927 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14928 argument of CAS if possible.
14929 * sysdeps/sparc/sparc64/bits/atomic.h
14930 (__arch_compare_and_exchange_val_32_acq): Likewise.
14931 (__arch_compare_and_exchange_val_64_acq): Likewise.
14933 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
14935 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14936 * sysdeps/posix/ulimit.c: ... this.
14937 Include <limits.h>.
14938 * sysdeps/unix/bsd/ulimit.c: Remove file.
14940 2013-01-23 Adam Conrad <adconrad@0c3.net>
14942 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14943 (LDFLAGS-tst-array5): Likewise.
14945 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14948 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14949 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14950 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14951 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14953 2013-01-21 David S. Miller <davem@davemloft.net>
14955 * sysdeps/sparc/backtrace.c: New file.
14956 * sysdeps/sparc/sparc32/backtrace.h: New file.
14957 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14958 * sysdeps/sparc/sparc64/backtrace.h: New file.
14959 * sysdeps/sparc/sparc64/backtrace.c: Delete.
14960 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14963 2013-01-21 Andreas Schwab <schwab@suse.de>
14966 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14969 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
14971 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14973 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14975 2013-01-18 Joseph Myers <joseph@codesourcery.com>
14976 Mark Mitchell <mark@codesourcery.com>
14977 Tom de Vries <tom@codesourcery.com>
14978 Paul Pluzhnikov <ppluzhnikov@google.com>
14980 * debug/tst-backtrace2.c: New file.
14981 * debug/tst-backtrace3.c: Likewise.
14982 * debug/tst-backtrace4.c: Likewise.
14983 * debug/tst-backtrace5.c: Likewise.
14984 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14985 (CFLAGS-tst-backtrace3.c): Likewise.
14986 (CFLAGS-tst-backtrace4.c): Likewise.
14987 (CFLAGS-tst-backtrace5.c): Likewise.
14988 (LDFLAGS-tst-backtrace2): Likewise.
14989 (LDFLAGS-tst-backtrace3): Likewise.
14990 (LDFLAGS-tst-backtrace4): Likewise.
14991 (LDFLAGS-tst-backtrace5): Likewise.
14992 (tests): Add new tests tst-backtrace2, tst-backtrace3,
14993 tst-backtrace4 and tst-backtrace5.
14995 2013-01-18 Anton Blanchard <anton@samba.org>
14996 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14998 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14999 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
15000 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
15001 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
15002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15003 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
15004 "+r" and remove output regs list as redundant. Add explicit inline
15005 asm to specify register of return val to work around compiler codegen
15006 bug. Remove (int) cast on return value. Add return type parameter to
15007 use in macro so that this macro does not truncate return value for
15009 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
15010 pass to INTERNAL_VSYSCALL_NCS.
15011 (INLINE_VSYSCALL): Add 'long int' as return type to
15012 INTERNAL_VSYSCALL_NCS macro invocation.
15013 (INTERNAL_VSYSCALL): Add 'long int' as return type to
15014 INTERNAL_VSYSCALL_NCS macro invocation.
15015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15017 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15020 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15021 Fix application of SIMD FP exception mask.
15023 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15024 mp_no from a power of two.
15025 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15026 __mpexp_twomm1. Use __pow_mp.
15028 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15031 2013-01-17 David S. Miller <davem@davemloft.net>
15033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15035 2013-01-17 Joseph Myers <joseph@codesourcery.com>
15038 * include/complex.h: Condition contents on [!_COMPLEX_H].
15039 (__kernel_casinhf): New prototype.
15040 (__kernel_casinh): Likewise.
15041 (__kernel_casinhl): Likewise.
15042 * math/Makefile (libm_calls): Add k_casinh.
15043 * math/k_casinh.c: New file.
15044 * math/k_casinhf.c: Likewise.
15045 * math/k_casinhl.c: Likewise.
15046 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15047 finite nonzero arguments.
15048 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
15049 finite nonzero arguments.
15050 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
15051 finite nonzero arguments.
15052 * math/s_casinh.c: Do not include <float.h>.
15053 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
15054 * math/s_casinhf.c: Do not include <float.h>.
15055 (__casinhf): Move code for finite nonzero arguments to
15057 * math/s_casinhl.c: Do not include <float.h>.
15058 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15060 (__casinhl): Move code for finite nonzero arguments to
15062 * math/libm-test.inc (cacos_test): Add more tests.
15063 * sysdeps/i386/fpu/libm-test-ulps: Update.
15064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15066 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
15068 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
15069 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
15070 [!HAVE_MREMAP]: Remove [defined linux] case.
15071 * malloc/arena.c: Do not include <malloc-sysdep.h>.
15073 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15075 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
15077 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
15079 * elf/elf.h (R_386_SIZE32): New relocation.
15080 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
15082 (elf_machine_rela): Likewise.
15083 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15084 R_X86_64_SIZE64 and R_X86_64_SIZE32.
15086 2013-01-17 Joseph Myers <joseph@codesourcery.com>
15088 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
15089 (FP_FAST_FMA): Do not define.
15090 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
15091 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
15092 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
15093 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
15094 !_SOFT_FLOAT]: Likewise.
15095 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
15096 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
15098 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
15099 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
15100 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
15101 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
15102 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
15103 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
15106 2013-01-16 Andreas Schwab <schwab@suse.de>
15109 * include/stdlib.h (__mktemp): Add declaration.
15110 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
15111 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
15113 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15115 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
15117 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15118 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
15119 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
15121 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
15122 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
15124 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
15126 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
15127 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
15128 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
15130 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
15131 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
15133 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15135 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
15137 2013-01-15 David S. Miller <davem@davemloft.net>
15139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15140 trunc{,f} to libm-sysdep_routes.
15141 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
15144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
15145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
15147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
15149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
15150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
15151 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
15152 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
15153 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
15154 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
15155 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
15156 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
15158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15159 nearbyint{,f} to libm-sysdep_routes.
15160 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
15163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
15165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
15167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
15169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
15170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
15171 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
15173 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
15174 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
15176 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
15177 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
15178 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
15180 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15181 libc_feholdexcept and libc_fesetenv.
15183 2013-01-15 Mike Frysinger <vapier@gentoo.org>
15185 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
15187 2013-01-14 David S. Miller <davem@davemloft.net>
15189 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
15190 (SPARC_ASM_VIS2_IFUNC): Likewise.
15191 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
15192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
15193 use of 'siam' instruction.
15194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
15196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
15198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
15200 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15201 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15202 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15203 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
15206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
15208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
15210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
15212 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
15213 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
15214 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
15215 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
15216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
15218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15222 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15223 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15224 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15225 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
15227 routines to libm-sysdep_routines.
15228 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15231 fdim/fdimf to libm-sysdep_routines.
15232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
15234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
15235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
15237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
15238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
15239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
15240 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
15241 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
15242 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
15243 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
15245 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15247 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
15248 to optimize copies.
15250 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
15251 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15252 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15254 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
15255 local variable MPTWO.
15256 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
15259 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15261 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
15264 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15266 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
15268 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15270 * manual/pattern.texi (glob_t): Document gl_flags.
15271 (glob64_t): Likewise.
15273 2013-01-11 David S. Miller <davem@davemloft.net>
15275 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
15276 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
15277 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
15278 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
15279 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
15280 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
15281 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
15282 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
15283 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
15284 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
15285 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
15286 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
15287 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
15289 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15290 sparc V9 rather than using V8 code.
15291 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15292 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15294 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15296 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
15299 2013-01-11 Roland McGrath <roland@hack.frob.com>
15301 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
15302 not in the main loop.
15303 * configure: Regenerated.
15305 2013-01-11 Joseph Myers <joseph@codesourcery.com>
15307 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
15308 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
15310 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
15311 [!__GLIBC_HAVE_LONG_LONG] case.
15312 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
15313 condition to just #else.
15314 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
15315 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
15316 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
15317 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
15319 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
15320 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15321 #elif condition to just #else.
15322 * sysdeps/unix/sysv/linux/sys/sysmacros.h
15323 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
15324 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15325 #elif condition to just #else.
15327 2013-01-11 Steve Ellcey <sellcey@mips.com>
15329 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
15330 (EF_MIPS_ARCH_64): Fix value.
15331 (EF_MIPS_ARCH_32R2): New.
15332 (EF_MIPS_ARCH_64R2): New.
15334 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
15336 * Makeconfig (+link-pie-before-libc): New.
15337 (+link-pie-after-libc): Likewise.
15338 (+link-pie-tests): Likewise.
15339 (+link-pie): Rewritten.
15340 (link-before-libc): Remove $(config-LDFLAGS).
15341 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
15342 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
15343 (config-LDFLAGS): Renamed to ...
15344 (rtld-LDFLAGS): This.
15345 (rtld-tests-LDFLAGS): New macro.
15346 (link-libc-rpath-link): Likewise.
15347 (link-libc-tests-rpath-link): Likewise.
15348 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
15349 (link-libc): Prepand $(link-libc-rpath-link).
15350 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
15351 (test-program-prefix): New macro.
15352 (test-via-rtld-prefix): Likewise.
15353 (test-program-cmd): Likewise.
15354 (host-test-program-cmd): Likewise.
15355 * Makefile ($(common-objpfx)testrun.sh): Replace
15356 $(run-program-prefix) with $(test-program-prefix).
15357 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
15359 ($(common-objpfx)shlib.lds): Likewise.
15360 (build-module-helper): Likewise.
15361 ($(common-objpfx)format.lds): Likewise.
15362 * Rules (binaries-pie-tests): New.
15363 (binaries-pie-notests): Likewise.
15364 (binaries-pie): Rewritten.
15365 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
15366 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
15367 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
15368 (make-test-out): Replace $(host-built-program-cmd) with
15369 $(host-test-program-cmd).
15370 * config.make.in (build-hardcoded-path-in-tests): New variable.
15371 * configure.in (--enable-hardcoded-path-in-tests): New configure
15373 (hardcoded_path_in_tests): New AC_SUBST.
15374 * configure: Regenerated.
15375 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
15376 $(built-program-cmd) with $(test-program-cmd).
15377 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
15378 (test_program_cmd): This.
15379 * elf/Makefile ($(objpfx)order.out): Run test with
15380 $(test-program-prefix).
15381 ($(objpfx)order2.out): Likewise.
15382 ($(objpfx)tst-initorder.out): Likewise.
15383 ($(objpfx)tst-initorder2.out): Likewise.
15384 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
15385 $(test-program-cmd).
15386 ($(objpfx)tst-array1-static.out): Likewise.
15387 ($(objpfx)tst-array2.out): Likewise.
15388 ($(objpfx)tst-array3.out): Likewise.
15389 ($(objpfx)tst-array4.out): Likewise.
15390 ($(objpfx)tst-array5.out): Likewise.
15391 ($(objpfx)tst-array5-static.out): Likewise.
15392 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
15393 $(test-program-cmd).
15394 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
15395 $(run-program-prefix) with $(test-program-prefix).
15396 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
15397 (test_program_prefix): This.
15398 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
15399 $(run-program-prefix) with $(test-program-prefix).
15400 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
15401 (test_program_prefix): This.
15402 * iconvdata/tst-tables.sh: Likewise.
15403 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
15404 $(run-program-prefix) with $(test-program-prefix).
15405 ($(objpfx)tst-translit.out): Likewise.
15406 ($(objpfx)tst-gettext2.out): Likewise.
15407 ($(objpfx)tst-gettext4.out): Likewise.
15408 ($(objpfx)tst-gettext6.out): Likewise.
15409 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
15410 (test_program_prefix): This.
15411 * intl/tst-gettext2.sh: Likewise.
15412 * intl/tst-gettext4.sh Likewise.
15413 * intl/tst-gettext6.sh: Likewise.
15414 * intl/tst-translit.sh: Likewise.
15415 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
15416 with $(test-program-cmd).
15417 * libio/Makefile ($(objpfx)test-freopen.out): Replace
15418 $(run-program-prefix) with $(test-program-prefix).
15419 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
15420 (test_program_prefix): This.
15421 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
15422 $(run-program-prefix) with $(test-program-prefix).
15423 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
15424 (test_program_prefix): This.
15425 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
15426 * posix/Makefile ($(objpfx)globtest.out): Replace
15427 $(run-via-rtld-prefix) and $(test-wrapper) with
15428 $(test-program-prefix) and $(test-via-rtld-prefix).
15429 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
15430 $(test-program-prefix).
15431 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
15432 $(host-test-program-cmd).
15433 (tst-spawn-ARGS): Likewise.
15434 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
15435 $(test-program-prefix).
15436 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
15437 (test_via_rtld_prefix): This.
15438 (test_wrapper): Renamed to ...
15439 (test_program_prefix): This.
15440 (run_program_prefix): Replaced by test_program_prefix.
15441 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
15442 (test_program_prefix): This.
15443 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
15444 with $(host-test-program-cmd).
15445 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
15446 $(run-program-prefix) with $(test-program-prefix).
15447 ($(objpfx)tst-printf.out): Likewise.
15448 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
15449 $(test-program-cmd).
15450 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
15451 (test_program_prefix): This.
15452 * stdio-common/tst-unbputc.sh: Likewise.
15453 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
15454 $(run-program-prefix) with $(test-program-prefix).
15455 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
15456 (test_program_prefix): This.
15457 * string/Makefile ($(objpfx)tst-svc.out): Replace
15458 $(built-program-cmd) with $(test-program-cmd).
15460 2013-01-11 Andreas Jaeger <aj@suse.de>
15463 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
15464 value. Sync with Linux 3.7.
15466 2013-01-10 David S. Miller <davem@davemloft.net>
15468 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
15469 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15470 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15472 2013-01-10 Roland McGrath <roland@hack.frob.com>
15474 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
15476 * configure: Regenerated.
15478 2013-01-10 David S. Miller <davem@davemloft.net>
15480 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15481 sparc V9 rather than using V8 code.
15482 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15483 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15485 2013-01-10 Roland McGrath <roland@hack.frob.com>
15487 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
15488 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
15489 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
15490 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
15491 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
15492 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
15493 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
15494 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
15495 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
15496 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
15497 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
15498 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
15499 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
15500 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
15501 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
15502 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
15503 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
15504 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
15505 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
15506 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
15507 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
15508 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
15509 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
15510 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
15511 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
15512 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
15513 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
15515 2013-01-10 David S. Miller <davem@davemloft.net>
15517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15519 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
15521 * posix/Makefile (tests-static): New variable.
15522 (tests): Add $(tests-static).
15523 (tst-exec-static-ARGS): New variable.
15524 (tst-spawn-static-ARGS): Likewise.
15525 * posix/tst-exec-static.c: New file.
15526 * posix/tst-spawn-static.c: Likewise.
15527 * posix/tst-exec.c: Support run directly.
15528 * posix/tst-spawn.c: Likewise.
15530 2013-01-10 Joseph Myers <joseph@codesourcery.com>
15532 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
15534 * math/bits/mathcalls.h (llrint): Likewise.
15535 (llround): Likewise.
15536 * stdlib/stdlib.h (struct drand48_data): Likewise.
15537 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
15538 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
15539 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
15541 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
15543 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
15544 (elf_greg_t): Likewise.
15545 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
15546 (__jmp_buf): Likewise.
15547 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
15549 (llrint): Likewise, for all definitions.
15550 (llrintl): Likewise.
15552 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
15553 Remove [__GNUC__] condition.
15554 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
15555 condition to just [__USE_ISOC99].
15556 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
15558 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
15561 * sysdeps/unix/sysv/linux/x86/bits/environments.h
15562 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
15564 (_POSIX_V6_ILP32_OFF32): Likewise.
15565 (_XBS5_ILP32_OFF32): Likewise.
15566 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
15567 (__ILP32_OFFBIG_LDFLAGS): Likewise.
15569 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15571 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
15573 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
15574 doubles __mpexp_twomm1. Adjust usage.
15575 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
15578 2013-01-10 Andreas Schwab <schwab@suse.de>
15581 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
15582 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
15584 2013-01-09 David S. Miller <davem@davemloft.net>
15587 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
15588 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
15589 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
15590 TCP_FASTOPEN): Define.
15591 (tcp_repair_opt): New structure.
15592 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
15594 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
15595 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
15596 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
15597 (tcp_cookie_transactions): New structure.
15599 2013-01-09 Anton Blanchard <anton@samba.org>
15601 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
15602 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
15603 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
15604 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15606 2013-01-09 Joseph Myers <joseph@codesourcery.com>
15608 * include/features.h (__USE_ANSI): Remove.
15610 2013-01-09 Roland McGrath <roland@hack.frob.com>
15612 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
15614 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
15616 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
15618 * sysdeps/s390/fpu/libm-test-ulps: Update.
15620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15622 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
15626 (denorm): Likewise.
15627 (__mp_dbl): Likewise.
15628 (__dbl_mp): Likewise.
15629 (add_magnitudes): Likewise.
15630 (sub_magnitudes): Likewise.
15636 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
15640 (denorm): Likewise.
15641 (__mp_dbl): Likewise.
15642 (__dbl_mp): Likewise.
15643 (add_magnitudes): Likewise.
15644 (sub_magnitudes): Likewise.
15650 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
15654 (denorm): Likewise.
15655 (__mp_dbl): Likewise.
15656 (__dbl_mp): Likewise.
15657 (add_magnitudes): Likewise.
15658 (sub_magnitudes): Likewise.
15665 2013-01-08 Joseph Myers <joseph@codesourcery.com>
15667 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
15668 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
15669 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
15670 2 && __USE_EXTERN_INLINES]: Likewise.
15672 2013-01-08 Andreas Jaeger <aj@suse.de>
15675 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
15677 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15678 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15680 2013-01-07 Anton Blanchard <anton@samba.org>
15682 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
15683 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15684 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
15685 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15686 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15687 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15688 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
15689 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15690 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15691 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15692 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15693 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15694 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15695 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15696 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15697 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15698 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15699 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15700 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15701 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15702 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15703 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
15704 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15705 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15706 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
15707 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15708 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15709 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15710 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
15711 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15712 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15713 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15714 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15715 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15716 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15717 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15718 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15719 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15720 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
15721 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15722 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
15723 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15724 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15726 2013-01-07 Joseph Myers <joseph@codesourcery.com>
15728 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15729 (__MALLOC_PMT): Likewise.
15730 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15731 [__GNUC__], only on [_LIBC].
15732 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15733 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15734 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15735 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15736 forward declaration.
15737 (realloc_hook_ini): Likewise.
15738 (memalign_hook_ini): Likewise.
15739 (__libc_memalign): Do not use __MALLOC_PMT in variable
15741 (__libc_valloc): Likewise.
15742 (__libc_pvalloc): Likewise.
15743 (__libc_calloc): Likewise.
15744 (__posix_memalign): Likewise.
15747 * math/s_casinh.c: Include <float.h>.
15748 (__casinh): Do not do computation with squaring and square root
15749 for large arguments.
15750 * math/s_casinhf.c: Include <float.h>.
15751 (__casinhf): Do not do computation with squaring and square root
15752 for large arguments.
15753 * math/s_casinhl.c: Include <float.h>.
15754 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15755 (__casinhl): Do not do computation with squaring and square root
15756 for large arguments.
15757 * math/libm-test.inc (casin_test): Add more tests.
15758 (casinh_test): Likewise.
15759 * sysdeps/i386/fpu/libm-test-ulps: Update.
15760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15762 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
15764 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15765 (__x86_64_raw_data_cache_size): Likewise.
15766 (__x86_64_data_cache_size_half): Likewise.
15767 (__x86_64_raw_data_cache_size_half): Likewise.
15768 (__x86_64_shared_cache_size): Likewise.
15769 (__x86_64_raw_shared_cache_size): Likewise.
15770 (__x86_64_shared_cache_size_half): Likewise.
15771 (__x86_64_raw_shared_cache_size_half): Likewise.
15772 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15774 (__x86_data_cache_size): This.
15775 (__x86_64_raw_data_cache_size): Renamed to ...
15776 (__x86_raw_data_cache_size): This.
15777 (__x86_64_data_cache_size_half): Renamed to ...
15778 (__x86_data_cache_size_half): This.
15779 (__x86_64_raw_data_cache_size_half): Renamed to ...
15780 (__x86_raw_data_cache_size_half): This.
15781 (__x86_64_shared_cache_size): Renamed to ...
15782 (__x86_shared_cache_size): This.
15783 (__x86_64_raw_shared_cache_size): Renamed to ...
15784 (__x86_raw_shared_cache_size): This.
15785 (__x86_64_shared_cache_size_half): Renamed to ...
15786 (__x86_shared_cache_size_half): This.
15787 (__x86_64_raw_shared_cache_size_half): Renamed to ...
15788 (__x86_raw_shared_cache_size_half): This.
15789 * sysdeps/x86_64/memcpy.S: Updated.
15790 * sysdeps/x86_64/memset.S: Likewise.
15791 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15792 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15793 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15795 2013-01-04 David S. Miller <davem@davemloft.net>
15797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15799 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
15801 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15802 1 to avoid redefinition warning.
15803 (__USE_GNU): Don't define.
15804 (init_signaling_nan): Protoize.
15806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15808 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15810 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15811 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15812 (__cpymn): Likewise.
15813 (norm): Remove commented code.
15814 (denorm): Likewise.
15815 (__mp_dbl): Likewise.
15817 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15818 (__cpymn): Likewise.
15819 (norm): Remove commented code.
15820 (denorm): Likewise.
15821 (__mp_dbl): Likewise.
15824 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15825 mp_no value for 1.0 and 2.0.
15826 (norm): Use RADIXI instead of radixi.d.
15827 (denorm): Likewise.
15828 (__mul): Use 0.0 instead of zero.d.
15829 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15830 mp_no value for 1.0 and 2.0.
15831 (norm): Use RADIXI instead of radixi.d.
15832 (denorm): Likewise.
15833 (__mul): Use 0.0 instead of zero.d.
15835 2013-01-04 Joseph Myers <joseph@codesourcery.com>
15838 * math/s_casinh.c (__casinh): Reduce finite argument to first
15839 quadrant then set signs of results at the end.
15840 * math/s_casinhf.c (__casinhf): Likewise.
15841 * math/s_casinhl.c (__casinhl): Likewise.
15842 * math/libm-test.inc (casin_test): Add more tests.
15843 (casinh_test): Likewise.
15844 * sysdeps/i386/fpu/libm-test-ulps: Update.
15845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15847 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15849 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15851 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15853 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15855 (denorm): Likewise.
15856 (__mp_dbl): Likewise.
15859 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15860 and adjust the header comment.
15862 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15863 variable name from declaration.
15865 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
15867 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15868 Initialize COMMON_CPUID_INDEX_7 element.
15869 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15870 (CPUID_RTM): Likewise.
15871 (HAS_RTM): Likewise.
15872 (COMMON_CPUID_INDEX_7): New enum.
15874 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
15877 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15878 size is zero, record memory as freed.
15880 2013-01-03 Andreas Jaeger <aj@suse.de>
15882 * po/ia.po: Add new Interlingua translation.
15884 2012-01-03 Allan McRae <allan@archlinux.org>
15886 * locale/programs/localedef.c: Fix description of '--posix' flag.
15888 2013-01-02 Joseph Myers <joseph@codesourcery.com>
15890 * NEWS: Update dates in second copyright notice.
15891 * README: Update copyright dates in example.
15892 * manual/libc.texinfo: Update copyright dates.
15893 * scripts/test-installation.pl: Update copyright date in --version
15896 * hurd/ctty-input.c: Fix copyright notice formatting.
15897 * hurd/ctty-output.c: Likewise.
15898 * hurd/dtable.c: Likewise.
15899 * hurd/hurd-raise.c: Likewise.
15900 * hurd/hurdprio.c: Likewise.
15901 * hurd/msgportdemux.c: Likewise.
15902 * misc/sys/file.h: Likewise.
15903 * misc/sys/ioctl.h: Likewise.
15904 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15905 * sysdeps/mach/hurd/chdir.c: Likewise.
15906 * sysdeps/mach/hurd/fchdir.c: Likewise.
15907 * sysdeps/mach/hurd/rename.c: Likewise.
15908 * sysdeps/mach/hurd/rmdir.c: Likewise.
15909 * sysdeps/mach/hurd/seekdir.c: Likewise.
15910 * sysdeps/mach/hurd/setsid.c: Likewise.
15911 * sysdeps/posix/wait3.c: Likewise.
15913 * All files with FSF copyright notices: Update copyright dates
15914 using scripts/update-copyrights.
15915 * intl/plural.c: Regenerated.
15916 * locale/programs/charmap-kw.h: Likewise.
15917 * locale/programs/locfile-kw.h: Likewise.
15919 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15921 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15924 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15925 calculation loop and add branch prediction.
15927 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15928 check access beyond bounds of m1np.
15930 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15932 (__inv): Remove local variable MPTWO to use the global
15934 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15935 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15937 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15938 MP3HALFS static const.
15940 2013-01-01 David S. Miller <davem@davemloft.net>
15942 * po/ca.po: Update from translation team.
15944 2013-01-01 Joseph Myers <joseph@codesourcery.com>
15946 * scripts/update-copyrights: New file.
15947 * Makeconfig: Reformat copyright notice.
15948 * ctype/ctype.h: Likewise.
15949 * debug/swprintf_chk.c: Likewise.
15950 * elf/dl-cache.c: Likewise.
15951 * elf/dl-debug.c: Likewise.
15952 * elf/dl-object.c: Likewise.
15953 * grp/initgroups.c: Likewise.
15954 * hurd/Makefile: Likewise.
15955 * hurd/hurd/signal.h: Likewise.
15956 * hurd/hurdfault.c: Likewise.
15957 * hurd/hurdioctl.c: Likewise.
15958 * hurd/hurdlookup.c: Likewise.
15959 * hurd/intr-msg.c: Likewise.
15960 * iconv/gconv_open.c: Likewise.
15961 * libio/swprintf.c: Likewise.
15962 * locale/lc-ctype.c: Likewise.
15963 * locale/nl_langinfo.c: Likewise.
15964 * mach/Machrules: Likewise.
15965 * mach/Makefile: Likewise.
15966 * malloc/obstack.h: Likewise.
15967 * manual/Makefile: Likewise.
15968 * manual/tsort.awk: Likewise.
15969 * misc/bits/stab.def: Likewise.
15970 * nis/nis_print_group_entry.c: Likewise.
15971 * nis/nis_table.c: Likewise.
15972 * nis/nss_compat/compat-pwd.c: Likewise.
15973 * nis/nss_compat/compat-spwd.c: Likewise.
15974 * po/Makefile: Likewise.
15975 * posix/fnmatch.c: Likewise.
15976 * posix/regex.h: Likewise.
15977 * resolv/Makefile: Likewise.
15978 * resolv/nss_dns/dns-network.c: Likewise.
15979 * resolv/res_hconf.c: Likewise.
15980 * scripts/gen-sorted.awk: Likewise.
15981 * soft-fp/soft-fp.h: Likewise.
15982 * stdio-common/printf.h: Likewise.
15983 * stdlib/monetary.h: Likewise.
15984 * stdlib/random.c: Likewise.
15985 * stdlib/random_r.c: Likewise.
15986 * sysdeps/generic/Makefile: Likewise.
15987 * sysdeps/gnu/Makefile: Likewise.
15988 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15989 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15990 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15991 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15992 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15993 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15994 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15995 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15996 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15997 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15998 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15999 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16000 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16001 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16002 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16003 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16004 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16005 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16006 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16007 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16008 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16009 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16010 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16011 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16012 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
16013 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16014 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16015 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
16016 * sysdeps/mach/hurd/errnos.awk: Likewise.
16017 * sysdeps/mach/hurd/fork.c: Likewise.
16018 * sysdeps/mach/hurd/getcwd.c: Likewise.
16019 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
16020 * sysdeps/mach/hurd/mmap.c: Likewise.
16021 * sysdeps/mach/hurd/utimes.c: Likewise.
16022 * sysdeps/mach/hurd/xmknod.c: Likewise.
16023 * sysdeps/posix/profil.c: Likewise.
16024 * sysdeps/posix/readdir_r.c: Likewise.
16025 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16026 * sysdeps/powerpc/bits/setjmp.h: Likewise.
16027 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16028 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16029 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16030 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16031 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16032 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16033 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16034 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16035 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16036 * sysdeps/pthread/lio_listio.c: Likewise.
16037 * sysdeps/sparc/dl-procinfo.h: Likewise.
16038 * sysdeps/unix/i386/sysdep.S: Likewise.
16039 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16040 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16041 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16042 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16044 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16045 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16046 * sysdeps/unix/sysv/linux/speed.c: Likewise.
16047 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16048 * sysdeps/wordsize-32/divdi3.c: Likewise.
16049 * time/sys/time.h: Likewise.
16050 * wcsmbs/Makefile: Likewise.
16052 2013-01-01 David S. Miller <davem@davemloft.net>
16054 * po/fr.po: Update from translation team.
16056 * catgets/gencat.c: Update copyright year.
16057 * csu/version.c: Likewise.
16058 * debug/catchsegv.sh: Likewise.
16059 * debug/pcprofiledump.c: Likewise.
16060 * debug/xtrace.sh: Likewise.
16061 * elf/ldconfig.c: Likewise.
16062 * elf/ldd.bash.in: Likewise.
16063 * elf/pldd.c: Likewise.
16064 * elf/sotruss.ksh: Likewise.
16065 * elf/sprof.c: Likewise.
16066 * iconv/iconv_prog.c: Likewise.
16067 * iconv/iconvconfig.c: Likewise.
16068 * locale/programs/locale.c: Likewise.
16069 * locale/programs/localedef.c: Likewise.
16070 * login/programs/pt_chown.c: Likewise.
16071 * malloc/memusage.sh: Likewise.
16072 * malloc/memusagestat.c: Likewise.
16073 * malloc/mtrace.pl: Likewise.
16074 * nscd/nscd.c: Likewise.
16075 * nss/getent.c: Likewise.
16076 * nss/makedb.c: Likewise.
16077 * posix/getconf.c: Likewise.
16079 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16081 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
16084 2012-12-30 Mike Frysinger <vapier@gentoo.org>
16086 * math/bits/mathcalls.h (modf): Use __nonnull.
16088 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16090 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
16091 (split): Use macro CN instead of the bare value.
16092 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
16094 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
16095 instead of the bare value.
16096 (power1): Likewise.
16098 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16100 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
16102 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16104 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
16106 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16107 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16108 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
16109 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16111 2012-12-28 Andreas Jaeger <aj@suse.de>
16113 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
16114 values are from Linux 3.7.
16116 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
16117 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
16119 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16121 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
16124 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
16126 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
16127 variables with preprocessor constants.
16128 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16129 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16130 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16132 2012-12-27 Bruno Haible <bruno@clisp.org>
16135 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
16138 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16140 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
16141 and use variable directly.
16142 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
16144 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16146 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
16147 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16149 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16150 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16151 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
16152 include directive. Remove local variable MPONE.
16153 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
16154 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
16155 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16157 2012-12-25 David S. Miller <davem@davemloft.net>
16159 * version.h (RELEASE): Set to "development".
16160 (VERSION): Set to "2.17.90".
16161 * NEWS: Add 2.18 section.
16163 2012-12-21 David S. Miller <davem@davemloft.net>
16165 * po/hr.po: Update from translation team.
16167 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16169 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
16171 2012-12-19 Steve Ellcey <sellcey@mips.com>
16173 * NEWS: Mention new memcpy for MIPS.
16175 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16177 * manual/contrib.texi (Contributors): Spelling correction.
16179 2012-12-15 David S. Miller <davem@davemloft.net>
16181 * po/ru.po: Update from translation team.
16183 2012-12-13 David S. Miller <davem@davemloft.net>
16185 * NEWS: Mention IFUNC testsuite enhancements.
16187 * po/pl.po: Update from translation team.
16188 * po/bg.po: Likewise.
16190 * manual/contrib.texi (Contributors): Update entries for Hongjiu
16191 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
16193 2012-12-11 David S. Miller <davem@davemloft.net>
16195 * po/sv.po: Update from translation team.
16197 * po/vi.po: Update from translation team.
16199 * po/cs.po: Update from translation team.
16201 * po/de.po: Update from translation team.
16202 * po/eo.po: Likewise.
16203 * po/nl.po: Likewise.
16205 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16208 * manual/argp.texi (Argp Helper Functions): Move node to follow
16209 Argp Parsing State.
16212 * manual/conf.texi (Limits on File System Capacity): Mention if
16213 terminating null is included in the max size.
16215 2012-12-10 Andreas Jaeger <aj@suse.de>
16217 * po/cs.po: Update from translation team.
16219 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16221 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
16222 void pointer and cast to uintptr_t.
16223 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
16225 * sysdeps/s390/s390-64/memcpy.S: Likewise.
16226 * sysdeps/s390/s390-64/memset.S: Likewise.
16228 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
16231 * menual/message.texi (Message Translation): Fix typos.
16232 (Helper programs for gettext): Likewise.
16234 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
16237 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
16240 2012-12-07 David S. Miller <davem@davemloft.net>
16242 * po/libc.pot: Update.
16244 2012-12-07 Richard Henderson <rth@redhat.com>
16247 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
16248 normal/normal case to before the switch.
16249 (_FP_DIV): Likewise.
16251 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
16252 Mike Frysinger <vapier@gentoo.org>
16254 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
16255 check for __NR_fadvise64_64.
16257 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
16259 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
16260 0, not just to plain "0" as a statement.
16261 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
16264 2012-12-06 Joseph Myers <joseph@codesourcery.com>
16266 * NEWS: Use sourceware.org in Bugzilla URL.
16268 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16271 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16273 * stdio-common/tst-put-error.c (do_test): Add newline to the
16274 padded test to ensure flush.
16276 2012-12-05 Jeff Law <law@redhat.com>
16278 * sunrpc/etc.rpc (fedfs_admin): Add entry.
16280 2012-12-05 Joseph Myers <joseph@codesourcery.com>
16282 * README: Don't refer to ports add-on as distributed separately.
16283 Mention AArch64 in list of systems supported in the ports add-on.
16285 * LICENSES: Add more non-FSF copyright and license notices.
16287 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
16290 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
16292 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
16293 10000 as width of padded output.
16295 2012-12-04 Joseph Myers <joseph@codesourcery.com>
16297 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
16299 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
16300 variable LX with __attribute__ ((unused)).
16301 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16303 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16304 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16305 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
16306 with __attribute__ ((unused)).
16308 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
16310 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
16312 2012-12-04 Joseph Myers <joseph@codesourcery.com>
16314 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
16315 (CFLAGS-nldbl-acos.c): New variable.
16316 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
16317 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
16318 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
16319 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
16320 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
16321 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
16322 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
16323 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
16324 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
16325 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
16326 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
16327 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
16328 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
16329 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
16330 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
16331 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
16332 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
16333 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
16334 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
16335 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
16336 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
16337 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
16338 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
16339 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
16340 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
16341 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
16342 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
16343 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
16344 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
16345 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
16346 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
16347 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
16348 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
16349 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
16350 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
16351 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
16352 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
16353 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
16354 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
16355 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
16356 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
16357 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
16358 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
16359 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
16360 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
16361 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
16362 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
16363 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
16364 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
16365 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
16366 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
16367 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
16368 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
16369 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
16370 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
16371 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
16372 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
16373 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
16374 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
16375 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
16376 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
16377 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
16378 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
16379 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
16380 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
16381 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
16382 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
16383 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
16384 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
16385 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
16386 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
16387 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
16388 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
16389 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
16390 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
16391 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
16392 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
16393 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
16394 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
16395 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
16396 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
16397 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
16398 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
16399 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
16400 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
16401 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
16402 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
16403 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
16404 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
16405 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
16406 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
16407 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
16408 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
16409 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
16410 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
16411 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
16412 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
16414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16415 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16418 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
16419 whole low double instead of just low 47 bits when splitting values
16422 2012-12-03 Allan McRae <allan@archlinux.org>
16424 * manual/stdio.texi (Predefined Printf Handlers): Remove
16425 @hsep and @vsep usage.
16427 2012-12-03 Mike Frysinger <vapier@gentoo.org>
16429 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
16430 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
16432 2012-12-03 Jeff Law <law@redhat.com>
16434 * time/sys/time.h (settimeofday): Do not mark TV argument
16437 2012-12-01 Mike Frysinger <vapier@gentoo.org>
16439 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
16440 when currently writing and seek to current position when not.
16441 * libio/Makefile (tests): Remove bug-fclose1.
16442 * libio/bug-fclose1.c: Delete.
16444 2012-12-01 Joseph Myers <joseph@codesourcery.com>
16446 * manual/arith.texi (feenableexcept): Fix typo.
16447 (fedisableexcept): Likewise.
16449 2012-11-30 Roland McGrath <roland@hack.frob.com>
16451 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
16452 second, differently-typed declaration, rather than a cast.
16454 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16456 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
16457 * include/rpc/svc.h: ... here.
16459 2012-11-30 Aurelien Jarno <aurel32@debian.org>
16462 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
16463 depending n and resplen2 to catch cases where answer
16466 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
16468 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
16469 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
16471 2012-11-29 Mike Frysinger <vapier@gentoo.org>
16473 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
16475 2012-11-29 Roland McGrath <roland@hack.frob.com>
16477 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
16479 2012-11-28 Jeff Law <law@redhat.com>
16482 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
16483 dataset_temporary. Track alloca usage into alloca_used.
16484 If dataset is large allocate and release it via malloc/free.
16486 2012-06-04 Florian Weimer <fweimer@redhat.com>
16489 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
16491 2012-11-28 David S. Miller <davem@davemloft.net>
16493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16495 2012-11-28 Joseph Myers <joseph@codesourcery.com>
16498 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
16499 of pi/2 rounded to nearest to 64 bits.
16500 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
16501 nearest to 64 bits.
16502 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
16505 2012-11-28 Jeff Law <law@redhat.com>
16506 Martin Osvald <mosvald@redhat.com>
16509 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
16510 * sunrpc/svc.c: Include time.h.
16511 (__svc_accept_failed): New function.
16512 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
16513 any reason other than EINTR, call __svc_accept_failed.
16514 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
16515 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
16517 2012-11-28 Andreas Schwab <schwab@suse.de>
16519 * scripts/abilist.awk: Also handle indirect functions in .opd
16522 2012-11-28 Joseph Myers <joseph@codesourcery.com>
16525 * sysdeps/x86/fpu/powl_helper.c: New file.
16526 * sysdeps/x86/fpu/Makefile: Likewise.
16527 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
16529 (__ieee754_powl): Use __powl_helper for finite arguments except
16530 integer exponents below 8.
16531 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
16533 (__ieee754_powl): Use __powl_helper for finite arguments except
16534 integer exponents below 8.
16535 * math/libm-test.inc (pow_test): Add more tests and enable some
16536 previously disabled tests.
16537 * sysdeps/i386/fpu/libm-test-ulps: Update.
16538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16540 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16541 Carlos O'Donell <carlos_odonell@mentor.com>
16543 * nss/makedb.c (is_prime): Assert that input is odd and greater
16544 than 4. Note that fact in a comment too.
16545 (next_prime): Add 4 to input.
16547 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16550 * libio/Makefile (tests): Add test case tst-fwrite-error.
16551 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
16552 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16553 * libio/tst-fwrite-error.c: New test case.
16555 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
16557 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
16558 before casting to void *.
16559 * include/libc-internal.h (__pointer_type): New macro.
16560 (__integer_if_pointer_type_sub): Likewise.
16561 (__integer_if_pointer_type): Likewise.
16562 (cast_to_integer): Likewise.
16563 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
16564 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
16565 before casting to atomic64_t.
16566 (atomic_exchange_acq): Likewise.
16567 (__arch_exchange_and_add_body): Likewise.
16568 (__arch_add_body): Likewise.
16569 (atomic_add_negative): Likewise.
16570 (atomic_add_zero): Likewise.
16572 2012-11-26 Joseph Myers <joseph@codesourcery.com>
16574 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
16575 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
16576 (add_fdes): Likewise.
16577 (linear_search_fdes): Likewise.
16578 (binary_search_unencoded_fdes): Likewise.
16580 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
16582 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
16584 2012-11-24 Adam Conrad <adconrad@0c3.net>
16586 * configure.in: Autodetect C++ header directories.
16587 * configure: Regenerated.
16589 2012-11-23 Mike Frysinger <vapier@gentoo.org>
16591 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
16593 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
16595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16597 2012-11-22 Joseph Myers <joseph@codesourcery.com>
16599 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
16600 LDBL_MANT_DIG == 106]: Disable some tests.
16601 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16603 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16607 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
16608 input for small inputs. Return +/- pi/2 for large inputs.
16609 * math/libm-test.inc (atan_test): Add more tests.
16611 * sysdeps/generic/unwind-dw2-fde-glibc.c
16612 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
16613 __attribute__ ((unused)).
16616 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
16617 x * y if x and y are nonzero and z is zero.
16620 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
16621 nonzero exponents with absolute value below 0x1p-117 to +/-
16625 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
16626 up arguments below 2**-450, not just those below 2**-500.
16627 * math/libm-test.inc (hypot_test): Add another test.
16630 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
16631 Return a+b for ratio over 2**120, not 2**60.
16632 * math/libm-test.inc (hypot_test): Add another test.
16634 * math/libm-test.inc (clog_test): Use
16635 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
16636 (clog10_test): Likewise.
16639 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
16641 2012-11-22 Andreas Schwab <schwab@suse.de>
16643 * sysdeps/i386/fpu/libm-test-ulps: Update.
16645 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
16647 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
16648 printf output with newline.
16650 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
16653 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
16654 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
16655 -z nodlopen, -z initfirst and -z execstack support.
16656 * configure: Regenerated.
16658 * elf/elf.h (DF_1_NODIRECT): New macro.
16659 (DF_1_IGNMULDEF): Likewise.
16660 (DF_1_NOKSYMS): Likewise.
16661 (DF_1_NOHDR): Likewise.
16662 (DF_1_EDITED): Likewise.
16663 (DF_1_NORELOC): Likewise.
16664 (DF_1_SYMINTPOSE): Likewise.
16665 (DF_1_GLOBAUDIT): Likewise.
16666 (DF_1_SINGLETON): Likewise.
16667 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
16668 DT_1_SUPPORTED_MASK bits.
16669 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
16671 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
16673 * sysdeps/unix/make-syscalls.sh: Document prefixes.
16675 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
16677 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
16680 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
16681 (sendmmsg): Move declarations...
16682 * socket/sys/socket.h: ... here.
16683 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
16684 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
16686 * socket/recvmmsg.c: ... this new file.
16687 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
16688 (sendmmsg): Rename to __sendmmsg, create weak alias and make
16689 definition of __sendmmsg hidden.
16690 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16691 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
16692 Move ENOSYS stub into and include it from...
16693 * socket/sendmmsg.c: ... this new file.
16694 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
16695 (sysdep_routines): Move recvmmsg and sendmmsg...
16696 * socket/Makefile (routines): ... here.
16697 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
16698 (GLIBC_PRIVATE): Add __sendmmsg.
16699 * include/sys/socket.h (__sendmmsg): Add declarations.
16700 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
16703 2012-11-20 Joseph Myers <joseph@codesourcery.com>
16705 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
16706 variable I1 with __attribute__ ((unused)).
16707 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16709 2012-11-19 Joseph Myers <joseph@codesourcery.com>
16711 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
16712 DUMMY variables with __attribute__ ((unused)).
16714 * bits/byteswap.h: Include <bits/types.h>.
16715 (__bswap_64): Use __uint64_t instead of unsigned long long int.
16717 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16719 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
16720 string_t. Do not manually set errno.
16721 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
16722 length with __strnlen. Make sure to both set errno and return it on
16725 2012-11-19 David S. Miller <davem@davemloft.net>
16727 With help from Joseph Myers.
16728 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16729 very large arguments properly.
16730 * math/libm-test.inc (atan_test): New tests.
16731 (atan2_test): New tests.
16732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16733 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16735 2012-11-19 Joseph Myers <joseph@codesourcery.com>
16738 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16741 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16742 [POSIX] (EADDRNOTAVAIL): Likewise.
16743 [POSIX] (EAFNOSUPPORT): Likewise.
16744 [POSIX] (EALREADY): Likewise.
16745 [POSIX] (ECONNABORTED): Likewise.
16746 [POSIX] (ECONNREFUSED): Likewise.
16747 [POSIX] (ECONNRESET): Likewise.
16748 [POSIX] (EDESTADDRREQ): Likewise.
16749 [POSIX] (EDQUOT): Likewise.
16750 [POSIX] (EHOSTUNREACH): Likewise.
16751 [POSIX] (EIDRM): Likewise.
16752 [POSIX] (EISCONN): Likewise.
16753 [POSIX] (ELOOP): Likewise.
16754 [POSIX] (EMULTIHOP): Likewise.
16755 [POSIX] (ENETDOWN): Likewise.
16756 [POSIX] (ENETUNREACH): Likewise.
16757 [POSIX] (ENOBUFS): Likewise.
16758 [POSIX] (ENODATA): Likewise.
16759 [POSIX] (ENOLINK): Likewise.
16760 [POSIX] (ENOMSG): Likewise.
16761 [POSIX] (ENOPROTOOPT): Likewise.
16762 [POSIX] (ENOSR): Likewise.
16763 [POSIX] (ENOSTR): Likewise.
16764 [POSIX] (ENOTCONN): Likewise.
16765 [POSIX] (ENOTSOCK): Likewise.
16766 [POSIX] (EOPNOTSUPP): Likewise.
16767 [POSIX] (EOVERFLOW): Likewise.
16768 [POSIX] (EPROTO): Likewise.
16769 [POSIX] (EPROTONOSUPPORT): Likewise.
16770 [POSIX] (EPROTOTYPE): Likewise.
16771 [POSIX] (ESTALE): Likewise.
16772 [POSIX] (ETIME): Likewise.
16773 [POSIX] (ETXTBSY): Likewise.
16774 [POSIX] (EWOULDBLOCK): Likewise.
16775 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16776 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16777 [POSIX] (SEEK_CUR): Likewise.
16778 [POSIX] (SEEK_END): Likewise.
16779 [POSIX || UNIX98] (mode_t): Do not require.
16780 [POSIX] (off_t): Likewise.
16781 [POSIX] (pid_t): Likewise.
16782 [POSIX] (sys/stat.h): Do not allow header.
16783 [POSIX] (unistd.h): Likewise.
16784 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16785 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16786 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16787 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16789 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16790 sigevent): Specify elements.
16791 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16793 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16794 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16796 * conform/data/cpio.h-data [POSIX]: Disable whole file.
16797 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16798 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16799 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16800 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16801 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16802 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16803 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16804 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16805 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16806 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16807 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16808 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16809 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16811 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16813 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16815 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16817 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16818 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16819 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16820 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16821 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16822 Specify lower bound on value.
16823 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16824 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16825 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16826 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16827 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16828 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16829 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16830 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16832 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16834 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16835 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16836 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16837 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16838 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16839 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16840 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16841 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16842 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16843 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16844 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16845 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16846 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16847 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16848 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16849 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16851 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16853 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16854 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16855 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16856 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16857 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16858 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16860 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16861 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16862 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16863 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16864 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
16865 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16866 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16868 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16869 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16870 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16871 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16872 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16873 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16874 specify as optional.
16875 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16876 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16877 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16878 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16879 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16880 [XPG3] (NL_LANGMAX): Likewise.
16881 [POSIX || XPG3] (NL_MSGMAX): Likewise.
16882 [POSIX || XPG3] (NL_NMAX): Likewise.
16883 [POSIX || XPG3] (NL_SETMAX): Likewise.
16884 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16885 [XPG3] (NZERO): Likewise.
16886 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16887 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16888 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16889 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16890 (REG_ERANGE): Expect.
16891 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16893 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16894 Use (void) in prototype.
16895 [POSIX] (*_t): Allow.
16896 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16897 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16898 (WRDE_BADVAL): Expect.
16900 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16902 [XPG3 || XPG4] (O_RSYNC): Likewise.
16903 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16905 [XPG3 || XPG4] (pthread_sigmask): Likewise.
16906 [XPG3 || XPG4] (sigqueue): Likewise.
16907 [XPG3 || XPG4] (sigtimedwait): Likewise.
16908 [XPG3 || XPG4] (sigwaitinfo): Likewise.
16909 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16910 [XPG3 || XPG4] (vsnprintf): Likewise.
16911 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16913 [XPG3 || XPG4] (blksize_t): Likewise.
16914 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16916 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16917 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16918 [XPG3 || XPG4] (struct itimerspec): Likewise.
16919 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16920 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16921 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16922 [XPG3 || XPG4] (clockid_t): Likewise.
16923 [XPG3 || XPG4] (timer_t): Likewise.
16924 [XPG3 || XPG4] (clock_getres): Likewise.
16925 [XPG3 || XPG4] (clock_gettime): Likewise.
16926 [XPG3 || XPG4] (clock_settime): Likewise.
16927 [XPG3 || XPG4] (nanosleep): Likewise.
16928 [XPG3 || XPG4] (timer_create): Likewise.
16929 [XPG3 || XPG4] (timer_delete): Likewise.
16930 [XPG3 || XPG4] (timer_gettime): Likewise.
16931 [XPG3 || XPG4] (timer_getoverrun): Likewise.
16932 [XPG3 || XPG4] (timer_settime): Likewise.
16933 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16934 [XPG3 || XPG4] (getlogin_r): Likewise.
16935 [XPG3 || XPG4] (pread): Likewise.
16936 [XPG3 || XPG4] (pthread_atfork): Likewise.
16937 [XPG3 || XPG4] (pwrite): Likewise.
16940 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16943 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16945 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16946 finalizing MALLSTREAM.
16948 * sysdeps/mach/hurd/syncfs.c: New file.
16950 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16953 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16954 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16955 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16956 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16957 (_nss_dns_gethostbyname4_r): Likewise.
16958 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16959 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16961 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
16964 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16966 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
16968 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16969 * elf/cache.c (print_entry): Print ",AArch64" for
16972 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16973 * elf/cache.c (print_entry): Print ",hard-float" for
16976 2012-11-18 David S. Miller <davem@davemloft.net>
16978 With help from Joseph Myers.
16979 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16981 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16983 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16984 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16986 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16987 * math/libm-test.inc (y0_test): New tests.
16988 (y1_test): New tests.
16989 * sysdeps/i386/fpu/libm-test-ulps: Update.
16990 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16993 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
16995 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16997 * configure: Regenerated.
16999 2012-11-17 David S. Miller <davem@davemloft.net>
17002 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
17003 nonzero exponents with absolute value below 0x1p-128 to +/-
17006 2012-11-17 Joseph Myers <joseph@codesourcery.com>
17008 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17010 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17012 * posix/getconf-speclist.c: New file.
17013 * posix/posix-envs.def: Likewise.
17014 * posix/confstr.c (START_ENV_GROUP): New macro.
17015 (END_ENV_GROUP): Likewise.
17016 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17017 (KNOWN_PRESENT_ENV_STRING): Likewise.
17018 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17019 (UNKNOWN_ENVIRONMENT): Likewise.
17020 (confstr): Include posix-envs.def instead of handling
17021 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17022 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17023 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17024 (END_ENV_GROUP): Likewise.
17025 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17026 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17027 (UNKNOWN_ENVIRONMENT): Likewise.
17028 (__sysconf): Include posix-envs.def instead of handling associated
17029 cases directly here.
17030 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17031 preprocessing getconf-speclist.c rather than running getconf or
17032 generating empty file.
17034 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
17036 * scripts/check-local-headers.sh: Ignore 'mach' headers.
17038 2012-11-16 Andrej Lajovic <natrij@gmail.com>
17041 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17043 2012-11-16 David S. Miller <davem@davemloft.net>
17045 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17046 smaller than LDBL_EPSILON/2.0L, just return xm1.
17048 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
17050 * elf/tst-array1.c (init): Set constructor priority to 1000.
17051 (fini): Set destructor priority to 1000.
17052 * elf/tst-array2dep.c: Likewise.
17054 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17057 * libio/fileops.c (_IO_new_file_write): Correctly return error.
17058 (_IO_new_file_xsputn): Also return EOF if none of the input
17059 data was written when overflow failed.
17060 * libio/iopadn.c (_IO_padn): Likewise.
17061 * libio/iowpadn.c (_IO_wpadn): Likewise.
17062 * stdio-common/tst-put-error.c: Add copyright notice.
17063 (do_test): Add case for printing padded string.
17064 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
17065 _IO_padn returned error.
17066 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
17067 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
17070 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17072 * libio/libioP.h: Add comment note that the references to C++
17073 bits are now obsolete.
17075 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17077 * math/libm-test.inc (check_complex): Use asprintf.
17079 2012-11-14 Joseph Myers <joseph@codesourcery.com>
17081 * debug/pcprofiledump.c (print_version): Update copyright year.
17082 * malloc/memusagestat.c (print_version): Likewise.
17084 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
17087 * elf/Makefile (tests): Add tst-audit8.
17088 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
17089 ($(objpfx)tst-audit8.out): New target.
17090 (tst-audit8-ENV): New variable.
17091 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
17092 audit if l_reloc_result is NULL.
17093 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
17094 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
17095 * elf/tst-audit8.c: New file.
17097 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17099 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
17100 * misc/Makefile (CFLAGS-select.c): Define.
17101 * posix/Makefile (CFLAGS-pause.c): Define.
17103 2012-11-13 David S. Miller <davem@davemloft.net>
17105 * crypt/Makefile: Move test targets after toplevel Rules
17106 inclusion. Grab any necessary sysdep routines when linking.
17107 * crypt/md5.c (md5_process_block): Remove define, we will always
17108 name it __md5_process_block.
17109 (md5_finish_ctx): Update md5_process_block call.
17110 (md5_stream): Likewise.
17111 (md5_process_bytes): Likewise.
17112 (md5_process_block): Rename to __md5_process_block and move to ...
17113 * crypt/md5-block.c: ... here.
17114 * crypt/sha256.c (sha256_process_block): Move to ...
17115 * crypt/sha256-block.c: ... here.
17116 * crypt/sha512.c (sha512_process_block): Move to ...
17117 * crypt/sha512-block.c: ... here.
17118 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
17120 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
17121 * sysdeps/sparc/sparc64/multiarch/Makefile
17122 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
17124 (localedef-aux): Add md5 crypto assembler when in locale subdir.
17125 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
17127 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
17128 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
17129 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
17130 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
17131 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
17132 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
17133 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
17134 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
17135 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
17137 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
17138 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
17140 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
17142 2012-11-13 Joseph Myers <joseph@codesourcery.com>
17144 * timezone/tzselect.ksh: Update from tzcode git revision
17145 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
17146 * timezone/zdump.c: Likewise.
17147 * timezone/zic.c: Likewise.
17148 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
17149 in TZVERSION setting, not $(PKGVERSION).
17150 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
17151 REPORT_BUGS_TO settings.
17154 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
17157 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17159 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
17160 detection to immediately after _FP_ROUND().
17161 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
17164 2012-11-11 David S. Miller <davem@davemloft.net>
17166 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
17168 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
17169 __close rather than their public counterparts.
17171 2012-11-10 Joseph Myers <joseph@codesourcery.com>
17173 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
17175 [UNIX98] (sem_timedwait): Do not expect.
17176 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
17177 [XPG4 || UNIX98] (sockatmark): Do not expect.
17178 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
17179 (clock_getcpuclockid): Do not expect.
17180 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
17181 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
17183 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
17184 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
17185 [UNIX98] (vwscanf): Likewise.
17186 [UNIX98] (vswscanf): Likewise.
17188 2012-11-09 Joseph Myers <joseph@codesourcery.com>
17190 * timezone/version.h: Remove file.
17191 * timezone/README: Do not refer to version.h.
17192 * timezone/Makefile ($(objpfx)zic.o): New dependency on
17193 $(objpfx)version.h.
17194 ($(objpfx)zdump.o): Likewise.
17195 ($(objpfx)version.h): New target.
17197 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
17199 * timezone/README: Don't mention modification to tzselect.ksh.
17200 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
17201 work on unmodified tzselect.ksh. Substitute version numbers in
17204 * Makefile (format-me): Remove.
17205 (INSTALL): Adjust indentation. Use commands directly instead of
17206 using $(format-me).
17208 * aclocal.m4 (ACX_PKGVERSION): New macro.
17209 (ACX_BUGURL): Likewise.
17210 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
17211 (PKGVERSION): New AC_DEFINE_UNQUOTED.
17212 (REPORT_BUGS_TO): Likewise.
17213 * configure: Regenerated.
17214 * config.h.in (PKGVERSION): New macro.
17215 (REPORT_BUGS_TO): Likewise.
17216 * config.make.in (PKGVERSION): New variable.
17217 (PKGVERSION_TEXI): Likewise.
17218 (REPORT_BUGS_TO): Likewise.
17219 (REPORT_BUGS_TEXI): Likewise.
17220 * Makefile (format-me): Use -I$(common-objpfx)manual.
17221 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
17222 ($(common-objpfx)manual/%): New target.
17223 (manual/%): Remove target.
17224 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
17225 (print_version): Use PKGVERSION.
17226 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
17227 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
17228 and REPORT_BUGS_TO.
17229 ($(objpfx)xtrace): Likewise.
17230 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
17231 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
17232 (print_version): Use PKGVERSION.
17233 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
17234 (do_version): Use PKGVERSION.
17235 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
17237 (common-ldd-rewrite): Likewise.
17238 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
17239 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
17240 (print_version): Use PKGVERSION.
17241 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
17242 * elf/pldd.c (argp_program_bug_address): Remove variable.
17243 (more_help): New function.
17244 (argp): Use more_help.
17245 (print_version): Use PKGVERSION.
17246 * elf/sln.c (main): Use PKGVERSION.
17247 (usage): Use REPORT_BUGS_TO.
17248 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
17249 (top level): Use PKGVERSION.
17250 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
17251 (print_version): Use PKGVERSION.
17252 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
17253 (print_version): Use PKGVERSION.
17254 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
17255 (print_version): Use PKGVERSION.
17256 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
17257 (print_version): Use PKGVERSION.
17258 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
17259 (print_version): Use PKGVERSION.
17260 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
17261 (print_version): Use PKGVERSION.
17262 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
17264 ($(objpfx)memusage): Likewise.
17265 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
17266 (do_version): Use PKGVERSION.
17267 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
17268 (print_version): Use PKGVERSION.
17269 * malloc/mtrace.pl ($PACKAGE): Remove variable.
17270 ($PKGVERSION): New variable.
17271 ($REPORT_BUGS_TO): Likewise.
17272 (usage): Use $REPORT_BUGS_TO.
17273 (top level): Use $PKGVERSION.
17274 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
17275 ($(objpfx)pkgvers.texi): New rule.
17276 ($(objpfx)stamp-pkgvers): Likewise.
17277 * manual/install.texi: Include pkgvers.texi.
17278 (--with-pkgversion): Document new configure option.
17279 (--with-bugurl): Likewise.
17280 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
17281 than necessarily for this particular distribution. Use
17282 REPORT_BUGS_TO for where to report bugs.
17283 * INSTALL: Regenerated.
17284 * manual/libc.texinfo: Include pkgvers.texi.
17285 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
17286 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
17287 (print_version): Use PKGVERSION.
17288 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
17289 (print_version): Use PKGVERSION.
17290 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
17291 (print_version): Use PKGVERSION.
17292 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
17293 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
17295 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
17296 (print_version): Use PKGVERSION.
17297 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
17298 (print_version): Use PKGVERSION.
17299 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
17302 * timezone/checktab.awk: Update from tzcode 2012i.
17303 * timezone/ialloc.c: Likewise.
17304 * timezone/private.h: Likewise.
17305 * timezone/scheck.c: Likewise.
17306 * timezone/tzfile.h: Likewise.
17307 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
17308 (TZVERSION): Hardcode tzcode version number.
17309 * timezone/zdump.c: Update from tzcode 2012i.
17310 * timezone/zic.c: Likewise.
17311 * timezone/version.h: New file.
17312 * timezone/README: Describe version.h. Update upstream location.
17315 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
17316 (mktemp): Enable declaration.
17317 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
17318 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
17319 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
17320 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
17322 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
17324 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
17326 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
17328 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
17330 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
17334 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
17335 offset in buffer as u_int32_t not u_long. Consistently use memcpy
17336 for copies of such integer values.
17337 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17338 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17340 2012-11-09 Andreas Jaeger <aj@suse.de>
17342 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
17343 definitions and declarations that are provided by
17344 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17346 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17348 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
17349 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
17350 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
17353 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17355 * elf/elf.h: Update comment before AArch64 relocations.
17357 2012-11-07 David S. Miller <davem@davemloft.net>
17359 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
17360 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17361 (__start_context): Declare.
17362 (__makecontext_ret): Delete.
17363 (__makecontext): Hook up __start_context instead of
17365 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
17366 (sysdep_routines): Add __start_context when in stdlib.
17368 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17370 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
17371 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
17372 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
17374 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
17375 (READELF): New variable. Use it instead of hardcoded "readelf".
17377 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
17379 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
17380 * sysdeps/x86/Makefile: Here.
17381 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
17382 * sysdeps/x86/tst-xmmymm.sh: This.
17384 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17386 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
17388 [UNIX98] (pthread_barrier_t): Do not expect.
17389 [UNIX98] (pthread_barrierattr_t): Likewise.
17390 [UNIX98] (pthread_spinlock_t): Likewise.
17391 [UNIX98] (pthread_barrier_destroy): Likewise.
17392 [UNIX98] (pthread_barrier_init): Likewise.
17393 [UNIX98] (pthread_barrier_wait): Likewise.
17394 [UNIX98] (pthread_barrierattr_destroy): Likewise.
17395 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
17396 [UNIX98] (pthread_barrierattr_init): Likewise.
17397 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
17398 [UNIX98] (pthread_getcpuclockid): Likewise.
17399 [UNIX98] (pthread_mutex_timedlock): Likewise.
17400 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
17401 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
17402 [UNIX98] (pthread_sigmask): Likewise.
17403 [UNIX98] (pthread_spin_destroy): Likewise.
17404 [UNIX98] (pthread_spin_init): Likewise.
17405 [UNIX98] (pthread_spin_lock): Likewise.
17406 [UNIX98] (pthread_spin_trylock): Likewise.
17407 [UNIX98] (pthread_spin_unlock): Likewise.
17408 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
17410 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
17411 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
17412 [XPG3 || XPG4] (pthread_cond_t): Likewise.
17413 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
17414 [XPG3 || XPG4] (pthread_key_t): Likewise.
17415 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
17416 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
17417 [XPG3 || XPG4] (pthread_once_t): Likewise.
17418 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
17419 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
17420 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
17421 [XPG3 || XPG4] (pthread_t): Likewise.
17423 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
17425 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
17427 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
17428 Change function return type to int.
17430 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
17431 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
17432 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
17433 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
17434 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
17435 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
17436 [!POSIX] (posix_madvise): Likewise.
17437 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
17439 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
17440 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
17441 (mode_t): Likewise.
17442 (posix_mem_offset): Likewise.
17443 (posix_typed_mem_get_info): Likewise.
17444 (posix_typed_mem_open): Likewise.
17446 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
17447 Change condition to [XOPEN2K8].
17449 * conform/conformtest.pl: Preprocess allow-header data with -x c
17450 instead of from stdin.
17451 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
17452 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
17453 [C99-based standards] (cerfc): Likewise.
17454 [C99-based standards] (cexp2): Likewise.
17455 [C99-based standards] (cexpm1): Likewise.
17456 [C99-based standards] (clog10): Likewise.
17457 [C99-based standards] (clog1p): Likewise.
17458 [C99-based standards] (clog2): Likewise.
17459 [C99-based standards] (clgamma): Likewise.
17460 [C99-based standards] (ctgamma): Likewise.
17461 [C99-based standards] (cerff): Likewise.
17462 [C99-based standards] (cerfcf): Likewise.
17463 [C99-based standards] (cexp2f): Likewise.
17464 [C99-based standards] (cexpm1f): Likewise.
17465 [C99-based standards] (clog10f): Likewise.
17466 [C99-based standards] (clog1pf): Likewise.
17467 [C99-based standards] (clog2f): Likewise.
17468 [C99-based standards] (clgammaf): Likewise.
17469 [C99-based standards] (ctgammaf): Likewise.
17470 [C99-based standards] (cerfl): Likewise.
17471 [C99-based standards] (cerfcl): Likewise.
17472 [C99-based standards] (cexp2l): Likewise.
17473 [C99-based standards] (cexpm1l): Likewise.
17474 [C99-based standards] (clog10l): Likewise.
17475 [C99-based standards] (clog1pl): Likewise.
17476 [C99-based standards] (clog2l): Likewise.
17477 [C99-based standards] (clgammal): Likewise.
17478 [C99-based standards] (ctgammal): Likewise.
17479 * conform/data/inttypes.h-data [C99-based standards]: Include
17480 stdint.h-data. Remove all expectations for stdint.h contents.
17481 [C99-based standards] (PRI*): Do not allow.
17482 [C99-based standards] (SCN*): Likewise.
17483 [C99-based standards] (*_t): Likewise.
17484 [C99-based-standards] (PRId8): Expect macro.
17485 [C99-based-standards] (PRIi8): Likewise.
17486 [C99-based-standards] (PRIo8): Likewise.
17487 [C99-based-standards] (PRIu8): Likewise.
17488 [C99-based-standards] (PRIx8): Likewise.
17489 [C99-based-standards] (PRIX8): Likewise.
17490 [C99-based-standards] (SCNd8): Likewise.
17491 [C99-based-standards] (SCNi8): Likewise.
17492 [C99-based-standards] (SCNo8): Likewise.
17493 [C99-based-standards] (SCNu8): Likewise.
17494 [C99-based-standards] (SCNx8): Likewise.
17495 [C99-based-standards] (PRIdLEAST8): Likewise.
17496 [C99-based-standards] (PRIiLEAST8): Likewise.
17497 [C99-based-standards] (PRIoLEAST8): Likewise.
17498 [C99-based-standards] (PRIuLEAST8): Likewise.
17499 [C99-based-standards] (PRIxLEAST8): Likewise.
17500 [C99-based-standards] (PRIXLEAST8): Likewise.
17501 [C99-based-standards] (SCNdLEAST8): Likewise.
17502 [C99-based-standards] (SCNiLEAST8): Likewise.
17503 [C99-based-standards] (SCNoLEAST8): Likewise.
17504 [C99-based-standards] (SCNuLEAST8): Likewise.
17505 [C99-based-standards] (SCNxLEAST8): Likewise.
17506 [C99-based-standards] (PRIdFAST8): Likewise.
17507 [C99-based-standards] (PRIiFAST8): Likewise.
17508 [C99-based-standards] (PRIoFAST8): Likewise.
17509 [C99-based-standards] (PRIuFAST8): Likewise.
17510 [C99-based-standards] (PRIxFAST8): Likewise.
17511 [C99-based-standards] (PRIXFAST8): Likewise.
17512 [C99-based-standards] (SCNdFAST8): Likewise.
17513 [C99-based-standards] (SCNiFAST8): Likewise.
17514 [C99-based-standards] (SCNoFAST8): Likewise.
17515 [C99-based-standards] (SCNuFAST8): Likewise.
17516 [C99-based-standards] (SCNxFAST8): Likewise.
17517 [C99-based-standards] (PRId16): Likewise.
17518 [C99-based-standards] (PRIi16): Likewise.
17519 [C99-based-standards] (PRIo16): Likewise.
17520 [C99-based-standards] (PRIu16): Likewise.
17521 [C99-based-standards] (PRIx16): Likewise.
17522 [C99-based-standards] (PRIX16): Likewise.
17523 [C99-based-standards] (SCNd16): Likewise.
17524 [C99-based-standards] (SCNi16): Likewise.
17525 [C99-based-standards] (SCNo16): Likewise.
17526 [C99-based-standards] (SCNu16): Likewise.
17527 [C99-based-standards] (SCNx16): Likewise.
17528 [C99-based-standards] (PRIdLEAST16): Likewise.
17529 [C99-based-standards] (PRIiLEAST16): Likewise.
17530 [C99-based-standards] (PRIoLEAST16): Likewise.
17531 [C99-based-standards] (PRIuLEAST16): Likewise.
17532 [C99-based-standards] (PRIxLEAST16): Likewise.
17533 [C99-based-standards] (PRIXLEAST16): Likewise.
17534 [C99-based-standards] (SCNdLEAST16): Likewise.
17535 [C99-based-standards] (SCNiLEAST16): Likewise.
17536 [C99-based-standards] (SCNoLEAST16): Likewise.
17537 [C99-based-standards] (SCNuLEAST16): Likewise.
17538 [C99-based-standards] (SCNxLEAST16): Likewise.
17539 [C99-based-standards] (PRIdFAST16): Likewise.
17540 [C99-based-standards] (PRIiFAST16): Likewise.
17541 [C99-based-standards] (PRIoFAST16): Likewise.
17542 [C99-based-standards] (PRIuFAST16): Likewise.
17543 [C99-based-standards] (PRIxFAST16): Likewise.
17544 [C99-based-standards] (PRIXFAST16): Likewise.
17545 [C99-based-standards] (SCNdFAST16): Likewise.
17546 [C99-based-standards] (SCNiFAST16): Likewise.
17547 [C99-based-standards] (SCNoFAST16): Likewise.
17548 [C99-based-standards] (SCNuFAST16): Likewise.
17549 [C99-based-standards] (SCNxFAST16): Likewise.
17550 [C99-based-standards] (PRId32): Likewise.
17551 [C99-based-standards] (PRIi32): Likewise.
17552 [C99-based-standards] (PRIo32): Likewise.
17553 [C99-based-standards] (PRIu32): Likewise.
17554 [C99-based-standards] (PRIx32): Likewise.
17555 [C99-based-standards] (PRIX32): Likewise.
17556 [C99-based-standards] (SCNd32): Likewise.
17557 [C99-based-standards] (SCNi32): Likewise.
17558 [C99-based-standards] (SCNo32): Likewise.
17559 [C99-based-standards] (SCNu32): Likewise.
17560 [C99-based-standards] (SCNx32): Likewise.
17561 [C99-based-standards] (PRIdLEAST32): Likewise.
17562 [C99-based-standards] (PRIiLEAST32): Likewise.
17563 [C99-based-standards] (PRIoLEAST32): Likewise.
17564 [C99-based-standards] (PRIuLEAST32): Likewise.
17565 [C99-based-standards] (PRIxLEAST32): Likewise.
17566 [C99-based-standards] (PRIXLEAST32): Likewise.
17567 [C99-based-standards] (SCNdLEAST32): Likewise.
17568 [C99-based-standards] (SCNiLEAST32): Likewise.
17569 [C99-based-standards] (SCNoLEAST32): Likewise.
17570 [C99-based-standards] (SCNuLEAST32): Likewise.
17571 [C99-based-standards] (SCNxLEAST32): Likewise.
17572 [C99-based-standards] (PRIdFAST32): Likewise.
17573 [C99-based-standards] (PRIiFAST32): Likewise.
17574 [C99-based-standards] (PRIoFAST32): Likewise.
17575 [C99-based-standards] (PRIuFAST32): Likewise.
17576 [C99-based-standards] (PRIxFAST32): Likewise.
17577 [C99-based-standards] (PRIXFAST32): Likewise.
17578 [C99-based-standards] (SCNdFAST32): Likewise.
17579 [C99-based-standards] (SCNiFAST32): Likewise.
17580 [C99-based-standards] (SCNoFAST32): Likewise.
17581 [C99-based-standards] (SCNuFAST32): Likewise.
17582 [C99-based-standards] (SCNxFAST32): Likewise.
17583 [C99-based-standards] (PRId64): Likewise.
17584 [C99-based-standards] (PRIi64): Likewise.
17585 [C99-based-standards] (PRIo64): Likewise.
17586 [C99-based-standards] (PRIu64): Likewise.
17587 [C99-based-standards] (PRIx64): Likewise.
17588 [C99-based-standards] (PRIX64): Likewise.
17589 [C99-based-standards] (SCNd64): Likewise.
17590 [C99-based-standards] (SCNi64): Likewise.
17591 [C99-based-standards] (SCNo64): Likewise.
17592 [C99-based-standards] (SCNu64): Likewise.
17593 [C99-based-standards] (SCNx64): Likewise.
17594 [C99-based-standards] (PRIdLEAST64): Likewise.
17595 [C99-based-standards] (PRIiLEAST64): Likewise.
17596 [C99-based-standards] (PRIoLEAST64): Likewise.
17597 [C99-based-standards] (PRIuLEAST64): Likewise.
17598 [C99-based-standards] (PRIxLEAST64): Likewise.
17599 [C99-based-standards] (PRIXLEAST64): Likewise.
17600 [C99-based-standards] (SCNdLEAST64): Likewise.
17601 [C99-based-standards] (SCNiLEAST64): Likewise.
17602 [C99-based-standards] (SCNoLEAST64): Likewise.
17603 [C99-based-standards] (SCNuLEAST64): Likewise.
17604 [C99-based-standards] (SCNxLEAST64): Likewise.
17605 [C99-based-standards] (PRIdFAST64): Likewise.
17606 [C99-based-standards] (PRIiFAST64): Likewise.
17607 [C99-based-standards] (PRIoFAST64): Likewise.
17608 [C99-based-standards] (PRIuFAST64): Likewise.
17609 [C99-based-standards] (PRIxFAST64): Likewise.
17610 [C99-based-standards] (PRIXFAST64): Likewise.
17611 [C99-based-standards] (SCNdFAST64): Likewise.
17612 [C99-based-standards] (SCNiFAST64): Likewise.
17613 [C99-based-standards] (SCNoFAST64): Likewise.
17614 [C99-based-standards] (SCNuFAST64): Likewise.
17615 [C99-based-standards] (SCNxFAST64): Likewise.
17616 [C99-based-standards] (PRIdMAX): Likewise.
17617 [C99-based-standards] (PRIiMAX): Likewise.
17618 [C99-based-standards] (PRIoMAX): Likewise.
17619 [C99-based-standards] (PRIuMAX): Likewise.
17620 [C99-based-standards] (PRIxMAX): Likewise.
17621 [C99-based-standards] (PRIXMAX): Likewise.
17622 [C99-based-standards] (SCNdMAX): Likewise.
17623 [C99-based-standards] (SCNiMAX): Likewise.
17624 [C99-based-standards] (SCNoMAX): Likewise.
17625 [C99-based-standards] (SCNuMAX): Likewise.
17626 [C99-based-standards] (SCNxMAX): Likewise.
17627 [C99-based-standards] (PRIdPTR): Likewise.
17628 [C99-based-standards] (PRIiPTR): Likewise.
17629 [C99-based-standards] (PRIoPTR): Likewise.
17630 [C99-based-standards] (PRIuPTR): Likewise.
17631 [C99-based-standards] (PRIxPTR): Likewise.
17632 [C99-based-standards] (PRIXPTR): Likewise.
17633 [C99-based-standards] (SCNdPTR): Likewise.
17634 [C99-based-standards] (SCNiPTR): Likewise.
17635 [C99-based-standards] (SCNoPTR): Likewise.
17636 [C99-based-standards] (SCNuPTR): Likewise.
17637 [C99-based-standards] (SCNxPTR): Likewise.
17638 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
17640 * conform/data/stdint.h-data: Update comments to clarify
17642 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
17644 [C99-based standards] (INT8_MAX): Likewise.
17645 [C99-based standards] (INT16_MIN): Likewise.
17646 [C99-based standards] (INT16_MAX): Likewise.
17647 [C99-based standards] (INT32_MIN): Likewise.
17648 [C99-based standards] (INT32_MAX): Likewise.
17649 [C99-based standards] (INT64_MIN): Likewise.
17650 [C99-based standards] (INT64_MAX): Likewise.
17651 [C99-based standards] (UINT8_MAX): Likewise.
17652 [C99-based standards] (UINT16_MAX): Likewise.
17653 [C99-based standards] (UINT32_MAX): Likewise.
17654 [C99-based standards] (UINT64_MAX): Likewise.
17655 [C99-based standards] (INT_LEAST8_MIN): Likewise.
17656 [C99-based standards] (INT_LEAST8_MAX): Likewise.
17657 [C99-based standards] (INT_LEAST16_MIN): Likewise.
17658 [C99-based standards] (INT_LEAST16_MAX): Likewise.
17659 [C99-based standards] (INT_LEAST32_MIN): Likewise.
17660 [C99-based standards] (INT_LEAST32_MAX): Likewise.
17661 [C99-based standards] (INT_LEAST64_MIN): Likewise.
17662 [C99-based standards] (INT_LEAST64_MAX): Likewise.
17663 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
17664 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
17665 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
17666 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
17667 [C99-based standards] (INT_FAST8_MIN): Likewise.
17668 [C99-based standards] (INT_FAST8_MAX): Likewise.
17669 [C99-based standards] (INT_FAST16_MIN): Likewise.
17670 [C99-based standards] (INT_FAST16_MAX): Likewise.
17671 [C99-based standards] (INT_FAST32_MIN): Likewise.
17672 [C99-based standards] (INT_FAST32_MAX): Likewise.
17673 [C99-based standards] (INT_FAST64_MIN): Likewise.
17674 [C99-based standards] (INT_FAST64_MAX): Likewise.
17675 [C99-based standards] (UINT_FAST8_MAX): Likewise.
17676 [C99-based standards] (UINT_FAST16_MAX): Likewise.
17677 [C99-based standards] (UINT_FAST32_MAX): Likewise.
17678 [C99-based standards] (UINT_FAST64_MAX): Likewise.
17679 [C99-based standards] (INTPTR_MIN): Likewise.
17680 [C99-based standards] (INTPTR_MAX): Likewise.
17681 [C99-based standards] (UINTPTR_MAX): Likewise.
17682 [C99-based standards] (INTMAX_MIN): Likewise.
17683 [C99-based standards] (INTMAX_MAX): Likewise.
17684 [C99-based standards] (UINTMAX_MAX): Likewise.
17685 [C99-based standards] (PTRDIFF_MIN): Likewise.
17686 [C99-based standards] (PTRDIFF_MAX): Likewise.
17687 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
17688 [C99-based standards] (SIZE_MAX): Likewise.
17689 [C99-based standards] (WCHAR_MAX): Likewise.
17690 [C99-based standards] (WINT_MAX): Likewise.
17691 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
17692 constraint on value.
17693 [C99-based standards] (WCHAR_MIN): Likewise.
17694 [C99-based standards] (WINT_MIN): Likewise.
17695 [C99-based standards] (*_t): Allow.
17696 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
17697 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
17698 Include math.h-data and complex.h-data. Remove all expectations
17699 of math.h and complex.h contents.
17700 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
17702 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
17703 (struct tm): Expect tag.
17704 [C99-based-standards] (wcstof): Expect function.
17705 [C99-based-standards] (wcstold): Likewise.
17706 [C99-based-standards] (wcstoll): Likewise.
17707 [C99-based-standards] (wcstoull): Likewise.
17708 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
17709 macro-int-constant. Specify type.
17710 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
17711 constraint on value.
17712 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17714 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
17716 [ISO C standards]: Do not allow headers.
17717 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
17718 wcs[abcdefghijklmnopqrstuvwxyz]*.
17719 [ISO C standards] (*_t): Do not allow.
17720 * conform/data/wctype.h-data [C99-based standards] (iswblank):
17722 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17723 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17725 [ISO C standards]: Do not allow headers.
17726 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17727 is[abcdefghijklmnopqrstuvwxyz]*.
17728 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17729 to[abcdefghijklmnopqrstuvwxyz]*.
17730 [ISO C standards] (*_t): Do not allow.
17731 * conform/data/stdalign.h-data: New file.
17732 * conform/data/stdbool.h-data: Likewise.
17733 * conform/data/stdnoreturn.h-data: Likewise.
17735 2012-11-07 Roland McGrath <roland@hack.frob.com>
17738 * manual/filesys.texi (Directory Entries): Typo fix.
17739 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17741 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17743 * elf/elf.h (EM_AARCH64): New macro.
17744 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17745 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17746 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17747 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17748 (R_AARCH64_TLSDESC): Likewise.
17749 (NT_ARM_TLS): Likewise.
17750 (NT_ARM_HW_BREAK): Likewise.
17751 (NT_ARM_HW_WATCH): Likewise.
17753 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17756 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17757 (__ieee754_powl): Saturate nonzero exponents with absolute value
17758 below 0x1p-79 to +/- 0x1p-79.
17759 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17760 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17761 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17762 nonzero exponents with absolute value below 0x1p-32 to +/-
17764 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17765 (__ieee754_powl): Saturate nonzero exponents with absolute value
17766 below 0x1p-79 to +/- 0x1p-79.
17767 * math/libm-test.inc (pow_test): Add more tests.
17769 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17771 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17772 _dl_s390_cap_flags with kernel. Increase string length.
17773 (_dl_s390_platforms): Add z196 and zEC12.
17775 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17777 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17778 Change XOPEN21K to XOPEN2K.
17780 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
17782 * string/memmove.c: Use memcpy when possible.
17784 2012-11-06 Andreas Jaeger <aj@suse.de>
17786 * po/eo.po: Update from translation team.
17788 2012-11-06 Joseph Myers <joseph@codesourcery.com>
17791 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17792 exponent and small x and y exponents, scale x or y up. Increase
17793 by 2 the exponent used in scaling up.
17794 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17795 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17796 * math/libm-test.inc (fma_test): Add more tests.
17797 (fma_test_towardzero): Likewise.
17798 (fma_test_downward): Likewise.
17799 (fma_test_upward): Likewise.
17801 2012-11-05 Joseph Myers <joseph@codesourcery.com>
17804 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17808 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17809 namespace for names of struct fields.
17810 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17812 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17813 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17815 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17818 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17820 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17822 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17826 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17829 2012-11-04 Joseph Myers <joseph@codesourcery.com>
17832 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17833 definitely overflow as x * y not x * y + z.
17834 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17835 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17836 * math/libm-test.inc (fma_test): Add more tests.
17837 (fma_test_towardzero): Likewise.
17838 (fma_test_downward): Likewise.
17839 (fma_test_upward): Likewise.
17841 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17845 * include/stub-tag.h: Remove file.
17846 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17848 * manual/maint.texi (Porting): Don't reference it.
17849 * Makerules ($(objpfx)stubs): Likewise.
17850 * dirent/closedir.c: Don't include <stub-tag.h>.
17851 * dirent/dirfd.c: Likewise.
17852 * dirent/fdopendir.c: Likewise.
17853 * dirent/getdents.c: Likewise.
17854 * dirent/getdents64.c: Likewise.
17855 * dirent/opendir.c: Likewise.
17856 * dirent/readdir.c: Likewise.
17857 * dirent/readdir64.c: Likewise.
17858 * dirent/readdir64_r.c: Likewise.
17859 * dirent/readdir_r.c: Likewise.
17860 * dirent/rewinddir.c: Likewise.
17861 * dirent/seekdir.c: Likewise.
17862 * dirent/telldir.c: Likewise.
17863 * gmon/profil.c: Likewise.
17864 * grp/setgroups.c: Likewise.
17865 * inet/if_index.c: Likewise.
17866 * io/access.c: Likewise.
17867 * io/chdir.c: Likewise.
17868 * io/chmod.c: Likewise.
17869 * io/chown.c: Likewise.
17870 * io/close.c: Likewise.
17871 * io/dup.c: Likewise.
17872 * io/dup2.c: Likewise.
17873 * io/dup3.c: Likewise.
17874 * io/euidaccess.c: Likewise.
17875 * io/faccessat.c: Likewise.
17876 * io/fchdir.c: Likewise.
17877 * io/fchmod.c: Likewise.
17878 * io/fchmodat.c: Likewise.
17879 * io/fchown.c: Likewise.
17880 * io/fchownat.c: Likewise.
17881 * io/fcntl.c: Likewise.
17882 * io/flock.c: Likewise.
17883 * io/fstatfs.c: Likewise.
17884 * io/fstatfs64.c: Likewise.
17885 * io/fstatvfs.c: Likewise.
17886 * io/fstatvfs64.c: Likewise.
17887 * io/futimens.c: Likewise.
17888 * io/fxstat.c: Likewise.
17889 * io/fxstat64.c: Likewise.
17890 * io/fxstatat.c: Likewise.
17891 * io/fxstatat64.c: Likewise.
17892 * io/getcwd.c: Likewise.
17893 * io/isatty.c: Likewise.
17894 * io/lchmod.c: Likewise.
17895 * io/lchown.c: Likewise.
17896 * io/link.c: Likewise.
17897 * io/linkat.c: Likewise.
17898 * io/lseek.c: Likewise.
17899 * io/lseek64.c: Likewise.
17900 * io/lxstat64.c: Likewise.
17901 * io/mkdir.c: Likewise.
17902 * io/mkdirat.c: Likewise.
17903 * io/mkfifo.c: Likewise.
17904 * io/mkfifoat.c: Likewise.
17905 * io/open.c: Likewise.
17906 * io/open64.c: Likewise.
17907 * io/openat.c: Likewise.
17908 * io/openat64.c: Likewise.
17909 * io/pipe.c: Likewise.
17910 * io/pipe2.c: Likewise.
17911 * io/poll.c: Likewise.
17912 * io/posix_fadvise.c: Likewise.
17913 * io/posix_fadvise64.c: Likewise.
17914 * io/posix_fallocate.c: Likewise.
17915 * io/posix_fallocate64.c: Likewise.
17916 * io/read.c: Likewise.
17917 * io/readlink.c: Likewise.
17918 * io/readlinkat.c: Likewise.
17919 * io/rmdir.c: Likewise.
17920 * io/sendfile.c: Likewise.
17921 * io/sendfile64.c: Likewise.
17922 * io/statfs.c: Likewise.
17923 * io/statfs64.c: Likewise.
17924 * io/statvfs.c: Likewise.
17925 * io/statvfs64.c: Likewise.
17926 * io/symlink.c: Likewise.
17927 * io/symlinkat.c: Likewise.
17928 * io/ttyname.c: Likewise.
17929 * io/ttyname_r.c: Likewise.
17930 * io/umask.c: Likewise.
17931 * io/unlink.c: Likewise.
17932 * io/unlinkat.c: Likewise.
17933 * io/utime.c: Likewise.
17934 * io/utimensat.c: Likewise.
17935 * io/write.c: Likewise.
17936 * io/xmknod.c: Likewise.
17937 * io/xmknodat.c: Likewise.
17938 * io/xstat.c: Likewise.
17939 * io/xstat64.c: Likewise.
17940 * login/getpt.c: Likewise.
17941 * login/grantpt.c: Likewise.
17942 * login/unlockpt.c: Likewise.
17943 * math/e_acoshl.c: Likewise.
17944 * math/e_acosl.c: Likewise.
17945 * math/e_asinl.c: Likewise.
17946 * math/e_atan2l.c: Likewise.
17947 * math/e_atanhl.c: Likewise.
17948 * math/e_coshl.c: Likewise.
17949 * math/e_expl.c: Likewise.
17950 * math/e_fmodl.c: Likewise.
17951 * math/e_gammal_r.c: Likewise.
17952 * math/e_hypotl.c: Likewise.
17953 * math/e_j0l.c: Likewise.
17954 * math/e_j1l.c: Likewise.
17955 * math/e_jnl.c: Likewise.
17956 * math/e_lgammal_r.c: Likewise.
17957 * math/e_log10l.c: Likewise.
17958 * math/e_log2l.c: Likewise.
17959 * math/e_logl.c: Likewise.
17960 * math/e_powl.c: Likewise.
17961 * math/e_rem_pio2l.c: Likewise.
17962 * math/e_sinhl.c: Likewise.
17963 * math/e_sqrtl.c: Likewise.
17964 * math/fclrexcpt.c: Likewise.
17965 * math/fedisblxcpt.c: Likewise.
17966 * math/feenablxcpt.c: Likewise.
17967 * math/fegetenv.c: Likewise.
17968 * math/fegetexcept.c: Likewise.
17969 * math/fegetround.c: Likewise.
17970 * math/feholdexcpt.c: Likewise.
17971 * math/fesetenv.c: Likewise.
17972 * math/fesetround.c: Likewise.
17973 * math/feupdateenv.c: Likewise.
17974 * math/fgetexcptflg.c: Likewise.
17975 * math/fraiseexcpt.c: Likewise.
17976 * math/fsetexcptflg.c: Likewise.
17977 * math/ftestexcept.c: Likewise.
17978 * math/k_cosl.c: Likewise.
17979 * math/k_rem_pio2l.c: Likewise.
17980 * math/k_sinl.c: Likewise.
17981 * math/k_tanl.c: Likewise.
17982 * math/s_asinhl.c: Likewise.
17983 * math/s_atanl.c: Likewise.
17984 * math/s_cbrtl.c: Likewise.
17985 * math/s_erfl.c: Likewise.
17986 * math/s_expm1l.c: Likewise.
17987 * math/s_log1pl.c: Likewise.
17988 * math/s_tanhl.c: Likewise.
17989 * misc/acct.c: Likewise.
17990 * misc/brk.c: Likewise.
17991 * misc/chflags.c: Likewise.
17992 * misc/chroot.c: Likewise.
17993 * misc/fchflags.c: Likewise.
17994 * misc/fgetxattr.c: Likewise.
17995 * misc/flistxattr.c: Likewise.
17996 * misc/fremovexattr.c: Likewise.
17997 * misc/fsetxattr.c: Likewise.
17998 * misc/fsync.c: Likewise.
17999 * misc/ftruncate.c: Likewise.
18000 * misc/futimes.c: Likewise.
18001 * misc/futimesat.c: Likewise.
18002 * misc/getdomain.c: Likewise.
18003 * misc/getdtsz.c: Likewise.
18004 * misc/gethostid.c: Likewise.
18005 * misc/gethostname.c: Likewise.
18006 * misc/getloadavg.c: Likewise.
18007 * misc/getpagesize.c: Likewise.
18008 * misc/getsysstats.c: Likewise.
18009 * misc/getxattr.c: Likewise.
18010 * misc/gtty.c: Likewise.
18011 * misc/ioctl.c: Likewise.
18012 * misc/lgetxattr.c: Likewise.
18013 * misc/listxattr.c: Likewise.
18014 * misc/llistxattr.c: Likewise.
18015 * misc/lremovexattr.c: Likewise.
18016 * misc/lsetxattr.c: Likewise.
18017 * misc/lutimes.c: Likewise.
18018 * misc/madvise.c: Likewise.
18019 * misc/mincore.c: Likewise.
18020 * misc/mlock.c: Likewise.
18021 * misc/mlockall.c: Likewise.
18022 * misc/mmap.c: Likewise.
18023 * misc/mprotect.c: Likewise.
18024 * misc/msync.c: Likewise.
18025 * misc/munlock.c: Likewise.
18026 * misc/munlockall.c: Likewise.
18027 * misc/munmap.c: Likewise.
18028 * misc/preadv.c: Likewise.
18029 * misc/preadv64.c: Likewise.
18030 * misc/ptrace.c: Likewise.
18031 * misc/pwritev.c: Likewise.
18032 * misc/pwritev64.c: Likewise.
18033 * misc/readv.c: Likewise.
18034 * misc/reboot.c: Likewise.
18035 * misc/remap_file_pages.c: Likewise.
18036 * misc/removexattr.c: Likewise.
18037 * misc/revoke.c: Likewise.
18038 * misc/select.c: Likewise.
18039 * misc/setdomain.c: Likewise.
18040 * misc/setegid.c: Likewise.
18041 * misc/seteuid.c: Likewise.
18042 * misc/sethostid.c: Likewise.
18043 * misc/sethostname.c: Likewise.
18044 * misc/setregid.c: Likewise.
18045 * misc/setreuid.c: Likewise.
18046 * misc/setxattr.c: Likewise.
18047 * misc/sstk.c: Likewise.
18048 * misc/stty.c: Likewise.
18049 * misc/swapoff.c: Likewise.
18050 * misc/swapon.c: Likewise.
18051 * misc/sync.c: Likewise.
18052 * misc/syncfs.c: Likewise.
18053 * misc/syscall.c: Likewise.
18054 * misc/truncate.c: Likewise.
18055 * misc/ualarm.c: Likewise.
18056 * misc/usleep.c: Likewise.
18057 * misc/ustat.c: Likewise.
18058 * misc/utimes.c: Likewise.
18059 * misc/vhangup.c: Likewise.
18060 * misc/writev.c: Likewise.
18061 * posix/_exit.c: Likewise.
18062 * posix/alarm.c: Likewise.
18063 * posix/execve.c: Likewise.
18064 * posix/fexecve.c: Likewise.
18065 * posix/fork.c: Likewise.
18066 * posix/fpathconf.c: Likewise.
18067 * posix/getaddrinfo.c: Likewise.
18068 * posix/getegid.c: Likewise.
18069 * posix/geteuid.c: Likewise.
18070 * posix/getgid.c: Likewise.
18071 * posix/getgroups.c: Likewise.
18072 * posix/getlogin.c: Likewise.
18073 * posix/getlogin_r.c: Likewise.
18074 * posix/getpgid.c: Likewise.
18075 * posix/getpid.c: Likewise.
18076 * posix/getppid.c: Likewise.
18077 * posix/getresgid.c: Likewise.
18078 * posix/getresuid.c: Likewise.
18079 * posix/getsid.c: Likewise.
18080 * posix/getuid.c: Likewise.
18081 * posix/glob64.c: Likewise.
18082 * posix/nanosleep.c: Likewise.
18083 * posix/pathconf.c: Likewise.
18084 * posix/pause.c: Likewise.
18085 * posix/posix_madvise.c: Likewise.
18086 * posix/pread.c: Likewise.
18087 * posix/pread64.c: Likewise.
18088 * posix/pwrite.c: Likewise.
18089 * posix/pwrite64.c: Likewise.
18090 * posix/sched_getaffinity.c: Likewise.
18091 * posix/sched_getp.c: Likewise.
18092 * posix/sched_gets.c: Likewise.
18093 * posix/sched_primax.c: Likewise.
18094 * posix/sched_primin.c: Likewise.
18095 * posix/sched_rr_gi.c: Likewise.
18096 * posix/sched_setaffinity.c: Likewise.
18097 * posix/sched_setp.c: Likewise.
18098 * posix/sched_sets.c: Likewise.
18099 * posix/sched_yield.c: Likewise.
18100 * posix/setgid.c: Likewise.
18101 * posix/setlogin.c: Likewise.
18102 * posix/setpgid.c: Likewise.
18103 * posix/setresgid.c: Likewise.
18104 * posix/setresuid.c: Likewise.
18105 * posix/setsid.c: Likewise.
18106 * posix/setuid.c: Likewise.
18107 * posix/sleep.c: Likewise.
18108 * posix/spawni.c: Likewise.
18109 * posix/sysconf.c: Likewise.
18110 * posix/times.c: Likewise.
18111 * posix/wait.c: Likewise.
18112 * posix/wait3.c: Likewise.
18113 * posix/wait4.c: Likewise.
18114 * posix/waitpid.c: Likewise.
18115 * resolv/gai_sigqueue.c: Likewise.
18116 * resource/getpriority.c: Likewise.
18117 * resource/getrlimit.c: Likewise.
18118 * resource/getrusage.c: Likewise.
18119 * resource/nice.c: Likewise.
18120 * resource/setpriority.c: Likewise.
18121 * resource/setrlimit.c: Likewise.
18122 * resource/ulimit.c: Likewise.
18123 * rt/aio_cancel.c: Likewise.
18124 * rt/aio_fsync.c: Likewise.
18125 * rt/aio_read.c: Likewise.
18126 * rt/aio_sigqueue.c: Likewise.
18127 * rt/aio_suspend.c: Likewise.
18128 * rt/aio_write.c: Likewise.
18129 * rt/clock_getres.c: Likewise.
18130 * rt/clock_gettime.c: Likewise.
18131 * rt/clock_nanosleep.c: Likewise.
18132 * rt/clock_settime.c: Likewise.
18133 * rt/lio_listio.c: Likewise.
18134 * rt/mq_close.c: Likewise.
18135 * rt/mq_getattr.c: Likewise.
18136 * rt/mq_notify.c: Likewise.
18137 * rt/mq_open.c: Likewise.
18138 * rt/mq_receive.c: Likewise.
18139 * rt/mq_send.c: Likewise.
18140 * rt/mq_setattr.c: Likewise.
18141 * rt/mq_timedreceive.c: Likewise.
18142 * rt/mq_timedsend.c: Likewise.
18143 * rt/mq_unlink.c: Likewise.
18144 * rt/shm_open.c: Likewise.
18145 * rt/shm_unlink.c: Likewise.
18146 * rt/timer_create.c: Likewise.
18147 * rt/timer_delete.c: Likewise.
18148 * rt/timer_getoverr.c: Likewise.
18149 * rt/timer_gettime.c: Likewise.
18150 * rt/timer_settime.c: Likewise.
18151 * setjmp/__longjmp.c: Likewise.
18152 * setjmp/setjmp.c: Likewise.
18153 * signal/kill.c: Likewise.
18154 * signal/killpg.c: Likewise.
18155 * signal/raise.c: Likewise.
18156 * signal/sigaction.c: Likewise.
18157 * signal/sigaltstack.c: Likewise.
18158 * signal/sigblock.c: Likewise.
18159 * signal/sigignore.c: Likewise.
18160 * signal/sigintr.c: Likewise.
18161 * signal/signal.c: Likewise.
18162 * signal/sigpause.c: Likewise.
18163 * signal/sigpending.c: Likewise.
18164 * signal/sigqueue.c: Likewise.
18165 * signal/sigreturn.c: Likewise.
18166 * signal/sigset.c: Likewise.
18167 * signal/sigsetmask.c: Likewise.
18168 * signal/sigstack.c: Likewise.
18169 * signal/sigsuspend.c: Likewise.
18170 * signal/sigtimedwait.c: Likewise.
18171 * signal/sigvec.c: Likewise.
18172 * signal/sigwait.c: Likewise.
18173 * signal/sigwaitinfo.c: Likewise.
18174 * signal/sysv_signal.c: Likewise.
18175 * socket/accept.c: Likewise.
18176 * socket/accept4.c: Likewise.
18177 * socket/bind.c: Likewise.
18178 * socket/connect.c: Likewise.
18179 * socket/getpeername.c: Likewise.
18180 * socket/getsockname.c: Likewise.
18181 * socket/getsockopt.c: Likewise.
18182 * socket/isfdtype.c: Likewise.
18183 * socket/listen.c: Likewise.
18184 * socket/recv.c: Likewise.
18185 * socket/recvfrom.c: Likewise.
18186 * socket/recvmsg.c: Likewise.
18187 * socket/send.c: Likewise.
18188 * socket/sendmsg.c: Likewise.
18189 * socket/sendto.c: Likewise.
18190 * socket/setsockopt.c: Likewise.
18191 * socket/shutdown.c: Likewise.
18192 * socket/sockatmark.c: Likewise.
18193 * socket/socket.c: Likewise.
18194 * socket/socketpair.c: Likewise.
18195 * stdio-common/ctermid.c: Likewise.
18196 * stdio-common/cuserid.c: Likewise.
18197 * stdio-common/remove.c: Likewise.
18198 * stdio-common/rename.c: Likewise.
18199 * stdio-common/renameat.c: Likewise.
18200 * stdio-common/tempname.c: Likewise.
18201 * stdlib/getcontext.c: Likewise.
18202 * stdlib/makecontext.c: Likewise.
18203 * stdlib/setcontext.c: Likewise.
18204 * stdlib/swapcontext.c: Likewise.
18205 * stdlib/system.c: Likewise.
18206 * streams/fattach.c: Likewise.
18207 * streams/fdetach.c: Likewise.
18208 * streams/getmsg.c: Likewise.
18209 * streams/getpmsg.c: Likewise.
18210 * streams/putmsg.c: Likewise.
18211 * streams/putpmsg.c: Likewise.
18212 * sysdeps/unix/bsd/getpt.c: Likewise.
18213 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
18214 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
18215 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18218 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
18219 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18220 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18221 * sysvipc/msgctl.c: Likewise.
18222 * sysvipc/msgget.c: Likewise.
18223 * sysvipc/msgrcv.c: Likewise.
18224 * sysvipc/msgsnd.c: Likewise.
18225 * sysvipc/semctl.c: Likewise.
18226 * sysvipc/semget.c: Likewise.
18227 * sysvipc/semop.c: Likewise.
18228 * sysvipc/semtimedop.c: Likewise.
18229 * sysvipc/shmat.c: Likewise.
18230 * sysvipc/shmctl.c: Likewise.
18231 * sysvipc/shmdt.c: Likewise.
18232 * sysvipc/shmget.c: Likewise.
18233 * termios/tcdrain.c: Likewise.
18234 * termios/tcflow.c: Likewise.
18235 * termios/tcflush.c: Likewise.
18236 * termios/tcgetattr.c: Likewise.
18237 * termios/tcgetpgrp.c: Likewise.
18238 * termios/tcsendbrk.c: Likewise.
18239 * termios/tcsetattr.c: Likewise.
18240 * termios/tcsetpgrp.c: Likewise.
18241 * time/adjtime.c: Likewise.
18242 * time/clock.c: Likewise.
18243 * time/getitimer.c: Likewise.
18244 * time/gettimeofday.c: Likewise.
18245 * time/setitimer.c: Likewise.
18246 * time/settimeofday.c: Likewise.
18247 * time/stime.c: Likewise.
18248 * time/time.c: Likewise.
18250 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
18252 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
18255 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
18257 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
18259 2012-11-03 Joseph Myers <joseph@codesourcery.com>
18262 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
18263 FE_TONEAREST before applying Dekker multiplication and Knuth
18264 addition. Clear inexact exceptions and check for exact zero
18265 results afterwards.
18266 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18267 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18268 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18269 * math/libm-test.inc (fma_test): Add more tests.
18270 (fma_test_towardzero): Likewise.
18271 (fma_test_downward): Likewise.
18272 (fma_test_upward): Likewise.
18273 * sysdeps/generic/math_private.h (default_libc_fesetround): New
18275 (libc_fesetround): New macro.
18276 (libc_fesetroundf): Likewise.
18277 (libc_fesetroundl): Likewise.
18278 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
18280 (libc_fesetround_387): Likewise.
18281 (libc_fesetroundf): New macro.
18282 (libc_fesetround): Likewise.
18283 (libc_fesetroundl): Likewise.
18284 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
18286 (libc_fesetroundf): New macro.
18287 (libc_fesetround): Likewise.
18288 (libc_fesetroundl): Likewise.
18289 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
18290 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
18291 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
18293 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
18294 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
18296 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
18297 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
18299 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
18303 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
18304 integer constant usable in #if and use that to give value to enum
18306 (FE_DIVBYZERO): Likewise.
18307 (FE_UNDERFLOW): Likewise.
18308 (FE_OVERFLOW): Likewise.
18309 (FE_INVALID): Likewise.
18310 (FE_INVALID_SNAN): Likewise.
18311 (FE_INVALID_ISI): Likewise.
18312 (FE_INVALID_IDI): Likewise.
18313 (FE_INVALID_ZDZ): Likewise.
18314 (FE_INVALID_IMZ): Likewise.
18315 (FE_INVALID_COMPARE): Likewise.
18316 (FE_INVALID_SOFTWARE): Likewise.
18317 (FE_INVALID_SQRT): Likewise.
18318 (FE_INVALID_INTEGER_CONVERSION): Likewise.
18319 (FE_TONEAREST): Likewise.
18320 (FE_TOWARDZERO): Likewise.
18321 (FE_UPWARD): Likewise.
18322 (FE_DOWNWARD): Likewise.
18323 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
18324 (FE_DIVBYZERO): Likewise.
18325 (FE_OVERFLOW): Likewise.
18326 (FE_UNDERFLOW): Likewise.
18327 (FE_INEXACT): Likewise.
18328 (FE_TONEAREST): Likewise.
18329 (FE_DOWNWARD): Likewise.
18330 (FE_UPWARD): Likewise.
18331 (FE_TOWARDZERO): Likewise.
18332 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
18333 (FE_UNDERFLOW): Likewise.
18334 (FE_OVERFLOW): Likewise.
18335 (FE_DIVBYZERO): Likewise.
18336 (FE_INVALID): Likewise.
18337 (FE_TONEAREST): Likewise.
18338 (FE_TOWARDZERO): Likewise.
18339 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
18340 (FE_OVERFLOW): Likewise.
18341 (FE_UNDERFLOW): Likewise.
18342 (FE_DIVBYZERO): Likewise.
18343 (FE_INEXACT): Likewise.
18344 (FE_TONEAREST): Likewise.
18345 (FE_TOWARDZERO): Likewise.
18346 (FE_UPWARD): Likewise.
18347 (FE_DOWNWARD): Likewise.
18348 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
18349 (FE_DIVBYZERO): Likewise.
18350 (FE_OVERFLOW): Likewise.
18351 (FE_UNDERFLOW): Likewise.
18352 (FE_INEXACT): Likewise.
18353 (FE_TONEAREST): Likewise.
18354 (FE_DOWNWARD): Likewise.
18355 (FE_UPWARD): Likewise.
18356 (FE_TOWARDZERO): Likewise.
18358 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
18360 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
18362 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
18364 * scripts/cross-test-ssh.sh (command): Use newlines to separate
18365 commands. Quote $PWD.
18366 (blacklist_exports): Don't use remove_newlines. Replace "declare
18368 (remove_newlines): Remove.
18370 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
18372 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
18373 * stdlib/stdlib.h (atof): Moved to ...
18374 * include/bits/stdlib-float.h: Here. New file.
18375 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
18376 * stdlib/bits/stdlib-float.h: New file.
18377 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
18379 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
18382 2012-11-02 Joseph Myers <joseph@codesourcery.com>
18384 * conform/conformtest.pl (@headers): Add fenv.h.
18385 * conform/data/fenv.h-data: New file.
18386 * include/fenv.h [_ISOMAC]: Disable all contents of file except
18387 include of <math/fenv.h>.
18389 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
18390 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
18391 && !UNIX98]. Enables tests for XOPEN2K8.
18392 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
18393 POSIX2008]: Likewise.
18395 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
18396 (struct rusage): Do not expect type or its members.
18399 * math/math.h (FP_NAN): Define macro to integer constant usable in
18400 #if and use that to give value to enum constant.
18401 (FP_INFINITE): Likewise.
18402 (FP_ZERO): Likewise.
18403 (FP_SUBNORMAL): Likewise.
18404 (FP_NORMAL): Likewise.
18406 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
18408 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
18409 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
18412 2012-11-02 Roland McGrath <roland@hack.frob.com>
18414 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
18415 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
18416 autoconf-time if not.
18417 * configure.in: Remove AC_PREREQ.
18419 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18421 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
18422 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
18423 of the internal implementation.
18425 2012-11-02 Joseph Myers <joseph@codesourcery.com>
18427 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
18428 except include of <misc/sys/syslog.h>.
18430 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
18432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
18433 function returns with a NULL context exit with zero.
18435 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18437 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
18439 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
18441 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
18442 (run_program_cmd): This.
18443 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
18444 (tst_langinfo): New variable. Use it.
18446 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
18448 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
18449 floating point opcodes.
18451 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18453 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
18456 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
18458 * sysdeps/mach/hurd/powerpc: Remove directory.
18459 * sysdeps/mach/powerpc: Likewise.
18461 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
18463 * scripts/check-local-headers.sh: Ignore c++ headers.
18465 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18467 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
18468 __libc_cleanup_region_start argument.
18470 2012-11-01 Joseph Myers <joseph@codesourcery.com>
18474 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
18475 x * y using scaling, not as x * y + z.
18476 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18477 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18478 * math/libm-test.inc (fma_test): Add more tests.
18479 (fma_test_towardzero): Likewise.
18480 (fma_test_downward): Likewise.
18481 (fma_test_upward): Likewise.
18483 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18485 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
18487 2012-10-31 Joseph Myers <joseph@codesourcery.com>
18489 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
18492 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
18494 * rt/tst-shm.c (worker): Correct checking for mmap failure.
18496 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
18498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18503 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18506 Fix the order of the list for glibc 2.17.
18507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18510 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
18512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18514 2012-10-31 Joseph Myers <joseph@codesourcery.com>
18517 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
18518 for low part of x being zero before using __atanl (y).
18519 * math/libm-test.inc (atan2_test): Add another test.
18521 * manual/install.texi (Configuring and compiling): Document
18522 general use of test-wrapper and test-wrapper-env.
18523 * INSTALL: Regenerated.
18525 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
18526 (__fma): Do not extract and scale down low bits on after-rounding
18527 systems when result rounded to normal precision would have normal
18529 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
18530 (__fmal): Do not extract and scale down low bits on after-rounding
18531 systems when result rounded to normal precision would have normal
18533 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
18534 (__fmal): Do not extract and scale down low bits on after-rounding
18535 systems when result rounded to normal precision would have normal
18537 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
18539 (fma_test): Add more tests.
18540 (fma_test_towardzero): Likewise.
18541 (fma_test_downward): Likewise.
18542 (fma_test_upward): Likewise.
18544 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
18546 * sysdeps/i386/tininess.h: Renamed to ...
18547 * sysdeps/x86/tininess.h: This.
18548 * sysdeps/x86_64/tininess.h: Removed.
18550 2012-10-30 Joseph Myers <joseph@codesourcery.com>
18552 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
18553 input. Use $(build-program-cmd).
18554 ($(objpfx)tst-array1-static.out): Likewise.
18555 ($(objpfx)tst-array2.out): Likewise.
18556 ($(objpfx)tst-array3.out): Likewise.
18557 ($(objpfx)tst-array4.out): Likewise.
18558 ($(objpfx)tst-array5.out): Likewise.
18559 ($(objpfx)tst-array5-static.out): Likewise.
18561 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
18563 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
18566 * nss/nsswitch.h (nss_interface_function): Provide new
18567 macro for use with NSS functions.
18568 * grp/initgroups.c: Use new macro.
18569 * nss/getXXbyYY.c: Likewise.
18570 * nss/getXXbyYY_r.c: Likewise.
18571 * nss/getXXent.c: Likewise.
18572 * nss/getXXent_r.c: Likewise.
18573 * sysdeps/posix/getaddrinfo.c: Likewise.
18575 2012-10-30 Andreas Jaeger <aj@suse.de>
18577 * po/ru.po: Update Russion translation from translation project.
18579 2012-10-30 Joseph Myers <joseph@codesourcery.com>
18583 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
18584 result and shift together with sticky bit instead of replicating
18585 round-to-nearest rounding.
18586 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18587 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18588 * math/libm-test.inc (fma_test): Add more tests. Do not permit
18589 missing underflow exceptions.
18590 (fma_test_towardzero): Add more tests.
18591 (fma_test_downward): Likewise.
18592 (fma_test_upward): Likewise.
18595 * sysdeps/generic/tininess.h: New file.
18596 * sysdeps/i386/tininess.h: Likewise.
18597 * sysdeps/sh/tininess.h: Likewise.
18598 * sysdeps/x86_64/tininess.h: Likewise.
18599 * stdlib/tst-strtod-underflow.c: Likewise.
18600 * stdlib/tst-tininess.c: Likewise.
18601 * stdlib/strtod_l.c: Include <tininess.h>.
18602 (round_and_return): Do not set errno for exact underflow cases.
18603 Force an underflow exception when setting errno for underflow.
18604 Determine underflow based on rounding to normal precision if
18605 TININESS_AFTER_ROUNDING.
18606 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
18607 ERANGE for exact underflow cases.
18608 * stdlib/Makefile (tests): Add tst-tininess and
18609 tst-strtod-underflow.
18610 ($(objpfx)tst-tininess): Use $(link-libm).
18611 ($(objpfx)tst-strtod-underflow): Likewise.
18613 2012-10-30 Andreas Jaeger <aj@suse.de>
18616 * elf/Makefile (tests): Remove conditional for have-initfini-array
18617 since this is now always required and the variable does not exist
18619 (tests-static): Likewise.
18620 (modules-names): Likewise.
18622 * po/eo.po: Add Esperanto translation from translation project.
18624 * elf/tst-array1.c (fini_array): Make writeable so that it can be
18625 merged with constructor/destructor.
18626 (init_array): Likewise.
18627 * elf/tst-array2dep.c (fini_array): Likewise.
18628 (init_array): Likewise.
18630 2012-10-29 Mike Frysinger <vapier@gentoo.org>
18632 * manual/message.texi: Delete @cartouche tags.
18634 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
18636 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
18638 * sysdeps/mach/hurd/fsync.c: Likewise.
18640 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
18641 [_POSIX_REALTIME_SIGNALS]: Change condition to
18642 [_POSIX_REALTIME_SIGNALS > 0].
18644 2012-10-27 Andreas Jaeger <aj@suse.de>
18646 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
18647 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
18648 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
18649 [__WORDSIZE != 64]: Likewise.
18651 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
18653 * iconvdata/tst-table.sh: Remove ${SHELL}.
18654 * iconvdata/tst-tables.sh: Likewise.
18656 2012-10-25 David S. Miller <davem@davemloft.net>
18658 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18659 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
18662 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
18664 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18665 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
18666 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
18669 2012-10-25 Roland McGrath <roland@hack.frob.com>
18671 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18672 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
18675 2012-10-25 Joseph Myers <joseph@codesourcery.com>
18676 Jim Blandy <jimb@codesourcery.com>
18678 * scripts/cross-test-ssh.sh: New file.
18679 * manual/install.texi (Configuring and compiling): Document use of
18681 * INSTALL: Regenerated.
18683 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
18685 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
18688 2012-10-25 Joseph Myers <joseph@codesourcery.com>
18690 * Makeconfig (run-program-prefix): Fix comment.
18692 2012-10-24 Joseph Myers <joseph@codesourcery.com>
18693 Jim Blandy <jimb@codesourcery.com>
18695 * Makeconfig (test-wrapper): New variable,
18696 (test-wrapper-env): Likewise.
18697 [$(cross-compiling) = yes && $(test-wrapper) != ""]
18698 (run-built-tests): Define to yes.
18699 (run-program-prefix): Use $(test-wrapper).
18700 (built-program-cmd): Likewise.
18701 * Rules (make-test-out): Use $(test-wrapper-env) and
18702 $(host-built-program-cmd).
18703 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
18704 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
18706 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
18707 $(test-wrapper-env) to tst-rtld-load-self.sh.
18708 ($(objpfx)order2.out): Use $(test-wrapper).
18709 ($(objpfx)tst-initorder.out): Likewise.
18710 ($(objpfx)tst-initorder2.out): Likewise.
18711 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
18712 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
18713 (test_wrapper_env): New variable. Use it to run ld.so.
18714 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
18715 Use it to run ld.so.
18716 (test_wrapper_env): Likewise.
18717 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
18718 $(test-wrapper) to run-iconv-test.sh.
18719 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
18720 (ICONV): Use $test_wrapper.
18721 * posix/Makefile ($(objpfx)globtest.out): Pass
18722 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
18723 globtest.sh, not $(run-program-prefix).
18724 * posix/globtest.sh (run_via_rtld_prefix): New variable.
18725 (test_wrapper): Likewise.
18726 (test_wrapper_env): Likewise. Use it to run globtest with HOME
18727 set together with run_via_rtld_prefix.
18728 (run_program_prefix): Define in terms of test_wrapper and
18729 run_via_rtld_prefix.
18731 2012-10-24 Roland McGrath <roland@hack.frob.com>
18733 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18734 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18738 * include/time.h: Remove librt_hidden_proto (clock_gettime).
18739 Declare __clock_getres, __clock_gettime, __clock_settime,
18740 __clock_nanosleep, and __clock_getcpuclockid.
18741 * rt/clock_gettime.c: Define __clock_gettime as an alias.
18742 Remove librt_hidden_def (clock_gettime).
18743 * sysdeps/unix/clock_gettime.c: Likewise.
18744 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18745 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18746 * rt/clock_getres.c: Define __clock_getres as an alias.
18747 * sysdeps/posix/clock_getres.c: Likewise.
18748 * rt/clock_settime.c: Define __clock_settime as an alias.
18749 * sysdeps/unix/clock_settime.c: Likewise.
18750 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18751 * sysdeps/unix/clock_nanosleep.c: Likewise.
18752 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18753 * rt/clock-compat.c: New file.
18754 * rt/Makefile (librt-routines): Add clock-compat and move
18755 $(clock-routines) to ...
18756 (routines): ... here, new variable.
18757 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18758 Don't add get_clockfreq here.
18759 * rt/Versions (libc: GLIBC_2.17): New version set.
18760 Add clock_* symbols here.
18761 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
18762 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18763 (GLIBC_2.17): Add clock_* symbols.
18764 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18765 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18766 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18775 * NEWS: Mention the move.
18777 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18778 Use __open, __read, __close rather than their public counterparts.
18779 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18780 (__get_clockfreq_via_cpuinfo): Likewise.
18781 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18782 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18784 * config.h.in (HAVE_IFUNC): New #undef.
18785 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18787 * configure: Regenerated.
18789 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18791 * configure.in: Move READELF check to start of file.
18792 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18793 libc_cv_asm_gnu_indirect_function in the process.
18794 * configure: Regenerated.
18796 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18798 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18799 send the output to /dev/null.
18800 (libc_cv_cc_with_libunwind): Likewise.
18801 (libc_cv_as_noexecstack): Likewise.
18802 * configure: Regenerate.
18804 2012-10-24 Joseph Myers <joseph@codesourcery.com>
18806 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18808 * posix/globtest.sh (TMPDIR): Do not set.
18809 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18810 (testout): Likewise.
18812 2012-10-24 Andreas Jaeger <aj@suse.de>
18814 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18815 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18816 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18817 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18818 posix_fadvise64, posix_fallocate64.
18820 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18821 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18822 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18824 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18826 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18828 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18829 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18830 <bits/fcntl-linux.h>.
18831 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18833 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18834 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18835 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18836 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18837 [__WORDSIZE != 64]: Likewise.
18839 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18841 * Makeconfig (run-built-tests): New variable.
18842 * Rules [$(cross-compiling) = yes]: Change condition to
18843 [$(run-built-tests) = no].
18844 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18845 to [$(run-built-tests) = yes].
18846 * elf/Makefile [$(cross-compiling) = no]: Likewise
18847 * grp/Makefile [$(cross-compiling) = no]: Likewise.
18848 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18849 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18850 * intl/Makefile [$(cross-compiling) = no]: Likewise.
18851 * io/Makefile [$(cross-compiling) = no]: Likewise.
18852 * libio/Makefile [$(cross-compiling) = no]: Likewise.
18853 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18854 * misc/Makefile [$(cross-compiling) = no]: Likewise.
18855 * posix/Makefile [$(cross-compiling) = no]: Likewise.
18856 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18857 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18858 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18859 * string/Makefile [$(cross-compiling) = no]: Likewise.
18861 * posix/Makefile ($(objpfx)globtest.out): Pass
18862 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18863 $(rtld-installed-name).
18864 * posix/globtest.sh (elf_objpfx): Remove variable.
18865 (rtld_installed_name): Likewise.
18866 (library_path): Likewise.
18867 (run_program_prefix): New variable. Use for running globtest
18870 2012-10-23 Jim Blandy <jimb@codesourcery.com>
18871 Joseph Myers <joseph@codesourcery.com>
18873 * Makeconfig (host-built-program-cmd): New variable.
18874 * elf/Makefile (tst-stackguard1-ARGS): Use
18875 $(host-built-program-cmd).
18876 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18877 (tst-spawn-ARGS): Likewise.
18878 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18880 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18881 Jim Blandy <jimb@codesourcery.com>
18883 * Makeconfig (run-via-rtld-prefix): New variable.
18884 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18885 (built-program-cmd): Likewise.
18887 2012-10-22 Andreas Jaeger <aj@suse.de>
18889 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18890 __O_RSYNC if it exists, otherwise to O_SYNC.
18892 2012-10-22 Jim Blandy <jimb@codesourcery.com>
18893 Joseph Myers <joseph@codesourcery.com>
18895 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18897 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18899 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18902 2012-10-22 Andreas Jaeger <aj@suse.de>
18904 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18906 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18908 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18909 bits/fcntl-linux.h.
18911 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18912 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18914 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18916 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18919 2012-10-21 Jim Blandy <jimb@codesourcery.com>
18920 Joseph Myers <joseph@codesourcery.com>
18922 * config.make.in (NM): New variable.
18924 2012-10-21 Andreas Jaeger <aj@suse.de>
18926 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18927 definitions and declarations that are provided by
18928 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18930 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18933 * elf/Makefile (tests-static): Add tst-leaks1-static.
18934 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18935 ($(objpfx)tst-leaks1-static): New rule.
18936 ($(objpfx)tst-leaks1-static-mem): Likewise.
18937 (tst-leaks1-static-ENV): New macro.
18938 * elf/dl-open.c (dl_open_worker): Check the main application
18939 only if SHARED is defined.
18940 * elf/tst-leaks1-static.c: New file.
18942 2012-10-20 Andreas Jaeger <aj@suse.de>
18944 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18945 generic values for Linux.
18946 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18947 and declarations that are provided by <bits/fcntl-linux.h> and
18948 include <bits/fcntl-linux.h>.
18949 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18950 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18952 2012-10-20 Roland McGrath <roland@hack.frob.com>
18954 * io/fcntl.h: Move include of <bits/types.h> to the top and
18955 include it unconditionally.
18957 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18959 * wcsmbs/Makefile (tests-ifunc): New variable.
18960 (tests): Add $(tests-ifunc).
18961 * wcsmbs/test-wcschr-ifunc.c: New file.
18962 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18963 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18964 * wcsmbs/test-wcslen-ifunc.c: Likewise.
18965 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18966 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18968 * string/Makefile (tests-ifunc): New variable.
18969 (tests): Add $(tests-ifunc).
18970 * string/test-memccpy.c (TEST_NAME): New macro.
18971 * string/test-memchr.c (TEST_NAME): Likewise.
18972 * string/test-memcmp.c (TEST_NAME): Likewise.
18973 * string/test-memcpy.c (TEST_NAME): Likewise.
18974 * string/test-memmem.c (TEST_NAME): Likewise.
18975 * string/test-memmove.c (TEST_NAME): Likewise.
18976 * string/test-memset.c (TEST_NAME): Likewise.
18977 * string/test-rawmemchr.c (TEST_NAME): Likewise.
18978 * string/test-stpcpy.c (TEST_NAME): Likewise.
18979 * string/test-stpncpy.c (TEST_NAME): Likewise.
18980 * string/test-strcasecmp.c (TEST_NAME): Likewise.
18981 * string/test-strcasestr.c (TEST_NAME): Likewise.
18982 * string/test-strcat.c (TEST_NAME): Likewise.
18983 * string/test-strchr.c (TEST_NAME): Likewise.
18984 * string/test-strcmp.c(TEST_NAME): Likewise.
18985 * string/test-strcpy.c (TEST_NAME): Likewise.
18986 * string/test-strcspn.c (TEST_NAME): Likewise.
18987 * string/test-strlen.c (TEST_NAME): Likewise.
18988 * string/test-strncasecmp.c (TEST_NAME): Likewise.
18989 * string/test-strncmp.c (TEST_NAME): Likewise.
18990 * string/test-strncpy.c (TEST_NAME): Likewise.
18991 * string/test-strnlen.c (TEST_NAME): Likewise.
18992 * string/test-strpbrk.c (TEST_NAME): Likewise.
18993 * string/test-strrchr.c (TEST_NAME): Likewise.
18994 * string/test-strspn.c (TEST_NAME): Likewise.
18995 * string/test-strstr.c (TEST_NAME): Likewise.
18996 * string/test-bcopy-ifunc.c: New file.
18997 * string/test-bzero-ifunc.c: Likewise.
18998 * string/test-memccpy-ifunc.c: Likewise.
18999 * string/test-memchr-ifunc.c: Likewise.
19000 * string/test-memcmp-ifunc.c: Likewise.
19001 * string/test-memcpy-ifunc.c: Likewise.
19002 * string/test-memmem-ifunc.c: Likewise.
19003 * string/test-memmove-ifunc.c: Likewise.
19004 * string/test-mempcpy-ifunc.c: Likewise.
19005 * string/test-memset-ifunc.c: Likewise.
19006 * string/test-rawmemchr-ifunc.c: Likewise.
19007 * string/test-stpcpy-ifunc.c: Likewise.
19008 * string/test-stpncpy-ifunc.c: Likewise.
19009 * string/test-strcasecmp-ifunc.c: Likewise.
19010 * string/test-strcasestr-ifunc.c: Likewise.
19011 * string/test-strcat-ifunc.c: Likewise.
19012 * string/test-strchr-ifunc.c: Likewise.
19013 * string/test-strchrnul-ifunc.c: Likewise.
19014 * string/test-strcmp-ifunc.c: Likewise.
19015 * string/test-strcpy-ifunc.c: Likewise.
19016 * string/test-strcspn-ifunc.c: Likewise.
19017 * string/test-strlen-ifunc.c: Likewise.
19018 * string/test-strncasecmp-ifunc.c: Likewise.
19019 * string/test-strncat-ifunc.c: Likewise.
19020 * string/test-strncmp-ifunc.c: Likewise.
19021 * string/test-strncpy-ifunc.c: Likewise.
19022 * string/test-strnlen-ifunc.c: Likewise.
19023 * string/test-strpbrk-ifunc.c: Likewise.
19024 * string/test-strrchr-ifunc.c: Likewise.
19025 * string/test-strspn-ifunc.c: Likewise.
19026 * string/test-strstr-ifunc.c: Likewise.
19028 * debug/Makefile (tests-ifunc): New variable.
19029 (tests): Add $(tests-ifunc).
19030 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19031 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19032 * debug/test-stpcpy_chk-ifunc.c: New file.
19033 * debug/test-strcpy_chk-ifunc.c: Likewise.
19035 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19038 * elf/dl-load.c (open_verify): Retry read if the entire ELF
19039 header is not read in.
19041 2012-10-19 Joseph Myers <joseph@codesourcery.com>
19043 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
19044 script to $(SHELL) as $<. Pass $(common-objpfx) to script
19045 directly. Pass built executable to script as
19046 $(built-program-cmd).
19047 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
19048 $testprogram without using LD_LIBRARY_PATH and $ldso.
19050 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
19051 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
19052 $(rtld-installed-name).
19053 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
19054 (rtld_installed_name): Likewise.
19055 (library_path): Likewise.
19056 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
19057 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
19058 $(run-program-prefix) to tst-tables.sh.
19059 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
19060 it to run tst-table-from and tst-table-to.
19061 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
19062 Pass it to tst-table.sh.
19063 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
19064 $(run-program-prefix) to tst-gettext.sh.
19065 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
19067 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
19069 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
19070 to run tst-gettext.
19071 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
19072 to run tst-gettext2.
19073 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
19074 to run tst-translit.
19075 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
19076 $(run-program-prefix) to tst-mtrace.sh.
19077 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
19079 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
19080 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
19081 $(rtld-installed-name).
19082 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
19083 (rtld_installed_name): Likewise.
19084 (run_program_prefix): New variable. Use it to run wordexp-test.
19086 * Makeconfig (ARCH): Remove all definitions.
19087 (machine): Likewise.
19088 [ARCH]: Remove conditional code.
19089 [!objdir]: Give error.
19090 [!objdir] (objpfx): Remove.
19091 [!objdir] (common-objpfx): Likewise.
19092 [!objdir] (common-objdir): Likewise.
19093 * configure.in (config_makefile): Remove. Hardcode Makefile in
19094 AC_CONFIG_FILES call.
19095 * configure: Regenerated.
19098 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19100 (testout): Likewise.
19102 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
19103 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
19104 $(rtld-installed-name).
19105 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
19106 (rtld_installed_name): Likwise.
19107 (runit): Remove function.
19108 (run_getconf): New variable, Use it for running getconf binary.
19110 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
19113 * string/test-memmem.c (check_result): New function.
19114 (do_one_test): Use it.
19115 (check1): New function.
19116 (test_main): Use it.
19118 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
19120 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
19122 2012-10-18 Joseph Myers <joseph@codesourcery.com>
19124 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
19125 (_G_LSEEK64): Likewise.
19126 (_G_MMAP64): Likewise.
19127 (_G_FSTAT64): Likewise.
19128 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
19129 (_G_LSEEK64): Likewise.
19130 (_G_MMAP64): Likewise.
19131 (_G_FSTAT64): Likewise.
19132 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
19133 unconditional. Call __mmap64 directly.
19134 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
19135 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
19136 __lseek64 directly.
19137 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
19138 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
19140 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
19141 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
19142 __lseek64 directly.
19143 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
19144 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
19145 __lseek64 directly.
19146 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
19147 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
19148 __lseek64 directly.
19149 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
19150 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
19151 __fxstat64 directly.
19152 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
19153 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
19155 (freopen64) [!_G_OPEN64]: Remove conditional code.
19156 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
19158 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
19159 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
19161 (ftello64) [!_G_LSEEK64]: Remove conditional code.
19162 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
19164 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19165 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
19167 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
19168 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
19170 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19171 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
19173 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19174 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
19176 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19178 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19181 * manual/memory.texi (Malloc Tunable Parameters): Add note
19182 about free list pointers overwriting some perturb bytes.
19183 Wording suggested by Roland McGrath.
19185 2012-10-17 Joseph Myers <joseph@codesourcery.com>
19187 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
19188 (lgamma_test): Likewise.
19189 (tgamma_test): Likewise.
19191 2012-10-16 Florian Weimer <fweimer@redhat.com>
19194 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
19195 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
19197 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
19199 * NEWS: Mention BZ #14716.
19200 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
19201 when removing AVAILABLE1_USES_J macro.
19203 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
19205 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
19206 (__bswap_64): __uint64_t for unsigned 64-bit int.
19208 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
19210 * include/string.h (memmem): Declare libc hidden alias.
19211 * string/memmem.c (memmem): Define libc hidden alias.
19212 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
19213 __read, __close instead of open, read, close.
19215 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
19217 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
19218 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
19220 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
19221 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
19222 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
19224 (__rawmemchr_sse2): Likewise.
19225 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
19226 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
19227 (__strchr_sse2): Likewise.
19228 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
19229 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
19230 (__strcasecmp_sse2): Likewise.
19231 (__strncasecmp_sse2): Likewise.
19232 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
19233 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
19234 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
19235 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
19236 (__strrchr_sse2): Likewise.
19237 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
19239 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19240 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19241 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19242 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19243 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19244 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19245 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19246 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19247 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
19248 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
19249 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
19250 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
19251 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
19252 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19253 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19254 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19255 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19256 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19257 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
19258 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
19259 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
19260 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
19261 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
19262 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19263 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
19264 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19265 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19266 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19267 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19268 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19270 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
19272 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
19273 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
19274 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
19275 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
19277 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
19279 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
19280 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
19281 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
19282 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
19284 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19285 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19286 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19287 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19288 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19289 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19290 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19291 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19292 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19293 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19294 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19295 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19296 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19297 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
19298 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
19299 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19300 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
19301 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
19302 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19303 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19304 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19305 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19306 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19307 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19308 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19309 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
19310 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
19311 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
19312 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
19313 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19314 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
19315 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19316 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19317 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
19318 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19319 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19320 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19321 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19322 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19323 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19324 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
19326 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
19327 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
19328 * include/ifunc-impl-list.h: New file.
19329 * misc/ifunc-impl-list.c: Likewise.
19330 * misc/Makefile (routines): Add ifunc-impl-list.
19331 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
19332 * string/test-string.h: Include <ifunc-impl-list.h>.
19333 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
19334 impl_array): New variables.
19335 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
19337 (test_init): Call __libc_ifunc_impl_list to initialize
19338 func_list if TEST_IFUNC and TEST_NAME are defined.
19340 * string/Makefile (strop-tests): Add bcopy and bzero.
19341 * string/test-bcopy.c: New file.
19342 * string/test-bzero.c: Likewise.
19343 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
19345 * string/test-memset.c: Support bzero test if TEST_BZERO is
19347 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
19349 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
19351 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
19354 2012-10-10 Joseph Myers <joseph@codesourcery.com>
19356 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
19357 * configure: Regenerated.
19359 * Makeconfig (+link-static-before-libc): Don't include
19360 $(link-static-libc).
19362 * libio/libio.h (_IO_pos_t): Remove.
19364 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
19366 * NEWS: Add note about FIPS mode. Wording suggested by Roland
19369 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
19371 * crypt/crypt-entry.c: Include fips-private.h.
19372 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
19373 * crypt/md5c-test.c (main): Tolerate disabled MD5.
19374 * sysdeps/unix/sysv/linux/fips-private.h: New file.
19375 * sysdeps/generic/fips-private.h: New file, dummy fallback.
19377 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
19379 * crypt/crypt-private.h: Include stdbool.h.
19380 (_ufc_setup_salt_r): Return bool.
19381 * crypt/crypt-entry.c: Include errno.h.
19382 (__crypt_r): Return NULL with EINVAL for bad salt.
19383 * crypt/crypt_util.c (bad_for_salt): New.
19384 (_ufc_setup_salt_r): Check that salt is long enough and within
19385 the specified alphabet.
19386 * crypt/badsalttest.c: New file.
19387 * crypt/Makefile (tests): Add it.
19388 ($(objpfx)badsalttest): New.
19390 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
19392 * NEWS: Add entry for BZ #14602.
19394 2012-10-09 Joseph Myers <joseph@codesourcery.com>
19396 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
19398 * math/libm-test.inc: Update comment listing what functions and
19400 (isgreater_test): New function.
19401 (isgreaterequal_test): Likewise.
19402 (isless_test): Likewise.
19403 (islessequal_test): Likewise.
19404 (islessgreater_test): Likewise.
19405 (isunordered_test): Likewise.
19406 (main): Call the new functions.
19408 2012-10-09 Roland McGrath <roland@hack.frob.com>
19410 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
19411 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
19412 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
19413 * sysdeps/i386/configure: Regenerated.
19414 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
19415 * sysdeps/mach/configure: Regenerated.
19416 * sysdeps/mach/hurd/configure: Regenerated.
19417 * sysdeps/powerpc/configure: Regenerated.
19418 * sysdeps/powerpc/powerpc32/configure: Regenerated.
19419 * sysdeps/powerpc/powerpc64/configure: Regenerated.
19420 * sysdeps/s390/s390-32/configure: Regenerated.
19421 * sysdeps/s390/s390-64/configure: Regenerated.
19422 * sysdeps/sh/configure: Regenerated.
19423 * sysdeps/sparc/configure: Regenerated.
19424 * sysdeps/unix/sysv/linux/configure: Regenerated.
19425 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19426 * sysdeps/x86_64/configure: Regenerated.
19428 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
19429 defined. Don't check if MAP is NULL.
19431 2012-10-09 Joseph Myers <joseph@codesourcery.com>
19433 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
19434 (_G_stat64): Likewise.
19435 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
19436 (_G_stat64): Likewise.
19437 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
19438 instead of struct _G_stat64.
19439 * libio/fileops.c (mmap_remap_check): Likewise.
19440 (decide_maybe_mmap): Likewise.
19441 (_IO_new_file_seekoff): Likewise.
19442 (_IO_file_stat): Likewise.
19443 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
19445 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
19446 instead of struct _G_stat64.
19447 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19449 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
19452 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19454 (CHECK_EOL): New macro.
19455 (two_way_short_needle): Check beginning of haystack for EOL. Use
19457 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19458 Replace with CHECK_EOL.
19459 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19460 Replace with CHECK_EOL.
19462 2012-10-08 Joseph Myers <joseph@codesourcery.com>
19464 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
19466 * math/libm-test.inc: Update comment listing what functions and
19468 (finite_test): New function.
19469 (isinf_test): Likewise.
19470 (isnan_test): Likewise.
19471 (fpclassify_test): Test subnormal input.
19472 (isfinite_test): Likewise.
19473 (isnormal_test): Likewise.
19474 (main): Call the new functions.
19476 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
19479 * Makerules (%.dynsym): Force C locale when running
19480 $(OBJDUMP) --dynamic-syms.
19482 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
19484 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
19487 2012-10-06 David S. Miller <davem@davemloft.net>
19489 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
19490 upper 32-bits of the length value in %o2 since we use branch-on-register
19491 tests which consider the entire 64-bit register.
19493 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
19495 * string/test-strstr.c (check2): Add a test for page boundary.
19497 2012-10-05 David S. Miller <davem@davemloft.net>
19499 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
19500 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
19502 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19504 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19505 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
19506 and bzero when HWCAP_SPARC_CRYPTO is present.
19508 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
19511 * string/test-strstr.c (check2): New function.
19512 (test_main): Call check2.
19514 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
19516 * string/bug-strcasestr1.c (do_test): Moved to ...
19517 * string/test-strcasestr.c (check1): Here. New function.
19518 (do_one_test): Break out result checking code into ...
19519 (check_result): This. New function.
19520 (do_one_test): Call check_result.
19521 (test_main): Call check1.
19522 * string/bug-strchr1.c (do_test): Moved to ...
19523 * string/test-strchr.c (check1): Here. New function.
19524 (do_one_test): Break out result checking code into ...
19525 (check_result): This. New function.
19526 (do_one_test): Call check_result.
19527 (test_main): Call check1.
19528 * string/bug-strstr1.c (main): Moved to ...
19529 * string/test-strstr.c (check1): Here. New function.
19530 (do_one_test): Break out result checking code into ...
19531 (check_result): This. New function.
19532 (do_one_test): Call check_result.
19533 (test_main): Call check1.
19534 * string/bug-strcasestr1.c: Removed.
19535 * string/bug-strchr1.c: Likewise.
19536 * string/bug-strstr1.c: Likewise.
19538 * elf/Makefile (dl-routines): Add hwcaps.
19539 * elf/dl-support.c (_dl_important_hwcaps): Removed.
19540 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
19541 (_dl_important_hwcaps): Moved to ...
19542 * elf/dl-hwcaps.c: Here. New file.
19543 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
19546 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
19547 if IS_IN_rtld isn't defined.
19549 * elf/dl-support.c (_dl_sysinfo_map): New.
19550 Include "get-dynamic-info.h" and "setup-vdso.h".
19551 (_dl_non_dynamic_init): Call setup_vdso.
19552 * elf/dynamic-link.h: Don't include <assert.h>.
19553 (elf_get_dynamic_info): Moved to ...
19554 * elf/get-dynamic-info.h: Here. New file.
19555 * elf/dynamic-link.h: Include "get-dynamic-info.h".
19556 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
19557 * elf/setup-vdso.h: Here. New file.
19558 * elf/rtld.c: Include "setup-vdso.h".
19559 (dl_main): Call setup_vdso.
19561 2012-10-05 Joseph Myers <joseph@codesourcery.com>
19563 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
19564 creal in comment listing functions tested. List finite, isinf,
19565 isnan, isless, islessequal, isgreater, isgreaterequal,
19566 islessgreater, isunordered, lgamma_r and pow10 as functions and
19567 macros not tested. Mention which functions not tested are aliases
19568 for other functions. Fix typo. Note that signs of NaNs are not
19571 * scripts/config.guess: Update from config.git.
19572 * scripts/config.sub: Likewise.
19574 2012-10-04 Roland McGrath <roland@hack.frob.com>
19576 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
19577 * misc/madvise.c (madvise): Renamed to __madvise.
19578 Make madvise a weak alias.
19579 * include/sys/mman.h: Declare __madvise.
19580 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
19581 * sysdeps/unix/syscalls.list
19582 (madvise): Make __madvise the strong name, and madvise a weak alias.
19583 * sysdeps/unix/sysv/linux/syscalls.list
19584 (madvise, mmap): Remove redundant entries.
19585 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
19586 * malloc/malloc.c (mtrim): Likewise.
19587 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
19589 2012-10-03 Roland McGrath <roland@hack.frob.com>
19591 * sysdeps/mach/hurd/dl-cache.c: File removed.
19592 * config.h.in (USE_LDCONFIG): New #undef.
19593 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
19594 * configure: Regenerated.
19595 * elf/Makefile (dl-routines): Add dl-cache only under
19596 [$(use-ldconfig) = yes].
19597 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
19598 cache on [USE_LDCONFIG].
19599 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
19601 * elf/rtld.c (dl_main): Likewise.
19603 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
19605 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
19606 _SC_LEVEL4_CACHE_LINESIZE.
19608 2012-10-03 Roland McGrath <roland@hack.frob.com>
19610 * sysdeps/unix/bsd/confstr.h: File removed.
19612 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
19614 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
19617 2012-10-02 Roland McGrath <roland@hack.frob.com>
19619 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
19620 Make 'mapoff' field ElfW(Off) rather than off_t.
19622 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
19624 * nscd/Makefile: Remove nscd-cflags and all its users.
19625 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
19626 (CFLAGS-nonlib): Add compiler flags for nscd modules.
19629 * malloc.c (malloc_printerr): Clarify error message.
19631 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
19634 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19635 Set bit_FMA_Usable if FMA is supported.
19636 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
19638 (bit_FMA4_Usable): Updated.
19639 (index_FMA_Usable): New macro.
19640 (CPUID_FMA): Likewise
19641 (HAS_FMA): Defined with bit_FMA_Usable.
19643 2012-10-01 Roland McGrath <roland@hack.frob.com>
19645 * bits/types.h (__swblk_t): Type removed.
19646 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
19647 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
19648 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19649 (__SWBLK_T_TYPE): Likewise.
19650 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19651 (__SWBLK_T_TYPE): Likewise.
19652 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19653 (__SWBLK_T_TYPE): Likewise.
19654 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19655 (__SWBLK_T_TYPE): Likewise.
19657 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
19658 Honza Horak <hhorak@redhat.com>
19660 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
19661 (xdr_mapname): Use YPMAXMAP as maxsize.
19662 (xdr_peername): Use YPMAXPEER as maxsize.
19663 (xdr_keydat): Use YPAXRECORD as maxsize.
19664 (xdr_valdat): Use YPMAXRECORD as maxsize.
19666 2012-10-01 Roland McGrath <roland@hack.frob.com>
19668 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
19670 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
19671 * csu/init-first.c: ... here.
19672 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
19673 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19674 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19675 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19676 * sysdeps/i386/init-first.c: File removed.
19677 * sysdeps/sh/init-first.c: File removed.
19679 2012-10-01 Joseph Myers <joseph@codesourcery.com>
19682 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
19683 if x * y might underflow to zero and z is zero.
19684 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19685 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19686 * math/libm-test.inc (min_subnorm_value): New variable.
19687 (fma_test): Add more tests.
19688 (fma_test_towardzero): Likewise.
19689 (fma_test_downward): Likewise
19690 (fma_test_upward): Likewise.
19691 (initialize): Set min_subnorm_value.
19693 2012-09-29 Joseph Myers <joseph@codesourcery.com>
19696 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
19698 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
19699 mode for addition resulting in exact zero.
19700 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
19701 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
19703 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19704 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19705 * math/libm-test.inc (fma_test): Add more tests.
19706 (fma_test_towardzero): New function.
19707 (fma_test_downward): Likewise.
19708 (fma_test_upward): Likewise.
19709 (main): Call the new functions.
19711 2012-09-28 David S. Miller <davem@davemloft.net>
19713 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
19715 2012-09-28 Roland McGrath <roland@hack.frob.com>
19717 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19718 instead of SIGALRM.
19720 * sysdeps/gnu/_G_config.h: Moved to ...
19721 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
19722 * sysdeps/mach/hurd/_G_config.h: Moved to ...
19723 * sysdeps/generic/_G_config.h: ... here.
19725 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
19727 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19729 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19730 Conditionalize target on [libnss_test1.so-version].
19732 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19734 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19735 (elfobjdir): Move out of conditionals.
19737 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19738 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19739 (__nss_lookup_function): Conditionalize label remove_from_tree on
19740 [!DO_STATIC_NSS || SHARED], matching its only use.
19742 2012-09-28 David S. Miller <davem@davemloft.net>
19744 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19745 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19747 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19749 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19750 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19751 when HWCAP_SPARC_CRYPTO is present.
19753 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19755 * io/tst-mknodat.c: Create a FIFO instead of a socket.
19757 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
19760 * stdio-common/vfprintf.c (process_string_arg): Revert
19763 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
19765 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19767 * stdio-common/tst-sprintf.c: Include <locale.h>
19768 (main): Test sprintf's handling of incomplete multibyte
19771 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
19773 * elf/dl-runtime.c (VERSYMIDX): Removed.
19774 * elf/dl-version.c (VERSYMIDX): Likewise.
19775 * elf/do-rel.h (VERSYMIDX): Likewise.
19776 (VALIDX): Likewise.
19777 * elf/dynamic-link.h (VERSYMIDX): Likewise.
19778 * elf/rtld.c (VALIDX): Likewise.
19779 (ADDRIDX): Likewise.
19780 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19781 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19782 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
19783 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19784 (VALIDX): Likewise.
19785 (ADDRIDX): Likewise.
19787 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19789 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19791 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
19794 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19796 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19797 addresses are in the same scope as 192.0.2/24.
19798 * posix/gai.conf: Document new scope table defaults.
19800 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19803 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19804 for ftell. Compute offsets from write pointers instead.
19805 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19807 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19810 * libio/Makefile (tests): New test case tst-fseek.
19811 * libio/tst-fseek.c: New test case to verify that fseek/ftell
19812 combination works in wide mode.
19813 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19814 state when the external buffer state changes.
19816 2012-09-27 David S. Miller <davem@davemloft.net>
19819 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19820 pass reloc->r_addend in as the 'high' argument to
19821 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19825 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19827 * rt/tst-aio2.c: Include <pthread.h>.
19828 * rt/tst-aio3.c: Likewise.
19830 2012-09-27 Steve Ellcey <sellcey@mips.com>
19832 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19834 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
19836 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19837 contents on [SHARED].
19839 2012-09-26 Marek Polacek <polacek@redhat.com>
19843 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19844 for C++ and GCC <4.3 as well as for non GCC compilers.
19846 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19848 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19850 2012-09-25 Roland McGrath <roland@hack.frob.com>
19852 * Makefile.in (all, install): Declare with .PHONY.
19853 Reported by Michael Hope <michael.hope@linaro.org>.
19855 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19857 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19858 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19860 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19862 (sydep_routines): Add the new and the internal functions.
19863 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19864 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19866 (GLIBC_2.17): Add the new function.
19867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19868 (GLIBC_2.17): Likewise.
19869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19870 (GLIBC_2.17): Likewise.
19871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19872 (GLIBC_2.17): Likewise.
19873 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19875 2012-09-25 Alan Modra <amodra@gmail.com>
19877 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19878 Add release barrier before setting once_control to say
19879 initialisation is done. Add hints on lwarx. Use macro in
19881 (clear_once_control): Add release barrier.
19883 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19886 * math/s_clog.c (__clog): Handle more values close to |z| = 1
19888 * math/s_clog10.c (__clog10): Likewise.
19889 * math/s_clog10f.c (__clog10f): Likewise.
19890 * math/s_clog10l.c (__clog10l): Likewise.
19891 * math/s_clogf.c (__clogf): Likewise.
19892 * math/s_clogl.c (__clogl): Likewise.
19893 * math/Makefile (libm-calls): Add x2y2m1.
19894 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19895 (__x2y2m1): Likewise.
19896 (__x2y2m1l): Likewise.
19897 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19898 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19899 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19900 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19901 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19902 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19903 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19904 * sysdeps/i386/fpu/libm-test-ulps: Update.
19905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19908 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19909 int as type of variable DEPTH.
19910 (glob): Use size_t instead of int as type of variables NEWCOUNT
19913 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19915 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19916 Add s_sincosf-sse2.
19917 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19918 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19919 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19920 macros for using routine as __sincosf_ia32.
19921 Use macro for function declaration and weak_alias.
19922 * sysdeps/i386/fpu/libm-test-ulps: Update.
19924 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19925 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19927 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19928 subnormal argument.
19929 * math/s_cexpf.c (__cexpf): Likewise.
19930 * math/s_csinf.c (__csinf): Likewise.
19931 * math/s_csinhf.c (__csinhf): Likewise.
19932 * math/s_ctanf.c (__ctanf): Likewise.
19933 * math/s_ctanhf.c (__ctanhf): Likewise.
19934 * math/s_ccosh.c (__ccoshf): Likewise.
19935 * math/s_cexp.c (__cexpl): Likewise.
19936 * math/s_csin.c (__csin): Likewise.
19937 * math/s_csinh.c (__csinh): Likewise.
19938 * math/s_ctan.c (__ctan): Likewise.
19939 * math/s_ctanh.c (ctanh): Likewise.
19940 * math/s_ccoshl.c (__ccoshl): Likewise.
19941 * math/s_cexpl.c (__cexpl): Likewise.
19942 * math/s_csinl.c (__csinl): Likewise.
19943 * math/s_csinhl.c (__csinhl): Likewise.
19944 * math/s_ctanl.c (__ctanl): Likewise.
19945 * math/s_ctanhl.c (__ctanhl): Likewise.
19947 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19949 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19950 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19951 (_IO_off_t): Define to __off_t, not _G_off_t.
19952 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19953 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19954 (_IO_wint_t): Define to wint_t, not _G_wint_t.
19955 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19956 type of __dummy and __dummy2 fields.
19957 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19958 (_G_ssize_t): Likewise.
19959 (_G_off_t): Likewise.
19960 (_G_pid_t): Likewise.
19961 (_G_uid_t): Likewise.
19962 (_G_wchar_t): Likewise.
19963 (_G_wint_t): Likewise.
19964 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19965 (_G_ssize_t): Likewise.
19966 (_G_off_t): Likewise.
19967 (_G_pid_t): Likewise.
19968 (_G_uid_t): Likewise.
19969 (_G_wchar_t): Likewise.
19970 (_G_wint_t): Likewise.
19971 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19972 (_G_ssize_t): Likewise.
19973 (_G_off_t): Likewise.
19974 (_G_pid_t): Likewise.
19975 (_G_uid_t): Likewise.
19976 (_G_wchar_t): Likewise.
19977 (_G_wint_t): Likewise.
19979 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19981 * malloc/arena.c: Include malloc-sysdep.h.
19982 (shrink_heap): Use check_may_shrink_heap to decide if madvise
19983 is sufficient to shrink the heap or an unmap is needed.
19984 * sysdeps/generic/malloc-sysdep.h: New file. Define
19985 new function check_may_shrink_heap.
19986 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
19987 new function check_may_shrink_heap.
19989 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19991 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19994 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
19996 * catgets/test-gencat.sh: Add "set -e".
19997 * elf/tst-pathopt.sh: Likewise.
19998 * grp/tst_fgetgrent.sh: Likewise.
19999 * iconvdata/run-iconv-test.sh: Likewise.
20000 * intl/tst-gettext.sh: Likewise.
20001 * intl/tst-gettext2.sh: Likewise.
20002 * intl/tst-gettext4.sh: Likewise.
20003 * intl/tst-gettext6.sh: Likewise.
20004 * intl/tst-translit.sh: Likewise.
20005 * io/ftwtest-sh: Likewise.
20006 * libio/test-freopen.sh: Likewise.
20007 * malloc/tst-mtrace.sh: Likewise.
20008 * posix/globtest.sh: Likewise.
20009 * posix/tst-getconf.sh: Likewise.
20010 * posix/wordexp-tst.sh: Likewise.
20011 * stdio-common/tst-printf.sh: Likewise.
20012 * stdio-common/tst-unbputc.sh: Likewise.
20013 * stdlib/tst-fmtmsg.sh: Likewise.
20014 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20015 * catgets/Makefile: Do not specify -e option when running
20016 testsuite shell scripts.
20017 * elf/Makefile: Likewise.
20018 * grp/Makefile: Likewise.
20019 * iconvdata/Makefile: Likewise.
20020 * intl/Makefile: Likewise.
20021 * io/Makefile: Likewise.
20022 * libio/Makefile: Likewise.
20023 * malloc/Makefile: Likewise.
20024 * posix/Makefile: Likewise.
20025 * stdio-common/Makefile: Likewise.
20026 * stdlib/Makefile: Likewise.
20027 * sysdeps/x86_64/Makefile: Likewise.
20029 * io/ftwtest-sh: Add copyright header.
20030 * posix/globtest.sh: Likewise.
20031 * posix/tst-getconf.sh: Likewise.
20032 * posix/wordexp-tst.sh: Likewise.
20033 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20035 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
20038 * Makeconfig (+link): Defined as $(+link-static) if
20039 $(build-shared) isn't yes.
20040 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20042 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20044 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20047 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20048 new chunk size with MALLOC_ALIGN_MASK.
20050 2012-09-24 Joseph Myers <joseph@codesourcery.com>
20053 * stdio-common/printf_fphex.c: Include <stdbool.h> and
20055 (__printf_fphex): Determine rounding using get_rounding_mode and
20057 * stdio-common/tst-printf-round.c (struct hex_test): New
20059 (hex_tests): New variable.
20060 (test_hex_in_one_mode): New function.
20061 (do_test): Also run tests for hex float output.
20063 2012-09-21 Joseph Myers <joseph@codesourcery.com>
20065 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20066 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20067 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
20068 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20069 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20070 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
20071 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20072 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20074 2012-09-20 Joseph Myers <joseph@codesourcery.com>
20076 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
20077 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
20078 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
20079 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
20081 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
20084 * elf/rtld.c (dl_main): Limit the check for self loading to normal
20086 * elf/tst-rtld-load-self.sh: New test.
20087 * elf/Makefile: Run it.
20089 2012-09-18 Joseph Myers <joseph@codesourcery.com>
20091 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
20092 (tst-writev-ENV): Remove.
20093 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
20095 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
20097 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
20099 2012-09-17 Joseph Myers <joseph@codesourcery.com>
20101 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
20103 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
20105 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
20106 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
20107 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
20110 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
20113 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
20114 * config.make.in (have-cpp-asm-debuginfo): Removed.
20115 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
20116 * configure: Regenerated.
20118 2012-09-14 Joseph Myers <joseph@codesourcery.com>
20121 * stdio-common/printf_fp.c: Include <stdbool.h> and
20123 (___printf_fp): Determine rounding using get_rounding_mode and
20125 * stdio-common/tst-printf-round.c: New file.
20126 * stdio-common/Makefile (tests): Add tst-printf-round.
20127 (link-libm): New variable.
20128 ($(objpfx)tst-printf-round): Depend in $(link-libm).
20130 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
20133 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
20134 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
20136 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
20139 2012-09-13 Joseph Myers <joseph@codesourcery.com>
20141 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
20142 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20143 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20144 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20146 2012-09-12 Joseph Myers <joseph@codesourcery.com>
20149 * include/rounding-mode.h: New file.
20150 * sysdeps/generic/get-rounding-mode.h: Likewise.
20151 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
20152 * stdlib/strtod_l.c: Include <rounding-mode.h>.
20153 (MAX_VALUE): New macro.
20154 (MIN_VALUE): Likewise.
20155 (overflow_value): New function.
20156 (underflow_value): Likewise.
20157 (round_and_return): Use overflow_value and underflow_value to
20158 determine return values in overflow and underflow cases. Use
20159 round_away to determine rounding depending on rounding mode.
20160 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
20161 determine return values in overflow and underflow cases.
20162 * stdlib/tst-strtod-round.c: Include <fenv.h>.
20163 (struct test_results): New structure.
20164 (struct test): Use struct test_results to store expected results
20165 for all rounding modes.
20166 (TEST): Include expected results for all rounding modes.
20167 (test_in_one_mode): New function.
20168 (do_test): Use test_in_one_mode to compute and check results.
20169 Check results for all rounding modes.
20170 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
20173 2012-12-09 Allan McRae <allan@archlinux.org>
20175 * sysdeps/i386/fpu/libm-test-ulps: Update
20177 2012-09-11 Joseph Myers <joseph@codesourcery.com>
20179 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
20180 (_G_int32_t): Likewise.
20181 (_G_uint16_t): Likewise.
20182 (_G_uint32_t): Likewise.
20183 (_G_HAVE_BOOL): Likewise.
20184 (_G_HAVE_ATEXIT): Likewise.
20185 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20186 (_G_HAVE_IO_FILE_OPEN): Likewise.
20187 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
20188 (_G_int32_t): Likewise.
20189 (_G_uint16_t): Likewise.
20190 (_G_uint32_t): Likewise.
20191 (_G_HAVE_BOOL): Likewise.
20192 (_G_HAVE_ATEXIT): Likewise.
20193 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20194 (_G_HAVE_IO_FILE_OPEN): Likewise.
20195 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
20196 (_G_int32_t): Likewise.
20197 (_G_uint16_t): Likewise.
20198 (_G_uint32_t): Likewise.
20199 (_G_HAVE_BOOL): Likewise.
20200 (_G_HAVE_ATEXIT): Likewise.
20201 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20202 (_G_HAVE_IO_FILE_OPEN): Likewise.
20204 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
20206 * csu/libc-tls.c: Update copyright years.
20208 2012-09-10 Joseph Myers <joseph@codesourcery.com>
20210 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
20211 [!_G_USING_THUNKS]: Remove conditional code.
20212 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
20213 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
20215 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
20216 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
20217 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20218 (_G_VTABLE_LABEL_PREFIX): Likewise.
20219 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20220 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20221 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20222 (_G_VTABLE_LABEL_PREFIX): Likewise.
20223 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20224 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20225 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20226 (_G_VTABLE_LABEL_PREFIX): Likewise.
20227 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20229 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
20231 * libio/Makefile: Include ../Makeconfig before tests.
20232 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
20233 only if $(build-shared) is yes.
20235 * iconv/gconv_db.c: Update copyright years.
20237 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20239 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
20240 unwind info if defined PIC. Fix special cases description.
20241 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
20243 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
20245 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
20247 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
20249 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
20251 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
20254 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
20255 (LDLIBS-tst-chk4): This.
20256 (LDFLAGS-tst-chk5): Renamed to ...
20257 (LDLIBS-tst-chk5): This.
20258 (LDFLAGS-tst-chk6): Renamed to ...
20259 (LDLIBS-tst-chk6): This.
20260 (LDFLAGS-tst-lfschk4): Renamed to ...
20261 (LDLIBS-tst-lfschk4): This.
20262 (LDFLAGS-tst-lfschk5): Renamed to ...
20263 (LDLIBS-tst-lfschk5): This.
20264 (LDFLAGS-tst-lfschk6): Renamed to ...
20265 (LDLIBS-tst-lfschk6): This.
20267 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
20268 on $(common-objpfx)soversions.mk.
20270 2012-09-07 Joseph Myers <joseph@codesourcery.com>
20273 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
20276 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20278 * malloc/arena.c (arena_get_retry): New function that gets
20279 another arena for the caller to try its request on.
20280 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
20281 current arena cannot fulfill the request.
20282 (__libc_memalign): Likewise.
20283 (__libc_memalign): Likewise.
20284 (__libc_pvalloc): Likewise.
20285 (__libc_calloc): Likewise.
20287 2012-09-05 John Tobey <john.tobey@gmail.com>
20290 * manual/arith.texi (Operations on Complex): Fix description
20291 of carg branch cut.
20293 2012-09-06 Joseph Myers <joseph@codesourcery.com>
20296 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
20300 * manual/memory.texi (Memory): Make order of menu items match
20303 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20305 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
20306 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
20307 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
20309 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20311 * csu/libc-tls.c (static_dtv): Renamed to ...
20312 (_dl_static_dtv): This. Make it global.
20313 (_dl_initial_dtv): Removed.
20314 (__libc_setup_tls): Updated.
20315 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
20316 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
20319 2012-09-06 Petr Machata <pmachata@redhat.com>
20321 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
20322 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
20323 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
20324 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
20326 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20329 * csu/libc-tls.c (_dl_initial_dtv): New variable.
20330 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
20333 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20336 * Makeconfig (link-static-before-libc): Replace $(+prector)
20338 (link-static-after-libc): Replace $(+postctor) with
20340 (link-bounded): Replace $(+prector)/$(+postctor) with
20341 $(+prectorT)/$(+postctorT).
20342 (+prectorT): New macro.
20343 (+postctorT): Likewise.
20345 2012-09-06 Joseph Myers <joseph@codesourcery.com>
20347 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
20348 (round_str): Handle values above the maximum for IBM long double
20350 * stdlib/tst-strtod-round.c (tests): Regenerated.
20352 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20354 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
20356 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
20357 zarch_nohighgprs around the zarch optimized routines.
20358 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20359 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20360 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
20363 2012-09-05 David S. Miller <davem@davemloft.net>
20365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20367 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
20368 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
20369 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
20370 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20373 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20375 * malloc/arena.c: Fold copyright years.
20376 * malloc/mcheck.c, malloc/memusage.c: Likewise.
20378 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20380 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
20382 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20384 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
20386 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20388 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
20389 change internal state upon failure.
20391 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20393 * malloc/mcheck.c (mcheck_check_all): Fix typo.
20394 * malloc/memusage.c (mmap): Likewise.
20395 (mmap64, mremap): Likewise. Adjust name in comment.
20397 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20399 * libio/fileops.c: Fix typos in comments.
20400 * libio/oldfileops.c: Likewise.
20401 * libio/wfileops.c: Likewise.
20403 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20406 * malloc/Makefile (tests): Add tst-malloc-usable test case.
20407 (tst-malloc-usable-ENV): Set environment for test case.
20408 * malloc/hooks.c (malloc_check_get_size): New function to get
20410 * malloc/malloc.c (musable): Use malloc_check_get_size.
20411 * malloc/tst-malloc-usable.c: New test case.
20413 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20415 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
20417 2012-09-05 Allan McRae <allan@archlinux.org>
20420 * configure.in (CXX_SYSINCLUDES): Use compiler output to
20421 determine header location.
20422 * configure: Regenerated.
20424 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20426 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
20428 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
20429 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
20431 (test): Regenerate.
20433 2012-09-04 David S. Miller <davem@davemloft.net>
20435 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
20436 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
20437 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
20439 2012-09-04 Florian Weimer <fweimer@redhat.com>
20441 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
20444 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
20446 2012-09-04 Joseph Myers <joseph@codesourcery.com>
20449 * libio/iogetdelim.c: Include <limits.h>.
20450 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
20451 + len + 1 would overflow.
20453 2012-09-03 Andreas Jaeger <aj@suse.de>
20455 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20456 * sysdeps/i386/fpu/libm-test-ulps: Update.
20458 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20460 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20461 Add s_sinf-sse2, s_conf-sse2.
20463 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
20464 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
20465 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
20466 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
20468 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
20469 for using routine as __sinf_ia32.
20470 Use macro for function declaration and weak_alias.
20471 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
20472 for using routine as __cosf_ia32.
20473 Use macro for function declaration and weak_alias.
20475 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
20476 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
20478 * sysdeps/x86_64/fpu/s_sinf.S: New file.
20479 * sysdeps/x86_64/fpu/s_cosf.S: New file.
20480 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20482 * math/libm-test.inc (cos_test): Add more test cases.
20483 (sin_test): Likewise.
20484 (sincos_test): Likewise.
20486 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20488 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20489 (IFUNC_RESOLVE): Make pointers to the specialized implementations
20491 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20493 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
20496 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
20497 first element of the GOT.
20498 (elf_machine_load_address): Return the difference between
20499 the runtime address of _DYNAMIC and elf_machine_dynamic ().
20501 2012-09-01 Allan McRae <allan@archlinux.org>
20504 * configure.in (AWK): Require gawk version 3.0 or later.
20505 * configure: Regenerated.
20507 2012-09-01 Joseph Myers <joseph@codesourcery.com>
20509 * sysdeps/unix/sysv/linux/kernel-features.h
20510 (__ASSUME_POSIX_CPU_TIMERS): Remove.
20511 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20512 [__NR_clock_getres]: Make code unconditional.
20513 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
20514 (clock_getcpuclockid): Remove code left unreachable by removal of
20516 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
20517 code unconditional.
20518 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20519 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20520 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
20521 Make code unconditional.
20522 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20523 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20524 * sysdeps/unix/sysv/linux/clock_settime.c
20525 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
20527 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
20528 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20530 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
20533 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
20534 scripts/test-installation.pl.
20536 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
20537 and $ld_so_version if it is set.
20539 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20542 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
20543 failure if reading from procfs failed.
20544 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
20546 2012-08-27 Joseph Myers <joseph@codesourcery.com>
20548 * sysdeps/unix/sysv/linux/kernel-features.h
20549 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
20550 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20551 Remove conditional code.
20552 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20553 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
20554 Remove conditional code.
20555 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20556 * sysdeps/unix/sysv/linux/i386/fxstat.c
20557 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20558 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20559 * sysdeps/unix/sysv/linux/i386/fxstatat.c
20560 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20561 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20562 * sysdeps/unix/sysv/linux/i386/lxstat.c
20563 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20564 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20565 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
20566 Remove conditional code.
20567 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20568 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20569 Remove conditional code.
20570 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20571 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
20572 <kernel-features.h>.
20573 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
20575 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
20576 Remove conditional code.
20577 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20578 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
20579 Remove conditional.
20581 2012-08-27 Mike Frysinger <vapier@gentoo.org>
20584 * NEWS: Add fixed bug number.
20586 2012-08-27 Joseph Myers <joseph@codesourcery.com>
20589 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
20590 underflowing exponent in case of negative sign.
20591 * stdlib/tst-strtod-round-data: Add more tests.
20592 * stdlib/tst-strtod-round.c (tests): Regenerated.
20595 * stdlib/strtod_l.c (NDIG): Remove.
20596 (HEXNDIG): Likewise.
20597 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
20598 smallest representable value.
20599 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
20600 lie within an exact representation of 1/2 ulp of the result.
20601 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
20603 (TENS_P9_IDX): Define unconditionally.
20604 (TENS_P9_SIZE): Likewise.
20605 (TENS_P10_IDX): Likewise.
20606 (TENS_P10_SIZE): Likewise.
20607 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
20608 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
20609 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
20610 entries for 10^2^13 and 10^2^14.
20611 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
20612 (TENS_P13_IDX): Define.
20613 (TENS_P13_SIZE): Likewise.
20614 (TENS_P14_IDX): Likewise.
20615 (TENS_P14_SIZE): Likewise.
20616 (_fpioconst_pow10): Change array size to
20617 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
20619 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
20620 1024]: Add entries for 10^2^13 and 10^2^14.
20621 [LAST_POW10 > _LAST_POW10]: Remove #error.
20622 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
20623 (_fpioconst_pow10): Change array size to
20624 FPIOCONST_POW10_ARRAY_SIZE.
20625 * stdlib/gen-fpioconst.c: New file.
20626 * stdlib/gen-tst-strtod-round.c: Likewise.
20627 * stdlib/tst-strtod-round-data: Likewise.
20628 * stdlib/tst-strtod-round.c: Likewise.
20629 * stdlib/Makefile (tests): Add tst-strtod-round.
20632 * stdlib/strtod_l.c: Include <stdint.h>.
20633 (NDEBUG): Do not define.
20634 (round_and_return): Change EXPONENT parameter to type intmax_t.
20635 Rearrange calculations to avoid internal overflow possibilities.
20636 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
20637 Rearrange calculations to avoid internal overflow possibilities.
20638 Assert that number fits inside MPNSIZE limbs.
20639 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
20640 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
20641 calculations and add assertions to avoid internal overflow
20642 possibilities. Add casts to avoid signed/unsigned operations.
20643 * stdlib/tst-strtod-overflow.c: New file.
20644 * stdlib/Makefile (tests): Add tst-strtod-overflow.
20646 2012-08-25 Marek Polacek <polacek@redhat.com>
20648 * time/time.h: Fix some typos in comments.
20650 2012-08-23 Roland McGrath <roland@hack.frob.com>
20652 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
20653 * posix/tst-rfc3484-2.c: Likewise.
20654 * posix/tst-rfc3484-3.c: Likewise.
20656 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
20658 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
20659 (EF_ARM_ABI_FLOAT_HARD): Likewise.
20661 2012-08-23 Joseph Myers <joseph@codesourcery.com>
20663 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
20664 #include of fxstatat64.c.
20666 2012-08-22 Roland McGrath <roland@hack.frob.com>
20668 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
20669 * shadow/getspent_r.c: Likewise.
20670 * shadow/getspnam.c: Likewise.
20671 * shadow/getspnam_r.c: Likewise.
20672 * gshadow/getsgent.c: Likewise.
20673 * gshadow/getsgent_r.c: Likewise.
20674 * gshadow/getsgnam.c: Likewise.
20675 * gshadow/getsgnam_r.c: Likewise.
20676 * inet/getnetbyad.c: Likewise.
20677 * inet/getnetbyad_r.c: Likewise.
20678 * inet/getnetbynm.c: Likewise.
20679 * inet/getnetbynm_r.c: Likewise.
20680 * inet/getnetent.c: Likewise.
20681 * inet/getnetent_r.c: Likewise.
20682 * inet/getproto.c: Likewise.
20683 * inet/getproto_r.c: Likewise.
20684 * inet/getprtent.c: Likewise.
20685 * inet/getprtent_r.c: Likewise.
20686 * inet/getprtname.c: Likewise.
20687 * inet/getprtname_r.c: Likewise.
20688 * inet/getrpcbyname.c: Likewise.
20689 * inet/getrpcbyname_r.c: Likewise.
20690 * inet/getrpcbynumber.c: Likewise.
20691 * inet/getrpcbynumber_r.c: Likewise.
20692 * inet/getrpcent.c: Likewise.
20693 * inet/getrpcent_r.c: Likewise.
20694 * inet/getaliasent.c: Likewise.
20695 * inet/getaliasent_r.c: Likewise.
20696 * inet/getaliasname.c: Likewise.
20697 * inet/getaliasname_r.c: Likewise.
20698 * nscd/getgrgid_r.c: Likewise.
20699 * nscd/getgrnam_r.c: Likewise.
20700 * nscd/gethstbyad_r.c: Likewise.
20701 * nscd/gethstbynm3_r.c: Likewise.
20702 * nscd/getpwnam_r.c: Likewise.
20703 * nscd/getpwuid_r.c: Likewise.
20704 * nscd/getsrvbynm_r.c: Likewise.
20705 * nscd/getsrvbypt_r.c: Likewise.
20706 * nscd/gai.c: Likewise.
20708 * configure.in (build_nscd): New substituted variable, set
20709 by --disable-build-nscd and defaults to $use_nscd.
20710 * configure: Regenerated.
20711 * config.make.in (build-nscd): New substituted variable.
20712 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
20713 Change conditional to require [$(build-nscd) = yes] as well.
20714 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
20717 * configure.in (use_nscd): New substituted variable, set by
20718 --disable-nscd. If enabled, define USE_NSCD.
20719 * configure: Regenerated.
20720 * config.h.in: Add USE_NSCD.
20721 * config.make.in (use-nscd): New substituted variable.
20722 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20723 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20724 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20725 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20726 (CFLAGS-getgrnam_r.c): Likewise.
20727 (CFLAGS-initgroups.c): Likewise.
20728 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20729 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20731 * inet/getnetgrent_r.c
20732 (nscd_setnetgrent): New function, broken out of ...
20733 (setnetgrent): ... here. Call it.
20734 (innetgr): Conditionalize nscd bits on [USE_NSCD].
20735 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20736 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20737 * nscd/Makefile (routines, aux): Move definitions after include of
20738 Makeconfig. Conditionalize on [$(use-nscd) != no].
20739 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20740 Conditionalize on [USE_NSCD].
20741 (is_nscd, nscd_init_cb): Likewise.
20742 (nss_load_library): Conditionalize init callback on [USE_NSCD].
20743 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20744 * nss/nss_db/db-init.c: Likewise.
20745 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20747 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20748 (make_request): Use it.
20749 (cache_valid_p): New function.
20750 (__check_pf): Use it.
20751 * NEWS: Add item for --disable-nscd.
20753 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
20755 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20756 to support sed >= 4.2.1-20-ga9bf076.
20757 * configure: Regenerated.
20759 2012-08-22 Roland McGrath <roland@hack.frob.com>
20761 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20762 Conditionalize whole body on [IREL].
20764 2012-08-22 Jeff Law <law@redhat.com>
20767 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20768 if the family is PF_UNSPEC.
20770 2012-08-22 Mike Frysinger <vapier@gentoo.org>
20772 * Makerules (lib-version): Rename from V.
20773 (install-lib-nosubdir): Change V to lib-version.
20775 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
20778 * powerpc32/power6/wcschr.c: New file.
20779 * powerpc32/power6/wcscpy.c: New file.
20780 * powerpc32/power6/wcsrchr.c: New file.
20781 * powerpc64/power6/wcschr.c: New file.
20782 * powerpc64/power6/wcscpy.c: New file.
20783 * powerpc64/power6/wcsrchr.c: New file.
20785 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20787 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20788 (two_way_short_needle): Use it.
20789 * string/strstr.c (AVAILABLE1_USES_J): Define.
20790 * string/strcasestr.c: Likewise.
20792 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20794 * string/strcasestr.c (TOLOWER): Make side-effect safe.
20797 * NEWS: Add an entry.
20798 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20799 define their defaults.
20800 (two_way_short_needle): Detect end-of-string on-the-fly.
20801 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20802 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20803 * string/bug-strcasestr1.c: New test.
20804 * string/Makefile: Run it.
20806 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20809 * string/str-two-way.h (two_way_short_needle): Optimize matching of
20810 the first character.
20812 2012-08-21 Roland McGrath <roland@hack.frob.com>
20814 * csu/elf-init.c (__libc_csu_irel): Function removed.
20815 * csu/libc-start.c (apply_irel): New function.
20816 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20818 2012-08-21 Joseph Myers <joseph@codesourcery.com>
20820 * sysdeps/unix/sysv/linux/kernel-features.h
20821 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20822 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20823 <kernel-features.h>.
20824 [__NR_fadvise64_64]: Make code unconditional.
20825 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20826 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20827 !__NR_fadvise64_64)]: Likewise.
20828 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20829 !__NR_fadvise64_64))]: Likewise.
20830 [__NR_fadvise64]: Make code unconditional.
20831 [!__NR_fadvise64]: Remove conditional code.
20832 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20833 <kernel-features.h>.
20834 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20836 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20839 not include <kernel-features.h>.
20840 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20842 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20844 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20845 include <kernel-features.h>.
20846 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20848 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20851 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20853 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20854 slight instruction rearrangements per scrollpipe analysis.
20855 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20857 2012-08-20 Roland McGrath <roland@hack.frob.com>
20859 * manual/syslog.texi (syslog; vsyslog, closelog):
20860 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20861 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20863 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20864 DSOCAPS to match condition on defining it.
20866 2012-08-20 Joseph Myers <joseph@codesourcery.com>
20868 * sysdeps/unix/sysv/linux/kernel-features.h
20869 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20871 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20872 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20874 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20875 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20877 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20878 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20880 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20881 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20883 * sysdeps/unix/sysv/linux/kernel-features.h
20884 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20885 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20887 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20888 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20889 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20890 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20891 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20892 Make code unconditional.
20893 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20894 (__mmap64) [!__NR_mmap2]: Likewise.
20895 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20896 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20897 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20898 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20899 [__NR_mmap2]: Make code unconditional.
20900 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20901 (__mmap64) [!__NR_mmap2]: Likewise.
20903 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20905 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20907 2012-08-18 Andreas Jaeger <aj@suse.de>
20909 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20911 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20913 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20914 * include/unistd.h (__have_sock_cloexec): Likewise.
20915 (__have_pipe2): Likewise.
20916 (__have_dup3): Likewise.
20918 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20921 * include/unistd.h (__have_pipe2): Change define into an extern int.
20922 (__have_dup3): Likewise.
20923 * socket/have_sock_cloexec.c: Include fcntl.h.
20924 (__have_pipe2): New variable.
20925 (__have_dup3): Likewise.
20927 2012-08-17 Mike Frysinger <vapier@gentoo.org>
20929 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20931 2012-08-17 Marek Polacek <polacek@redhat.com>
20933 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20934 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20936 2012-08-17 Roland McGrath <roland@hack.frob.com>
20938 * configure.in: Add AC_SUBST for sysheaders.
20939 * configure: Regenerated.
20940 * config.make.in (sysheaders): New substituted variable.
20942 * sysdeps/unix/mkfifo.c: Moved ...
20943 * sysdeps/posix/mkfifo.c: ... here.
20944 * sysdeps/unix/mkfifoat.c: Moved ...
20945 * sysdeps/posix/mkfifoat.c: ... here.
20947 * sysdeps/unix/utime.c: Moved ...
20948 * sysdeps/posix/utime.c: ... here.
20950 * sysdeps/unix/time.c: Moved ...
20951 * sysdeps/posix/time.c: ... here.
20952 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20953 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
20955 * sysdeps/unix/nice.c: Moved ...
20956 * sysdeps/posix/nice.c: ... here.
20958 * sysdeps/unix/alarm.c: Moved ...
20959 * sysdeps/posix/alarm.c: ... here.
20961 * intl/Makefile ($(codeset_mo)): Depend on the input file.
20963 2012-08-17 Jeff Law <law@redhat.com>
20965 * intl/Makefile (codeset_mo): New variable.
20966 ($(codeset_mo)): New target.
20967 (tst-codeset.out): Depend on that. Remove explicit rule.
20968 (tst-gettext3.out, tst-gettext5.out): Likewise.
20969 (LOCPATH-ENV, tst-codeset-ENV): New variables.
20970 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20971 * intl/tst-codeset.sh: Remove.
20972 * intl/tst-gettext3.sh: Likewise.
20973 * intl/tst-gettext5.sh: Likewise.
20975 2012-08-17 Roland McGrath <roland@hack.frob.com>
20977 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
20978 * sysdeps/unix/syscalls.list: ... here.
20980 * sysdeps/posix/getaddrinfo.c
20981 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20982 (gaiconf_init, gaiconf_reload): Use them.
20983 [!_STATBUF_ST_NSEC]
20984 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20985 Define using time_t rather than struct timespec.
20987 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20988 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20990 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20992 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20993 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20996 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20997 __libc_cleanup_push argument.
20999 * bits/param.h: New file.
21000 * misc/sys/param.h: New file.
21001 * include/sys/param.h: New file.
21002 * misc/Makefile (headers): Add bits/param.h.
21003 * sysdeps/generic/sys/param.h: File removed.
21004 * sysdeps/unix/sysv/linux/bits/param.h: New file.
21005 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
21006 * sysdeps/mach/hurd/bits/param.h: New file.
21007 * sysdeps/mach/hurd/sys/param.h: File removed.
21009 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21012 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21014 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21015 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21018 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
21019 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
21020 rather than -D_IO_MTSAFE_IO conditionally.
21021 * stdio-common/Makefile (CPPFLAGS): Likewise.
21022 * wcsmbs/Makefile (CPPFLAGS): Likewise.
21023 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21024 Use $(libio-mtsafe).
21025 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21026 of -D_IO_MTSAFE_IO.
21027 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21028 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21029 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21030 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21031 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21032 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21033 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21034 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21035 (CFLAGS-fread_u_chk.c): Likewise.
21036 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21037 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21038 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21039 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21040 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21041 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21042 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21043 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21044 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21046 * libio/Makefile: Test [$(libc-reentrant) = yes]
21047 instead of [$(filter %REENTRANT, $(defines)) nonempty].
21050 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
21051 * sysdeps/pthread/configure: File removed.
21052 * sysdeps/pthread/Makeconfig: New file.
21053 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
21054 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
21056 2012-08-16 Gary Benson <gbenson@redhat.com>
21058 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21059 unmapping the first object in a namespace.
21061 2012-08-16 Roland McGrath <roland@hack.frob.com>
21063 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
21064 (__internal_setnetgrent): ... this. Add internal_function to
21065 definition. Add libc_hidden_def.
21066 (setnetgrent): Update caller.
21067 (internal_endnetgrent): Renamed to ...
21068 (__internal_endnetgrent): ... this. Add internal_function to
21069 definition. Add libc_hidden_def.
21070 (endnetgrent): Update caller.
21071 (internal_getnetgrent_r): Renamed to ...
21072 (__internal_getnetgrent_r): ... this. Add internal_function to
21073 definition. Add libc_hidden_def.
21074 (__getnetgrent_r): Update caller.
21075 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
21077 2012-08-16 Joseph Myers <joseph@codesourcery.com>
21079 * stdlib/longlong.h: Update from GCC.
21081 2012-08-16 Roland McGrath <roland@hack.frob.com>
21083 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
21084 on _QL, which is set by umul_ppmm but never used.
21085 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
21086 variables, which are set by GMP macros but never used.
21087 * stdio-common/_itowa.c (_itowa): Likewise.
21088 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
21089 * stdlib/mod_1.c (mpn_mod_1): Likewise.
21091 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
21093 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
21094 struct La_sh_regs is not constant.
21095 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
21096 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
21097 and struct La_sparc64_regs are not constant.
21099 2012-08-16 Joseph Myers <joseph@codesourcery.com>
21101 * sysdeps/unix/sysv/linux/kernel-features.h
21102 (__ASSUME_POSIX_TIMERS): Remove.
21103 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21104 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21105 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
21106 Make code unconditional.
21107 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21108 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
21109 Make code unconditional.
21110 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21111 * sysdeps/unix/sysv/linux/clock_nanosleep.c
21112 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
21113 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21114 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
21115 Make code unconditional.
21116 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21117 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
21118 (__libc_missing_posix_timers): Remove.
21120 2012-08-15 Roland McGrath <roland@hack.frob.com>
21122 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
21123 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
21125 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
21127 * elf/dl-sym.c: Include <stdlib.h>.
21129 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
21130 constants, which avoids warnings in 32-bit builds.
21132 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
21133 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
21135 * misc/lseek.c: File moved to ...
21136 * io/lseek.c: ... here.
21138 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
21140 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
21141 shifting LEN more than 31 bits at once.
21143 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21146 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
21147 segmentation fault for a case of two empty input strings.
21148 * string/test-strncasecmp.c (check1): Renamed to...
21149 (bz12205): ...this.
21150 (bz14195): Add new testcase for two empty input strings and N > 0.
21151 (test_main): Call new testcase, adapt for renamed function.
21153 2012-08-15 Andreas Jaeger <aj@suse.de>
21156 * crypt/md5test2.c: New test, based on test supplied by Serge
21157 Belyshev <belyshev@depni.sinp.msu.ru>.
21158 * crypt/Makefile (xtests): Add md5test-giant..
21159 * crypt/Makefile ($(objpfx)md5test-giant): Add.
21161 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
21164 * crypt/md5.c (md5_process_block): Don't assume the buffer
21165 length is less than 2**32.
21166 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
21167 length is less than 2**64.
21169 2012-08-15 Roland McGrath <roland@hack.frob.com>
21171 * string/str-two-way.h: Include <sys/param.h>.
21172 (MAX): Macro removed.
21174 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
21175 Move #define and #undef of memmove to just before and after
21176 including <string.h>.
21178 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
21179 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
21180 and after including <string.h>. Move declarations of
21181 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
21182 to before #include "string/memmove.c".
21184 * include/dirent.h: Declare __getdirentries.
21186 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
21187 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
21189 2012-08-14 Mike Frysinger <vapier@gentoo.org>
21191 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
21192 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
21193 * sysdeps/i386/configure: Regenerated.
21194 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
21195 STABS_CURRENT_FILE, and STABS_FUN.
21196 (END): Remove call to STABS_FUN_END.
21197 (STABS_CURRENT_FILE1): Delete.
21198 (STABS_CURRENT_FILE): Likewise.
21199 (STABS_FUN): Likewise.
21200 (STABS_FUN_END): Likewise.
21201 (STABS_FUN2): Likewise.
21202 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
21203 * sysdeps/x86_64/configure: Regenerated.
21205 2012-08-14 Roland McGrath <roland@hack.frob.com>
21207 * elf/dl-open.c: Include <atomic.h>.
21208 * elf/dl-lookup.c: Likewise.
21210 2012-08-14 Joseph Myers <joseph@codesourcery.com>
21212 * sysdeps/unix/sysv/linux/kernel-features.h
21213 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
21214 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
21216 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
21218 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
21219 condition on __ASSUME_CLONE_THREAD_FLAGS.
21221 2012-08-14 Andreas Jaeger <aj@suse.de>
21223 * sysdeps/i386/fpu/libm-test-ulps: Update.
21225 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
21227 * include/atomic.h (atomic_exchange_and_add): Split into ...
21228 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
21231 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
21233 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21235 2012-08-13 Jeff Law <law@redhat.com>
21237 * manual/stdio.texi (snprintf): Clarify handling of the trailing
21238 null byte in the output string.
21240 2012-08-10 Joseph Myers <joseph@codesourcery.com>
21242 * sysdeps/unix/sysv/linux/kernel-features.h
21243 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
21244 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
21245 (__ASSUME_ARG_MAX_STACK_BASED): Define.
21246 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21247 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
21248 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
21249 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
21251 2012-08-09 Jeff Law <law@redhat.com>
21254 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
21255 When avoid_arena is set, don't retry in the that arena. Pick the
21256 next one, whatever it might be.
21257 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
21258 (arena_lock): Pass in new parameter to arena_get2.
21259 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
21261 (__libc_malloc): Unify retrying after main arena failure with
21262 __libc_memalign version.
21263 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
21265 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
21268 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
21269 to __redirect_strstr.
21270 (__strstr_sse42): Use typeof __redirect_strstr.
21271 (__strstr_ia32): Likewise.
21272 (__libc_strstr): New prototype.
21273 (strstr): Renamed to ...
21274 (__libc_strstr): This.
21275 (strstr): New strong alias of __libc_strstr.
21276 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21277 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
21280 (__libc_time): New prototype.
21281 (time_ifunc): Replace time with __libc_time.
21282 (time): New strong alias and hidden definition of __libc_time.
21283 (__GI_time): Remove strong alias.
21284 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
21285 Include <stddef.h>.
21286 (memmove): Redefined to __redirect_memmove.
21287 (__memmove_sse2): Use typeof __redirect_memmove.
21288 (__memmove_ssse3): Likewise.
21289 (__memmove_ssse3_back): Likewise.
21290 (__libc_memmove): New prototype.
21291 (memmove): Renamed to ...
21292 (__libc_memmove): This.
21293 (memmove): New strong alias of __libc_memmove.
21295 2012-08-08 Mark Salter <msalter@redhat.com>
21298 (R_MN10300_TLS_GD): Define.
21299 (R_MN10300_TLS_LD): Likewise.
21300 (R_MN10300_TLS_LDO): Likewise.
21301 (R_MN10300_TLS_GOTIE): Likewise.
21302 (R_MN10300_TLS_IE): Likewise.
21303 (R_MN10300_TLS_LE): Likewise.
21304 (R_MN10300_TLS_DTPMOD): Likewise.
21305 (R_MN10300_TLS_DTPOFF): Likewise.
21306 (R_MN10300_TLS_TPOFF): Likewise.
21307 (R_MN10300_SYM_DIFF): Likewise.
21308 (R_MN10300_ALIGN): Likewise.
21309 (R_MN10300_NUM): Update.
21311 2012-08-08 Joseph Myers <joseph@codesourcery.com>
21313 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
21316 2012-08-08 Roland McGrath <roland@hack.frob.com>
21318 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
21320 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
21321 sysdeps/unix -> sysdeps/posix move.
21322 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21324 2012-08-07 Allan McRae <allan@archlinux.org>
21327 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
21328 (SUNOS_CPP): Likewise.
21329 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
21331 (open_input): Call CPP using execvp.
21333 2012-08-07 Joseph Myers <joseph@codesourcery.com>
21335 * sysdeps/unix/sysv/linux/kernel-features.h
21336 (__ASSUME_PROT_GROWSUPDOWN): Remove.
21337 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21338 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21339 (__ASSUME_WAITID_SYSCALL): Likewise.
21340 * sysdeps/unix/sysv/linux/dl-execstack.c
21341 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
21342 code unconditional.
21343 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
21345 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
21346 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
21347 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
21349 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
21351 [__ASSUME_WAITID_SYSCALL]: Likewise.
21352 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
21354 2012-08-07 Roland McGrath <roland@hack.frob.com>
21356 * sysdeps/unix/closedir.c: Renamed to ...
21357 * sysdeps/posix/closedir.c: ... here.
21358 * sysdeps/unix/dirfd.c: Renamed to ...
21359 * sysdeps/posix/dirfd.c: ... here.
21360 * sysdeps/unix/dirstream.h: Renamed to ...
21361 * sysdeps/posix/dirstream.h: ... here.
21362 * sysdeps/unix/fdopendir.c: Renamed to ...
21363 * sysdeps/posix/fdopendir.c: ... here.
21364 * sysdeps/unix/opendir.c: Renamed to ...
21365 * sysdeps/posix/opendir.c: ... here.
21366 * sysdeps/unix/readdir.c: Renamed to ...
21367 * sysdeps/posix/readdir.c: ... here.
21368 * sysdeps/unix/readdir_r.c: Renamed to ...
21369 * sysdeps/posix/readdir_r.c: ... here.
21370 * sysdeps/unix/rewinddir.c: Renamed to ...
21371 * sysdeps/posix/rewinddir.c: ... here.
21372 * sysdeps/unix/seekdir.c: Renamed to ...
21373 * sysdeps/posix/seekdir.c: ... here.
21374 * sysdeps/unix/telldir.c: Renamed to ...
21375 * sysdeps/posix/telldir.c: ... here.
21376 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
21377 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
21378 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
21379 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
21381 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
21382 * bits/fcntl.h: ... here.
21384 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
21386 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
21387 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
21388 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
21389 (struct flock): Move l_start, l_len to the beginning.
21390 Use __pid_t for l_pid.
21391 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
21392 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
21393 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
21394 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
21395 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
21396 [__USE_LARGEFILE64] (struct flock64): New type.
21397 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
21399 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
21400 * bits/dirent.h: ... here.
21402 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
21403 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
21405 2012-08-07 Joseph Myers <joseph@codesourcery.com>
21407 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21408 Change from 2.6.0 to 2.6.16.
21409 * sysdeps/unix/sysv/linux/configure: Regenerated.
21410 * sysdeps/unix/sysv/linux/kernel-features.h
21411 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
21412 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
21414 (__ASSUME_UTIMES): Likewise.
21415 (__ASSUME_CLONE_STOPPED): Remove.
21416 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
21417 architectures, not kernel version.
21418 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
21419 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21420 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21421 (__ASSUME_WAITID_SYSCALL): Likewise.
21422 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
21423 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
21424 * README: State 2.6.16 as minimum Linux kernel version. Do not
21425 refer to older versions.
21427 2012-08-06 Roland McGrath <roland@hack.frob.com>
21429 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
21430 Define alphasort64 as an alias.
21431 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
21432 Define versionsort64 as an alias.
21433 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
21434 Define scandir64 as an alias.
21435 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
21436 Define scandirat64 as an alias.
21437 * dirent/alphasort64.c (alphasort64):
21438 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
21439 * dirent/versionsort64.c: Likewise.
21440 * dirent/scandir64.c: Likewise.
21441 * dirent/scandirat64.c: Likewise.
21442 * sysdeps/wordsize-64/alphasort.c: File removed.
21443 * sysdeps/wordsize-64/alphasort64.c: File removed.
21444 * sysdeps/wordsize-64/scandir.c: File removed.
21445 * sysdeps/wordsize-64/scandir64.c: File removed.
21446 * sysdeps/wordsize-64/scandirat.c: File removed.
21447 * sysdeps/wordsize-64/scandirat64.c: File removed.
21448 * sysdeps/wordsize-64/versionsort.c: File removed.
21449 * sysdeps/wordsize-64/versionsort64.c: File removed.
21450 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
21451 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
21452 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
21453 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
21454 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
21455 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
21456 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
21457 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
21459 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
21460 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21461 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
21462 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21463 [defined __arch64__ || defined __sparcv9]
21464 (__INO_T_MATCHES_INO64_T): New macro.
21465 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21466 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
21467 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
21468 * sysdeps/unix/sysv/linux/bits/dirent.h
21469 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
21470 (_DIRENT_MATCHES_DIRENT64): New macro.
21472 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
21473 Define lockf64 as an alias.
21474 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
21475 Define fseeko64 as an alias.
21476 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
21477 Define ftello64 as an alias.
21478 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
21479 Define _IO_fgetpos64 and fgetpos64 as aliases.
21480 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
21481 Define _IO_fsetpos64 and fsetpos64 as aliases.
21482 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
21483 Conditionalize body on this.
21484 * libio/fseeko64.c: Likewise.
21485 * libio/ftello64.c: Likewise.
21486 * libio/iofgetpos64.c: Likewise.
21487 * libio/iofsetpos64.c: Likewise.
21488 * sysdeps/wordsize-64/lockf.c: File removed.
21489 * sysdeps/wordsize-64/lockf64.c: File removed.
21490 * sysdeps/wordsize-64/fseeko.c: File removed.
21491 * sysdeps/wordsize-64/fseeko64.c: File removed.
21492 * sysdeps/wordsize-64/ftello.c: File removed.
21493 * sysdeps/wordsize-64/ftello64.c: File removed.
21494 * sysdeps/wordsize-64/iofgetpos.c: File removed.
21495 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
21496 * sysdeps/wordsize-64/iofsetpos.c: File removed.
21497 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
21498 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
21499 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
21500 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
21501 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
21502 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
21503 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
21504 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
21505 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
21506 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
21507 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
21509 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21510 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21511 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
21512 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21513 [defined __arch64__ || defined __sparcv9]
21514 (__OFF_T_MATCHES_OFF64_T): New macro.
21515 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21516 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21517 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21518 (__OFF_T_MATCHES_OFF64_T): New macro.
21520 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
21522 * stdlib/secure-getenv.c (__secure_getenv): Replace
21523 GLIBC_2_16 with GLIBC_2_17.
21525 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
21527 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
21528 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21530 2012-08-03 David S. Miller <davem@davemloft.net>
21532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21534 2012-08-03 Joseph Myers <joseph@codesourcery.com>
21536 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
21538 (__ASSUME_CORRECT_SI_PID): Likewise.
21539 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
21540 (__ASSUME_TMPFS_NAME): Likewise.
21541 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
21542 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
21543 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
21544 (HAVE_AUX_SECURE): Make definition unconditional.
21545 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
21546 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
21548 2012-08-03 Roland McGrath <roland@hack.frob.com>
21550 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
21551 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
21552 * sysdeps/mach/hurd/eloop-threshold.h: New file.
21553 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21554 __eloop_threshold instead of SYMLOOP_MAX.
21556 * sysdeps/generic/eloop-threshold.h: New file.
21557 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
21559 * elf/chroot_canon.c (chroot_canon): Likewise.
21561 2012-08-03 Joseph Myers <joseph@codesourcery.com>
21564 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21565 Change to 2.6.0 everywhere.
21566 * sysdeps/unix/sysv/linux/configure: Regenerated.
21567 * sysdeps/unix/sysv/linux/kernel-features.h
21568 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
21569 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
21571 (__ASSUME_POSIX_TIMERS): Define unconditionally.
21572 (__ASSUME_FUTEX_REQUEUE): Remove.
21573 (__ASSUME_STATFS64): Define unconditionally.
21574 (__ASSUME_AT_SECURE): Likewise.
21575 (__ASSUME_CORRECT_SI_PID): Likewise.
21576 (__ASSUME_TGKILL): Define without depending on kernel version for
21578 (__ASSUME_UTIMES): Likewise.
21579 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
21581 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
21582 (__ASSUME_TMPFS_NAME): Likewise.
21583 * README: Update reference to Linux kernel versions.
21585 2012-08-02 Marek Polacek <polacek@redhat.com>
21588 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
21589 libc_cv_asm_type_prefix with %.
21590 * configure: Regenerated.
21591 * include/libc-symbols.h: Remove comment about
21592 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21593 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
21594 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
21595 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
21596 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
21597 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21598 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
21599 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
21600 * elf/tst-unique2mod1.c: Likewise.
21601 * elf/tst-unique1mod2.c: Likewise.
21602 * elf/tst-unique1mod1.c: Likewise.
21603 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
21604 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
21605 Replace ASM_TYPE_DIRECTIVE with .type.
21606 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21607 * sysdeps/i386/sysdep.h: Likewise.
21608 * sysdeps/x86_64/sysdep.h: Likewise.
21609 * sysdeps/sh/sysdep.h: Likewise.
21610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21611 Do not define ASM_TYPE_DIRECTIVE.
21612 * sysdeps/powerpc/sysdep.h: Likewise.
21613 * sysdeps/powerpc/powerpc32/sysdep.h:
21614 Replace ASM_TYPE_DIRECTIVE with .type.
21615 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21616 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21617 * sysdeps/i386/fpu/e_powf.S: Likewise.
21618 * sysdeps/i386/fpu/e_expl.S: Likewise.
21619 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21620 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21621 * sysdeps/i386/fpu/e_pow.S: Likewise.
21622 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21623 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21624 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21625 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21626 * sysdeps/i386/fpu/e_log2.S: Likewise.
21627 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21628 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21629 * sysdeps/i386/fpu/e_powl.S: Likewise.
21630 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21631 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21632 * sysdeps/i386/fpu/e_logl.S: Likewise.
21633 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21634 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21635 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21636 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21637 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21638 * sysdeps/i386/fpu/e_log.S: Likewise.
21639 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21640 * sysdeps/i386/fpu/e_logf.S: Likewise.
21641 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21642 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21643 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21644 * sysdeps/i386/fpu/e_log10.S: Likewise.
21645 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21646 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21647 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21648 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21649 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21650 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
21651 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21652 * sysdeps/i386/i686/strtok.S: Likewise.
21653 * sysdeps/i386/i386-mcount.S: Likewise.
21654 * sysdeps/i386/strtok.S: Likewise.
21655 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
21656 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21657 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21658 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21659 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21660 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21661 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21662 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21663 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21664 * sysdeps/x86_64/_mcount.S: Likewise.
21665 * sysdeps/x86_64/strtok.S: Likewise.
21666 * sysdeps/sh/_mcount.S: Likewise.
21668 2012-08-01 Roland McGrath <roland@hack.frob.com>
21670 * libio/iofopen.c: Include <fcntl.h>.
21671 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
21672 (_IO_fopen64, fopen64): Define as aliases.
21673 * libio/iofopen64.c: Include <fcntl.h>.
21674 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
21675 Conditionalize body on this.
21676 * sysdeps/wordsize-64/iofopen.c: File removed.
21677 * sysdeps/wordsize-64/iofopen64.c: File removed.
21679 2012-08-01 Marek Polacek <polacek@redhat.com>
21681 * libc/Makeconfig: Use elf in place of binfmt-subdir.
21682 Use dlfcn directly instead of a variable.
21683 (binfmt-subdir): Do not define.
21686 2012-08-01 Joseph Myers <joseph@codesourcery.com>
21688 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
21689 Remove all definitions.
21690 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
21691 <kernel-features.h>.
21692 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21693 (miss_F_GETOWN_EX): Remove all definitions.
21694 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
21696 [!__ASSUME_FCNTL64]: Remove conditional code.
21697 [__ASSUME_FCNTL64]: Make code unconditional.
21698 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
21699 <kernel-features.h>.
21700 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21701 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
21702 (lockf64) [__NR_fcntl64]: Make code unconditional.
21703 (lockf64) [__ASSUME_FCNTL64]: Likewise.
21705 * sysdeps/unix/sysv/linux/kernel-features.h
21706 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
21707 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
21708 Make code unconditional.
21709 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21710 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
21712 [__NR_vfork]: Make code unconditional.
21713 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21714 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
21716 [__NR_vfork]: Make code unconditional.
21717 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21718 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21720 2012-08-01 Roland McGrath <roland@hack.frob.com>
21722 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21723 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21725 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21726 Define mkstemp64 as an alias.
21727 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21728 Define mkstemps64 as an alias.
21729 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21730 Define mkostemp64 as an alias.
21731 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21732 Define mkostemps64 as an alias.
21733 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21734 Conditionalize body on this.
21735 * misc/mkostemp64.c: Likewise.
21736 * misc/mkostemps64.c: Likewise.
21737 * misc/mkstemps64.c: Likewise.
21738 * sysdeps/wordsize-64/mkstemp64.c: File removed.
21739 * sysdeps/wordsize-64/mkostemp64.c: File removed.
21740 * sysdeps/wordsize-64/mkostemp.c: File removed.
21741 * sysdeps/wordsize-64/mkstemp.c: File removed.
21742 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21743 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21744 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21745 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21748 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21749 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21750 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21751 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21753 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21754 compat_symbol macros from <shlib-compat.h> rather than the underlying
21755 default_symbol_version and symbol_version macros, so that DEFAULT
21756 lines in shlib-versions are respected.
21757 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21759 2012-08-01 Florian Weimer <fweimer@redhat.com>
21761 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21762 Declare with warn_unused_result.
21763 (setgid, setregid, setegid, setresgid): Likewise.
21764 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21766 * WUR-REPORT: Remove set*id functions.
21768 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
21770 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21772 2012-07-31 Roland McGrath <roland@hack.frob.com>
21775 * include/sys/socket.h (__libc_accept, __libc_accept4):
21776 Add attribute_hidden.
21777 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21779 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21781 * inet/getnetgrent_r.c (setup): Likewise.
21783 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21785 2012-07-31 David S. Miller <davem@davemloft.net>
21787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21789 2012-07-31 Joseph Myers <joseph@codesourcery.com>
21792 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21793 value between 1.0 and 2.0 and smaller part has absolute value less
21795 * math/s_clog10.c (__clog10): Likewise.
21796 * math/s_clog10f.c (__clog10f): Likewise.
21797 * math/s_clog10l.c (__clog10l): Likewise.
21798 * math/s_clogf.c (__clogf): Likewise.
21799 * math/s_clogl.c (__clogl): Likewise.
21800 * math/libm-test.inc (clog_test): Add more tests.
21801 (clog10_test): Likewise.
21802 * sysdeps/i386/fpu/libm-test-ulps: Update.
21803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21805 2012-07-31 Florian Weimer <fweimer@redhat.com>
21807 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21808 Exit with zero in case no suitable GID is found, and write a
21809 message to standard error.
21811 2012-07-30 Roland McGrath <roland@hack.frob.com>
21813 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21815 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21816 (MAXPATHLEN): Removed.
21817 (NOGROUP, NODEV): New macros.
21818 (setbit, clrbit, isset, isclr): New macros.
21819 (howmany, roundup, powerof2): New macros.
21820 (DEV_BSIZE): New macro.
21822 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21823 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21825 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21826 definition on [!__NO_LONG_DOUBLE_MATH].
21828 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21829 PTR_MANGLE and PTR_DEMANGLE.
21831 * socket/accept4.c (accept4): Rename to __libc_accept4.
21832 Define accept4 as a weak alias.
21834 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21835 on [_DIRENT_HAVE_D_TYPE].
21836 * io/ftw.c (ftw_dir): Likewise.
21838 * io/xmknod.c (__xmknod): Don't check PATH for being null.
21840 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21842 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21843 Use the BSD numbers rather than the arbitrary ones we had.
21844 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21845 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21846 (SIGXCPU, SIGXFSZ): New macros.
21849 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21850 initializer on [_LIBC_REENTRANT].
21852 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21853 definitions inside [_POSIX_MAPPED_FILES].
21855 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21857 * dirent/opendir.c: Include <fcntl.h>.
21859 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21860 (__libc_getspecific): Likewise.
21861 (__libc_key_create): Likewise.
21863 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21864 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21865 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21866 (tmpfile64): Define as alias.
21867 * sysdeps/wordsize-64/tmpfile.c: File removed.
21868 * sysdeps/wordsize-64/tmpfile64.c: File removed.
21869 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21870 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21872 * stdio-common/vfscanf.c: Include <stdbool.h>.
21873 * nss/makedb.c: Likewise.
21874 * stdio-common/_i18n_number.h: Likewise.
21875 * argp/argp-help.c: Likewise.
21876 * posix/wordexp.c: Likewise.
21877 * sysdeps/posix/spawni.c: Likewise.
21878 * nss/nss_files/files-initgroups.c: Likewise.
21879 * stdio-common/reg-modifier.c: Include <stdlib.h>.
21880 * nss/nss_files/files-initgroups.c: Likewise.
21881 * nss/nss_db/db-netgrp.c: Likewise.
21882 * nss/nss_db/db-initgroups.c: Likewise.
21883 * io/fchmodat.c: Include <sys/stat.h>.
21885 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21886 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21888 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21891 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21892 Add multiple inclusion protection.
21894 2012-07-27 David S. Miller <davem@davemloft.net>
21896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21898 2012-07-27 Gary Benson <gbenson@redhat.com>
21901 * elf/rtld.c: Include <stap-probe.h>.
21902 (dl_main): Added static probes "init_start" and "init_complete".
21903 * elf/dl-load.c: Include <stap-probe.h>.
21904 (lose): Take new parameter "nsid".
21905 Added static probe "map_failed".
21906 (_dl_map_object_from_fd): Pass namespace id to lose.
21907 Added static probe "map_start".
21908 (open_verify): Pass namespace id to lose.
21909 * elf/dl-open.c: Include <stap-probe.h>.
21910 (dl_open_worker) Added static probes "map_complete", "reloc_start"
21911 and "reloc_complete".
21912 * elf/dl-close.c: Include <stap-probe.h>.
21913 (_dl_close_worker): Added static probes "unmap_start" and
21915 * elf/rtld-debugger-interface.txt: New file documenting the above.
21917 2012-07-26 Roland McGrath <roland@hack.frob.com>
21919 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21920 rather than a string variable.
21921 * sunrpc/rpc_main.c (h_output): Likewise.
21922 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21924 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
21926 * inet/check_native.c: New file.
21928 2012-07-26 Joseph Myers <joseph@codesourcery.com>
21931 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21932 if larger part has absolute value 1.0.
21933 * math/s_clog10.c (__clog10): Likewise.
21934 * math/s_clog10f.c (__clog10f): Likewise.
21935 * math/s_clog10l.c (__clog10l): Likewise.
21936 * math/s_clogf.c (__clogf): Likewise.
21937 * math/s_clogl.c (__clogl): Likewise.
21938 * math/libm-test.inc (clog_test): Add more tests.
21939 (clog10_test): Likewise.
21940 * sysdeps/i386/fpu/libm-test-ulps: Update.
21941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21943 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21944 (pltexit): Likewise.
21945 (La_regs): Likewise.
21946 (La_retval): Likewise.
21947 (int_retval): Likewise.
21948 Update #error for removed macros to refer only to definitions in
21950 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21952 (pltexit): Likewise.
21953 (La_regs): Likewise.
21954 (La_retval): Likewise.
21955 (int_retval): Likewise.
21956 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21958 (pltexit): Likewise.
21959 (La_regs): Likewise.
21960 (La_retval): Likewise.
21961 (int_retval): Likewise.
21962 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21964 (pltexit): Likewise.
21965 (La_regs): Likewise.
21966 (La_retval): Likewise.
21967 (int_retval): Likewise.
21968 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21970 (pltexit): Likewise.
21971 (La_regs): Likewise.
21972 (La_retval): Likewise.
21973 (int_retval): Likewise.
21974 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21976 (pltexit): Likewise.
21977 (La_regs): Likewise.
21978 (La_retval): Likewise.
21979 (int_retval): Likewise.
21980 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21982 (pltexit): Likewise.
21983 (La_regs): Likewise.
21984 (La_retval): Likewise.
21985 (int_retval): Likewise.
21986 * sysdeps/generic/tst-audit.h: Update comment to refer only to
21987 macro definitions in tst-audit.h.
21988 * sysdeps/i386/tst-audit.h: New file.
21989 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21990 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21991 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21992 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21993 * sysdeps/sh/tst-audit.h: Likewise.
21994 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21995 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21996 * sysdeps/x86_64/tst-audit.h: Likewise.
21998 2012-07-26 Andreas Jaeger <aj@suse.de>
22000 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
22003 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
22004 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
22005 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
22007 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
22008 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
22009 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
22011 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22014 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22016 (si_call_addr, si_syscall, si_arch): Define new macro.
22017 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22019 (si_call_addr, si_syscall, si_arch): Define new marcro.
22020 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22022 (si_call_addr, si_syscall, si_arch): Define new macro.
22023 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22025 (si_call_addr, si_syscall, si_arch): Define new macro.
22027 2012-07-25 Joseph Myers <joseph@codesourcery.com>
22030 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22031 Change to 2.4.21 where previously 2.4.1.
22032 * sysdeps/unix/sysv/linux/configure: Regenerated.
22033 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22034 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22035 Linux kernel version.
22036 (__ASSUME_STD_AUXV): Remove.
22037 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22039 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22040 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22041 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22042 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22043 (__ASSUME_NETLINK_SUPPORT): Likewise.
22044 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22045 (__no_netlink_support): Remove conditional definition.
22046 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22048 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22049 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
22050 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
22051 (if_nameindex_ioctl): Remove.
22052 (if_nameindex_netlink): Do not handle __no_netlink_support.
22053 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22055 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22056 Remove conditional code.
22057 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22059 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
22061 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22062 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
22063 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
22065 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
22066 [!__ASSUME_STD_AUXV]: Remove conditional code.
22067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
22068 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
22069 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
22070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
22071 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
22072 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22074 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22076 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
22077 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22079 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22081 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22084 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
22087 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22088 code unconditional.
22089 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22091 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22093 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22096 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22098 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22101 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22102 code unconditional.
22103 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22105 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22107 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22110 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22111 code unconditional.
22112 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22114 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22116 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22119 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
22121 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
22122 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
22123 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22124 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
22125 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
22126 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22127 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22128 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22129 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
22130 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22131 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
22132 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
22133 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
22134 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22135 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
22136 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
22137 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
22138 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
22139 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22140 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
22141 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
22142 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
22143 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22145 2012-07-25 Florian Weimer <fweimer@redhat.com>
22147 * Versions.def: Add GLIBC_2.17.
22148 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
22149 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
22150 Introduce __libc_secure_getenv.
22151 * stdlib/Versions (2.17): Add secure_getenv
22152 (GLIBC_PRIVATE): Add __libc_secure_getenv.
22153 * stdlib/secure-getenv.c: Rename __secure_getenv to
22154 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
22155 symbol __secure_getenv for GLIBC_2.0.
22156 * stdlib/tst-secure-getenv.c: New.
22157 * stdlib/Makefile (tests): Add testcase.
22158 * manual/startup.texi (Environment Access): Document
22160 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
22161 __libc_secure_getenv.
22162 * inet/ruserpass.c (ruserpass): Likewise.
22163 * malloc/mtrace.c (mtrace): Likewise.
22164 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
22165 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
22166 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
22167 * sysdeps/posix/tempname.c: Likewise. Evaluate
22168 HAVE_SECURE_GETENV.
22169 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
22170 __secure_getenv to __libc_secure_getenv.
22171 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
22172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22178 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22184 2012-07-25 Joseph Myers <joseph@codesourcery.com>
22186 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
22187 (struct La_i86_retval): Likewise.
22188 (struct La_x86_64_regs): Likewise.
22189 (struct La_x86_64_retval): Likewise.
22190 (struct La_x32_regs): Likewise.
22191 (struct La_x32_retval): Likewise.
22192 (struct La_ppc32_regs): Likewise.
22193 (struct La_ppc32_retval): Likewise.
22194 (struct La_ppc64_regs): Likewise.
22195 (struct La_ppc64_retval): Likewise.
22196 (struct La_sh_regs): Likewise.
22197 (struct La_sh_retval): Likewise.
22198 (struct La_s390_32_regs): Likewise.
22199 (struct La_s390_32_retval): Likewise.
22200 (struct La_s390_64_regs): Likewise.
22201 (struct La_s390_64_retval): Likewise.
22202 (struct La_sparc32_regs): Likewise.
22203 (struct La_sparc32_retval): Likewise.
22204 (struct La_sparc64_regs): Likewise.
22205 (struct La_sparc64_retval): Likewise.
22206 (struct audit_ifaces): Remove architecture-specific pltenter and
22208 * sysdeps/i386/ldsodefs.h: New file.
22209 * sysdeps/powerpc/ldsodefs.h: Likewise.
22210 * sysdeps/s390/ldsodefs.h: Likewise.
22211 * sysdeps/sh/ldsodefs.h: Likewise.
22212 * sysdeps/sparc/ldsodefs.h: Likewise.
22213 * sysdeps/x86_64/ldsodefs.h: Likewise.
22215 2012-07-25 Marek Polacek <polacek@redhat.com>
22218 * math/libm-test.inc (yn_test): Add another test.
22219 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
22220 to ERANGE when the result is +-Inf.
22221 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22222 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
22223 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
22224 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
22226 2012-07-24 Joseph Myers <joseph@codesourcery.com>
22228 * conform/data/time.h-data (NULL): Use macro-constant. Require
22230 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
22232 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
22234 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
22236 * configure.in <sysdeps resolving>: Correct printing
22238 * configure: Regenerate.
22240 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
22242 * math/w_ilogb.c: Include <limits.h>.
22243 * math/w_ilogbl.c: Likewise.
22245 2012-07-20 Joseph Myers <joseph@codesourcery.com>
22247 * manual/lang.texi (__va_copy): Document primarily as ISO C99
22248 va_copy. Document allowing for unavailable va_copy only as
22249 pre-C99 compatibility.
22250 * manual/string.texi (Copying and Concatenation): Use va_copy
22251 instead of __va_copy in concat example.
22253 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
22255 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
22256 (__sendto): Use create_address_port. Initialize APORT and deallocate
22259 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
22260 with O_NOLINK passed to __file_name_lookup.
22262 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
22263 with O_NOLINK passed to __file_name_lookup.
22265 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
22266 negative N or less than NGIDS.
22268 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
22269 type to string_t. Set ERANGE as errno and return it if NAME is not big
22270 enough. Use memcpy instead of strncpy.
22272 2012-07-20 Joseph Myers <joseph@codesourcery.com>
22274 * elf/Makefile (check-data): Remove.
22275 (localplt.data): New vpath directive.
22276 ($(objpfx)check-localplt.out): Use localplt.data from vpath
22277 instead of $(check-data).
22278 * scripts/data/localplt-generic.data: Move to ...
22279 * sysdeps/generic/localplt.data: ... here.
22280 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
22281 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
22282 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
22283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22285 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
22286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22288 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
22289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
22291 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
22292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22294 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
22295 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
22297 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
22298 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
22301 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22303 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
22304 PPC32 and PPC64 files.
22305 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
22306 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
22308 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22310 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
22311 __makecontext_ret to ...
22312 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
22313 ... here and call exit if uc_link is NULL. New file.
22314 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
22315 __makecontext_ret.S.
22316 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
22317 __makecontext_ret to ...
22318 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
22319 ... here and call exit if uc_link is NULL. New file.
22320 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
22321 __makecontext_ret.S.
22323 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22325 * elf/elf.h (R_390_IRELATIVE): New definition.
22326 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
22327 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
22328 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
22329 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22330 (elf_machine_lazy_rel): Likewise.
22331 * sysdeps/s390/dl-irel.h: New file.
22332 * sysdeps/s390/s390-64/memcpy.S: New asm code.
22333 * sysdeps/s390/s390-64/memset.S: New asm code.
22334 * sysdeps/s390/s390-64/memcmp.S: New asm code.
22335 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
22336 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
22337 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
22338 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
22339 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
22340 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
22341 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
22342 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
22343 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
22344 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
22345 * sysdeps/s390/s390-32/memcpy.S: New asm code.
22346 * sysdeps/s390/s390-32/memset.S: New asm code.
22347 * sysdeps/s390/s390-32/memcmp.S: New asm code.
22349 2012-07-17 Marek Polacek <polacek@redhat.com>
22352 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
22353 * sysdeps/s390/s390-64/configure.in: Likewise.
22354 * sysdeps/sparc/configure.in: Likewise.
22355 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
22356 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
22357 * sysdeps/i386/configure.in: Likewise.
22358 * sysdeps/x86_64/configure.in: Likewise.
22359 * sysdeps/sh/configure.in: Likewise.
22360 * sysdeps/s390/s390-32/configure: Regenerated.
22361 * sysdeps/s390/s390-64/configure: Likewise.
22362 * sysdeps/x86_64/configure: Likewise.
22363 * sysdeps/sh/configure: Likewise.
22364 * sysdeps/powerpc/powerpc64/configure: Likewise.
22365 * sysdeps/powerpc/powerpc32/configure: Likewise.
22366 * sysdeps/sparc/configure: Likwise.
22367 * sysdeps/i386/configure: Likewise.
22369 * elf/dl-open.c: Comment fixes.
22371 2012-07-17 Joseph Myers <joseph@codesourcery.com>
22373 * Makefile [CXX] (check-data): Remove.
22374 [CXX] (c++-types.data): New vpath directive.
22375 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
22376 vpath. Do not allow for C++ type data being missing.
22377 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
22378 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
22379 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
22380 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
22381 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
22382 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
22383 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
22384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22386 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
22387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22389 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
22390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
22392 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
22393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
22395 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
22396 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
22398 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
22399 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
22401 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
22402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
22404 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
22405 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
22407 * elf/tls-macros.h (TLS_LE): Move architecture-specific
22408 definitions to architecture-specific files.
22409 (TLS_IE): Likewise.
22410 (TLS_LD): Likewise.
22411 (TLS_GD): Likewise.
22412 * sysdeps/i386/tls-macros.h: New file.
22413 * sysdeps/powerpc/tls-macros.h: Likewise.
22414 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22415 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22416 * sysdeps/sh/tls-macros.h: Likewise.
22417 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
22418 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
22419 * sysdeps/x86_64/tls-macros.h: Likewise.
22421 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22423 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
22424 zero value for regular exit case.
22426 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22427 (__start_context): Preserve zero value for regular exit case.
22429 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22430 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22432 * manual/setjmp.texi (setcontext): Clarify normal process
22433 termination when uc_link is the null pointer.
22434 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
22437 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
22439 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
22440 preprocessor. Test for each exception mask separately.
22442 2012-07-16 Andreas Jaeger <aj@suse.de>
22444 * po/ru.po: Update from translation team.
22446 2012-07-15 Joseph Myers <joseph@codesourcery.com>
22448 * conform/data/string.h-data (NULL): Use macro-constant. Require
22450 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22451 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22452 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
22453 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
22454 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22456 2012-07-13 Andreas Jaeger <aj@suse.de>
22458 * po/fr.po: Update from translation team.
22460 2012-07-12 Marek Polacek <polacek@redhat.com>
22463 * math/libm-test.inc (yn_test): Add test for BZ #14173.
22464 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
22467 2012-07-12 Joseph Myers <joseph@codesourcery.com>
22470 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22471 Change to 2.4.1 where previously 2.4.0.
22472 * sysdeps/unix/sysv/linux/configure: Regenerated.
22473 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
22474 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
22476 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
22477 (__ASSUME_AT_CLKTCK): Remove.
22478 (__ASSUME_AT_PAGESIZE): Likewise.
22479 (__ASSUME_AT_XID): Likewise.
22480 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
22481 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
22482 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
22484 (HAVE_AUX_PAGESIZE): Likewise.
22485 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
22486 [__ASSUME_AT_CLKTCK]: Make code unconditional.
22487 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
22489 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
22492 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
22493 the temporary buffer used to invoke __gethostbyname2_r,
22494 __gethostbyaddr_r and gethostbyname4_r to make room for struct
22495 host_data / struct gaih_addrtuple.
22496 * resolv/nss_dns/dns-host.c (global scope): Move definition of
22497 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
22498 header file nss/nsswitch.h.
22499 * nss/nsswitch.h (global scope): Add definition of implementation
22500 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
22501 resolv/nss_dns/dns-host.c).
22503 2012-07-11 Andreas Jaeger <aj@suse.de>
22505 * po/fr.po: Update from translation team.
22507 * po/sv.po: Update from translation team
22508 * po/fr.po: Another update from translation team.
22510 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22512 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
22513 for subnormals or multiply small sinh result by itself.
22514 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22517 2012-07-11 David S. Miller <davem@davemloft.net>
22519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22521 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
22524 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
22525 (INTERNAL_MARK): Shift it here.
22527 2012-07-10 Marek Polacek <polacek@redhat.com>
22530 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
22531 libc_cv_asm_global_directive with .globl.
22532 * configure: Regenerated.
22533 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
22535 * sysdeps/i386/configure: Regenerated.
22536 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
22538 * sysdeps/x86_64/configure: Regenerated.
22539 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
22540 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
22541 * elf/tst-unique2mod2.c: Likewise.
22542 * elf/tst-unique2mod1.c: Likewise.
22543 * elf/tst-unique1mod2.c: Likewise.
22544 * elf/tst-unique1mod1.c: Likewise.
22545 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22546 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22547 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22548 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22549 * sysdeps/mach/sysdep.h: Likewise.
22550 * sysdeps/i386/sysdep.h: Likewise.
22551 * sysdeps/i386/i386-mcount.S: Likewise.
22552 * sysdeps/x86_64/_mcount.S: Likewise.
22553 * sysdeps/x86_64/sysdep.h: Likewise.
22554 * sysdeps/sh/_mcount.S: Likewise.
22555 * sysdeps/sh/sysdep.h: Likewise.
22556 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
22557 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
22558 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
22559 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22560 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
22561 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
22562 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
22563 * locale/localeinfo.h: Likewise.
22564 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
22565 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
22567 2012-07-09 Roland McGrath <roland@hack.frob.com>
22570 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
22572 * manual/message.texi (The Uniforum approach): Likewise.
22573 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
22574 (glibc iconv Implementation): Likewise.
22576 2012-07-09 Joseph Myers <joseph@codesourcery.com>
22579 * math/s_clog.c (__clog): Avoid scaling a value down where that
22580 could result in underflow.
22581 * math/s_clog10.c (__clog10): Likewise.
22582 * math/s_clog10f.c (__clog10f): Likewise.
22583 * math/s_clog10l.c (__clog10l): Likewise.
22584 * math/s_clogf.c (__clogf): Likewise.
22585 * math/s_clogl.c (__clogl): Likewise.
22586 * math/libm-test.inc (clog_test): Add more tests.
22587 (clog10_test): Likewise.
22588 * sysdeps/i386/fpu/libm-test-ulps: Update.
22589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22591 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
22594 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
22595 by 7 not 8 to examine high bit of fractional part.
22598 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
22599 for call to __mcount_internal.
22600 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
22601 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
22602 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
22604 2012-07-06 Joseph Myers <joseph@codesourcery.com>
22607 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
22608 approximation for values within 0x1p-13f of an odd multiple of
22610 * math/libm-test.inc (tan_test): Do not allow spurious underflow
22611 exception. Add more tests.
22612 * sysdeps/i386/fpu/libm-test-ulps: Update.
22615 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
22616 inputs and return -1 for them. Do not check for +Inf in case not
22617 reachable for +Inf.
22618 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22619 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
22620 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22621 and return -1 for them. Do not check for +Inf in case not
22622 reachable for +Inf.
22623 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
22625 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22626 and return -1 for them. Do not check for +Inf in case not
22627 reachable for +Inf.
22628 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
22629 spurious underflow.
22630 * sysdeps/i386/fpu/libm-test-ulps: Update.
22631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22633 2012-07-06 Mike Frysinger <vapier@gentoo.org>
22635 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
22637 2012-07-05 Joseph Myers <joseph@codesourcery.com>
22641 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
22642 could result in spurious underflow. Scale down values above
22643 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
22644 * math/s_csqrtf.c (__csqrtf): Likewise.
22645 * math/s_csqrtl.c (__csqrtl): Likewise.
22646 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
22647 spurious underflow.
22648 * sysdeps/i386/fpu/libm-test-ulps: Update.
22649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22651 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
22653 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
22655 * catgets/xopen-msg.awk: New file.
22656 * catgets/xopen-msg.sed: Removed.
22658 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
22660 * intl/po2test.awk: New file.
22661 * intl/po2test.sed: Removed.
22663 2012-07-04 Joseph Myers <joseph@codesourcery.com>
22666 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
22667 or multiply small sinh result by itself.
22668 * math/s_ctanf.c (__ctanf): Likewise.
22669 * math/s_ctanh.c (__ctanh): Likewise.
22670 * math/s_ctanhf.c (__ctanhf): Likewise.
22671 * math/s_ctanhl.c (__ctanhl): Likewise.
22672 * math/s_ctanl.c (__ctanl): Likewise.
22673 * math/libm-test.inc (ctan_test_tonearest): New function.
22674 (ctan_test_towardzero): Likewise.
22675 (ctan_test_downward): Likewise.
22676 (ctan_test_upward): Likewise.
22677 (ctanh_test_tonearest): Likewise.
22678 (ctanh_test_towardzero): Likewise.
22679 (ctanh_test_downward): Likewise.
22680 (ctanh_test_upward): Likewise.
22681 (main): Call these new functions.
22682 * sysdeps/i386/fpu/libm-test-ulps: Update.
22683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22685 2012-07-03 Mike Frysinger <vapier@gentoo.org>
22687 * .gitignore: Delete /ports entry.
22689 2012-07-03 Andreas Jaeger <aj@suse.de>
22691 * po/bg.po: Update from translation team.
22692 * po/cs.po: Likewise.
22693 * po/de.po: Likewise.
22694 * po/hr.po: Likewise.
22695 * po/nl.pl: Likewise.
22696 * po/pl.po: Likewise.
22697 * po/vi.po: Likewise.
22699 2012-07-03 Joseph Myers <joseph@codesourcery.com>
22701 * Makeconfig [!+link] (+link-before-libc): New variable.
22702 [!+link] (+link-after-libc): Likewise.
22703 [!+link] (+link-tests): Likewise.
22704 [!+link] (+link): Define in terms of $(+link-before-libc) and
22705 $(+link-after-libc).
22706 [!+link-static] (+link-static-before-libc): New variable.
22707 [!+link-static] (+link-static-after-libc): Likewise.
22708 [!+link-static] (+link-static-tests): Likewise.
22709 [!+link-static] (+link-static): Define in terms of
22710 $(+link-static-before-libc) and $(+link-static-after-libc).
22711 [build-shared] (link-libc-before-gnulib): New variable.
22712 [build-shared] (link-libc-tests): Likewise.
22713 [build-shared] (link-libc): Define in terms of
22714 $(link-libc-before-gnulib).
22715 [!build-shared] (link-libc-tests): New variable.
22716 (link-libc-static-tests): New variable.
22717 [!gnulib] (gnulib-arch): New variable.
22718 [!gnulib] (gnulib-tests): Likewise.
22719 [!gnulib] (static-gnulib-arch): Likewise.
22720 [!gnulib] (static-gnulib-tests): Likewise.
22721 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
22722 Define with "=" instead of ":=".
22723 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
22724 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
22725 * Rules (binaries-all-notests): New variable.
22726 (binaries-all-tests): Likewise.
22727 (binaries-static-notests): Likewise.
22728 (binaries-static-tests): Likewise.
22729 (binaries-all): Define using $(binaries-all-notests) and
22730 $(binaries-all-tests).
22731 (binaries-static): Define using $(binaries-static-notests) and
22732 $(binaries-static-tests).
22733 (binaries-shared-tests): New variable.
22734 (binaries-shared-notests): Likewise.
22735 (binaries-shared): Remove variable.
22736 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22737 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22738 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22739 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22740 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22741 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22742 * elf/Makefile (sln-modules): New variable.
22743 (extra-objs): Add $(sln-modules:=.o).
22744 (ldconfig-modules): Add static-stubs.
22745 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22746 * elf/static-stubs.c: New file.
22749 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22750 by 7 not 8 to examine high bit of fractional part. Use volatile
22751 variables when splitting into final array of floats if
22752 __FLT_EVAL_METHOD__ != 0.
22753 * math/libm-test.inc (cos_test): Add another test.
22754 (sin_test): Likewise.
22755 * sysdeps/i386/fpu/libm-test-ulps: Update.
22758 * math/libm-test.inc (cosh_test): Add more tests.
22760 * version.h (RELEASE): Set to "development".
22761 (VERSION): Set to "2.16.90".
22763 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
22765 * NEWS: Update copyright. Remove last-updated date.
22766 Mention math library bug fixes and timezone data changes.
22767 * README: Mention GNU/Hurd, x32, and HPPA support status.
22769 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
22771 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22773 2012-06-27 Andreas Jaeger <aj@suse.de>
22775 * manual/contrib.texi (Contributors): Add Samuel Thibault.
22777 2012-06-25 Andreas Jaeger <aj@suse.de>
22779 * sysdeps/s390/fpu/libm-test-ulps: Update.
22781 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
22782 Thomas Schwinge <thomas@codesourcery.com>
22784 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22785 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22786 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22789 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
22791 * sysdeps/mach/start.c: Remove file.
22792 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22793 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22794 * sysdeps/sh/init-first.c: Likewise.
22796 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22797 registers for frame unwinding purposes, add CFI directives.
22798 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22799 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22800 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22803 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22804 __fortify_fail returning.
22805 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22807 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22808 sysdeps/sh/____longjmp_chk.S.
22809 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22810 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22811 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22812 (gen-as-const-headers): Append sigaltstack-offsets.sym.
22814 * sysdeps/sh/abort-instr.h: New file.
22815 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22816 process in case exit returns.
22818 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22819 initialize the GOT register before use.
22821 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22822 calculation of ARGC > 4.
22824 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22825 meaningful names to some local labels.
22827 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22828 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22830 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22831 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22832 (__arch_compare_and_exchange_val_16_acq): Likewise.
22833 (__arch_compare_and_exchange_val_32_acq): Likewise.
22834 (atomic_exchange_and_add): Fix gUSA sequence.
22835 (atomic_add): Likewise.
22836 (atomic_add_negative): Likewise.
22837 (atomic_add_zero): Likewise.
22838 (atomic_bit_test_set): Likewise.
22840 2012-06-22 Andreas Schwab <schwab@redhat.com>
22843 * include/link.h (struct link_map): Add l_free_initfini.
22844 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22846 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22847 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22848 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22851 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
22853 * configure.in: Use AC_LANG_SOURCE.
22854 * configure: Regenerate.
22856 2012-06-22 Roland McGrath <roland@hack.frob.com>
22858 * configure.in (libc_cv_localstatedir): New substituted variable.
22859 * configure: Regenerated.
22860 * config.make.in (localstatedir): New variable, substituted from
22861 libc_cv_localstatedir.
22862 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22863 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22864 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22865 * sysdeps/gnu/configure: Regenerated.
22867 2012-06-21 Jeff Law <law@redhat.com>
22870 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22871 free. Simplify list management for _LIBC case.
22873 2012-06-21 Joseph Myers <joseph@codesourcery.com>
22876 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22877 Clear sign bit of 64-bit integer value before comparing against
22880 * sysdeps/mach/configure: Regenerated.
22882 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
22885 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22887 2012-06-21 Jeff Law <law@redhat.com>
22890 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
22891 uint16_t for elements in the "seen" array to avoid char overflows.
22892 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22893 * elf/dl-open.c (dl_open_worker): Likewise.
22895 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
22897 * scripts/list-sources.sh: Scan PORTS for translations.
22898 * po/libc.pot: Regenerated.
22900 2012-06-21 Andreas Jaeger <aj@suse.de>
22903 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22905 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22906 * bits/byteswap-16.h (__bswap_16): Likewise.
22907 * bits/byteswap.h (__bswap_constant_16): Likewise.
22909 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
22912 * sysdeps/i386/fpu_control.h: Removed.
22913 * sysdeps/x86_64/fpu_control.h: Moved to ...
22914 * sysdeps/x86/fpu_control.h: Here.
22916 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22917 (_FPU_SETCW): Likewise.
22919 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
22922 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22923 * sysdeps/x86/fpu/bits/mathinline.h: This.
22924 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22928 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22929 functions if __x86_64__ is defined.
22931 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
22933 * string/endian.h: Add !__ASSEMBLER__ condition for including
22934 conversion interfaces.
22936 2012-06-15 Joseph Myers <joseph@codesourcery.com>
22939 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22940 of ABS(x) in calculating zero to negative powers other than odd
22942 * math/libm-test.inc (pow_test): Add more tests.
22944 2012-06-15 Andreas Jaeger <aj@suse.de>
22946 * manual/contrib.texi (Contributors): Update entry of Liubov
22947 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22950 2012-06-15 Cyril Hrubis <metan@ucw.cz>
22952 * string/string.h: Add __wur to GNU version of strerror_r.
22954 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
22957 * string/Makefile (tests): Add tst-strtok_r.
22958 * string/tst-strtok_r.c: New file.
22959 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22960 RAX_LP/RDX_LP on SAVE_PTR.
22962 2012-06-14 Roland McGrath <roland@hack.frob.com>
22964 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22966 2012-06-14 Joseph Myers <joseph@codesourcery.com>
22968 * libm_test.inc (csqrt_test): Allow more spurious underflow
22970 (j0_test): Likewise.
22971 (j1_test): Likewise.
22972 (y0_test): Likewise.
22973 (y1_test): Likewise.
22975 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
22977 * po/Makefile (libc.pot): Use UTF-8 charset.
22979 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
22982 Suppress sign-conversion warning from FD_SET.
22983 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22984 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22985 not unsigned long int.
22986 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22988 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
22992 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22993 __extern_always_inline instead of __extern_inline.
22994 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22995 (__signbit): Likewise.
22996 (__signbitl): Support C++ namespace.
22997 (lrintf): New inline function.
22999 (llrintf): Likewise.
23000 (llrint): Likewise.
23010 (floorf): Likewise.
23011 (nearbyint): Likewise.
23012 (nearbyintf): Likewise.
23014 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
23016 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23017 non-default versions.
23019 2012-06-11 Roland McGrath <roland@hack.frob.com>
23022 * manual/argp.texi (Argp): Reword argp_parse description slightly.
23024 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
23026 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23027 (FE_UPWARD, FE_DOWNWARD): Don't define.
23028 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23029 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23031 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23033 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23034 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23036 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23038 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23039 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23040 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23041 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23043 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
23046 * sysdeps/i386/fpu/bits/fenv.h: Removed.
23047 * sysdeps/i386/fpu/Implies: New file.
23048 * sysdeps/x86_64/fpu/Implies: Likewise.
23049 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
23050 * sysdeps/x86/fpu/bits/fenv.h: This.
23052 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23055 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23058 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23059 character 0xffff that matches the last element of the
23062 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23064 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23067 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23069 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
23070 values higher than 25.6283.
23072 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23074 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
23075 subnormal exponent extraction and add some __builtin_expect.
23076 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
23077 Fix for subnormal mantissa calculation.
23079 2012-06-04 Mike Frysinger <vapier@gentoo.org>
23081 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
23082 cpu2 is -1 and errno is not ENOSYS.
23084 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
23087 * sysdeps/i386/i486/bits/string.h: Renamed to ...
23088 * sysdeps/x86/bits/string.h: This.
23089 * sysdeps/x86_64/bits/string.h: Removed.
23091 * sysdeps/i386/i486/bits/string.h: Define inline functions only
23092 if not compiling for x86-64, but compiling for >= i486.
23094 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
23095 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
23097 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
23098 New macro from Linux kernel 3.4.0.
23099 (FP_XSTATE_MAGIC2): Likewise.
23100 (FP_XSTATE_MAGIC2_SIZE): Likewise.
23101 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
23102 (struct _fpx_sw_bytes): New struct.
23103 (struct _xsave_hdr): Likewise.
23104 (struct _ymmh_state): Likewise.
23105 (struct _xstate): Likewise.
23107 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
23108 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
23109 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
23110 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
23111 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
23112 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
23114 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
23115 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
23116 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
23117 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
23118 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
23119 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
23121 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23124 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
23125 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
23126 (sysdep_headers): Include sys/platform/ppc.h.
23127 * sysdeps/powerpc/test-gettimebase.c: Test for
23128 __ppc_get_timebase() to catch future ISA opcode/insn changes.
23129 * manual/Makefile (appendices): Include platform.texi.
23130 * manual/contrib.texi (Contributors): Update @node pointers.
23131 * manual/maint.texi (Maintenance): Likewise.
23132 (Platform): New node.
23133 * manual/platform.texi: New file. Document the new features.
23135 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23136 Jakub Jelinek <jakub@redhat.com>
23139 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
23140 where __builtin_expect is unavailable.
23142 2012-06-03 David S. Miller <davem@davemloft.net>
23144 * stdlib/longlong.h: Updated from GCC.
23146 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
23149 * sysdeps/powerpc/powerpc32/mcount.c: New file.
23150 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
23152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23153 (GLIBC_2.16): Likewise.
23155 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23157 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
23159 2012-06-01 Joseph Myers <joseph@codesourcery.com>
23161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
23162 (default-abi): New variable.
23163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
23164 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
23166 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
23168 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
23170 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
23173 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
23174 definition. Document in comment.
23176 2012-06-01 David S. Miller <davem@davemloft.net>
23178 * stdlib/longlong.h: Updated from GCC.
23180 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23183 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
23184 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
23185 sys/debugreg.h sys/io.h here.
23186 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
23187 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
23189 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
23190 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
23191 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
23192 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
23193 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
23194 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
23196 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
23197 Define only if __x86_64__ is defined.
23199 2012-06-01 Joseph Myers <joseph@codesourcery.com>
23202 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
23203 Use int64_t for variable i.
23204 * math/libm-test.inc (fmod_test): Add more tests.
23206 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
23207 z computation is not scheduled after fetestexcept.
23208 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
23209 Use math_force_eval instead of asm to ensure calculation scheduled
23210 before exception test.
23211 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
23212 Ensure a1 + u.d computation is not scheduled after fetestexcept.
23214 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
23216 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
23217 computation is not scheduled after fetestexcept.
23219 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23222 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
23223 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
23225 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23227 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
23228 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23230 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23233 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
23235 (__WCHAR_MIN): Support __WORDSIZE == 64.
23236 (__WCHAR_MAX): Likewise.
23238 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
23239 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
23242 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
23243 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
23246 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
23247 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
23249 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
23250 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
23252 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
23253 Defined to 1 if __x86_64__ isn't defined.
23254 (_STAT_VER_LINUX_OLD): New.
23255 (st_atime): Remove duplicate.
23256 (st_mtime): Likewise.
23257 (st_ctime): Likewise.
23259 2012-05-31 David S. Miller <davem@davemloft.net>
23261 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
23264 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
23266 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
23270 * elf/dl-reloc.c: Include <_itoa.h>.
23271 (_dl_reloc_bad_type): Remove use of INTUSE.
23272 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
23273 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
23274 * stdio-common/psiginfo.c (psiginfo): Likewise.
23275 * stdio-common/psignal.c (psignal): Likewise.
23276 * string/strsignal.c (strsignal): Likewise.
23277 * include/signal.h (_sys_siglist): Declare hidden proto.
23278 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
23279 INTVARDEF with libc_hidden_data_def.
23280 * stdio-common/itoa-udigits.c: Likewise.
23281 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
23282 (_itoa_lower_digits_internal): Remove declaration.
23283 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
23284 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
23285 (_sys_sigabbrev_internal): Remove aliases.
23286 (_sys_siglist): Define hidden alias.
23288 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
23290 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23293 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23296 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
23297 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
23299 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
23300 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
23301 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
23302 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
23303 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
23304 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
23306 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
23307 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
23308 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
23310 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
23318 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
23319 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
23320 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
23322 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
23323 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
23324 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
23325 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
23326 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
23327 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
23329 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
23330 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
23332 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
23333 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
23335 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
23336 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
23337 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
23339 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
23340 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
23342 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
23344 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
23345 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
23346 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
23348 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
23350 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
23352 2012-05-31 Joseph Myers <joseph@codesourcery.com>
23354 * math/math.h (M_El): Use two more decimal places.
23355 (M_LOG2El): Likewise.
23356 (M_LOG10El): Likewise.
23357 (M_LN2l): Likewise.
23358 (M_LN10l): Likewise.
23360 (M_PI_2l): Likewise.
23361 (M_PI_4l): Likewise.
23362 (M_1_PIl): Likewise.
23363 (M_2_PIl): Likewise.
23364 (M_2_SQRTPIl): Likewise.
23365 (M_SQRT2l): Likewise.
23366 (M_SQRT1_2l): Likewise.
23368 2012-05-31 David S. Miller <davem@davemloft.net>
23370 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
23371 values between float registers.
23372 * sysdeps/sparc/sparc64/memset.S: Likewise.
23373 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23375 2012-05-31 Mike Frysinger <vapier@gentoo.org>
23377 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
23378 -D_FORTIFY_SOURCE=1.
23379 (CPPFLAGS-tst-longjmp_chk.c): Define.
23380 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
23381 (CPPFLAGS-tst-longjmp_chk2.c): Define.
23382 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
23383 CFLAGS-tst-wchar-h.c.
23385 2012-05-31 Marek Polacek <polacek@redhat.com>
23388 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
23389 __endmntent_internal): Remove declaration.
23390 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
23391 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
23392 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
23394 2012-05-30 David S. Miller <davem@davemloft.net>
23396 * sysdeps/sparc/sparc32/soft-fp/q_util.c
23397 (___Q_simulate_exceptions): Use real FP ops rather than writing
23399 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
23402 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23405 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
23406 * sysdeps/x86/bits/xtitypes.h: This.
23408 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
23409 * sysdeps/x86/bits/wordsize.h: This.
23411 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
23412 * sysdeps/x86/bits/huge_vall.h: This.
23414 * sysdeps/i386/bits/select.h: Removed.
23415 * sysdeps/x86_64/bits/select.h: Renamed to ...
23416 * sysdeps/x86/bits/select.h: This.
23418 * sysdeps/i386/bits/setjmp.h: Removed.
23419 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
23420 * sysdeps/x86/bits/setjmp.h: This.
23422 * sysdeps/i386/bits/mathdef.h: Removed.
23423 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
23424 * sysdeps/x86/bits/mathdef.h: This.
23426 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
23429 * include/sys/socket.h (__connect_internal)
23430 (__libc_sa_len_internal): Remove declaration.
23431 (__connect, __libc_sa_len): Declare hidden_proto.
23432 (SA_LEN): Remove use of INTUSE.
23433 * socket/connect.c: Add libc_hidden_def.
23434 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
23435 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
23436 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
23438 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23439 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
23440 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
23441 of adding _internal alias.
23443 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23446 * sysdeps/i386/bits/link.h: Removed.
23447 * sysdeps/i386/bits/linkmap.h: Likewise.
23448 * sysdeps/x86_64/bits/link.h: Renamed to ...
23449 * sysdeps/x86/bits/link.h: This.
23450 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
23451 * sysdeps/x86/bits/linkmap.h: This.
23453 * sysdeps/i386/bits/endian.h: Removed.
23454 * sysdeps/x86_64/bits/endian.h: Renamed to ...
23455 * sysdeps/x86/bits/endian.h: This.
23457 * sysdeps/i386/bits/byteswap.h: Removed.
23458 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23459 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
23460 * sysdeps/x86/bits/byteswap.h: This.
23461 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
23462 * sysdeps/x86/bits/byteswap-16.h: This.
23463 * sysdeps/i386/Implies: Add x86.
23464 * sysdeps/x86_64/Implies: Likewise.
23466 2012-05-30 David S. Miller <davem@davemloft.net>
23468 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
23469 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
23470 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23471 (FP_TRAPPING_EXCEPTIONS): Define.
23472 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23473 (FP_TRAPPING_EXCEPTIONS): Define.
23474 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
23475 subnormals only when inexact has been signalled or underflow
23476 exceptions are enabled.
23477 (_FP_PACK_CANONICAL): Likewise.
23479 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23482 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
23483 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
23485 2012-05-30 Richard Henderson <rth@twiddle.net>
23487 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
23488 with #ifndef NOT_IN_libc.
23490 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
23491 marked to avoid plt entry.
23493 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23496 * Makeconfig (default-abi): New macro.
23497 (abi-includes): Likewise.
23498 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
23499 $(abi-$(default-abi)-lib-soname) for soname if defined.
23500 ($(common-objpfx)gnu/lib-names.stmp): Generate from
23502 * Makefile (installed-stubs): Likewise.
23503 * include/stubs-biarch.h: Removed.
23504 * scripts/lib-names.awk: Only handle one library at a time.
23505 * scripts/soversions.awk: Remove WORDSIZE support.
23506 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
23508 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
23510 (syscall-list-default-condition): Likewise.
23511 (syscall-list-default-condition): Likewise.
23512 (syscall-list-includes): Likewise.
23513 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
23514 syscall-list-* with abi-*. Handle undefined abi-variants.
23515 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
23516 * sysdeps/unix/sysv/linux/i386/Implies: New file.
23517 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
23518 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
23519 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
23520 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
23522 (syscall-list-32-options): Likewise.
23523 (syscall-list-32-condition): Likewise.
23524 (syscall-list-64-options): Likewise.
23525 (syscall-list-64-condition): Likewise.
23526 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
23528 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
23531 (abi-64-ld-soname): New macro.
23532 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
23533 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
23536 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
23537 * sysdeps/x86_64/x32/shlib-versions: Likewise.
23539 2012-05-30 Joseph Myers <joseph@codesourcery.com>
23541 * sysdeps/unix/sysv/linux/kernel-features.h
23542 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
23543 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
23544 include <kernel-features.h>.
23545 [!__NR_ftruncate64]: Remove conditional code.
23546 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23547 [__NR_ftruncate64]: Make code unconditional.
23548 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23549 * sysdeps/unix/sysv/linux/truncate64.c: Do not
23550 include <kernel-features.h>.
23551 [!__NR_ftruncate64]: Remove conditional code.
23552 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23553 [__NR_ftruncate64]: Make code unconditional.
23554 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
23556 include <kernel-features.h>.
23557 [!__NR_ftruncate64]: Remove conditional code.
23558 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23559 [__NR_ftruncate64]: Make code unconditional.
23560 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23562 include <kernel-features.h>.
23563 [!__NR_ftruncate64]: Remove conditional code.
23564 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23565 [__NR_ftruncate64]: Make code unconditional.
23566 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23568 * configure.in (libc_cv_fpie): Weaken to a compile test using
23569 LIBC_TRY_CC_OPTION.
23570 * configure: Regenerated.
23572 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
23575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
23576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
23577 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
23580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
23581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
23582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
23583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
23584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23587 2012-05-27 David S. Miller <davem@davemloft.net>
23589 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
23591 (__Q_simulate_exceptions): Return void. Change to simulate
23592 exceptions by writing into the %fsr.
23593 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
23594 (__Qp_handle_exceptions): Likewise.
23596 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
23597 __Qp_handle_exceptions.
23598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
23599 __Qp_handle_exceptions.
23600 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23601 as unused and give dummy FP_RND_NEAREST initializer.
23602 (FP_INHIBIT_RESULTS): Define.
23603 (___Q_simulate_exceptions): Update declaration.
23604 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
23606 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23607 as unused and give dummy FP_RND_NEAREST initializer.
23608 (__Qp_handle_exceptions): Update declaration.
23609 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
23612 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
23614 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
23615 the temporary FPU control word.
23616 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23617 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
23618 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23619 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23620 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23621 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23622 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23623 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23624 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23625 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23626 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23628 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23630 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
23633 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
23635 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
23636 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
23637 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
23638 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
23640 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
23641 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
23644 2012-05-27 Ulrich Drepper <drepper@gmail.com>
23646 * po/h.po: Update from translation team.
23648 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
23650 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
23652 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
23653 handling of denormals.
23654 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23655 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23656 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23657 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23658 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23659 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
23660 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
23663 2012-05-26 Marek Polacek <polacek@redhat.com>
23666 * math/libm-test.inc (fma_test): Don't always expect underflow
23669 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23672 * elf/tst-execstack.c: Include stackinfo.h.
23673 (do_test): Adjust test case to ensure that pthread_getattr_np
23674 behaviour remains the same after marking stack executable.
23676 2012-05-25 Joseph Myers <joseph@codesourcery.com>
23678 * sysdeps/unix/sysv/linux/kernel-features.h
23679 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
23680 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
23682 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23683 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23684 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
23686 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23687 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23689 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
23691 * configure.in: Define the default includes to being none.
23692 * configure: Regenerated.
23694 2012-05-25 Roland McGrath <roland@hack.frob.com>
23696 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
23697 * sysdeps/x86_64/setjmp.S: Likewise.
23698 * sysdeps/i386/bsd-setjmp.S: Likewise.
23699 * sysdeps/i386/bsd-_setjmp.S: Likewise.
23700 * sysdeps/i386/setjmp.S: Likewise.
23701 * sysdeps/i386/__longjmp.S: Likewise.
23702 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23703 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
23705 * include/stap-probe.h: New file.
23706 * configure.in: Handle --enable-systemtap.
23707 * configure: Regenerated.
23708 * config.h.in (USE_STAP_PROBE): New #undef.
23709 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
23710 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
23711 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23713 2012-05-25 Joseph Myers <joseph@codesourcery.com>
23716 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23717 to 2.4.0 where earlier.
23718 * sysdeps/unix/sysv/linux/configure: Regenerated.
23719 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23720 <kernel-features.h>.
23721 [__ASSUME_32BITUIDS]: Make code unconditional.
23722 [!__ASSUME_32BITUIDS]: Remove conditional code.
23723 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
23724 <kernel-features.h>.
23725 [__ASSUME_32BITUIDS]: Make code unconditional.
23726 [!__ASSUME_32BITUIDS]: Remove conditional code.
23727 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
23728 [__ASSUME_32BITUIDS]: Make code unconditional.
23729 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23730 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
23731 <kernel-features.h>.
23732 [__ASSUME_32BITUIDS]: Make code unconditional.
23733 [!__ASSUME_32BITUIDS]: Remove conditional code.
23734 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
23735 <kernel-features.h>.
23736 [__ASSUME_32BITUIDS]: Make code unconditional.
23737 [!__ASSUME_32BITUIDS]: Remove conditional code.
23738 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
23739 <kernel-features.h>.
23740 [__ASSUME_32BITUIDS]: Make code unconditional.
23741 [!__ASSUME_32BITUIDS]: Remove conditional code.
23742 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
23743 <kernel-features.h>.
23744 [__ASSUME_32BITUIDS]: Make code unconditional.
23745 [!__ASSUME_32BITUIDS]: Remove conditional code.
23746 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23747 <kernel-features.h>.
23748 [__ASSUME_32BITUIDS]: Make code unconditional.
23749 [!__ASSUME_32BITUIDS]: Remove conditional code.
23750 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23751 <kernel-features.h>.
23752 [__ASSUME_32BITUIDS]: Make code unconditional.
23753 [!__ASSUME_32BITUIDS]: Remove conditional code.
23754 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
23755 <kernel-features.h>.
23756 [__ASSUME_32BITUIDS]: Make code unconditional.
23757 [!__ASSUME_32BITUIDS]: Remove conditional code.
23758 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23759 <kernel-features.h>.
23760 [__ASSUME_32BITUIDS]: Make code unconditional.
23761 [!__ASSUME_32BITUIDS]: Remove conditional code.
23762 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23763 <kernel-features.h>.
23764 [__ASSUME_32BITUIDS]: Make code unconditional.
23765 [!__ASSUME_32BITUIDS]: Remove conditional code.
23766 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
23767 <kernel-features.h>.
23768 [__ASSUME_32BITUIDS]: Make code unconditional.
23769 [!__ASSUME_32BITUIDS]: Remove conditional code.
23770 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
23771 <kernel-features.h>.
23772 [__NR_setresgid] (__setresgid): Do not declare.
23773 [__ASSUME_32BITUIDS]: Make code unconditional.
23774 [!__ASSUME_32BITUIDS]: Remove conditional code.
23775 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23776 <kernel-features.h>.
23777 [__NR_setresuid] (__setresuid): Do not declare.
23778 [__ASSUME_32BITUIDS]: Make code unconditional.
23779 [!__ASSUME_32BITUIDS]: Remove conditional code.
23780 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23781 <kernel-features.h>.
23782 [__ASSUME_32BITUIDS]: Make code unconditional.
23783 [!__ASSUME_32BITUIDS]: Remove conditional code.
23784 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23785 <kernel-features.h>.
23786 [__ASSUME_32BITUIDS]: Make code unconditional.
23787 [!__ASSUME_32BITUIDS]: Remove conditional code.
23788 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23789 <kernel-features.h>.
23790 [__ASSUME_32BITUIDS]: Make code unconditional.
23791 [!__ASSUME_32BITUIDS]: Remove conditional code.
23792 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23793 <kernel-features.h>.
23794 [__ASSUME_32BITUIDS]: Make code unconditional.
23795 [!__ASSUME_32BITUIDS]: Remove conditional code.
23796 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23797 <kernel-features.h>.
23798 [__ASSUME_32BITUIDS]: Make code unconditional.
23799 [!__ASSUME_32BITUIDS]: Remove conditional code.
23800 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23801 <kernel-features.h>.
23802 [__ASSUME_32BITUIDS]: Make code unconditional.
23803 [!__ASSUME_32BITUIDS]: Remove conditional code.
23804 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23805 <kernel-features.h>.
23806 [__ASSUME_32BITUIDS]: Make code unconditional.
23807 [!__ASSUME_32BITUIDS]: Remove conditional code.
23808 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23809 <kernel-features.h>.
23810 [__ASSUME_32BITUIDS]: Make code unconditional.
23811 [!__ASSUME_32BITUIDS]: Remove conditional code.
23812 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23813 <kernel-features.h>.
23814 [__ASSUME_32BITUIDS]: Make code unconditional.
23815 [!__ASSUME_32BITUIDS]: Remove conditional code.
23816 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23817 <kernel-features.h>.
23818 [__ASSUME_32BITUIDS]: Make code unconditional.
23819 [!__ASSUME_32BITUIDS]: Remove conditional code.
23820 * sysdeps/unix/sysv/linux/kernel-features.h
23821 (__ASSUME_SETRESUID_SYSCALL): Remove.
23822 (__ASSUME_SETRESGID_SYSCALL): Likewise.
23823 (__ASSUME_32BITUIDS): Likewise.
23824 (__ASSUME_LDT_WORKS): Likewise.
23825 (__ASSUME_O_DIRECTORY): Likewise.
23826 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23827 architecture but not kernel version.
23828 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23829 (__ASSUME_MMAP2_SYSCALL): Likewise.
23830 (__ASSUME_STAT64_SYSCALL): Likewise.
23831 (__ASSUME_IPC64): Likewise.
23832 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23833 <kernel-features.h>.
23834 [__ASSUME_32BITUIDS]: Make code unconditional.
23835 [!__ASSUME_32BITUIDS]: Remove conditional code.
23836 * sysdeps/unix/sysv/linux/opendir.c: Do not include
23837 <kernel-features.h>.
23838 [__ASSUME_O_DIRECTORY]: Make code unconditional.
23839 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23840 132096]: Remove conditional code.
23841 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23842 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23843 <kernel-features.h>.
23844 [__ASSUME_32BITUIDS]: Make code unconditional.
23845 [!__ASSUME_32BITUIDS]: Remove conditional code.
23846 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23847 <kernel-features.h>.
23848 [__ASSUME_32BITUIDS]: Make code unconditional.
23849 [!__ASSUME_32BITUIDS]: Remove conditional code.
23850 * sysdeps/unix/sysv/linux/setegid.c: Do not include
23851 <kernel-features.h>.
23852 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23854 (__setresgid): Do not declare.
23855 [__ASSUME_32BITUIDS]: Make code unconditional.
23856 [!__ASSUME_32BITUIDS]: Remove conditional code.
23857 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23858 <kernel-features.h>.
23859 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23861 (__setresuid): Do not declare.
23862 [__ASSUME_32BITUIDS]: Make code unconditional.
23863 [!__ASSUME_32BITUIDS]: Remove conditional code.
23864 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23865 <kernel-features.h>.
23866 [__ASSUME_32BITUIDS]: Make code unconditional.
23867 [!__ASSUME_32BITUIDS]: Remove conditional code.
23868 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23869 <kernel-features.h>.
23870 [__ASSUME_32BITUIDS]: Make code unconditional.
23871 [!__ASSUME_32BITUIDS]: Remove conditional code.
23873 2012-05-25 Richard Henderson <rth@twiddle.net>
23875 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23876 dl_hwcap to ifunc resolver.
23877 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23879 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23880 dl_hwcap to ifunc resolver.
23881 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23883 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23886 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23887 for |x| <= 2**-26, not 2**-57.
23888 * math/libm-test.inc (acos_test): Do not allow spurious underflow
23891 2012-05-24 Jeff Law <law@redhat.com>
23893 * stdio-common/Makefile (tests): Add bug25.
23894 * stdio-common/bug25.c: New test.
23896 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23899 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23900 multiple of MALLOC_ALIGNMENT in size.
23901 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23903 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23905 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23907 (FILENAME_MAX): Use macro-int-constant.
23908 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
23909 (_IOFBF): Use macro-int-constant.
23910 (_IOLBF): Likewise.
23911 (_IONBF): Likewise.
23912 (SEEK_CUR): Likewise.
23913 (SEEK_END): Likewise.
23914 (SEEK_SET): Likewise.
23915 (TMP_MAX): Likewise.
23916 (EOF): Use macro-int-constant. Require < 0.
23917 (NULL): Use macro-constant. Require == 0.
23918 (stdin): Require type to be FILE *.
23919 (stdout): Likewise.
23920 (stderr): Likewise.
23921 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23922 macro-int-constant.
23923 (EXIT_SUCCESS): Likewise.
23924 (NULL): Use macro-constant. Require == 0.
23925 (RAND_MAX): Use macro-int-constant.
23926 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23927 [C99-based standards] (strtof): Require function.
23928 [C99-based standards] (strtold): Likewise.
23929 [C99-based standards] (strtoll): Likewise.
23930 [C99-based standards] (strtoull): Likewise.
23931 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23932 [ISO || ISO99 || ISO11] (limits.h): Likewise.
23933 [ISO || ISO99 || ISO11] (math.h): Likewise.
23934 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23935 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23936 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23938 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
23941 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23942 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23943 * intl/dgettext.c (DCGETTEXT): Likewise.
23944 * intl/gettext.c (DCGETTEXT): Likewise.
23945 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23946 * posix/regex_internal.h (gettext): Likewise.
23947 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23948 Remove declaration.
23949 * include/argz.h (__argz_count_internal)
23950 (__argz_stringify_internal): Remove declaration.
23951 (__argz_count, __argz_stringify): Declare hidden proto.
23952 * intl/dcgettext.c: Remove use of INTDEF.
23953 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23954 * string/argz-stringify.c: Likewise.
23955 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23956 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23957 Declare hidden proto.
23958 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23959 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23960 Declare hidden proto.
23961 * include/stdio.h (__asprintf_internal): Don't declare.
23962 (__asprintf): Don't define as macro. Declare hidden proto.
23963 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23964 (__fsetlocking): Declare hidden proto.
23965 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23966 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23968 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23969 (_IO_setlinebuf): Remove use of INTUSE.
23970 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23971 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23972 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23973 Remove declaration.
23974 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23975 (_IO_do_flush): Remove use of INTUSE.
23976 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23977 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23978 (_IO_adjust_column, _IO_least_wmarker)
23979 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23980 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23981 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23982 (_IO_default_doallocate, _IO_wdefault_doallocate)
23983 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23984 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23985 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23986 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23987 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23988 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23989 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23990 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23991 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23992 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23993 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23994 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23995 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23997 (_IO_flush_all_internal, _IO_adjust_column_internal)
23998 (_IO_default_uflow_internal, _IO_default_finish_internal)
23999 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
24000 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
24001 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
24002 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
24003 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
24004 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
24005 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
24006 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
24007 (_IO_file_close_internal, _IO_file_close_it_internal)
24008 (_IO_file_underflow_internal, _IO_file_overflow_internal)
24009 (_IO_file_init_internal, _IO_file_attach_internal)
24010 (_IO_file_fopen_internal, _IO_file_read_internal)
24011 (_IO_file_sync_internal, _IO_file_seek_internal)
24012 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
24013 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
24014 (_IO_str_underflow_internal, _IO_str_overflow_internal)
24015 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
24016 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
24017 (_IO_list_all_internal, _IO_link_in_internal)
24018 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
24019 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
24020 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24021 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24022 (_IO_do_write_internal, _IO_padn_internal)
24023 (_IO_getline_info_internal, _IO_getline_internal)
24024 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24025 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24026 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24027 (_IO_vfscanf_internal, _IO_vfprintf_internal)
24028 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24029 (_IO_init_internal, _IO_un_link_internal): Don't declare.
24030 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24031 with libc_hidden_ver, remove use of INTUSE.
24032 * libio/genops.c: Likewise.
24033 * libio/freopen.c: Likewise.
24034 * libio/freopen64.c: Likewise.
24035 * libio/iofclose.c: Likewise.
24036 * libio/iofdopen.c: Likewise.
24037 * libio/iofflush.c: Likewise.
24038 * libio/iofflush_u.c: Likewise.
24039 * libio/iofgets.c: Likewise.
24040 * libio/iofgets_u.c: Likewise.
24041 * libio/iofopen.c: Likewise.
24042 * libio/iofopncook.c: Likewise.
24043 * libio/iofread.c: Likewise.
24044 * libio/iofread_u.c: Likewise.
24045 * libio/ioftell.c: Likewise.
24046 * libio/iofwrite.c: Likewise.
24047 * libio/iogetline.c: Likewise.
24048 * libio/iogets.c: Likewise.
24049 * libio/iogetwline.c: Likewise.
24050 * libio/iopadn.c: Likewise.
24051 * libio/iopopen.c: Likewise.
24052 * libio/ioseekoff.c: Likewise.
24053 * libio/ioseekpos.c: Likewise.
24054 * libio/iosetbuffer.c: Likewise.
24055 * libio/iosetvbuf.c: Likewise.
24056 * libio/ioungetc.c: Likewise.
24057 * libio/ioungetwc.c: Likewise.
24058 * libio/iovdprintf.c: Likewise.
24059 * libio/iovsprintf.c: Likewise.
24060 * libio/iovsscanf.c: Likewise.
24061 * libio/memstream.c: Likewise.
24062 * libio/obprintf.c: Likewise.
24063 * libio/oldfileops.c: Likewise.
24064 * libio/oldiofclose.c: Likewise.
24065 * libio/oldiofdopen.c: Likewise.
24066 * libio/oldiofopen.c: Likewise.
24067 * libio/oldiopopen.c: Likewise.
24068 * libio/oldstdfiles.c: Likewise.
24069 * libio/putc.c: Likewise.
24070 * libio/setbuf.c: Likewise.
24071 * libio/setlinebuf.c: Likewise.
24072 * libio/stdfiles.c: Likewise.
24073 * libio/strops.c: Likewise.
24074 * libio/vasprintf.c: Likewise.
24075 * libio/vscanf.c: Likewise.
24076 * libio/vsnprintf.c: Likewise.
24077 * libio/vswprintf.c: Likewise.
24078 * libio/wfiledoalloc.c: Likewise.
24079 * libio/wfileops.c: Likewise.
24080 * libio/wgenops.c: Likewise.
24081 * libio/wmemstream.c: Likewise.
24082 * libio/wstrops.c: Likewise.
24083 * libio/__fpurge.c: Likewise.
24084 * libio/__fsetlocking.c: Likewise.
24085 * assert/assert.c: Likewise.
24086 * debug/fgets_chk.c: Likewise.
24087 * debug/fgets_u_chk.c: Likewise.
24088 * debug/fread_chk.c: Likewise.
24089 * debug/fread_u_chk.c: Likewise.
24090 * debug/gets_chk.c: Likewise.
24091 * debug/obprintf_chk.c: Likewise.
24092 * debug/vasprintf_chk.c: Likewise.
24093 * debug/vdprintf_chk.c: Likewise.
24094 * debug/vsnprintf_chk.c: Likewise.
24095 * debug/vsprintf_chk.c: Likewise.
24096 * malloc/mtrace.c: Likewise.
24097 * misc/error.c: Likewise.
24098 * misc/syslog.c: Likewise.
24099 * stdio-common/asprintf.c: Likewise.
24100 * stdio-common/fxprintf.c: Likewise.
24101 * stdio-common/getw.c: Likewise.
24102 * stdio-common/isoc99_fscanf.c: Likewise.
24103 * stdio-common/isoc99_scanf.c: Likewise.
24104 * stdio-common/isoc99_vfscanf.c: Likewise.
24105 * stdio-common/isoc99_vscanf.c: Likewise.
24106 * stdio-common/isoc99_vsscanf.c: Likewise.
24107 * stdio-common/printf-prs.c: Likewise.
24108 * stdio-common/printf_fp.c: Likewise.
24109 * stdio-common/printf_fphex.c: Likewise.
24110 * stdio-common/printf_size.c: Likewise.
24111 * stdio-common/putw.c: Likewise.
24112 * stdio-common/scanf.c: Likewise.
24113 * stdio-common/sprintf.c: Likewise.
24114 * stdio-common/tmpfile.c: Likewise.
24115 * stdio-common/vfprintf.c: Likewise.
24116 * stdio-common/vfscanf.c: Likewise.
24117 * stdlib/strfmon_l.c: Likewise.
24118 * sunrpc/openchild.c: Likewise.
24119 * sunrpc/xdr_stdio.c: Likewise.
24120 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24121 * sysdeps/mach/hurd/tmpfile.c: Likewise.
24123 2012-05-24 Roland McGrath <roland@hack.frob.com>
24125 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24127 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
24128 in the third column, to generate for the shared library an IFUNC
24129 that uses _dl_vdso_vsym.
24130 * Makerules (COMPILE.c, compile-stdin.c): New variables.
24131 * Makeconfig (object-suffixes-noshared): New variable.
24133 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
24134 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
24135 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
24136 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
24139 * include/sys/time.h (__gettimeofday): Remove macro.
24140 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
24141 * time/gettimeofday.c (__gettimeofday): Remove #undef.
24143 (__gettimeofday): Add libc_hidden_def.
24144 (gettimeofday): Add libc_hidden_weak.
24145 * sysdeps/mach/gettimeofday.c: Likewise.
24146 * sysdeps/posix/gettimeofday.c: Likewise.
24147 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24148 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24149 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
24150 (__gettimeofday_internal): Remove strong_alias.
24151 (__gettimeofday): Add libc_hidden_def.
24152 (gettimeofday): Add libc_hidden_weak.
24153 * sysdeps/unix/syscalls.list (gettimeofday):
24154 Remove __gettimeofday_internal alias.
24156 2012-05-24 Daniel Jacobowitz <drow@false.org>
24157 H.J. Lu <hongjiu.lu@intel.com>
24160 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
24161 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
24162 (largebin_index_32_big): New.
24163 (largebin_index): Use it for 16-byte alignment.
24164 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
24165 correction with front_misalign.
24167 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24169 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
24170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
24174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
24178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
24180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
24182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
24184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
24188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
24190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
24195 * scripts/data/c++-types-x32-linux-gnu.data: New file.
24196 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
24198 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24202 * math/libm-test.inc (exp_test): Add test from bug 14036.
24203 (pow_test): Add test from bug 10846.
24205 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
24207 (special_function): Do not include flags in test name.
24208 (parse_args): Likewise.
24209 * sysdeps/i386/fpu/libm-test-ulps: Update.
24210 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24211 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24212 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24215 * math/gen-libm-test.pl (%beautify): Add entries for underflow
24217 * math/libm-test.inc ("Philosophy"): Update comment about
24219 (UNDERFLOW_EXCEPTION): New macro.
24220 (UNDERFLOW_EXCEPTION_OK): Likewise.
24221 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
24222 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
24223 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
24224 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
24225 (INVALID_EXCEPTION_OK): Update value.
24226 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24227 (OVERFLOW_EXCEPTION_OK): Likewise.
24228 (IGNORE_ZERO_INF_SIGN): Likewise.
24229 (test_exceptions): Handle underflow exceptions.
24230 (acos_test): Update for underflow exception expectations.
24231 (cexp_test): Likewise.
24232 (clog_test): Likewise.
24233 (clog10_test): Likewise.
24234 (csqrt_test): Likewise.
24235 (ctan_test): Likewise.
24236 (ctanh_test): Likewise.
24237 (exp_test): Likewise.
24238 (exp10_test): Likewise.
24239 (exp2_test): Likewise.
24240 (expm1_test): Likewise.
24241 (fma_test): Likewise.
24242 (j0_test): Likewise.
24243 (jn_test): Likewise.
24244 (nexttoward_test): Likewise.
24245 (pow_test): Likewise.
24246 (scalbn_test): Likewise.
24247 (scalbln_test): Likewise.
24248 (tan_test): Likewise.
24249 (y1_test): Likewise.
24250 * sysdeps/i386/fpu/libm-test-ulps: Update.
24251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24253 2012-05-23 David S. Miller <davem@davemloft.net>
24255 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24256 (__libc_sigaction): Remove unused local variables.
24258 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24260 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
24262 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
24264 mktime: avoid signed integer overflow
24265 * time/mktime.c (__mktime_internal): Do not mishandle the case
24266 where diff == INT_MIN.
24268 mktime: simplify computation of average
24269 * time/mktime.c (ranged_convert): Use new time_t_avg function
24270 instead of rolling our own (probably-slower) code.
24272 mktime: do not assume signed right shift propagates sign bit
24273 * time/mktime.c (isdst_differ): New static function.
24274 (__mktime_internal): No need to normalize tm_isdst now.
24275 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
24278 mktime: merge another wrapv change from gnulib
24279 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
24280 from some compilers.
24282 mktime: remove incorrect attempt at unusual arithmetics
24283 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
24284 The code didn't really work on such machines anyway.
24285 (TYPE_MINIMUM): Assume two's complement.
24286 (twos_complement_arithmetic): Verify that long_int and time_t
24287 are two's complement (or unsigned, in the latter case).
24289 mktime: check signed shifts on long_int and time_t, too
24290 * time/mktime.c (SHR): Check that shifts work as desired
24291 on the types long_int and time_t too, as SHR is used on
24294 mktime: do not assume 'long' is wide enough
24295 * time/mktime.c (verify): Move decl up.
24296 (long_int): New type.
24297 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
24298 to remove assumption in the code that 'long' is wide enough to
24299 store year values. This assumption is not true on x32 and on
24300 some non-glibc platforms.
24302 mktime: merge wrapv change from gnulib
24303 * time/mktime.c (WRAPV): New macro.
24304 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
24305 (guess_time_tm, __mktime_internal): Do not assume that signed
24306 integer overflow wraps around; modern compilers generate code
24307 where this assumption is no longer valid.
24309 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24311 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24312 Replace "jmp L(pseudo_end)" with "ret".
24313 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
24316 2012-05-23 Andreas Jaeger <aj@suse.de>
24318 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
24319 * sysdeps/unix/sysv/linux/poll.c: Remove file.
24321 2012-05-23 Andreas Jaeger <aj@suse.de>
24322 Maximilian Attems <max@stro.at>
24324 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
24327 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24329 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
24330 code so that pseudo_end is just ret and the stack pointer is
24331 correct also for static library in error case.
24333 2012-05-23 Joseph Myers <joseph@codesourcery.com>
24335 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
24336 move to syscalls.list.
24337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24342 * manual/install.texi (Running make install): Do not mention Linux
24343 kernel version for which pt_chown is not needed.
24344 (Linux): Do not mention problems with nscd with 2.0 kernels.
24345 * INSTALL: Regenerated.
24347 2012-05-23 Andreas Jaeger <aj@suse.de>
24349 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
24350 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
24352 * sysdeps/unix/sysv/linux/s390/bits/mman.h
24353 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24354 * sysdeps/unix/sysv/linux/sh/bits/mman.h
24355 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24356 * sysdeps/unix/sysv/linux/i386/bits/mman.h
24357 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24358 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
24359 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24360 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
24361 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24362 * sysdeps/unix/sysv/linux/bits/in.h
24363 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
24365 2012-05-22 Roland McGrath <roland@hack.frob.com>
24367 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
24368 (PREPARE_VERSION): Just use assert instead, it will be elided
24369 under [NDEBUG] anyway.
24371 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24373 * sysdeps/unix/sysv/linux/Makefile: Include
24374 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
24375 (sysdep_routines): Remove sysctl.
24376 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
24377 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
24378 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
24379 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
24380 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
24382 2012-05-22 Andreas Jaeger <aj@suse.de>
24384 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
24385 that pseudo_end is just ret and the stack pointer is correct also
24386 for static library in error case.
24388 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
24391 * nss/nsswitch.c (defconfig_entries): New variable.
24392 (__nss_database_lookup): Don't leak defconfig entries.
24393 (nss_parse_service_list): Don't leak on error paths.
24394 (free_database_entries): New function.
24395 (free_defconfig): New function.
24396 (free_mem): Move common code to free_database_entries.
24398 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24400 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
24402 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
24404 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24405 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
24406 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
24408 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
24409 (INTERNAL_SYSCALL_TYPES): Likewise.
24410 (LOAD_ARGS_TYPES_[1-6]): Likewise.
24411 (LOAD_REGS_TYPES_[1-6]): Likewise.
24412 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
24413 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
24415 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24417 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
24418 copysignl for GLIBC_2_0.
24419 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
24420 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
24421 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
24422 logbl for GLIBC_2_0.
24423 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24424 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24426 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24428 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
24429 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24431 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24434 * time/mktime.c: Update copyright years.
24436 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
24438 mktime: merge comment-quoting-style change from gnulib
24439 * time/mktime.c: Quote 'like this' in comments.
24440 The GNU coding standards suggest that we no longer quote `like this',
24441 as "`" and "'" are typically rendered asymmetrically nowadays.
24442 The typical gnulib style is to quote 'like this' when quoting
24443 code, and "like this" when quoting English.
24445 * time/mktime.c (compile-command): Add "-I.".
24447 mktime: merge mktime-internal.h change from gnulib
24448 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
24450 mktime: merge time_r change from gnulib
24451 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
24453 mktime: merge DEBUG change from gnulib
24454 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
24455 case system <time.h> has a #define.
24457 mktime: merge <sys/types.h> change from gnulib
24458 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
24459 since <time.t> is now guaranteed to define time_t.
24461 mktime: merge HAVE_CONFIG_H change from gnulib
24462 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
24464 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24466 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24469 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
24471 (struct rusage): Use anonymous union to pad each field to
24474 2012-05-21 David S. Miller <davem@davemloft.net>
24476 * Makefules (o-iterator): Remove .s cases.
24477 (compile-command.s): Delete.
24478 (COMPILE.s): Delete.
24479 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
24481 2012-05-21 Joseph Myers <joseph@codesourcery.com>
24483 * configure.in (libc_cv_predef_stack_protector): Only consider
24484 "foobar" and "__stack_chk_fail" lines in libc_undefs.
24485 * configure: Regenerated.
24487 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24489 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24490 New macro. Use R*LP on int and pointer.
24491 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
24492 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
24493 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
24494 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
24496 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
24497 [__WORDSIZE_TIME64_COMPAT32] instead of
24498 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
24499 (struct utmp): Likewise.
24500 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
24501 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
24503 (__WORDSIZE_TIME64_COMPAT32): This.
24504 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
24505 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
24506 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
24507 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
24508 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
24509 (__WORDSIZE_TIME64_COMPAT32): New macro.
24511 2012-05-21 Andreas Jaeger <aj@suse.de>
24513 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
24514 only if [SHARED]. Add prototype for __wcschr_ia32.
24516 2012-05-21 Roland McGrath <roland@hack.frob.com>
24518 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
24519 of %rbp unmolested in the jmp_buf while mangling the low bits.
24520 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
24521 unmolested high bits of %rbp while demangling the low bits.
24522 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24524 2012-05-21 Andreas Jaeger <aj@suse.de>
24526 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
24527 * sunrpc/svc_simple.c: Use it for registerrpc.
24528 * sunrpc/xcrypt.c: Use it for passwd2des.
24530 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
24532 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24534 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
24535 Don't define if [__SYSCALL_WORDSIZE != 32].
24536 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
24539 2012-05-21 Bruno Haible <bruno@clisp.org>
24540 Andreas Jaeger <aj@suse.de>
24542 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
24543 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
24544 inptr and inend for must_buffer_ch.
24545 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
24546 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
24547 * stdio-common/Makefile (tests): Remove bug15.
24548 (bug15-ENV): Remove macro.
24549 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
24552 2012-05-19 Andreas Jaeger <aj@suse.de>
24553 Roland McGrath <roland@hack.frob.com>
24555 * manual/contrib.texi: Completely rewritten. It contains now an
24556 alphabetical list of contributors and their contributions.
24558 2012-05-21 Richard Henderson <rth@twiddle.net>
24560 * misc/getauxval.c (__getauxval): Use unsigned long int.
24561 * misc/sys/auxv.h: Include <sys/cdefs.h>.
24562 (getauxval): Use unsigned long int.
24564 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24566 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24568 2012-05-21 Roland McGrath <roland@hack.frob.com>
24570 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
24571 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
24572 __alignof__ (long double).
24574 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24578 2012-05-20 Richard Henderson <rth@twiddle.net>
24580 * misc/getauxval.c: New file.
24581 * misc/sys/auxv.h: New file.
24582 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
24583 (routines): Add getauxval.
24584 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
24585 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
24586 * elf/dl-sysdep.c (_dl_auxv): Remove.
24587 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
24588 * elf/dl-support.c (_dl_auxv): New variable.
24589 (_dl_aux_init): Initialize it.
24590 * manual/startup.texi (Auxiliary Vector): New node.
24591 * sysdeps/generic/bits/hwcap.h: New file.
24592 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
24593 * sysdeps/powerpc/sysdep.h: ... here. Include it.
24594 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
24595 * sysdeps/sparc/sysdep.h: ... here. Include it.
24596 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
24597 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
24598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
24601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
24602 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
24603 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
24604 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
24607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
24609 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24613 2012-05-19 David S. Miller <davem@davemloft.net>
24615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24617 2012-05-19 Joseph Myers <joseph@codesourcery.com>
24620 * math/s_ccosh.c: Include <float.h>
24621 (__ccosh): Avoid internal overflow calculating sinh and cosh
24622 values before multiplying by sin and cos values.
24623 * math/s_ccoshf.c: Likewise.
24624 * math/s_ccoshl.c: Likewise.
24625 * math/s_csin.c: Likewise.
24626 * math/s_csinf.c: Likewise.
24627 * math/s_csinl.c: Likewise.
24628 * math/s_csinh.c: Likewise.
24629 * math/s_csinhf.c: Likewise.
24630 * math/s_csinhl.c: Likewise.
24631 * math/libm-test.inc (ccos_test): Add more tests.
24632 (ccosh_test): Likewise.
24633 (csin_test): Likewise.
24634 (csinh_test): Likewise.
24635 * sysdeps/i386/fpu/libm-test-ulps: Update.
24636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24638 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
24640 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
24641 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
24643 * sysdeps/x86_64/x32/_itoa.h: Add comment.
24645 2012-05-19 Joseph Myers <joseph@codesourcery.com>
24647 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
24648 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
24649 * sysdeps/powerpc/soft-fp/Versions: Likewise.
24650 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
24651 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
24652 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
24653 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
24654 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
24655 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
24656 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
24657 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
24658 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
24659 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
24660 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
24661 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
24662 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
24663 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
24664 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
24665 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
24666 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
24667 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
24668 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
24669 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
24670 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
24671 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
24672 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
24673 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
24674 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
24675 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
24676 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
24677 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
24679 2012-05-18 Andreas Jaeger <aj@suse.de>
24681 * csu/.gitignore: Delete.
24683 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24685 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
24686 (timex): Use __syscall_slong_t.
24688 2012-05-18 Andreas Jaeger <aj@suse.de>
24689 Carlos O'Donell <carlos_odonell@mentor.com>
24691 * manual/install.texi (Configuring and compiling): Update
24692 description about files modified in the source directory.
24693 * INSTALL: Regenerated.
24695 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24697 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
24698 value. Use "or" to set return value to -1.
24699 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
24700 negate return value.
24702 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24704 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
24705 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
24706 failure if the compiler has Graphite support disabled.
24707 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
24709 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
24710 CFLAGS-memmove.c): Likewise.
24711 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
24714 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24716 * sysdeps/x86_64/x32/_itoa.h: New file.
24718 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
24719 getdents system call only if kernel and user dirents have the
24720 same d_ino and d_off.
24722 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24723 LLONG_MAX != LONG_MAX.
24724 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24725 (_fitoa_word): Likewise.
24727 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24729 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24730 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24731 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24733 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24734 include <bits/wordsize.h>. Check __x86_64__ instead of
24736 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24737 if __x86_64__ is defined. Use anonymous union on fpstate.
24739 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24742 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
24744 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24745 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24746 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24747 Refer to _rtld_local_ro instead of _rtld_global_ro.
24748 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24750 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24752 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24754 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24755 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24756 of _rtld_global, and rtld_progname instead of _dl_argv[0].
24758 * sysdeps/powerpc/powerpc32/dl-machine.c
24759 (__elf_machine_runtime_setup) [PROF]: Don't reference
24762 2012-05-18 Andreas Jaeger <aj@suse.de>
24764 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24765 function only available for GCCs before 3.4 since GCC 3.4
24766 introduced a builtin.
24768 (llrintf): Likewise.
24769 (llrint): Likewise.
24776 (nearbyint): Likewise.
24777 (nearbyintf): Likewise.
24781 (floorf): Likewise.
24783 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24785 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24786 on both fields and cast pointer to __syscall_ulong_t.
24788 * bits/types.h (__fsword_t): New type.
24789 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24790 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24791 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24792 (__FSWORD_T_TYPE): Likewise.
24793 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24794 (__FSWORD_T_TYPE): Likewise.
24795 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24796 (__FSWORD_T_TYPE): Likewise.
24797 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24798 (__FSWORD_T_TYPE): Likewise.
24799 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24800 __SWORD_TYPE with __fsword_t.
24801 (statfs64): Likewise.
24803 2012-05-17 David S. Miller <davem@davemloft.net>
24805 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24807 2012-05-17 Andreas Jaeger <aj@suse.de>
24809 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24812 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24814 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24816 2012-05-17 Andreas Jaeger <aj@suse.de>
24818 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24821 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24823 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24825 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24827 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24828 * sysdeps/x86_64/tst-mallocalign1.c: New file.
24830 2012-05-17 Andreas Jaeger <aj@suse.de>
24831 Carlos O'Donell <carlos_odonell@mentor.com>
24834 * sysdeps/x86_64/multiarch/init-arch.h
24835 (bit_YMM_Usable): Rename to...
24836 (bit_AVX_Usable): ... this.
24837 (bit_FMA4_Usable): New macro.
24838 (bit_XMM_state): New macro.
24839 (bit_YMM_state): New macro.
24840 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24841 [__ASSEMBLER__] (index_AVX_Usable): ... this.
24842 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24843 (CPUID_OSXSAVE): New macro.
24844 (CPUID_AVX): New macro.
24845 (CPUID_FMA4): New macro.
24846 (index_YMM_Usable): Rename to...
24847 (index_AVX_Usable): ... this.
24848 (HAS_AVX): Use HAS_ARCH_FEATURE.
24849 (HAS_FMA4): Likewise.
24850 (HAS_YMM_USABLE): Remove.
24851 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24852 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24854 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24855 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24856 * sysdeps/x86_64/multiarch/Makefile: Likewise.
24857 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24858 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24860 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24862 * math/libm-test.c: Support platforms without multiple rounding modes.
24863 * math/bug-nextafter.c: Support platforms without FP exceptions.
24864 * math/bug-nexttoward.c: Likewise.
24865 * math/test-fenv.c: Likewise.
24866 * math/test-misc.c: Likewise.
24867 * stdlib/bug-getcontext.c: Likewise.
24869 2012-05-17 Andreas Jaeger <aj@suse.de>
24871 * manual/examples/search.c (critter_cmp): Change signature to
24873 * manual/string.texi (Collation Functions): Likewise.
24875 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24877 * bits/types.h: Fold copyright years.
24878 * bits/typesizes.h: Likewise.
24879 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24880 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24881 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24882 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24883 * time/time.h: Likewise.
24885 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
24888 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24889 in instead of returning them. Return void.
24890 (__libc_mallinfo): Accumulate over all arenas.
24891 (__malloc_stats): Adjust for change in int_mallinfo interface.
24893 2012-05-16 Roland McGrath <roland@hack.frob.com>
24896 * configure.in (NM): Add AC_CHECK_TOOL for it.
24897 (libc_extra_cflags): New substituted variable.
24898 Check for -fstack-protector being used implicitly.
24899 * configure: Regenerated.
24900 * config.make.in (config-extra-cflags): New variable,
24901 gets @libc_extra_cflags@.
24902 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24905 * configure.in: Check for _FORTIFY_SOURCE being predefined.
24906 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24907 * configure: Regenerated.
24908 * config.make.in (CPPUNDEFS): New substituted variable.
24909 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24910 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24911 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24913 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24915 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24916 (mq_attr): Use __syscall_slong_t.
24918 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24920 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24921 Check __x86_64__ instead of __WORDSIZE.
24922 (_STAT_VER_LINUX): Likewise.
24923 (stat): Check __x86_64__ instead of __WORDSIZE. Use
24924 __syscall_ulong_t and __syscall_slong_t.
24925 (stat64): Likewise.
24927 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24929 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24931 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24933 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24935 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24937 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24940 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24941 include <bits/wordsize.h>. Check __x86_64__ instead of
24943 (greg_t): Use "__extension__ long long int" if __x86_64__ is
24945 (mcontext_t): Replace "unsigned long" with "unsigned long long".
24947 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24948 include <bits/wordsize.h>. Check __x86_64__ instead of
24950 (user_regs_struct): Use "__extension__ unsigned long long"
24951 instead of "unsigned long" if __x86_64__ is defined.
24952 (user): Likewise. Pad after pointer field if __ILP32__ is
24955 2012-05-16 Joseph Myers <joseph@codesourcery.com>
24957 * configure.in (makeinfo): Require version 4.5 or later. Allow
24959 * configure: Regenerated.
24960 * manual/install.texi (texinfo): Increase version requirement to
24962 * INSTALL: Regenerated.
24964 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24966 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24968 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24970 * sysdeps/x86_64/x32/ffs.c: New file.
24972 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24974 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24975 defined. Use __syscall_ulong_t.
24976 (shminfo): Use __syscall_ulong_t.
24977 (shm_info): Likewise.
24979 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24982 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24984 (msgqnum_t): Use __syscall_ulong_t.
24985 (msglen_t): Likewise.
24986 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
24989 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24990 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24992 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24994 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24995 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24997 * sysvipc/sys/msg.h (msgbuf): Replace long int with
25000 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
25001 include <bits/wordsize.h>. Check __x86_64__ instead of
25004 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
25005 "unsigned long long int" if __x86_64__ is defined.
25006 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
25008 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
25009 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25010 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
25012 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25014 (GET_PC): Cast to uintptr_t first.
25015 (GET_FRAME): Likewise.
25016 (GET_STACK): Likewise.
25018 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
25019 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
25020 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25021 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25022 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25023 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25024 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25025 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25026 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25027 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25028 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25029 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25030 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25031 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25032 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25033 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25034 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25035 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25036 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25037 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25038 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25039 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25040 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25041 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25042 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25043 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25044 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25045 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25046 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
25048 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
25050 * Makerules (+depfiles): Also collect depfiles from .oS in
25052 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25053 .oS, $(libnldbl-routines)).
25055 * Makerules (native-compile-mkdep-flags): Define.
25056 * sunrpc/Makefile (extra-objs): Add $(addprefix
25057 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
25058 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
25059 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
25060 calling $(make-target-directory).
25062 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25064 * bits/types.h (__snseconds_t): Removed.
25065 * time/time.h (struct timespec): Replace __snseconds_t with
25067 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
25068 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
25070 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25071 (__SNSECONDS_T_TYPE): Likewise.
25072 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25073 (__SNSECONDS_T_TYPE): Likewise.
25074 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25075 (__SNSECONDS_T_TYPE): Likewise.
25077 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25079 * sysdeps/mach/hurd/bits/typesizes.h
25080 (__SYSCALL_SLONG_TYPE): New macro.
25081 (__SYSCALL_ULONG_TYPE): Likewise.
25083 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25085 * bits/types.h (__syscall_slong_t): New type.
25086 (__syscall_ulong_t): Likewise.
25088 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
25089 (__SYSCALL_ULONG_TYPE): Likewise.
25090 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25091 (__SYSCALL_SLONG_TYPE): Likewise.
25092 (__SYSCALL_ULONG_TYPE): Likewise.
25093 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25094 (__SYSCALL_SLONG_TYPE): Likewise.
25095 (__SYSCALL_ULONG_TYPE): Likewise.
25096 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25097 (__SYSCALL_SLONG_TYPE): Likewise.
25098 (__SYSCALL_ULONG_TYPE): Likewise.
25100 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25102 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
25103 Add sigaltstack-offsets.sym.
25104 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
25105 <sigaltstack-offsets.h>.
25106 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
25107 longjmp_msg pointer.
25108 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
25109 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
25111 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
25113 2012-05-15 Joseph Myers <joseph@codesourcery.com>
25115 * elf/stackguard-macros.h: Remove file.
25116 * sysdeps/generic/stackguard-macros.h: New file.
25117 * sysdeps/i386/stackguard-macros.h: Likewise.
25118 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25119 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25120 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25121 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25122 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25123 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25124 * sysdeps/x86_64/stackguard-macros.h: Likewise.
25125 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
25126 <elf/stackguard-macros.h>.
25129 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
25130 __aligned__ in attribute.
25131 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
25132 (gregset_t): Likewise.
25134 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25136 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
25137 * sysdeps/x86_64/64/Implies-after: Here. New file.
25138 * sysdeps/x86_64/x32/Implies-after: New file.
25140 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25142 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
25143 and access return value for _dl_profile_fixup. Use R10_LP to
25146 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25148 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
25150 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25152 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
25153 * sysdeps/x86_64/x32/sysdep.h: New file.
25155 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25157 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
25158 * sysdeps/x86_64/setjmp.S: Likewise.
25160 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25162 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
25163 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
25164 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
25165 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
25166 remove unused global constant.
25168 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
25170 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
25171 include of <not-cancel.h>.
25173 2012-05-15 Roland McGrath <roland@hack.frob.com>
25175 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
25177 2012-05-15 Jeff Law <law@redhat.com>
25178 Andreas Jaeger <aj@suse.de>
25181 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
25183 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
25184 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
25185 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
25186 code changing __hst_map_handle.map.
25188 2012-05-15 Roland McGrath <roland@hack.frob.com>
25190 * configure.in (sysnames): Look for Implies-before and Implies-after
25192 * configure: Regenerated.
25194 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25196 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
25197 8-byte data alignment with LP_SIZE alignment.
25199 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25201 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
25204 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25206 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
25208 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25210 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
25211 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
25212 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
25214 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25216 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25218 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
25219 (stackinfo_sub_sp): Likewise.
25221 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25223 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
25226 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25228 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
25231 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25233 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
25236 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25238 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
25240 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25242 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
25243 into R11_LP and load __x86_64_shared_cache_size_half into
25246 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25248 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
25251 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25253 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
25255 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
25257 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
25259 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
25260 powerpc32/power7/fpu/s_logb.c via #include.
25261 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
25262 powerpc32/power7/fpu/s_logbf.c via #include.
25263 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
25264 powerpc32/power7/fpu/s_logbl.c via #include.
25266 2012-05-15 Joseph Myers <joseph@codesourcery.com>
25268 * README.libm: Remove file.
25270 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25272 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
25273 count for x32. Use R*_LP and omit operand-size suffix.
25275 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25277 * shlib-versions: Move x86_64-.*-linux.* entries to ...
25278 * sysdeps/x86_64/64/shlib-versions: Here. New file.
25279 * sysdeps/x86_64/x32/shlib-versions: New file.
25281 2012-05-14 Roland McGrath <roland@hack.frob.com>
25283 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
25284 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
25285 Use _dl_fatal_printf instead.
25287 2012-05-14 Joseph Myers <joseph@codesourcery.com>
25289 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
25290 set if not set by the user. Do not allow for being unset.
25291 * sysdeps/unix/sysv/linux/configure: Regenerated.
25293 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25295 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
25296 the `q' suffix from lea and replace .quad with ASM_ADDR.
25298 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25300 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
25301 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
25303 (PTR_DEMANGLE): Likewise.
25305 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25307 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
25309 (ASM_ADDR): Likewise.
25310 (RAX_LP): Likewise.
25311 (RBP_LP): Likewise.
25312 (RBX_LP): Likewise.
25313 (RCX_LP): Likewise.
25314 (RDI_LP): Likewise.
25315 (RSI_LP): Likewise.
25316 (RSP_LP): Likewise.
25319 (R10_LP): Likewise.
25320 (R10_LP): Likewise.
25321 (R11_LP): Likewise.
25322 (R12_LP): Likewise.
25323 (R13_LP): Likewise.
25324 (R14_LP): Likewise.
25325 (R15_LP): Likewise.
25327 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25329 * sysdeps/x86_64/x32/dl-machine.h: New file.
25331 2012-05-14 Andreas Jaeger <aj@suse.de>
25333 * manual/Makefile (subdir): Remove export of subdir.
25334 (all): Remove target.
25335 (.PHONY): Remove all from list.
25336 (mkinstalldirs): Remove.
25337 (.PHONY): Remove installdirs from list.
25338 ($(inst_infodir)/libc.info): Use make-target-directory.
25339 (installdirs): Remove.
25340 (subdir_%): Remove.
25341 (glibc-targets): Remove.
25344 ($(objpfx)stubs ../po/manual.pot): Remove.
25345 ($(objpfx)stamp%): Remove.
25346 (make-target-directory): Remove.
25347 (subdir_install): Remove.
25348 (routines): Remove.
25355 * manual/.gitignore: Remove, it's not needed anymore.
25356 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
25358 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
25360 (texis): Renamed to $(objpfx)texis.
25361 (texis-path): New, contains path to generated files.
25362 (chapters.%): Use texis-path for complete path, add extra argument
25364 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
25365 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
25366 (summary,texi, stamp-summary): Use complete path of
25367 files. Generate files in build dir.
25368 (dir-add.texi): Build in build dir.
25369 (libm-err.texi,stamp-libm-err): Likewise.
25370 (version.texi, stamp-version): Likewise.
25371 (.%c.texi): Likewise.
25372 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
25373 (mostlyclean): Remove target.
25374 (realclean): Remove target.
25375 (generated): Add new variable with contents from mostlyclean and
25376 realclean, remove entries duplicated in common-mostlyclean, add
25377 stamp-libm-err and stamp-version.
25378 (generated-dirs): Add libc directory.
25379 ($(inst_infodir)/libc.info): Install files from build dir.
25381 * manual/install.texi (Configuring and compiling): Adjust since
25382 the info files are not part of the tar ball anymore.
25384 2012-05-14 Andreas Jaeger <aj@suse.de>
25386 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
25389 2012-05-14 Joseph Myers <joseph@codesourcery.com>
25392 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
25393 to 2.2.0 where earlier.
25394 * sysdeps/unix/sysv/linux/configure: Regenerated.
25395 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
25396 Remove conditional code.
25397 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
25398 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
25399 Remove conditional code.
25400 [!__NR_lchown]: Likewise.
25401 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25402 [__NR_lchown]: Likewise.
25403 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
25404 comment referencing __ASSUME_LCHOWN_SYSCALL.
25405 * sysdeps/unix/sysv/linux/i386/sigaction.c
25406 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25407 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25408 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
25409 Remove conditional code.
25410 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
25411 (__protocol_available): Remove #if 0 code.
25412 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
25414 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
25415 * sysdeps/unix/sysv/linux/kernel-features.h
25416 (__ASSUME_GETCWD_SYSCALL): Don't define.
25417 (__ASSUME_REALTIME_SIGNALS): Likewise.
25418 (__ASSUME_PREAD_SYSCALL): Likewise.
25419 (__ASSUME_PWRITE_SYSCALL): Likewise.
25420 (__ASSUME_POLL_SYSCALL): Likewise.
25421 (__ASSUME_LCHOWN_SYSCALL): Likewise.
25422 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
25424 (__ASSUME_SIOCGIFNAME): Don't define.
25425 (__ASSUME_MSG_NOSIGNAL): Likewise.
25426 (__ASSUME_SENDFILE): Define unconditionally.
25427 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
25428 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
25430 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
25431 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
25432 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25433 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25434 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
25435 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25436 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
25438 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25439 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25441 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25442 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
25444 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25445 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25447 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25448 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
25450 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25451 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25453 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25454 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
25456 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25457 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25459 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25460 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25461 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
25462 Remove conditional code.
25463 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25464 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25465 Remove conditional code.
25466 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25467 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
25468 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
25469 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25470 Remove conditional code.
25471 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25472 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
25473 Remove conditional code.
25474 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25475 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
25476 Remove conditional code.
25477 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25478 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25479 Remove conditional code.
25480 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25481 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25482 Remove conditional code.
25483 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25484 * sysdeps/unix/sysv/linux/sh/pwrite64.c
25485 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25486 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25487 * sysdeps/unix/sysv/linux/sigaction.c
25488 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25489 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25490 * sysdeps/unix/sysv/linux/sigpending.c
25491 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25492 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25493 * sysdeps/unix/sysv/linux/sigprocmask.c
25494 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25495 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25496 * sysdeps/unix/sysv/linux/sigsuspend.c
25497 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25498 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25499 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25500 (__libc_missing_rt_sigs): Remove.
25501 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
25502 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
25503 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
25504 Remove conditional code.
25505 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
25506 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
25508 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
25509 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
25510 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
25511 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
25513 2012-05-14 Andreas Jaeger <aj@suse.de>
25515 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
25516 it's not used in glibc.
25517 (__coshm1): Likewise.
25518 (__acosh1p): Likewise.
25521 * manual/string.texi (Copying and Concatenation): Add missing
25522 variable in concat example.
25523 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
25525 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25528 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
25529 __builtin_clzl with __builtin_clzll.
25531 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25534 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
25537 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25539 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
25540 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
25541 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
25542 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
25544 2012-05-14 Mike Frysinger <vapier@gentoo.org>
25546 * NEWS: Update ia64 info.
25548 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
25550 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
25553 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
25555 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
25556 * sysdeps/unix/syscalls.list (dup3): Likewise.
25557 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
25558 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
25560 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
25562 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
25563 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
25565 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
25567 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
25569 (TLS_IE): Use mov/add instead of movq/addq to load thread
25571 (TLS_GD_PREFIX): New.
25574 2012-05-11 David S. Miller <davem@davemloft.net>
25576 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
25577 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
25578 (_FPU_SETCW): Likewise.
25580 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25582 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
25583 is 32-byte aligned.
25585 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
25588 * iconvdata/gb18030.c: Update tables.
25589 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
25590 characters specially.
25591 (BODY for TO_LOOP): Add encoding of missing ranges.
25593 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
25596 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
25597 * sysdeps/mach/hurd/dup3.c: Likewise.
25598 * sysdeps/mach/hurd/readlinkat.c: Likewise.
25599 * sysdeps/powerpc/memmove.c:: Likewise.
25601 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25603 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
25604 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
25606 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25608 * elf/elf.h (R_X86_64_RELATIVE64): New.
25609 (R_X86_64_NUM): Updated.
25610 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25611 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
25612 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
25613 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
25614 tst-quad1pie tst-quad2pie
25615 (modules-names): Add tst-quadmod1 tst-quadmod2.
25616 ($(objpfx)tst-quad1): New dependency.
25617 ($(objpfx)tst-quad2): Likewise.
25618 ($(objpfx)tst-quad1pie): Likewise.
25619 ($(objpfx)tst-quad2pie): Likewise.
25620 * sysdeps/x86_64/tst-quad1.c: New file.
25621 * sysdeps/x86_64/tst-quad1pie.c: New file.
25622 * sysdeps/x86_64/tst-quad2.c: Likewise.
25623 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
25624 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
25625 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
25626 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
25627 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
25629 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25631 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
25632 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
25633 * streams/stropts.h (t_scalar_t): Define type.
25635 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
25636 (_PATH_PRESERVE): Set to "/var/lib".
25637 (_PATH_RWHODIR): Set to "/var/spool/rwho".
25639 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
25642 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
25643 if __dir_mkfile succeeded.
25645 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
25646 checking for _hurd_dtablesize. Unlock it right after having
25647 finished _hurd_dtable allocation.
25649 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25651 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
25652 * sysdeps/mach/hurd/configure: Regenerated.
25653 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
25654 special-casing to...
25655 * sysdeps/gnu/configure.in: ... this new file.
25656 * sysdeps/unix/sysv/linux/configure: Regenerated.
25657 * sysdeps/gnu/configure: New generated file.
25659 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
25660 for Linux: use nsec instead of usec, as well as:
25661 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
25662 members of type struct timespec.
25663 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
25665 (struct stat64): Likewise.
25666 (_STATBUF_ST_NSEC): New macro.
25667 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
25669 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25670 __strtoul_internal rather than strtoul.
25672 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25674 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
25677 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25679 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
25680 which preserves existing values.
25681 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
25683 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25685 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
25686 TIMEOUT values. Return EINVAL for NFDS values either negative or
25687 greater than FD_SETSIZE.
25689 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25691 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
25692 allocated, call __vm_protect to finish enabling the existing space, and
25693 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
25694 allocate the remainder.
25696 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25698 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
25699 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
25701 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25703 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25704 sysdeps/mach/hurd/readlink.c.
25706 * posix/tst-sysconf.c (posix_options): Only use
25707 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
25708 _POSIX_SYNCHRONIZED_IO when they are defined
25709 * sysdeps/mach/hurd/bits/posix_opt.h:
25710 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
25711 (_XOPEN_REALTIME): Undefine macro.
25712 (_XOPEN_REALTIME_THREADS): Undefine macro.
25713 (_XOPEN_SHM): Undefine macro.
25714 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
25716 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25718 (_POSIX_ASYNC_IO): Undefine macro.
25719 (_POSIX_PRIORITIZED_IO): Undefine macro.
25720 (_POSIX_SPIN_LOCKS): Define macro to -1.
25722 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
25723 SA_NODEFER, SA_RESETHAND.
25724 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25725 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25728 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25730 * elf/Makefile (pldd-modules): Define unconditionally.
25732 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25734 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25736 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25738 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25739 Return ENOENT when name is empty.
25740 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25742 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25744 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25746 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25748 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25750 Fix mlock in all cases except non-readable pages.
25751 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25752 instead of VM_PROT_ALL as parameter to __vm_wire function.
25754 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25755 (__mkdir): When path is `/', just fail with EEXIST.
25756 * sysdeps/mach/hurd/mkdirat.c: Likewise.
25758 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25760 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25761 <sys/uio.h> (for writev).
25762 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25763 and <sys/param.h> (for MIN).
25765 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25767 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25768 REQUESTED_TIME. Properly set the remaining time and return EINTR
25771 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25773 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25774 Depend on against $(link-rpcuserlibs).
25776 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25778 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25779 (__libc_stack_end): Do not use attribute_relro.
25780 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25781 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
25782 to libthread-provided value.
25783 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25786 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25789 * bits/libc-lock.h (__libc_once_get): New macro.
25790 * sysdeps/mach/bits/libc-lock.h: Likewise.
25791 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25792 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25793 instead of using implementation details.
25795 * libio/fileops.c: Unconditionally include <kernel-features.h>.
25796 * libio/freopen.c: Likewise.
25797 * libio/freopen64.c: Likewise.
25798 * misc/syslog.c: Likewise.
25799 * nscd/connections.c: Likewise.
25800 * nscd/netgroupcache.c: Likewise.
25801 * sysdeps/posix/getcwd.c: Likewise.
25803 2012-05-10 Roland McGrath <roland@hack.frob.com>
25805 * math/w_ilogbf.c: Add #include <limits.h>.
25807 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25809 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25810 path instead of returning without unlocking.
25812 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25813 immediate-write ioctls.
25814 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25816 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25818 * sysdeps/mach/hurd/i386/init-first.c (init): Use
25819 __builtin_frame_address instead of making assumptions about the
25820 location of the return address relative to DATA. Force early load of
25821 the return address.
25822 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25823 __builtin_frame_address.
25826 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25827 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
25828 implement dup3 and do some further code clean-ups.
25829 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25830 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25832 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25834 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25836 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25837 HURD_CRITICAL_END around holding _hurd_dtable_lock.
25838 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25839 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25840 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25843 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25844 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
25845 when handler == SIG_ERR, not when handler != SIG_ERR.
25847 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25849 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25850 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25853 accept4 for GNU Hurd.
25854 * include/sys/socket.h (__libc_accept4): New prototype.
25855 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
25856 to implement __libc_accept4.
25857 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25859 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25861 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25862 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25863 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25864 signal-defines.sym.
25866 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25868 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25870 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25872 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25873 assertion on O_CLOEXEC flag.
25874 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25875 * hurd/intern-fd.c: Likewise.
25876 * hurd/port2fd.c: Likewise.
25878 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25881 * bits/in.h (IPV6_PKTINFO): Define new macro.
25882 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25884 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25889 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25890 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25891 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25892 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25893 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25894 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25895 * math/libm-test.inc (logb_test) : Additional logb tests.
25897 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
25898 Andreas Jaeger <aj@suse.de>
25900 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25901 * configure: Regenerated.
25902 * config.h.in (LINK_OBSOLETE_RPC): New macro.
25903 * config.make.in (link-obsolete-rpc): New substituted variable.
25904 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25905 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25906 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25907 (shared-only-routines): Don't set it under [link-obsolete-rpc],
25908 so that libc.a contains the symbols.
25909 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25910 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25911 * sunrpc/auth_none.c: Likewise.
25912 * sunrpc/auth_unix.c: Likewise.
25913 * sunrpc/authdes_prot.c: Likewise.
25914 * sunrpc/authuxprot.c: Likewise.
25915 * sunrpc/clnt_gen.c: Likewise.
25916 * sunrpc/clnt_perr.c: Likewise.
25917 * sunrpc/clnt_raw.c: Likewise.
25918 * sunrpc/clnt_simp.c: Likewise.
25919 * sunrpc/clnt_tcp.c: Likewise.
25920 * sunrpc/clnt_udp.c: Likewise.
25921 * sunrpc/clnt_unix.c: Likewise.
25922 * sunrpc/des_crypt.c: Likewise.
25923 * sunrpc/des_soft.c: Likewise.
25924 * sunrpc/get_myaddr.c: Likewise.
25925 * sunrpc/key_call.c: Likewise.
25926 * sunrpc/key_prot.c: Likewise.
25927 * sunrpc/netname.c: Likewise.
25928 * sunrpc/pm_getmaps.c: Likewise.
25929 * sunrpc/pm_getport.c: Likewise.
25930 * sunrpc/pmap_clnt.c: Likewise.
25931 * sunrpc/pmap_prot.c: Likewise.
25932 * sunrpc/pmap_prot2.c: Likewise.
25933 * sunrpc/pmap_rmt.c: Likewise.
25934 * sunrpc/publickey.c: Likewise.
25935 * sunrpc/rpc_cmsg.c: Likewise.
25936 * sunrpc/rpc_common.c: Likewise.
25937 * sunrpc/rpc_dtable.c: Likewise.
25938 * sunrpc/rpc_prot.c: Likewise.
25939 * sunrpc/rpc_thread.c: Likewise.
25940 * sunrpc/rtime.c: Likewise.
25941 * sunrpc/svc.c: Likewise.
25942 * sunrpc/svc_auth.c: Likewise.
25943 * sunrpc/svc_raw.c: Likewise.
25944 * sunrpc/svc_run.c: Likewise.
25945 * sunrpc/svc_tcp.c: Likewise.
25946 * sunrpc/svc_udp.c: Likewise.
25947 * sunrpc/svc_unix.c: Likewise.
25948 * sunrpc/svcauth_des.c: Likewise.
25949 * sunrpc/xcrypt.c: Likewise.
25950 * sunrpc/xdr.c: Likewise.
25951 * sunrpc/xdr_array.c: Likewise.
25952 * sunrpc/xdr_float.c: Likewise.
25953 * sunrpc/xdr_intXX_t.c: Likewise.
25954 * sunrpc/xdr_mem.c: Likewise.
25955 * sunrpc/xdr_rec.c: Likewise.
25956 * sunrpc/xdr_ref.c: Likewise.
25957 * sunrpc/xdr_sizeof.c: Likewise.
25958 * sunrpc/xdr_stdio.c: Likewise.
25960 2012-05-10 Roland McGrath <roland@hack.frob.com>
25962 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25963 change. Update copyright years.
25965 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25967 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25969 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
25970 Joseph Myers <joseph@codesourcery.com>
25971 Paul Pluzhnikov <ppluzhnikov@google.com>
25974 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25976 [cross-compiling] (extra-libs): Likewise.
25977 [cross-compiling] (extra-libs-others): Likewise.
25978 [cross-compiling] (librpcsvc-routines): Likewise.
25979 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25980 [cross-compiling] (omit-deps): Likewise.
25981 (sunrpc-CPPFLAGS): New variable.
25982 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25983 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25984 (cross-rpcgen-objs): New variable.
25985 (extra-objs): Append $(cross-rpcgen-objs).
25986 ($(cross-rpcgen-objs)): New rule.
25987 ($(objpfx)cross-rpcgen): Likewise.
25988 (rpcgen-cmd): Define to use $(built-program-file). Expand
25990 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25991 ($(objpfx)x%.stmp): Likewise.
25992 * sunrpc/proto.h [IS_IN_build] (_): Define.
25993 [IS_IN_build] (_libc_intl_domainname): Likewise.
25995 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25997 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25998 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25999 and R_X86_64_TPOFF64.
26001 2012-05-10 Joseph Myers <joseph@codesourcery.com>
26003 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
26004 sysdeps/unix/sysv/syscalls.list.
26007 * sysdeps/unix/sysv/syscalls.list: Remove file.
26009 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
26012 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
26013 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
26014 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
26015 (__LC_IDENTIFICATION): Make these macros useful in #if
26016 expressions, as required by C99.
26018 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
26020 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26021 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
26024 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
26026 * stdlib/longlong.h: Updated from GCC.
26028 2012-05-09 Andreas Jaeger <aj@suse.de>
26030 * nscd/nscd.c (run_modes): Make named enum, reorder so that
26031 default is first entry.
26032 (run_mode): Set type.
26033 (main): Remove informal message about syslog.
26034 (options): Fix typo.
26037 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
26040 (llrintf): Likewise.
26041 (llrint): Likewise.
26044 (nearbyint): Likewise.
26045 (nearbyintf): Likewise.
26047 2012-05-09 Andreas Jaeger <aj@suse.de>
26048 Pedro Alves <palves@redhat.com>
26050 * nscd/nscd.c (run_mode): Use enum.
26051 (main): Cleanup coding style issue.
26053 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
26054 Andreas Jaeger <aj@suse.de>
26056 * nscd/nscd.c (go_background): Replaced with...
26057 (run_mode): ... this.
26058 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
26059 (options): Add -F --foreground.
26060 (main): Implement it.
26061 (parse_opt): Parse it.
26063 2012-05-09 Andreas Jaeger <aj@suse.de>
26066 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
26067 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
26068 -Wconversion warning.
26069 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
26072 2012-05-09 Joseph Myers <joseph@codesourcery.com>
26074 * conform/data/locale.h-data (NULL): Use macro-constant. Require
26076 (LC_ALL): Use macro-int-constant.
26077 (LC_COLLATE): Likewise.
26078 (LC_CTYPE): Likewise.
26079 (LC_MESSAGES): Likewise.
26080 (LC_MONETARY): Likewise.
26081 (LC_NUMERIC): Likewise.
26082 (LC_TIME): Likewise.
26083 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
26084 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26085 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26086 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
26088 [C99-based standards] (float_t): Expect type.
26089 [C99-based standards] (double_t): Expect type.
26090 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
26092 [C99-based standards] (HUGE_VALL): Likewise.
26093 [C99-based standards] (INFINITY): Likewise.
26094 [C99-based standards] (NAN): Likewise.
26095 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
26096 [C99-based standards] (FP_NAN): Likewise.
26097 [C99-based standards] (FP_NORMAL): Likewise.
26098 [C99-based standards] (FP_SUBNORMAL): Likewise.
26099 [C99-based standards] (FP_ZERO): Likewise.
26100 [C99-based standards] (FP_FAST_FMA): Use
26101 optional-macro-int-constant. Specify type. Require == 1.
26102 [C99-based standards] (FP_FAST_FMAF): Likewise.
26103 [C99-based standards] (FP_FAST_FMAL): Likewise.
26104 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
26105 [C99-based standards] (FP_ILOGBNAN): Likewise.
26106 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
26108 [C99-based standards] (MATH_ERREXCEPT): Likewise.
26109 [C99-based standards] (math_errhandling): Specify type.
26110 [ISO99 || ISO11] (signgam): Do not allow.
26111 [non-C99-based standards] (copysignf): Do not allow.
26112 [non-C99-based standards] (exp2f): Likewise.
26113 [non-C99-based standards] (log2f): Likewise.
26114 [non-C99-based standards] (modff): Allow.
26115 [non-C99-based standards] (erff): Do not allow.
26116 [non-C99-based standards] (erfcf): Likewise.
26117 [non-C99-based standards] (gammaf): Likewise.
26118 [non-C99-based standards] (hypotf): Likewise.
26119 [non-C99-based standards] (j0f): Likewise.
26120 [non-C99-based standards] (j1f): Likewise.
26121 [non-C99-based standards] (jnf): Likewise.
26122 [non-C99-based standards] (lgammaf): Likewise.
26123 [non-C99-based standards] (tgammaf): Likewise.
26124 [non-C99-based standards] (y0f): Likewise.
26125 [non-C99-based standards] (y1f): Likewise.
26126 [non-C99-based standards] (ynf): Likewise.
26127 [non-C99-based standards] (isnanf): Likewise.
26128 [non-C99-based standards] (acoshf): Likewise.
26129 [non-C99-based standards] (asinhf): Likewise.
26130 [non-C99-based standards] (atanhf): Likewise.
26131 [non-C99-based standards] (cbrtf): Likewise.
26132 [non-C99-based standards] (expm1f): Likewise.
26133 [non-C99-based standards] (ilogbf): Likewise.
26134 [non-C99-based standards] (log1pf): Likewise.
26135 [non-C99-based standards] (logbf): Likewise.
26136 [non-C99-based standards] (nextafterf): Likewise.
26137 [non-C99-based standards] (remainderf): Likewise.
26138 [non-C99-based standards] (rintf): Likewise.
26139 [non-C99-based standards] (scalbf): Likewise.
26140 [non-C99-based standards] (copysignl): Likewise.
26141 [non-C99-based standards] (exp2l): Likewise.
26142 [non-C99-based standards] (log2l): Likewise.
26143 [non-C99-based standards] (modfl): Allow.
26144 [non-C99-based standards] (erfl): Do not allow.
26145 [non-C99-based standards] (erfcl): Likewise.
26146 [non-C99-based standards] (gammal): Likewise.
26147 [non-C99-based standards] (hypotl): Likewise.
26148 [non-C99-based standards] (j0l): Likewise.
26149 [non-C99-based standards] (j1l): Likewise.
26150 [non-C99-based standards] (jnl): Likewise.
26151 [non-C99-based standards] (lgammal): Likewise.
26152 [non-C99-based standards] (tgammal): Likewise.
26153 [non-C99-based standards] (y0l): Likewise.
26154 [non-C99-based standards] (y1l): Likewise.
26155 [non-C99-based standards] (ynl): Likewise.
26156 [non-C99-based standards] (isnanl): Likewise.
26157 [non-C99-based standards] (acoshl): Likewise.
26158 [non-C99-based standards] (asinhl): Likewise.
26159 [non-C99-based standards] (atanhl): Likewise.
26160 [non-C99-based standards] (cbrtl): Likewise.
26161 [non-C99-based standards] (expm1l): Likewise.
26162 [non-C99-based standards] (ilogbl): Likewise.
26163 [non-C99-based standards] (log1pl): Likewise.
26164 [non-C99-based standards] (logbl): Likewise.
26165 [non-C99-based standards] (nextafterl): Likewise.
26166 [non-C99-based standards] (remainderl): Likewise.
26167 [non-C99-based standards] (rintl): Likewise.
26168 [non-C99-based standards] (scalbl): Likewise.
26169 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26170 [non-C99-based standards] (FP_*): Do not allow.
26171 [C99-based standards] (FP_*): Change to
26172 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26173 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26175 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
26176 (SIG_ERR): Likewise.
26177 [X/Open-based standards] (SIG_HOLD): Likewise.
26178 (SIG_IGN): Likewise.
26179 (SIGABRT): Use macro-int-constant. Specify type. Require
26181 (SIGFPE): Likewise.
26182 (SIGILL): Likewise.
26183 (SIGINT): Likewise.
26184 (SIGSEGV): Likewise.
26185 (SIGTER): Likewise.
26186 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
26187 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
26188 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
26189 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
26190 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
26191 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
26192 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
26193 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
26194 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
26195 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
26196 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
26197 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
26198 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
26199 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
26200 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
26201 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
26202 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
26203 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
26204 [X/Open-based standards] (SIGTRAP): Likewise.
26205 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
26206 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
26207 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
26208 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
26209 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26212 2012-05-08 Ian Wienand <ianw@vmware.com>
26215 * time/tzset.c (__tzset_parse_tz): Update default rules for
26216 daylight time changes in the Energy Policy Act of 2005.
26218 2012-05-09 Andreas Jaeger <aj@suse.de>
26221 * elf/ldconfig.c (parse_conf): Change string to make clear that
26222 ldconfig only issued a warning if ld.so.conf does not exist.
26224 2012-05-08 David S. Miller <davem@davemloft.net>
26226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
26227 movxtod instead of popping the value on the stack.
26229 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26231 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
26233 * config.h.in: Add HAVE_ARM_PCS_VFP.
26235 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
26238 * include/features.h: Warn if user requests __FORTIFY_SOURCE
26239 checking but the checks are disabled for any reason.
26241 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
26243 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
26244 and ELF64_R_TYPE with ELFW(R_TYPE).
26246 2012-05-08 Joseph Myers <joseph@codesourcery.com>
26248 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
26249 (ulimit): Likewise.
26251 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
26252 (settimeofday): Likewise.
26254 2012-05-08 Mike Frysinger <vapier@gentoo.org>
26256 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
26257 a struct th_u2 inside the union, and move tu_block/tu_code into
26258 a new th_u3 union of tu_block/tu_code inside of that. Move
26259 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
26260 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
26261 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
26262 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
26263 (th_stuff): Change to th_u1.tu_stuff.
26265 (th_msg): Change to th_u1.th_u2.tu_data.
26267 2012-05-07 David S. Miller <davem@davemloft.net>
26269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26272 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
26273 (SETUP_PIC_REG): Use it.
26274 (SETUP_PIC_REG_LEAF): Use it.
26276 2012-05-07 Joseph Myers <joseph@codesourcery.com>
26280 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26282 (EXPL_FINITE): Likewise.
26283 (FLDLOG): Likewise.
26284 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26285 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26287 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26289 (EXPL_FINITE): Likewise.
26290 (FLDLOG): Likewise.
26291 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26292 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26294 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
26295 test of -max_value argument for long double.
26296 * sysdeps/i386/fpu/libm-test-ulps: Update.
26297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26299 2012-05-06 David S. Miller <davem@davemloft.net>
26301 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
26302 quad soft-float symbols whose references which are compiler
26304 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26306 2012-05-06 Joseph Myers <joseph@codesourcery.com>
26310 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26312 (EXPL_FINITE): Likewise.
26313 (FLDLOG): Likewise.
26316 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26317 Adjust comments for base varying.
26318 (__expl_finite): Change alias to EXPL_FINITE.
26319 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
26321 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
26322 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26323 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26324 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
26325 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26327 (EXPL_FINITE): Likewise.
26328 (FLDLOG): Likewise.
26331 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26332 Adjust comments for base varying.
26333 (__expl_finite): Change alias to EXPL_FINITE.
26334 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
26336 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26339 * math/libm-test.inc (check_float_internal): Correct ulp
26340 calculation for subnormal expected results.
26342 2012-05-06 Andreas Jaeger <aj@suse.de>
26344 * Makeconfig (+math-flags): New, set to -frounding-math.
26345 (+cflags): Add +math-flags so that all of glibc gets compiled with
26348 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
26350 2012-05-05 Joseph Myers <joseph@codesourcery.com>
26352 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
26358 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
26359 (__ieee754_expl): Allow for and saturate large arguments.
26360 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
26361 (u_threshold): Likewise.
26362 (__exp): Call __ieee754_exp before checking for overflow and
26364 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
26365 (u_threshold): Likewise.
26366 (__expf): Call __ieee754_expf before checking for overflow and
26368 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
26369 (u_threshold): Likewise.
26370 (__expl): Call __ieee754_expl before checking for overflow and
26372 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
26373 (__ieee754_expl): Allow for and saturate large arguments.
26374 * math/libm-test.inc (exp_test): Add another test. Do not allow
26375 missing overflow exception on overflow.
26376 (expm1_test): Do not allow missing overflow exception on overflow.
26378 * sysdeps/i386/fpu/e_expl.c: Move to ...
26379 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
26380 rather than using inline asm.
26381 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
26382 * sysdeps/x86_64/fpu/e_expl.S: Copy from
26383 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
26385 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
26388 (signal): Likewise.
26392 2012-05-04 Joseph Myers <joseph@codesourcery.com>
26394 * sysdeps/unix/syscalls.list (adjtime): Add entry from
26395 sysdeps/unix/common/syscalls.list.
26396 (fchmod): Likewise.
26397 (fchown): Likewise.
26398 (ftruncate): Likewise.
26399 (getrusage): Likewise.
26400 (gettimeofday): Likewise.
26401 (setpgid): Likewise.
26402 (setregid): Likewise.
26403 (setreuid): Likewise.
26404 (sigaction): Likewise.
26405 (truncate): Likewise.
26406 (vhangup): Likewise.
26407 * sysdeps/unix/common/syscalls.list: Remove file.
26408 * sysdeps/unix/bsd/Implies: Don't include unix/common.
26409 * sysdeps/unix/sysv/linux/Implies: Likewise.
26411 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
26413 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
26414 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
26415 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
26417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26419 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
26421 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
26422 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
26424 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
26425 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
26427 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
26428 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
26430 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
26431 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
26433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
26434 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
26436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
26437 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
26439 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26441 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
26443 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
26445 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
26447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
26448 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
26450 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
26452 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
26454 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
26456 2012-05-04 Joseph Myers <joseph@codesourcery.com>
26458 * sysdeps/unix/common/bits/dirent.h: Remove file.
26459 * sysdeps/unix/common/bits/fcntl.h: Likewise.
26461 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
26462 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
26463 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
26464 * sysdeps/unix/bsd/isatty.c: Likewise.
26465 * sysdeps/unix/bsd/tcdrain.c: Likewise.
26466 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
26467 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
26469 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26472 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
26473 long double comparison inaccuracies.
26474 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26477 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
26479 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
26480 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
26482 2012-05-04 Joseph Myers <joseph@codesourcery.com>
26485 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
26486 nonzero digits before rounding a hex value.
26487 * stdlib/tst-strtod.c (tests): Add another test.
26489 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26491 * sysdeps/s390/fpu/libm-test-ulps: Update.
26493 2012-05-03 Andreas Jaeger <aj@suse.de>
26495 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
26496 does not get optimized out.
26497 (malloc_opt_barrier): New.
26499 2012-05-03 Andreas Jaeger <aj@suse.de>
26500 Roland McGrath <roland@hack.frob.com>
26502 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
26503 intermediate file deletion.
26504 (generated): Add .symlist files.
26506 2012-05-03 Joseph Myers <joseph@codesourcery.com>
26509 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
26510 Redirect under this condition.
26511 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26512 [__USE_GNU] (__dprintf_chk): Not under this condition.
26513 [__USE_GNU] (__vdprintf_chk): Likewise.
26514 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
26515 under this condition.
26516 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26517 [__USE_XOPEN2K8] (dprintf): Define under this condition.
26518 [__USE_XOPEN2K8] (vdprintf): Likewise.
26519 [__USE_GNU] (__dprintf_chk): Not under this condition.
26520 [__USE_GNU] (__vdprintf_chk): Likewise.
26521 [__USE_GNU] (dprintf): Likewise.
26522 [__USE_GNU] (vdprintf): Likewise.
26524 2012-05-03 Roland McGrath <roland@hack.frob.com>
26526 * elf/Makefile (common-generated): Set this instead of generated for
26527 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
26528 $(all-built-dso)-derived lists.
26530 2012-05-03 Andreas Jaeger <aj@suse.de>
26532 * sysdeps/i386/fpu/libm-test-ulps: Update.
26535 * FAQ.in: Likewise.
26536 * scripts/gen-FAQ.pl: Likewise.
26537 * manual/install.texi (Installation): Point to online location of
26539 * Makefile (files-for-dist): Remove FAQ.
26542 2012-05-02 Allan McRae <allan@archlinux.org>
26544 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
26545 (LDFLAGS-reldepmod5.so): Likewise.
26546 (LDFLAGS-reldep6mod1.so): Likewise.
26547 (LDFLAGS-reldep6mod4.so): Likewise.
26548 (LDFLAGS-reldep8mod3.so): Likewise.
26549 (LDFLAGS-unload4mod1.so): Likewise.
26550 (LDFLAGS-unload4mod2.so): Likewise.
26551 (LDFLAGS-tst-initorder): Likewise.
26552 (LDFLAGS-tst-initordera2.so): Likewise.
26553 (LDFLAGS-tst-initordera3.so): Likewise.
26554 (LDFLAGS-tst-initordera4.so): Likewise.
26555 (LDFLAGS-tst-initorderb2.so): Likewise.
26556 (LDFLAGS-noload): Likewise.
26557 (LDFLAGS-next): Likewise.
26558 (LDFLAGS-order2mod1.so): Likewise.
26559 (LDFLAGS-order2mod2.so): Likewise.
26560 (LDFLAGS-tst-initorder2): Likewise.
26561 (LDFLAGS-tst-initorder2a.so): Likewise.
26562 (LDFLAGS-tst-initorder2b.so): Likewise.
26563 (LDFLAGS-tst-initorder2c.so): Likewise.
26564 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
26566 2012-05-02 David S. Miller <davem@davemloft.net>
26568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26570 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
26573 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
26575 2012-05-02 Andreas Jaeger <aj@suse.de>
26577 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
26578 since we manipulate rounding mode.
26579 (CPPFLAGS-test-idouble.c): Likewise.
26580 (CPPFLAGS-test-ifloat.c): Likewise.
26581 (CFLAGS-test-ldouble.c): Likewise.
26582 (CFLAGS-test-double.c): Likewise.
26583 (CFLAGS-test-float.c): Likewise.
26584 (CFLAGS-test-misc.c): Likewise.
26585 (CFLAGS-test-test-fenv.c): Likewise.
26587 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26591 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
26592 comparisons to determine direction to adjust input.
26594 2012-05-01 Roland McGrath <roland@hack.frob.com>
26596 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
26597 output to the target.
26599 * scripts/localplt.awk: New file.
26600 * elf/Makefile ($(objpfx)check-localplt): Target removed.
26601 (check-localplt-CFLAGS): Variable removed.
26602 ($(all-built-dso:=.jmprel)): New static pattern rule.
26603 (generated): Add those targets.
26604 (localplt-built-dso): New variable.
26605 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
26607 * elf/check-localplt.c: File removed.
26609 * scripts/check-execstack.awk: New file.
26610 * elf/Makefile ($(objpfx)check-execstack): Target removed.
26611 (check-execstack-CFLAGS): Variable removed.
26612 ($(objpfx)check-execstack.h): Target removed.
26613 ($(objpfx)execstack-default): New target.
26614 (generated): Add that instead of check-execstack.h.
26615 ($(all-built-dso:=.phdr)): New static pattern rule.
26616 (generated): Add those targets.
26617 * elf/check-execstack.c: File removed.
26619 * scripts/check-textrel.awk: New file.
26620 * elf/Makefile ($(objpfx)check-textrel): Target removed.
26621 (check-textrel-CFLAGS): Variable removed.
26622 (all-built-dso): Use := to define.o
26623 ($(all-built-dso:=.dyn)): New static pattern rule.
26624 (generated): Add those targets.
26625 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
26626 * config.make.in (READELF): New substituted variable.
26627 * elf/check-textrel.c: File removed.
26629 2012-05-01 Joseph Myers <joseph@codesourcery.com>
26631 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26633 * conform/data/ctype.h-data [C99-based standards] (isblank):
26635 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
26636 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
26637 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26638 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
26639 Specify type. Require positive value.
26640 (EILSEQ): Likewise.
26641 (ERANGE): Likewise.
26642 [ISO || POSIX] (EILSEQ): Do not expect.
26643 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
26644 Specify type. Require positive value.
26645 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
26646 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
26647 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
26648 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
26649 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
26650 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
26651 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
26652 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
26653 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
26654 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
26655 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
26656 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
26657 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
26658 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
26659 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
26660 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
26661 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
26662 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
26663 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
26664 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
26665 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
26666 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
26667 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
26668 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
26669 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
26670 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
26671 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
26672 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
26673 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
26674 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
26675 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
26676 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
26677 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
26678 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
26679 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
26680 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
26681 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
26682 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
26683 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
26684 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
26685 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
26686 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
26687 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
26688 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
26689 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
26690 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
26691 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
26692 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
26693 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
26694 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
26695 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
26696 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
26697 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
26698 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
26699 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
26700 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
26701 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
26702 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
26703 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
26704 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
26705 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
26706 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
26707 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
26708 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
26709 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
26710 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
26711 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
26712 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
26713 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
26714 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
26715 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
26716 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
26717 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
26718 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
26719 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
26720 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
26721 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
26723 (FLT_ROUNDS): Expect as macro, not constant.
26724 (FLT_MANT_DIG): Use macro-int-constant.
26725 (DBL_MANT_DIG): Likewise.
26726 (LDBL_MANT_DIG): Likewise.
26727 (FLT_DIG): Likewise.
26728 (DBL_DIG): Likewise.
26729 (LDBL_DIG): Likewise.
26730 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
26731 (DBL_MIN_EXP): Likewise.
26732 (LDBL_MIN_EXP): Likewise.
26733 (FLT_MAX_EXP): Use macro-int-constant.
26734 (DBL_MAX_EXP): Likewise.
26735 (LDBL_MAX_EXP): Likewise.
26736 (FLT_MAX_10_EXP): Likewise.
26737 (DBL_MAX_10_EXP): Likewise.
26738 (LDBL_MAX_10_EXP): Likewise.
26739 (FLT_MAX): Use macro-constant.
26740 (DBL_MAX): Likewise.
26741 (LDBL_MAX): Likewise.
26742 (FLT_EPSILON): Use macro-constant. Give upper bound.
26743 (DBL_EPSILON): Likewise.
26744 (LDBL_EPSILON): Likewise.
26745 (FLT_MIN): Likewise.
26746 (DBL_MIN): Likewise.
26747 (LDBL_MIN): Likewise.
26748 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26749 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26750 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26751 [ISO11] (FLT_HAS_SUBNORM): Likewise.
26752 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26753 [ISO11] (DBL_DECIMAL_DIG): Likewise.
26754 [ISO11] (FLT_DECIMAL_DIG): Likewise.
26755 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26756 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26757 [ISO11] (FLT_TRUE_MIN): Likewise.
26758 [ISO11] (LDBL_TRUE_MIN): Likewise.
26759 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26760 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26761 (SCHAR_MIN): Use macro-int-constant. Specify type.
26762 (SCHAR_MAX): Likewise.
26763 (UCHAR_MAX): Likewise.
26764 (CHAR_MIN): Likewise.
26765 (CHAR_MAX): Likewise.
26766 (MB_LEN_MAX): Use macro-int-constant.
26767 (SHRT_MIN): Use macro-int-constant. Specify type.
26768 (SHRT_MAX): Likewise.
26769 (USHRT_MAX): Likewise.
26770 (INT_MAX): Likewise.
26771 (INT_MIN): Use macro-int-constant. Specify type. Make upper
26773 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
26775 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26777 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
26778 bound negative. Suffix upper bound with "L".
26779 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26781 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26783 [C99-based standards] (LLONG_MAX): Likewise.
26784 [C99-based standards] (ULLONG_MAX): Likewise.
26785 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
26787 [ISO11] (max_align_t): Require type.
26788 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26790 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26791 from $CFLAGS, without defining away __attribute__ calls.
26792 (checknamespace): Use $CFLAGS_namespace.
26794 * conform/conformtest.pl (@keywords): Only include C99 keywords
26795 for standards based on C99 or C11.
26797 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26799 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26802 * conform/conformtest.pl: Handle "macro-int-constant" and test for
26803 usability of symbols in #if.
26805 * conform/conformtest.pl: If macro or constant types start
26806 "promoted:", expect the symbol to be of the following type
26807 promoted by the integer promotions.
26809 * conform/conformtest.pl: Parse all "constant" and "macro" lines
26810 in one place. Also handle "macro-constant".
26812 * conform/conformtest.pl: Only accept expected macro values with
26813 "==". Parse all "macro" lines in one place.
26814 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26816 * conform/conformtest.pl: Handle braced types on "constant" lines
26817 instead of handling "typed-constant".
26818 * conform/data/signal.h-data: Use "constant" instead of
26821 * conform/conformtest.pl: Handle "optional-" at start of lines in
26822 one place rather than duplicating several cases. Handle each
26823 format of "macro" line with initial "optional-".
26825 * conform/conformtest.pl: Only accept expected constant or
26826 optional-constant values with "==". Parse all "constant" lines in
26827 one place. Parse all "optional-constant" lines in one place.
26828 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26829 * conform/data/fmtmsg.h-data: Likewise.
26830 * conform/data/netinet/in.h-data: Likewise.
26831 * conform/data/tar.h-data: Likewise.
26832 * conform/data/limits.h-data: Use "==" form on "constant" and
26833 "optional-constant" lines.
26835 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26836 Use -std=c99 for XOPEN2K.
26837 (@knownproblems): Remove.
26838 (newtoken): Don't check %isknown.
26840 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26841 Do not expect macro.
26842 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26843 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26844 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26845 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26846 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26847 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26848 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26849 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26850 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26851 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26852 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26853 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26854 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26855 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26856 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26857 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26858 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26859 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26860 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26861 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26862 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26863 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26864 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26865 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26866 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26867 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26868 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26869 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26870 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26871 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26872 [XPG3] (acosh): Likewise.
26873 [XPG3] (asinh): Likewise.
26874 [XPG3] (atanh): Likewise.
26875 [XPG3] (cbrt): Likewise.
26876 [XPG3] (expm1): Likewise.
26877 [XPG3] (ilogb): Likewise.
26878 [XPG3] (log1p): Likewise.
26879 [XPG3] (logb): Likewise.
26880 [XPG3] (nextafter): Likewise.
26881 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26882 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26883 [XPG3] (remainder): Likewise.
26884 [XPG3] (rint): Likewise.
26885 [XPG3 || XPG4 || UNIX98] (round): Likewise.
26886 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26887 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26888 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26889 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26890 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26891 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26892 [UNIX98 || XOPEN2K] (scalb): Expect.
26893 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26894 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26895 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26896 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26897 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26898 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26899 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26900 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26901 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26902 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26903 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26904 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26905 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26906 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26907 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26908 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26909 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26910 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26911 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26912 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26913 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26914 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26915 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26916 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26917 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26918 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26919 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26920 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26921 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26922 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26923 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26924 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26925 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26926 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26927 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26928 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26929 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26930 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26931 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26932 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26933 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26934 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26935 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26936 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26937 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26938 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26939 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26940 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26941 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26942 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26943 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26944 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26945 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26946 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26947 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26948 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26949 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26950 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26951 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26952 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26953 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26954 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26955 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26956 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26957 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26958 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26959 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26960 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26961 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26962 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26963 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26964 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26965 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26966 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26967 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26968 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26969 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26970 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26971 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26972 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26973 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26974 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26975 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26976 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26977 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26978 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26979 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26980 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26981 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26982 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26983 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26984 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26985 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26986 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26987 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26988 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26989 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26990 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26991 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26992 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26993 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26994 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26995 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26996 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26997 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26998 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26999 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
27000 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
27001 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
27002 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
27003 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
27004 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
27005 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
27006 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
27007 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
27008 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
27009 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
27010 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
27011 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
27012 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
27013 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
27014 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
27015 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
27016 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
27017 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
27018 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
27019 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
27020 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27021 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27022 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27023 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27024 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27025 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27026 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27027 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27028 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27029 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27031 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27032 _XOPEN_SOURCE_EXTENDED for XPG4.
27034 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27036 * Makeconfig (localtime): Remove variable.
27037 (inst_localtime-file): Likewise.
27039 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27060 2012-05-01 Joseph Myers <joseph@codesourcery.com>
27064 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
27065 comparisons to determine direction to adjust input.
27066 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27067 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
27068 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27070 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27072 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27074 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27075 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27077 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27079 * math/libm-test.inc (nexttoward_test): Add more tests.
27081 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27084 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
27085 in version GLIBC_2.1, not GLIBC_2.0.
27086 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
27089 2012-04-30 Joseph Myers <joseph@codesourcery.com>
27092 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
27094 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27095 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
27096 * math/libm-test.inc (acos_test): Add more tests.
27097 (asin_test): Likewise.
27098 * sysdeps/i386/fpu/libm-test-ulps: Update.
27099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27102 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
27104 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
27105 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27106 * math/libm-test.inc (acos_test_tonearest): New function.
27107 (acos_test_towardzero): Likewise.
27108 (acos_test_downward): Likewise.
27109 (acos_test_upward): Likewise.
27110 (asin_test_tonearest): Likewise.
27111 (asin_test_towardzero): Likewise.
27112 (asin_test_downward): Likewise.
27113 (asin_test_upward): Likewise.
27114 (main): Call the new functions.
27115 * sysdeps/i386/fpu/libm-test-ulps: Update.
27116 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27120 * math/e_exp10.c: Include <float.h>.
27121 (__ieee754_exp10): Handle underflow here rather than multiplying
27122 large negative argument by M_LN10.
27123 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
27125 * math/e_exp10l.c: Include <float.h>.
27126 (__ieee754_exp10l): Handle underflow here rather than multiplying
27127 large negative argument by M_LN10l.
27128 * math/libm-test.inc (exp10_test): Add another test. Do not allow
27129 spurious overflow exception on underflow.
27131 2012-04-29 Marek Polacek <polacek@redhat.com>
27133 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
27134 (__fortify_function): New macro.
27135 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
27136 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
27137 __extern_always_inline.
27138 * libio/bits/stdio2.h: Likewise.
27139 * libio/bits/stdio.h: Likewise.
27140 * string/string.h: Likewise.
27141 * string/bits/string3.h: Likewise.
27142 * include/stdio.h: Likewise.
27143 * stdlib/bits/stdlib.h: Likewise.
27144 * stdlib/stdlib.h: Likewise.
27145 * rt/bits/mqueue2.h: Likewise.
27146 * rt/mqueue.h: Likewise.
27147 * posix/bits/unistd.h: Likewise.
27148 * posix/unistd.h: Likewise.
27149 * io/bits/poll2.h: Likewise.
27150 * io/bits/fcntl2.h: Likewise.
27151 * io/fcntl.h: Likewise.
27152 * io/sys/poll.h: Likewise.
27153 * misc/bits/syslog.h: Likewise.
27154 * misc/bits/syslog-ldbl.h: Likewise.
27155 * misc/sys/syslog.h: Likewise.
27156 * socket/bits/socket2.h: Likewise.
27157 * socket/sys/socket.h: Likewise.
27158 * debug/tst-chk1.c: Likewise.
27159 * wcsmbs/bits/wchar2.h: Likewise.
27160 * wcsmbs/bits/wchar-ldbl.h: Likewise.
27161 * wcsmbs/wchar.h: Likewise.
27163 2012-04-29 Andreas Jaeger <aj@suse.de>
27165 * Makerules (tests): Remove enable-check-abi protection.
27166 (check-abi-warn): Remove.
27167 (check-abi-%): Remove check-abi-warn usage.
27169 * configure.in: Remove check-abi configure option.
27170 * configure: Regenerated.
27171 * config.make.in (enable-check-abi): Remove.
27173 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
27176 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
27177 double functions to double *_finite functions.
27180 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
27181 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
27183 * stdio-common/Makefile (tests): Add tst-sprintf3.
27184 * stdio-common/tst-sprintf3.c: New file.
27186 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
27187 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
27189 2012-04-28 Joseph Myers <joseph@codesourcery.com>
27191 * conform/conformtest.pl: Remove duplicate typed-constant
27194 2012-04-28 David S. Miller <davem@davemloft.net>
27196 * Makerules (%.abilist): Add vpath on sysdep_dirs.
27197 (check-abi-%): Remove AWK script prerequisite and explicit
27199 (check-abi): Rewrite to just diff the symlist with the abilist.
27200 (config-tls, config-abi-config): Delete, no longer used.
27201 (update-abi-%): Remove AWK script and explicit abilist directory.
27202 (update-abi): Rewrite to simply compare and conditionally copy the
27203 symlist and the sysdep abilist file. Remove update-abi-config
27205 * abilist/ld.abilist: Remove.
27206 * abilist/libBrokenLocale.abilist: Remove.
27207 * abilist/libanl.abilist: Remove.
27208 * abilist/libcrypt.abilist: Remove.
27209 * abilist/libdl.abilist: Remove.
27210 * abilist/librt.abilist: Remove.
27211 * abilist/libthread_db.abilist: Remove.
27212 * abilist/libutil.abilist: Remove.
27213 * scripts/extract-abilist.awk: Remove.
27214 * scripts/merge-abilist.awk: Remove.
27215 * sysdeps/generic/libcidn.abilist: New file.
27216 * sysdeps/generic/libnss_compat.abilist: New file.
27217 * sysdeps/generic/libnss_db.abilist: New file.
27218 * sysdeps/generic/libnss_dns.abilist: New file.
27219 * sysdeps/generic/libnss_files.abilist: New file.
27220 * sysdeps/generic/libnss_hesiod.abilist: New file.
27221 * sysdeps/generic/libnss_nis.abilist: New file.
27222 * sysdeps/generic/libnss_nisplus.abilist: New file.
27223 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
27224 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
27225 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
27227 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
27228 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
27229 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
27230 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
27231 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
27232 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
27233 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
27234 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
27235 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
27237 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
27238 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
27239 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
27240 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
27242 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
27243 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
27244 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
27245 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
27246 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
27247 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
27249 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
27250 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
27251 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
27253 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
27254 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
27256 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
27258 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
27260 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
27262 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
27264 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
27266 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
27268 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
27270 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
27272 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
27274 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
27276 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
27278 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
27280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
27282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
27288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
27294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
27307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
27309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
27313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
27315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
27317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
27319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
27321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
27325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
27327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
27331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
27332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
27334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
27338 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
27340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
27342 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
27344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
27346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
27350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
27352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
27356 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27357 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
27358 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
27360 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
27361 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
27362 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
27363 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
27364 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
27365 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
27366 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
27367 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
27368 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
27369 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
27370 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
27371 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
27373 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27375 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
27377 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
27379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
27381 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
27383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
27385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27387 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
27391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
27395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
27396 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
27398 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27400 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
27402 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
27404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
27406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
27408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
27410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
27416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
27421 2012-04-28 Joseph Myers <joseph@codesourcery.com>
27423 * conform/conformtest.pl: Fix typo in handling typed-constant from
27426 2012-04-27 Joseph Myers <joseph@codesourcery.com>
27428 * README: Cut down references to pre-2.6 Linux kernels and
27429 Linuxthreads. Update lists of configurations in libc and ports
27430 and sort alphabetically. Say "or newer" with Linux kernel version
27433 * config.h.in [IS_IN_build]: Allow compiling without optimization.
27435 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27438 * math/libm-test.inc (logb_test_downward): New test to expose
27439 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
27442 2012-04-27 Joseph Myers <joseph@codesourcery.com>
27445 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
27447 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
27448 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
27450 2012-04-26 Joseph Myers <joseph@codesourcery.com>
27452 * sysdeps/unix/i386/brk.S: Remove file.
27453 * sysdeps/unix/i386/dl-brk.S: Likewise.
27454 * sysdeps/unix/i386/pipe.S: Likewise.
27455 * sysdeps/unix/i386/sigreturn.S: Likewise.
27456 * sysdeps/unix/i386/syscall.S: Likewise.
27457 * sysdeps/unix/i386/vfork.S: Likewise.
27458 * sysdeps/unix/i386/wait.S: Likewise.
27460 * sysdeps/unix/common/tcsendbrk.c: Move to ...
27461 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
27463 * configure.in (arm*-none*): Do not allow without
27464 --enable-hacker-mode.
27465 (netbsd*): Remove case setting base_os.
27466 (386bsd*): Likewise.
27467 (freebsd*): Likewise.
27470 (sunos*): Likewise.
27471 (ultrix*): Likewise.
27472 (newsos*): Likewise.
27473 (dynix*): Likewise.
27479 (minix*): Likewise.
27480 (irix4*): Likewise.
27481 (irix6*): Likewise.
27482 (solaris[2-9]*): Likewise.
27484 * configure: Regenerated.
27486 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27489 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
27490 overflow or cancellation in calculating denominator.
27491 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
27492 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
27493 down expression to avoid unexpected rounding in newer GCCs.
27494 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
27496 2012-04-26 David S. Miller <davem@davemloft.net>
27498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
27499 long-double compat symbols.
27500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
27504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
27506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
27507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
27508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
27509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
27511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
27512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27514 2012-04-25 David S. Miller <davem@davemloft.net>
27516 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
27517 HWCAP_* values only after the memory barriers have been defined.
27518 (atomic_full_barrier): Define.
27519 (atomic_read_barrier): Define.
27520 (atomic_write_barrier): Define.
27522 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27524 * shlib-versions: Add libgcc_s version information.
27525 * sysdeps/generic/libgcc_s.h: Remove.
27526 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
27528 * sysdeps/gnu/unwind-resume.c: Likewise.
27529 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
27531 2012-04-25 David S. Miller <davem@davemloft.net>
27533 * sysdeps/unix/sparc/brk.S: Delete.
27534 * sysdeps/unix/sparc/dl-brk.S: Delete.
27535 * sysdeps/unix/sparc/pipe.S: Delete.
27536 * sysdeps/unix/sparc/sysdep.S: Delete.
27537 * sysdeps/unix/sparc/sysdep.h: Delete.
27538 * sysdeps/unix/sparc/vfork.S: Delete.
27539 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
27540 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
27541 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
27542 ret_ERRVAL, r0, r1, MOVE): Define.
27543 (JUMPTARGET): Remove.
27544 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
27545 sysdeps/unix/sparc/sysdep.h
27546 (ENTRY, END): Remove.
27547 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27549 2012-04-25 Joseph Myers <joseph@codesourcery.com>
27551 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
27552 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
27555 * timezone/README: Update upstream location and email address for
27557 * timezone/zdump.c: Update from tzcode 2012b.
27558 * timezone/zic.c: Likewise.
27560 * configure.in (libc_cv_as_needed): Remove test.
27561 * configure: Regenerated.
27562 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
27563 conditional definition.
27564 [$(have-as-needed) != yes] (no-as-needed): Likewise.
27565 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
27566 * config.make.in (have-as-needed): Remove variable.
27568 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27569 Paul Pluzhnikov <ppluzhnikov@google.com>
27571 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
27574 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
27576 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
27577 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
27578 * sysdeps/sh/strlen.S: Likewise.
27580 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27582 * sysdeps/unix/fork.S: Remove file.
27583 * sysdeps/unix/i386/fork.S: Likewise.
27584 * sysdeps/unix/sparc/fork.S: Likewise.
27586 * sysdeps/unix/system.c: Remove file.
27587 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
27589 * sysdeps/unix/getegid.S: Remove file.
27590 * sysdeps/unix/geteuid.S: Likewise.
27592 2012-04-24 Roland McGrath <roland@hack.frob.com>
27594 * scripts/check-localplt.awk: New file.
27595 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
27597 * scripts/data/localplt-generic.data: Add a comment.
27599 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
27600 NODE when __dir_mkfile failed.
27601 * sysdeps/mach/hurd/symlinkat.c: Likewise.
27602 Reported by Ludovic Courtès <ludo@gnu.org>.
27604 2012-04-24 Andreas Jaeger <aj@suse.de>
27606 * Makerules (common-clean): Also remove gen-as-const-headers
27609 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27611 * Makerules (native-compile): Do not change working directory for
27612 build. Use $(OUTPUT_OPTION) in command.
27613 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
27615 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27618 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
27619 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
27620 * math/libm-test.inc (floor_test): Add more tests.
27621 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
27623 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27625 * sysdeps/unix/getdents.c: Remove file.
27626 * sysdeps/unix/sysv/getdents.c: Likewise.
27627 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
27629 * sysdeps/unix/syscalls.list (madvise): Add syscall from
27630 sysdeps/unix/mman/syscalls.list.
27632 (mprotect): Likewise.
27634 (munmap): Likewise.
27635 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
27636 * sysdeps/unix/mman/syscalls.list: Remove.
27637 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
27639 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
27640 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
27641 * configure: Regenerated.
27642 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
27643 $(libgcc_s_suffix).
27644 * config.make.in (libgcc_s_suffix): Remove variable.
27646 2012-04-23 Joseph Myers <joseph@codesourcery.com>
27648 * sysdeps/unix/sysv/gethostname.c: Move to ...
27649 * sysdeps/posix/gethostname.c: ... here.
27651 * sysdeps/unix/execve.S: Remove file.
27653 * sysdeps/unix/_exit.S: Remove file.
27655 2012-04-23 Andreas Jaeger <aj@suse.de>
27658 * manual/Makefile: Remove make dist support, there's no
27659 need for a stand-alone documentation tar ball.
27660 (TEXI2DVI): Define always, it's not in Makeconfig.
27663 (edition): Removed.
27664 (glibc-doc-$(edition).tar): Removed
27668 (ETAGS): Remove, it's in Makeconfig.
27669 (move-if-change): Remove, it's in Makeconfig.
27671 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
27674 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
27675 (strtod, strtof, strtold, strtol, strtoul, strtoq)
27676 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
27677 (strtod_l, strtof_l, strtold_l): Remove __wur.
27678 It is not necessarily an error to ignore strtol's return value.
27679 One can reliably look at the stored endptr to decide whether
27680 the number had valid syntax.
27682 2012-04-21 Andreas Jaeger <aj@suse.de>
27685 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
27687 2012-04-21 Joseph Myers <joseph@codesourcery.com>
27689 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
27690 * sysdeps/unix/sysv/Versions: Remove file.
27692 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
27695 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27697 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
27700 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
27701 version from __vm86.
27703 2012-04-20 Joseph Myers <joseph@codesourcery.com>
27705 * sysdeps/unix/common/lxstat.c: Remove file.
27706 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
27708 * sysdeps/unix/sysv/Makefile: Remove file.
27710 * sysdeps/unix/sysv/direct.h: Remove file.
27712 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
27713 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
27714 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
27715 * sysdeps/unix/sysv/bits/signum.h: Likewise.
27716 * sysdeps/unix/sysv/bits/stat.h: Likewise.
27717 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27718 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
27720 * sysdeps/unix/sysv/setrlimit.c: Remove file.
27722 * sysdeps/unix/xmknod.c: Remove file.
27723 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27725 * sysdeps/unix/sysv/settimeofday.c: Remove file.
27727 * sysdeps/unix/sysv/i386/time.S: Remove file.
27729 * sysdeps/unix/fxstat.c: Remove file.
27730 * sysdeps/unix/xstat.c: Likewise.
27731 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27733 * sysdeps/unix/sysv/sigaction.c: Remove file.
27735 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27736 (sysdep_headers): Remove variable.
27737 [termio.h not in sysdep_headers] (generated): Likewise.
27738 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27739 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27740 * sysdeps/unix/sysv/tcdrain.c: Likewise.
27741 * sysdeps/unix/sysv/tcflow.c: Likewise.
27742 * sysdeps/unix/sysv/tcflush.c: Likewise.
27743 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27744 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27745 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27746 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27747 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27749 * sysdeps/unix/siglist.c: Remove file.
27751 * sysdeps/unix/getppid.S: Remove file.
27753 * sysdeps/unix/mkdir.c: Remove file.
27754 * sysdeps/unix/rmdir.c: Likewise.
27756 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
27758 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27760 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27761 errlist-compat value.
27763 2012-04-18 David S. Miller <davem@davemloft.net>
27765 * sysdeps/generic/memcopy.h (reg_char): Delete.
27766 * debug/strcat_chk.c: Use char, not reg_char.
27767 * debug/strcpy_chk.c: Likewise.
27768 * debug/strncat_chk.c: Likewise.
27769 * debug/strncpy_chk.c: Likewise.
27770 * string/memchr.c: Likewise.
27771 * string/memrchr.c: Likewise.
27772 * string/rawmemchr.c: Likewise.
27773 * string/strcat.c: Likewise.
27774 * string/strchr.c: Likewise.
27775 * string/strchrnul.c: Likewise.
27776 * string/strcmp.c: Likewise.
27777 * string/strcpy.c: Likewise.
27778 * string/strncat.c: Likewise.
27779 * string/strncmp.c: Likewise.
27780 * string/strncpy.c: Likewise.
27782 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27784 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27785 __builtin_memcopy is called when src and dest ranges are known to not
27788 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27790 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27791 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27792 fwd_align_merge macro call.
27793 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27794 bwd_align_merge macro call.
27795 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27797 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27799 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27800 bwd_align_merge macros.
27801 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27802 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27803 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27805 2012-04-18 David S. Miller <davem@davemloft.net>
27807 * sysdeps/sparc/sparc64/memcopy.h: Delete.
27809 2012-04-18 Andreas Jaeger <aj@suse.de>
27812 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27813 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27814 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27816 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27817 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27818 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27820 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27821 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27822 Adjust for changed ldbl-128 files.
27824 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27825 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27826 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27828 2012-04-17 David S. Miller <davem@davemloft.net>
27830 * sysdeps/sparc/sparc32/memcopy.h: Delete.
27832 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
27834 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27835 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27836 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27837 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27838 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27839 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27841 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27844 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27845 * math/libm-test.inc: Add ilogb errno and exception tests.
27846 * math/w_ilogb.c: New file: ilogb wrapper.
27847 * math/w_ilogbf.c: New file: ilogbf wrapper.
27848 * math/w_ilogbl.c: New file: ilogbl wrapper.
27849 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27850 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27851 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27852 exception being thrown with 0.0 as argument.
27853 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27854 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27855 exception being thrown with 0.0 as argument.
27856 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27857 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27858 exception being thrown with 0.0 as argument.
27859 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27860 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27861 exception being thrown with 0.0 as argument.
27862 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27863 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27864 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27865 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27866 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27867 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27868 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27869 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27870 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27872 2012-04-17 Petr Baudis <pasky@ucw.cz>
27874 * include/sys/uio.h: Change __vector to __iovec to avoid clash
27877 2012-04-16 Marek Polacek <polacek@redhat.com>
27879 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27881 2012-04-16 Marek Polacek <polacek@redhat.com>
27883 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27884 operands of fdivp instruction.
27886 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27888 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27889 * elf/tst-auditmod3b.c: Likewise.
27890 * elf/tst-auditmod4b.c: Likewise.
27891 * elf/tst-auditmod5b.c: Likewise.
27892 * elf/tst-auditmod6b.c: Likewise.
27893 * elf/tst-auditmod6c.c: Likewise.
27894 * elf/tst-auditmod7b.c: Likewise.
27895 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27896 * sysdeps/x86_64/preconfigure.in: Likewise.
27897 * sysdeps/x86_64/preconfigure: Regenerated.
27899 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27901 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27904 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
27906 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27907 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27909 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
27912 * locale/iso-639.def: Fix gl language name. Spotted by
27915 2012-04-12 Roland McGrath <roland@hack.frob.com>
27918 * libio/libio.h (__io_write_fn): Update comment.
27920 2012-04-12 Petr Baudis <pasky@ucw.cz>
27923 * stdio.texi (Hook Functions): The user provided writer function
27924 is not allowed to return -1.
27926 2012-04-11 David S. Miller <davem@davemloft.net>
27928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27930 2012-04-11 Mike Frysinger <vapier@gentoo.org>
27932 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27933 Add a leading slash to rtkaio.
27935 2012-04-11 Jim Meyering <meyering@redhat.com>
27938 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27939 It is not necessarily an error to ignore fwrite's return
27940 value. One can reliably use ferror to test for errors after
27943 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27945 * bits/types.h (__snseconds_t): New type.
27946 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27948 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27949 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27950 (__SNSECONDS_T_TYPE): Likewise.
27951 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27952 (__SNSECONDS_T_TYPE): Likewise.
27953 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27954 (__SNSECONDS_T_TYPE): Likewise.
27956 2012-04-10 Andreas Jaeger <aj@suse.de>
27959 * manual/time.texi (Processor Time): Return type of times is
27960 elapsed real time since an arbitrary point in the past.
27961 (CPU Time): Move CLK_TCK from here...
27962 (Processor Time): ...to here. Correct description.
27963 * manual/conf.texi (Constants for Sysconf): Correct description of
27966 2012-04-10 David S. Miller <davem@davemloft.net>
27969 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27970 where the is a gap between DT_REL(A) and DT_JMPREL.
27972 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27974 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27975 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27976 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27978 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27980 * elf/dl-support.c (_dl_inhibit_cache): New variable.
27981 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27982 (dl_main): Handle --inhibit-cache.
27983 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27985 * elf/dl-load.c (_dl_map_object): Use it.
27986 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27988 2012-04-09 Joseph Myers <joseph@codesourcery.com>
27991 * sysdeps/i386/fpu/e_powl.S (p78): New object.
27992 (__ieee754_powl): Saturate large exponents rather than testing for
27993 overflow of y*log2(x).
27994 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27995 * math/libm-test.inc (pow_test): Do not permit spurious overflow
27999 * math/s_ctan.c: Include <float.h>.
28000 (__ctan): Avoid internal overflow or cancellation in calculating
28002 * math/s_ctanf.c: Likewise.
28003 * math/s_ctanl.c: Likewise.
28004 * math/s_ctanh.c: Likewise.
28005 * math/s_ctanhf.c: Likewise.
28006 * math/s_ctanhl.c: Likewise.
28007 * math/libm-test.inc (ctan_test): Add more tests.
28008 (ctanh_test): Likewise.
28009 * sysdeps/i386/fpu/libm-test-ulps: Update.
28010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28012 2012-04-09 Andreas Jaeger <aj@suse.de>
28015 * manual/filesys.texi (Directory Entries): Mention that d_namlen
28016 is an optional BSD extension.
28019 * manual/stdio.texi (Opening Streams): Document additional fopen
28022 2012-04-09 Roland McGrath <roland@hack.frob.com>
28024 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28025 %eax without telling the compiler.
28027 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
28030 * manual/install.texi: Use sourceware.org.
28032 2012-04-09 Joseph Myers <joseph@codesourcery.com>
28035 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28036 (__ieee754_pow): Generate overflow and underflow using huge*huge
28037 and tiny*tiny rather than just returning constant infinity or zero
28038 for large exponents.
28039 * math/libm-test.inc (pow_test): Require overflow exceptions for
28040 applicable cases of large exponents.
28043 * sysdeps/i386/fpu/e_pow.S (p10): New object.
28044 (__ieee754_pow): Use iterative multiplication algorithm only for
28045 integer exponents with absolute value below 1024. Check for odd
28046 integer exponents when using algorithm for real exponents.
28047 * math/libm-test.inc (pow_test): Add more tests.
28048 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28050 2012-04-08 Joseph Myers <joseph@codesourcery.com>
28053 * math/libm-test.inc (exp_test): Do not allow overflow exception
28056 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
28059 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
28060 instead of __kernel_standard_f.
28062 2012-04-08 Mike Frysinger <vapier@gentoo.org>
28064 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
28065 * sysdeps/x86_64/memset_chk.S: Likewise.
28067 2012-04-08 Andreas Jaeger <aj@suse.de>
28070 * manual/startup.texi (Environment Access): Describe return value
28071 for putenv and setenv.
28074 * manual/filesys.texi (Directory Entries): Add description for
28078 * manual/filesys.texi (Directory Entries): Clarify that it's file
28079 system not operating system in the description of DT_UNKNOWN.
28082 * manual/syslog.texi (closelog): Fix reference, it's openlog.
28084 2012-04-08 Stephen Compall <s11@member.fsf.org>
28087 * manual/llio.texi (Opening and Closing Files): Add cross
28088 reference to explain mode argument.
28090 2012-04-07 Mike Frysinger <vapier@gentoo.org>
28092 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
28093 * sysdeps/x86_64/memset_chk.S: Likewise.
28095 2012-04-07 David S. Miller <davem@davemloft.net>
28097 * elf/elf.h (R_SPARC_WDISP10): Define.
28098 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
28100 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
28101 R_SPARC_SIZE64 and R_SPARC_H34.
28103 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
28105 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
28106 conditions and remove no longer applicable assertion.
28108 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28110 * bits/byteswap.h: Include <features.h>.
28111 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28112 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28114 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28116 * bits/byteswap.h (__bswap_16): Removed.
28117 Include <bits/byteswap-16.h> to get __bswap_16.
28118 * sysdeps/i386/bits/byteswap.h: Likewise.
28119 * sysdeps/s390/bits/byteswap.h: Likewise.
28120 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28121 * bits/byteswap-16.h: New file.
28122 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28123 * sysdeps/s390/bits/byteswap-16.h: Likewise.
28124 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
28125 * string/Makefile (headers): Add bits/byteswap-16.h.
28127 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28130 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
28132 * nss/Makefile (tests-static, tests): Add tst-nss-static.
28133 * nss/tst-nss-static.c: New.
28135 2012-04-06 Robert Millan <rmh@gnu.org>
28138 * manual/llio.texi (File Position Primitive): lseek
28139 refers to WHENCE when it really means OFFSET.
28141 2012-04-06 Andreas Jaeger <aj@suse.de>
28143 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
28144 strncmp declarations.
28146 * abilist/libc.abilist: Add __poll and __ppoll.
28148 2012-04-05 David S. Miller <davem@davemloft.net>
28150 * scripts/check-local-headers.sh: Accept a host triplet in the
28151 path matched by the exclude regexp.
28153 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
28155 * sysdeps/powerpc/powerpc32/dl-machine.h
28156 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
28157 * sysdeps/s390/s390-32/dl-machine.h
28158 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28159 * sysdeps/sparc/sparc32/dl-machine.h
28160 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28161 * sysdeps/sparc/sparc64/dl-machine.h
28162 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28164 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
28166 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
28167 undefined symbol errors.
28169 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
28172 2012-04-05 Michael Matz <matz@suse.de>
28175 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
28177 2012-04-05 Andreas Jaeger <aj@suse.de>
28180 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
28183 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28185 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
28186 which ROUND is no valid rounding mode.
28188 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28190 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
28192 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
28194 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28196 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
28197 an exception using FPU order intentionally.
28199 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28201 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
28202 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
28203 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
28204 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
28206 2012-04-05 Simon Josefsson <simon@josefsson.org>
28209 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
28210 EINVAL when BUFLEN is too smal.
28212 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
28215 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
28216 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
28218 2012-04-03 Andreas Jaeger <aj@suse.de>
28221 * manual/setjmp.texi (System V contexts): Fix sentence.
28224 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
28225 New macro for this case.
28226 [!__GNUC__] (__bswap_64): New inline function for this case.
28227 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28228 * bits/byteswap.h: Likewise.
28229 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
28230 ull, guard with __GLIBC_HAVE_LONG_LONG.
28232 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
28233 __GLIBC_HAVE_LONG_LONG.
28235 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
28236 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
28238 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28241 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
28242 inptr and inend, rather than using last_ch.
28244 2012-04-02 David S. Miller <davem@davemloft.net>
28246 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
28247 * stdio-common/printf-parse.h (read_int): Change return type to
28248 'int', return -1 on INT_MAX overflow.
28249 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
28250 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
28251 overflows INT_MAX. Check for overflow of in-format-string precision
28252 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
28253 SIZE_MAX not INT_MAX for integer overflow test.
28254 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
28255 skip the construct in the format string but do not record anything.
28256 * stdio-common/bug22.c: Adjust to test both width/prevision
28257 INT_MAX overflow as well as total length INT_MAX overflow. Check
28258 explicitly for proper errno values.
28260 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
28262 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
28264 * string/test-strcmp.c [! WIDE]: Likewise.
28265 * time/tst-mktime2.c: Likewise for INT_MAX.
28266 * string/test-string.h: #include <sys/param.h> for MIN.
28268 * csu/init-first.c (__libc_init_first): Call __ctype_init.
28269 * sysdeps/i386/init-first.c (init): Likewise.
28270 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
28271 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
28272 * sysdeps/sh/init-first.c (init): Likewise.
28274 2012-04-01 Ulrich Drepper <drepper@gmail.com>
28276 * po/ru.po: Update from translation team.
28277 * po/vi.po: Likewise.
28279 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28281 * resolv/nss_dns/dns-host.c: Merge copyright years.
28283 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28285 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28286 Optimize memcpy with prefetch if
28287 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
28288 src, dst pointers have unequal 16 byte alignments.
28290 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28293 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
28294 from a CNAME entry and return the minimum ttl for the query.
28295 (gaih_getanswer_slice): Likewise.
28297 2012-03-30 Jeff Law <law@redhat.com>
28299 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
28301 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
28302 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
28304 * resolv/nss_dns/dns-host.c: Update copyright year.
28306 2012-03-30 Ulrich Drepper <drepper@gmail.com>
28308 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
28309 requests to save a system call. Fix check that all bytes are sent.
28311 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
28312 comments for sendmmsg.
28314 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28317 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
28318 with only 1 character between 0x0041 and 0x01b0.
28319 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
28320 * wcsmbs/tst-mbsnrtowcs.c: New file.
28322 2012-03-29 David S. Miller <davem@davemloft.net>
28324 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
28325 small copies by hand.
28327 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28330 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
28331 _nss_compat_initgroups_dyn): Fall back to malloc/free
28332 for large group memberships.
28334 2012-03-28 David S. Miller <davem@davemloft.net>
28336 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
28337 that branches into memcpy.
28338 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28339 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28340 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28341 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28342 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
28344 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
28345 implementation too.
28346 * sysdeps/sparc/mempcpy.S: New file.
28348 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
28349 the IFUNC routine in the libc case.
28350 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28352 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
28353 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
28354 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
28355 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
28356 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
28357 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
28358 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
28359 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
28361 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
28362 loop to 256 bytes instead of 64 bytes and fix test signedness.
28364 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
28365 * sysdeps/sparc/sparc32/Makefile: rather than here...
28366 * sysdeps/sparc/sparc64/Makefile: and here.
28368 2012-03-28 Ulrich Drepper <drepper@gmail.com>
28370 * malloc/mallocbug.c: Avoid warnings about unused variables.
28372 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28375 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
28376 in the right place. Discard and retry query if response is
28377 larger than input buffer size.
28379 2012-03-28 Joseph Myers <joseph@codesourcery.com>
28384 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
28385 x for large integer exponent.
28386 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28387 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
28388 sign of result as needed afterwards.
28389 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28390 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
28391 result for underflowing pow the same as for overflow.
28392 (__kernel_standard_l): Handle powl overflow and underflow here
28393 rather than calling __kernel_standard.
28394 * math/libm-test.inc (pow_test): Add more tests.
28409 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
28410 * sysdeps/ieee754/k_standard.c: Include <float.h>.
28411 (__kernel_standard_l): New function.
28412 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
28414 * math/w_acosl.c (__acosl): Likewise.
28415 * math/w_asinl.c (__asinl): Likewise.
28416 * math/w_atan2l.c (__atan2l): Likewise.
28417 * math/w_atanhl.c (__atanhl): Likewise.
28418 * math/w_coshl.c (__coshl): Likewise.
28419 * math/w_exp10l.c (__exp10l): Likewise.
28420 * math/w_exp2l.c (__exp2l): Likewise.
28421 * math/w_fmodl.c (__fmodl): Likewise.
28422 * math/w_hypotl.c (__hypotl): Likewise.
28423 * math/w_j0l.c (__j0l, __y0l): Likewise.
28424 * math/w_j1l.c (__j1l, __y1l): Likewise.
28425 * math/w_jnl.c (__jnl, __ynl): Likewise.
28426 * math/w_lgammal.c (__lgammal): Likewise.
28427 * math/w_log10l.c (__log10l): Likewise.
28428 * math/w_log2l.c (__log2l): Likewise.
28429 * math/w_logl.c (__logl): Likewise.
28430 * math/w_powl.c (__powl): Likewise.
28431 * math/w_remainderl.c (__remainderl): Likewise.
28432 * math/w_scalbl.c (sysv_scalbl): Likewise.
28433 * math/w_sinhl.c (__sinhl): Likewise.
28434 * math/w_sqrtl.c (__sqrtl): Likewise.
28435 * math/w_tgammal.c (__tgammal): Likewise.
28436 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
28437 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
28438 * math/libm-test.inc (acos_test): Add more tests.
28439 (acosh_test): Likewise.
28440 (asin_test): Likewise.
28441 (atanh_test): Likewise.
28442 (exp_test): Likewise.
28443 (exp10_test): Likewise.
28444 (exp2_test): Likewise.
28445 (expm1_test): Likewise.
28446 (lgamma_test): Likewise.
28447 (log_test): Likewise.
28448 (log10_test): Likewise.
28449 (log1p_test): Likewise.
28450 (log2_test): Likewise.
28451 (pow_test): Do not allow some spurious overflow exceptions.
28452 (sqrt_test): Add more tests.
28453 (tgamma_test): Likewise.
28454 (y0_test): Likewise.
28455 (y1_test): Likewise.
28456 (yn_test): Likewise.
28458 2012-03-27 Anton Blanchard <anton@samba.org>
28460 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
28462 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28463 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28464 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28466 2012-03-27 David S. Miller <davem@davemloft.net>
28468 * conform/Makefile: Run run-conformtest.sh using $(BASH).
28470 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
28471 have-as-vis3 check.
28473 2012-03-27 Andreas Jaeger <aj@suse.de>
28475 * sysdeps/x86_64/elf/configure.in: Moved to ...
28476 * sysdeps/x86_64/configure.in: ... here.
28477 * sysdeps/x86_64/elf/start.S: Moved to ...
28478 * sysdeps/x86_64/start.S: ... here.
28479 * sysdeps/x86_64/elf/configure: Delete.
28481 * sysdeps/x86_64/configure.in: Merge contents from
28482 sysdeps/i386/configure.in (without i686 check).
28484 * sysdeps/i386/elf/Versions: Merge into ...
28485 * sysdeps/i386/Versions: ... this.
28486 * sysdeps/i386/elf/Versions: Delete file.
28487 * sysdeps/i386/elf/start.S: Moved to ...
28488 * sysdeps/i386/start.S: ...here.
28489 * sysdeps/i386/elf/configure.in: Merge into...
28490 * sysdeps/i386/configure.in: ...here.
28491 * sysdeps/i386/elf/configure.in: Delete file.
28492 * sysdeps/i386/elf/configure: Delete file.
28494 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
28495 * debug/backtracesyms.c: ... here.
28496 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
28497 * debug/backtracesymsfd.c: ... here.
28498 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
28499 * sysdeps/generic/ifunc-sel.h: ... here.
28501 * sysdeps/unix/i386/start.c: Delete file.
28502 * sysdeps/unix/sparc/start.c: Delete file.
28503 * sysdeps/unix/start.c: Delete file.
28505 * sysdeps/sh/elf/configure.in: Moved to ...
28506 * sysdeps/sh/configure.in: ... here.
28507 * sysdeps/sh/elf/start.S: Moved to ...
28508 * sysdeps/sh/start.S: ... here.
28509 * sysdeps/sh/elf/configure: Delete file.
28511 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
28512 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
28513 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
28514 * sysdeps/powerpc/powerpc64/entry.h: ... here.
28515 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
28516 * sysdeps/powerpc/powerpc64/start.S: here.
28517 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
28518 * sysdeps/powerpc/powerpc64/Makefile: ... this.
28519 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
28520 * sysdeps/powerpc/powerpc64/configure.in: ... this.
28521 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
28523 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
28524 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
28525 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
28526 * sysdeps/powerpc/powerpc32/start.S: ... here.
28527 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
28528 * sysdeps/powerpc/powerpc32/configure.in: ... this.
28529 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
28531 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
28532 * sysdeps/powerpc/ifunc-sel.h: ... here.
28533 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
28534 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
28536 * sysdeps/sparc/elf/configure.in: Moved to ...
28537 * sysdeps/sparc/configure.in: ... here.
28538 * sysdeps/sparc/elf/configure: Delete file.
28539 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
28540 * sysdeps/sparc/sparc32/start.S: ... here.
28541 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
28542 * sysdeps/sparc/sparc64/start.S: ... here.
28543 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
28544 * sysdeps/sparc/sparc32/Makefile: ... this.
28545 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
28546 * sysdeps/sparc/sparc64/Makefile: ... this.
28548 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
28549 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
28550 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
28551 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
28552 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
28553 * sysdeps/s390/s390-32/setjmp.S: ... here.
28554 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
28555 * sysdeps/s390/s390-32/configure.in: ... here.
28556 * sysdeps/s390/s390-32/elf/configure: Delete file.
28557 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
28558 * sysdeps/s390/s390-32/start.S: ... here.
28560 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
28561 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
28562 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
28563 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
28564 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
28565 * sysdeps/s390/s390-64/setjmp.S: ... here.
28566 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
28567 * sysdeps/s390/s390-64/configure.in: ... here
28568 * sysdeps/s390/s390-64/elf/configure: Delete file.
28569 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
28570 * sysdeps/s390/s390-64/start.S: ... here.
28571 * sysdeps/s390/s390-64/elf/configure: Delete.
28573 * configure.in: Remove support for elf directories in sysdeps.
28575 * configure: Regenerated.
28576 * sysdeps/i386/configure: Regenerated.
28577 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28578 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28579 * sysdeps/s390/s390-32/configure: Regenerated.
28580 * sysdeps/s390/s390-64/configure: Regenerated.
28581 * sysdeps/sh/configure: Regenerated.
28582 * sysdeps/sparc/configure: Regenerated.
28583 * sysdeps/x86_64/configure: Regenerated.
28585 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
28587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28589 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
28590 denormal result into account.
28592 2012-03-25 Roland McGrath <roland@hack.frob.com>
28594 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
28595 Reported by Allan McRae <allan@archlinux.org>.
28597 2012-03-23 Jeff Law <law@redhat.com>
28599 * nss/getnssent.c (__nss_getent): Fix typo.
28601 2012-03-23 David S. Miller <davem@davemloft.net>
28603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28605 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
28607 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
28608 to pad to uint64_t for each field.
28609 (dl_tls_index): Replace unsigned long with uint64_t.
28611 2012-03-23 Daniel Jacobowitz <dmj@google.com>
28612 Paul Pluzhnikov <ppluzhnikov@google.com>
28615 * grp/Makefile (otherlibs): Don't set it.
28616 * inet/Makefile (otherlibs): Likewise.
28617 * login/Makefile (otherlibs): Likewise.
28618 * nscd/Makefile (otherlibs): Likewise.
28619 * posix/Makefile (otherlibs): Likewise.
28620 * pwd/Makefile (otherlibs): Likewise.
28621 * rt/Makefile (otherlibs): Likewise.
28622 * sunrpc/Makefile (otherlibs): Likewise.
28623 * nss/Makefile (otherlibs): Likewise.
28624 Add libnss_files to routines and static-only-routines.
28625 ($(objpfx)getent): Remove rule.
28626 * resolv/Makefile: Add libnss_dns and libresolv to routines and
28627 static-only-routines.
28629 2012-03-22 Joseph Myers <joseph@codesourcery.com>
28632 * math/s_cexp.c: Include <float.h>.
28633 (__cexp): Handle exp result overflowing not necessarily
28634 overflowing both real and imaginary parts of result.
28635 * math/s_cexpf.c: Likewise.
28636 * math/s_cexpl.c: Likewise.
28637 * math/libm-test.inc (cexp_test): Add more tests.
28638 * sysdeps/i386/fpu/libm-test-ulps: Update.
28639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28641 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28643 * include/link.h (ELFW): New macro.
28644 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
28645 Replace ELF64_R_TYPE with ELFW(R_TYPE).
28647 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28649 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
28652 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28654 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
28656 (struct La_x32_retval): Likewise.
28658 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28660 * sysdeps/x86_64/preconfigure.in: New file.
28661 * sysdeps/x86_64/preconfigure: New generated file.
28663 2012-03-22 Joseph Myers <joseph@codesourcery.com>
28666 * math/e_exp2l.c: Include <float.h>.
28667 (__ieee754_exp2l): Handle overflow and underflow cases
28668 separately. Only pass fractional part of argument to
28670 * math/libm-test.inc (exp2_test): Add more tests.
28672 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
28673 negating x to take absolute value.
28674 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28676 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28677 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28679 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
28680 computing low part if x was negated.
28681 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28683 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28685 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
28686 la_x32_gnu_pltexit.
28687 (pltexit): Cast int_retval to ptrdiff_t.
28688 * elf/tst-auditmod3b.c: Likewise.
28689 * elf/tst-auditmod4b.c: Likewise.
28690 * elf/tst-auditmod5b.c: Likewise.
28691 * elf/tst-auditmod6b.c: Likewise.
28692 * elf/tst-auditmod6c.c: Likewise.
28693 * elf/tst-auditmod7b.c: Likewise.
28695 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
28696 and x32_gnu_pltexit.
28698 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
28699 __ELF_NATIVE_CLASS.
28700 (La_x32_regs): New macro.
28701 (La_x32_retval): Likewise.
28702 (la_x32_gnu_pltenter): New function prototype.
28703 (la_x32_gnu_pltexit): Likewise.
28705 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
28707 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
28710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28712 * configure.in (libc_cv_cc_nofma): Check for option to disable
28713 generation of FMA instructions.
28714 * configure: Regenerate.
28715 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
28716 * sysdeps/ieee754/dbl-64/Makefile: New file.
28717 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28718 Remove brandred-fma4.
28719 (CFLAGS-brandred-fma4.c): Remove.
28720 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
28721 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
28723 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28726 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28728 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28729 LLONG_MAX != LONG_MAX.
28730 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28731 (_fitoa_word): Likewise.
28732 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28733 LLONG_MAX != LONG_MAX.
28734 * stdio-common/_itowa.h: Include <_itoa.h>.
28735 (_itowa_word): Use _ITOA_WORD_TYPE on value.
28736 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
28737 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
28738 only if not defined.
28739 (_ITOA_WORD_TYPE): Likewise.
28740 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28741 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28743 2012-03-21 David S. Miller <davem@davemloft.net>
28745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28747 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28749 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28750 of x86_64 when setting libc_cv_slibdir, libdir and
28752 * sysdeps/unix/sysv/linux/configure: Regenerated.
28754 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28756 * manual/lang.texi (Old Varargs): Remove section.
28757 (How Variadic): Update menu.
28758 (va_start): Do not mention varargs.h.
28760 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28761 Joseph Myers <joseph@codesourcery.com>
28763 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28765 * configure: Regenerated.
28767 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28769 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28770 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28773 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28776 * Makefile (files-for-dist): Remove NOTES.
28777 (NOTES): Remove rule.
28778 * README: Don't refer to NOTES.
28779 * manual/creature.texi: Don't include macros.texi.
28780 * manual/intro.texi (creature.texi): Remove comment referring to
28783 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28784 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28785 * configure: Regenerated.
28786 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28787 LIBC_TRY_CC_OPTION.
28788 (libc_cv_as_i686): Likewise.
28789 (libc_cv_cc_avx): Likewise.
28790 (libc_cv_cc_sse2avx): Likewise.
28791 (libc_cv_cc_fma4): Likewise.
28792 (libc_cv_cc_novzeroupper): Likewise.
28793 * sysdeps/i386/configure: Regenerated.
28796 * sysdeps/i386/fpu/s_cexp.S: Remove.
28797 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28798 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28799 * math/libm-test.inc (cexp_test): Add more tests.
28800 * sysdeps/i386/fpu/libm-test-ulps: Update.
28801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28803 2012-03-21 Allan McRae <allan@archlinux.org>
28805 * timezone/Makefile: Do not install iso3166.tab and zone.tab
28807 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28810 * math/w_exp2.c: Do not include <float.h>.
28811 (o_threshold, u_threshold): Remove.
28812 (__exp2): Calculate result before checking finiteness and calling
28814 * math/w_exp2f.c: Likewise.
28815 * math/w_exp2l.c: Likewise.
28816 * math/libm-test.inc (exp2_test): Require overflow exception for
28820 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28821 range of signed 64-bit integers before using fistpll. Remove
28822 checks for whether integers fit in mantissa bits.
28823 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28824 the range of signed 32-bit integers before using fistpl. Remove
28825 checks for whether integers fit in mantissa bits.
28826 * sysdeps/i386/fpu/e_powl.S (p64): New object.
28827 (__ieee754_powl): Test for y outside the range of signed 64-bit
28828 integers before using fistpll. Reduce 64-bit values to 63-bit
28830 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28831 divide-by-zero is raised for zero to large negative powers.
28832 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28833 (__ieee754_powl): Test for y outside the range of signed 64-bit
28834 integers before using fistpll. Reduce 64-bit values to 63-bit
28836 * math/libm-test.inc (pow_test): Add more tests.
28838 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28840 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28841 <stdio-common/_itoa.h>.
28842 * debug/segfault.c: Likewise.
28843 * elf/dl-cache.c: Likewise.
28844 * elf/dl-minimal.c: Likewise.
28845 * elf/dl-misc.c: Likewise.
28846 * elf/dl-sysdep.c: Likewise.
28847 * elf/dl-version.c: Likewise.
28848 * elf/rtld.c: Likewise.
28849 * hurd/hurdsock.c: Likewise.
28850 * hurd/lookup-retry.c: Likewise.
28851 * malloc/malloc.c: Likewise.
28852 * malloc/mtrace.c: Likewise.
28853 * nscd/nscd_getgr_r.c: Likewise.
28854 * nscd/nscd_getpw_r.c: Likewise.
28855 * nscd/nscd_getserv_r.c: Likewise.
28856 * posix/getopt_init.c: Likewise.
28857 * posix/wordexp.c: Likewise.
28858 * stdio-common/_itoa.c: Likewise.
28859 * stdio-common/printf_fphex.c: Likewise.
28860 * stdio-common/vfprintf.c: Likewise.
28861 * string/_strerror.c: Likewise.
28862 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28863 * sysdeps/i386/i686/hp-timing.h: Likewise.
28864 * sysdeps/mach/_strerror.c: Likewise.
28865 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28866 * sysdeps/mach/hurd/sethostid.c: Likewise.
28867 * sysdeps/mach/hurd/xmknodat.c: Likewise.
28868 * sysdeps/mach/xpg-strerror.c: Likewise.
28869 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28870 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28871 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28872 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28873 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28874 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28875 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28876 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28877 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28878 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28879 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28880 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28881 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28882 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28883 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28884 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28885 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28886 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28887 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28888 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28889 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28891 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28893 * stdio-common/_itoa.h: Moved to ...
28894 * sysdeps/generic/_itoa.h: Here.
28896 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28898 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28899 instead of "_itoa.h" and "_itowa.h".
28900 * stdio-common/vfprintf.: Likewise.
28902 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28904 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28906 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28907 (__signbit): Likwise.
28908 (llrintf): Likwise.
28911 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28913 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28916 2012-03-20 Joseph Myers <joseph@codesourcery.com>
28918 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28919 OVERFLOW_EXCEPTION_OK.
28920 * math/libm-test.inc ("Philosophy"): Update comment about
28922 (OVERFLOW_EXCEPTION): Define.
28923 (OVERFLOW_EXCEPTION_OK): Likewise.
28924 (INVALID_EXCEPTION_OK): Renumber.
28925 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28926 (IGNORE_ZERO_INF_SIGN): Likewise.
28927 (test_exceptions): Handle FE_OVERFLOW.
28928 (exp10_test): Expect overflow exceptions.
28929 (exp2_test): Likewise.
28930 (expm1_test): Likewise.
28931 (nextafter_test): Likewise.
28932 (pow_test): Likewise.
28933 (scalbn_test): Likewise.
28934 (scalbln_test): Likewise.
28936 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28938 * sysdeps/x86_64/bits/atomic.h
28939 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28941 (atomic_exchange_acq): Likewise.
28942 (__arch_exchange_and_add_body): Likewise.
28943 (__arch_add_body): Likewise.
28944 (atomic_add_negative): Likewise.
28945 (atomic_add_zero): Likewise.
28947 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28949 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28950 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28952 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28954 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28955 Check __x86_64__ instead of __WORDSIZE.
28957 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28959 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28961 2012-03-19 David S. Miller <davem@davemloft.net>
28963 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28965 * sysdeps/sparc/fpu/fenv_private.h: New file.
28966 * sysdeps/sparc/fpu/math_private.h: Use it.
28967 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28969 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28970 (libc_feholdexcept_setroundl): Remove.
28971 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28973 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28974 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28976 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28978 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28979 int64_t instead of long int.
28980 (INSERT_WORDS64): Likwise.
28982 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28984 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28985 _Unwind_GetCFA return to _Unwind_Ptr first.
28987 2012-03-19 Joseph Myers <joseph@codesourcery.com>
28990 * math/s_clog.c: Include <float.h>.
28991 (__clog): Scale large or subnormal inputs.
28992 * math/s_clogf.c: Likewise.
28993 * math/s_clogl.c: Likewise.
28994 * math/s_clog10.c: Include <float.h>.
28995 (M_LOG10_2): Define.
28996 (__clog10): Scale large or subnormal inputs.
28997 * math/s_clog10f.c: Likewise.
28998 * math/s_clog10l.c: Likewise.
28999 * math/libm-test.inc (clog_test): Add more tests.
29000 (clog10_test): Likewise.
29001 * sysdeps/i386/fpu/libm-test-ulps: Update.
29002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29005 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
29007 * math/libm-test.inc (atan2_test): Add another test.
29009 * Makerules (common-objdir-compile): Remove.
29010 * sysdeps/unix/Makefile (config-generated): Do not add
29011 $(unix-generated) to variable.
29012 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
29013 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
29015 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29017 [generic bits/local_lim.h] (before-compile): Do not append to
29019 [generic bits/local_lim.h] (common-generated): Likewise.
29020 [generic sys/param.h] (before-compile): Do not append to variable.
29021 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29022 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29023 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29024 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29026 [generic sys/param.h] (sys/param.h-includes): Remove variable.
29027 [generic sys/param.h] (sys/param.h-includes): Remove rule.
29028 [generic sys/param.h] ($(addprefix
29029 $(common-objpfx),$(sys/param.h-includes))): Likewise.
29030 [generic sys/param.h] (common-generated): Do not append to
29032 [generic sys/param.h] (sysdep_headers): Likewise.
29033 [generic bits/errno.h] (before-compile): Do not append to
29035 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29037 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29038 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29039 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29040 [generic bits/errno.h] (common-generated): Do not append to
29042 [generic bits/ioctls.h] (before-compile): Do not append to
29044 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29046 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29047 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
29048 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
29050 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
29051 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
29052 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
29053 [generic bits/ioctls.h] (common-generated): Do not append to
29055 [generic sys/syscall.h] (syscall.h): Remove variable.
29056 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29058 [generic sys/syscall.h] (before-compile): Do not append to
29060 [generic sys/syscall.h] (common-generated): Likewise.
29061 * sysdeps/unix/errnos-tmpl.c: Remove file.
29062 * sysdeps/unix/errnos.awk: Likewise.
29063 * sysdeps/unix/ioctls-tmpl.c: Likewise.
29064 * sysdeps/unix/ioctls.awk: Likewise.
29065 * sysdeps/unix/mk-local_lim.c: Likewise.
29066 * sysdeps/unix/snarf-ioctls: Likewise.
29068 2012-03-19 Richard Henderson <rth@twiddle.net>
29070 * sysdeps/i386/fpu/fenv_private.h: New file.
29071 * sysdeps/i386/fpu/math_private.h: Use it.
29072 (math_opt_barrier, math_force_eval): Remove.
29073 (libc_feholdexcept_setround_53bit): Remove.
29074 (libc_feupdateenv_53bit): Remove.
29075 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29076 (math_opt_barrier, math_force_eval): Remove.
29077 (libc_feholdexcept): Remove.
29078 (libc_feholdexcept_setround): Remove.
29079 (libc_fetestexcept, libc_fesetenv): Remove.
29080 (libc_feupdateenv_test): Remove.
29081 (libc_feupdateenv, libc_feholdsetround): Remove.
29082 (libc_feresetround): Remove.
29084 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
29085 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29087 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
29088 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
29089 (libc_feupdateenv_testl): New.
29090 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
29091 (libc_feupdateenv_testf): New.
29092 (libc_feupdateenv): Use libc_feupdateenv_test.
29093 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
29094 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
29096 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
29097 (libc_feholdsetroundf, libc_feholdsetroundl): New.
29098 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
29099 (libc_feresetround_noex): New.
29100 (libc_feresetround_noexf): New.
29101 (libc_feresetround_noexl): New.
29102 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
29103 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
29104 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
29105 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
29107 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29108 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
29110 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
29111 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29112 SET_RESTORE_ROUND_NOEX.
29113 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
29114 SET_RESTORE_ROUND_NOEXF.
29115 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
29116 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
29117 (libc_feholdsetroundf): New.
29118 (libc_feresetround, libc_feresetroundf): New.
29120 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
29121 (libc_feholdexcept_setround_53bit): Convert from macro to function.
29122 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
29124 * sysdeps/generic/math_private.h: Include <fenv.h>.
29125 (default_libc_feholdexcept): New.
29126 (default_libc_feholdexcept_setround): New.
29127 (default_libc_fesetenv, default_libc_feupdateenv): New.
29128 (libc_feholdexcept): Only define if undefined.
29129 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
29130 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
29131 (libc_feholdexcept_setroundl): Likewise.
29132 (libc_feholdexcept_setround_53bit): Likewise.
29133 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
29134 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
29135 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
29136 (libc_feupdateenv_53bit): Likewise.
29137 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
29138 (libc_feholdexcept): Convert from macro to inline function.
29139 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
29140 (libc_fesetenv, libc_feupdateenv): Likewise.
29142 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
29143 not previously defined.
29144 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
29145 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
29146 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
29147 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
29148 * sysdeps/ieee754/flt-32/math_private.h: New file.
29149 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
29150 math_private.h below SET_FLOAT_WORD.
29151 (__isnan, __isinf_ns, __finite): Remove.
29152 (__isnanf, __isinf_nsf, __finitef): Remove.
29154 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
29156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29158 2012-03-17 David S. Miller <davem@davemloft.net>
29161 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
29164 2012-03-16 David S. Miller <davem@davemloft.net>
29166 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
29170 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
29172 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
29173 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
29174 sysdep_routines when subdir is sysvipc.
29175 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
29176 __getshmlba helper.
29178 * sysdeps/sparc/fpu/libm-test/ulps: Update.
29180 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29182 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
29185 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29187 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
29188 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
29189 (__lround): Renamed to ...
29190 (__llround): This. Replace long int with long long int.
29191 Define lround functions as aliases of llround functions.
29192 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
29194 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29196 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
29197 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
29198 adresses to uintptr_t. Replace "long int" and "unsigned long
29199 int" with "greg_t" on va_arg.
29201 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29203 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
29204 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
29206 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
29207 Move e_machine check before EI_CLASS check. Handle x32
29208 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
29209 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
29210 SKIP_EM_IA_64 and include
29211 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
29213 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
29214 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
29215 (add_system_dir): New macro.
29217 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
29218 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
29220 2012-03-16 Joseph Myers <joseph@codesourcery.com>
29231 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
29233 * math/w_j0f.c (j0f): Likewise.
29235 * math/w_j0l.c (__j0l): Likewise.
29237 * math/w_j1.c (j1): Likewise.
29239 * math/w_j1f.c (j1f): Likewise.
29241 * math/w_j1l.c (__j1l): Likewise.
29243 * math/w_jn.c (jn): Likewise.
29245 * math/w_jnf.c (jnf): Likewise.
29247 * math/w_jnl.c (__jnl): Likewise.
29249 * math/libm-test.inc (j0_test): Add more tests.
29250 (j1_test): Likewise.
29251 (jn_test): Likewise. Add trailing semicolon to existing test.
29252 (y0_test): Likewise.
29253 (y1_test): Likewise.
29254 * sysdeps/i386/fpu/libm-test-ulps: Update.
29255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29259 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29260 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
29261 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
29262 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
29263 (__tanl): Set errno for infinite argument.
29264 * sysdeps/i386/fpu/mptan.c: Remove.
29265 * sysdeps/i386/fpu/s_tan.S: Likewise.
29266 * sysdeps/i386/fpu/s_tanl.S: Likewise.
29267 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
29268 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
29269 * math/libm-test.inc (tan_test): Add more tests and enable more
29270 tests for double and long double.
29271 * sysdeps/i386/fpu/libm-test-ulps: Update.
29272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29274 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
29276 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
29277 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
29279 2012-03-16 Roland McGrath <roland@hack.frob.com>
29281 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
29282 * configure.in: Use it for both main tree and add-ons.
29283 * configure: Regenerated.
29285 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29287 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
29289 2012-03-16 Joseph Myers <joseph@codesourcery.com>
29291 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
29295 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
29296 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
29297 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
29298 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
29299 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
29301 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
29302 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
29303 != 0 for prec == 2.
29304 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
29305 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
29306 * sysdeps/i386/fpu/s_cosl.S: Likewise.
29307 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
29308 * sysdeps/i386/fpu/s_sinl.S: Likewise.
29309 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
29310 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
29311 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
29312 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
29313 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
29314 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
29315 * math/libm-test.inc (cos_test): Add more tests and enable more
29316 tests for long double.
29317 (sin_test): Likewise.
29318 (sincos_test): Likewise.
29319 * sysdeps/i386/fpu/libm-test-ulps: Update.
29320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29322 2012-03-16 David S. Miller <davem@davemloft.net>
29324 * sysdeps/sparc/fpu/math_private.h: New file.
29326 2012-03-15 David S. Miller <davem@davemloft.net>
29328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
29330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
29331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
29333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
29334 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
29335 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
29336 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
29337 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
29338 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
29340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29342 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
29343 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
29345 * sysdeps/sparc/sparc-ifunc.h: New file.
29346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
29348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
29353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
29354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
29355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
29360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
29362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
29364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
29366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
29368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
29369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
29370 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29371 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29372 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
29373 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
29374 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29375 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29376 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
29377 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
29378 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
29379 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
29380 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
29381 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
29382 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
29383 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
29384 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
29385 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
29386 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
29387 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
29388 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
29389 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
29391 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
29393 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
29395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29397 2012-03-15 Andreas Jaeger <aj@suse.de>
29400 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
29401 ieee754/flt-32 implementation for sin, cos and sincos.
29402 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
29403 * sysdeps/i386/fpu/s_cosf.S: Likewise.
29404 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
29405 * sysdeps/i386/fpu/s_sinf.S: Likewise.
29406 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
29407 ieee754/flt-32 implementation for tan.
29409 * math/libm-test.inc (cos_test): Enable some large input tests for
29411 (sin_test): Likewise.
29412 (sincos_test): Likewise.
29413 (tan_test): Add tests for large input.
29415 * sysdeps/i386/fpu/libm-test-ulps: Update.
29417 2012-03-15 Andreas Jaeger <aj@suse.de>
29420 * math/libm-test.inc (cos_test): Add more test cases.
29421 (sin_test): Likewise.
29422 (sincos_test): Likewise.
29424 2012-03-15 Andreas Jaeger <aj@suse.de>
29427 * math/libm-test.inc (cos_test): Add a test case for large input
29429 (sin_test): Likewise.
29430 (sincos_test): Likewise.
29432 2012-03-15 Andreas Jaeger <aj@suse.de>,
29433 Joseph Myers <joseph@codesourcery.com>
29436 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
29437 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
29438 * sysdeps/i386/fpu/branred.c: Likewise.
29439 * sysdeps/i386/fpu/dosincos.c: Likewise.
29440 * sysdeps/i386/fpu/mpa.c: Likewise.
29441 * sysdeps/i386/fpu/s_cos.S: Likewise.
29442 * sysdeps/i386/fpu/s_sin.S: Likewise.
29443 * sysdeps/i386/fpu/s_sincos.S: Likewise.
29444 * sysdeps/i386/fpu/sincos32.c: Likewise.
29446 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
29448 (libc_feupdateenv_53bit): Define.
29449 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
29451 (libc_feupdateenv_53bit): Define.
29453 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
29454 53 bit (without extend i386 double precision).
29456 * math/libm-test.inc (sincos_test): Add tests for large input.
29460 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29462 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
29464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29466 2012-03-15 David S. Miller <davem@davemloft.net>
29468 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
29469 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
29470 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
29471 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
29472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
29473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
29474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
29475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
29476 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
29477 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
29478 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
29479 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
29480 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
29481 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
29482 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
29483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
29485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
29486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
29488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
29489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
29491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
29492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
29494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
29495 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
29496 fmin/fmax sysdep routines.
29497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29499 2012-03-14 David S. Miller <davem@davemloft.net>
29501 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
29502 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
29503 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
29504 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
29505 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
29506 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
29507 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
29508 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
29509 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
29510 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
29511 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
29512 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
29513 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
29514 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
29515 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
29516 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
29517 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
29518 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
29519 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
29520 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
29521 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
29522 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
29523 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
29524 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
29525 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
29526 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
29527 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
29528 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
29529 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
29531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
29533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
29534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
29536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
29537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
29539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
29540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
29542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
29543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
29545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
29546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
29548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
29550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
29552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
29554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
29556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
29558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
29560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
29561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
29563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
29564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
29566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
29567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
29569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
29570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
29573 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29578 * sysdeps/sparc/configure.in: New file.
29579 * sysdeps/sparc/configure: Generate.
29580 * configure.in (libc_cv_sparc_as_vis3): Substitute.
29581 * configure: Regenerate.
29582 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
29583 * config.make.in (have-as-vis3): New.
29584 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
29585 available use -Av9d instead of -Av9a.
29586 * sysdeps/sparc/sparc64/Makefile: Likewise.
29587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
29588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
29590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
29592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
29594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
29596 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
29597 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
29598 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
29599 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
29600 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
29602 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
29603 fzeros/fnegs to load 0x80000000 into a float register instead of
29605 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
29607 2012-03-14 Joseph Myers <joseph@codesourcery.com>
29609 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29611 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
29612 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
29613 ($(inst_includedir)/bits/syscall.h): Remove rule.
29614 ($(objpfx)bits/syscall.d): Include instead of
29615 $(objpfx)syscall-list.d.
29616 (generated): Change syscall-list.h and syscall-list.d to
29617 bits/syscall.h and bits/syscall.d.
29619 2012-03-14 Roland McGrath <roland@hack.frob.com>
29622 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
29624 2012-03-14 Joseph Myers <joseph@codesourcery.com>
29627 * math/s_csqrt.c: Include <float.h>.
29628 (__csqrt): Scale large or subnormal inputs.
29629 * math/s_csqrtf.c: Likewise.
29630 * math/s_csqrtl.c: Likewise.
29631 * math/libm-test.inc (csqrt_test): Add more tests.
29632 * sysdeps/i386/fpu/libm-test-ulps: Update.
29633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29636 * math/libm-test.inc (hypot_test): Add more tests.
29638 2012-03-13 David S. Miller <davem@davemloft.net>
29641 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
29642 double-precision for the calculation instead of scaling.
29644 2012-03-13 Joseph Myers <joseph@codesourcery.com>
29646 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
29647 manipulate bits before adding and subtracting TWO52[sx].
29648 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
29649 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29651 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
29653 2012-03-13 David S. Miller <davem@davemloft.net>
29655 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
29656 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
29657 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
29658 rtld-global-offsets.h
29659 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29661 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
29664 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
29666 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
29667 'err' in the ifdef scope in which it is actually used.
29669 * nss/nss_db/db-init.c: Include string.h
29671 2012-03-12 David S. Miller <davem@davemloft.net>
29673 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29674 masking out of the most significant byte of random value used.
29675 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29676 Fix coding style in previous change.
29678 * sysdeps/unix/sysv/linux/kernel-features.h
29679 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
29680 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
29682 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
29685 2012-03-11 David S. Miller <davem@davemloft.net>
29687 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29688 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
29689 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
29690 for 'resultvar' otherwise things get truncated on 64-bit.
29692 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29693 Fix masking out of the most significant byte of random value used.
29695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29697 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
29699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29701 2012-03-09 David S. Miller <davem@davemloft.net>
29703 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
29704 variables with appropriate CPP guards.
29705 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
29706 frame pointer, not the stack pointer. Correct layout comments. Fix test
29707 on resulting framesize and the management of the outregs buffer for pltexit.
29708 Preserve floating point return values across _dl_call_pltexit call.
29709 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
29710 framesize and the management of the outregs buffer for pltexit.
29711 Preserve floating point return values across _dl_call_pltexit
29713 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
29714 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
29715 (print_exit): Fix format string for return register value.
29717 2012-03-10 Joseph Myers <joseph@codesourcery.com>
29719 * sunrpc/Makefile (others): Add rpcgen.
29720 ($(objpfx)rpcgen): Remove special build rule and dependency on
29722 * sunrpc/rpcgen.c: New file.
29724 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
29727 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29728 * stdio-common/bug-vfprintf-nargs.c: Likewise.
29729 * sysdeps/i386/crti.S: Likewise.
29730 * sysdeps/i386/crtn.S: Likewise.
29731 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29732 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29733 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29734 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29735 * sysdeps/sh/crti.S: Likewise.
29736 * sysdeps/sh/crtn.S: Likewise.
29737 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29740 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29742 * locale/programs/locfile-kw.gperf: Likewise.
29743 * locale/programs/charmap-kw.h: Regenerated.
29744 * locale/programs/locfile-kw.h: Likewise.
29747 * intl/plural.y: Replace FSF snail mail address with URL.
29748 * intl/plural.c: Regenerated.
29750 2012-03-09 Richard Henderson <rth@twiddle.net>
29752 * include/math_private.h: Remove file.
29753 * math/math_private.h: Move file ...
29754 * sysdeps/generic/math_private.h: ... here.
29756 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29757 * sysdeps/powerpc/fpu/math_private.h: Likewise.
29758 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29760 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
29761 and <math_private.h>.
29762 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29763 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29764 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29765 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29766 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29767 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29768 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29769 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29770 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29771 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29772 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29773 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29774 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29775 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29776 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29777 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29778 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29779 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29780 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29781 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29782 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29783 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29784 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29785 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29786 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29787 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29788 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29789 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29790 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29791 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29792 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29793 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29794 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29795 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29796 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29797 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29798 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29799 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29800 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29801 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29802 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29803 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29804 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29805 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29806 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29807 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29808 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29809 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29810 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29811 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29812 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29813 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29814 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29815 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29816 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29817 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29818 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29819 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29820 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29821 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29822 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29823 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29824 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29825 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29826 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29827 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29828 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29829 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29830 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29831 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29832 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29833 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29834 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29835 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29836 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29837 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29838 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29839 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29840 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29841 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29842 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29843 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29844 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29845 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29846 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29847 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29848 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29849 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29850 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29851 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29852 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29853 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29854 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29855 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29856 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29857 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29858 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29859 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29860 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29861 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29862 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29863 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29864 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29865 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29866 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29867 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29868 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29869 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29870 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29871 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29872 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29873 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29874 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29875 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29876 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29877 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29878 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29879 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29880 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29881 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29882 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29883 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29884 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29885 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29886 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29887 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29888 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29889 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29890 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29891 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29892 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29893 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29894 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29895 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29896 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29897 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29898 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29899 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29900 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29901 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29902 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29903 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29904 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29905 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29906 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29907 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29908 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29909 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29910 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29911 * sysdeps/ieee754/k_standard.c: Likewise.
29912 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29913 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29914 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29915 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29916 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29917 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29918 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29919 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29920 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29921 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29922 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29923 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29924 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29925 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29926 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29927 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29928 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29929 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29930 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29931 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29932 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29933 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29934 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29935 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29936 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29937 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29938 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29939 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29940 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29941 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29942 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29943 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29944 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29945 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29946 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29947 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29948 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29949 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29950 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29951 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29952 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29953 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29954 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29955 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29956 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29957 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29958 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29959 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29960 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29961 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29962 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29963 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29964 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29965 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29966 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29967 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29968 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29969 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29970 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29971 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29972 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29973 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29974 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29975 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29976 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29977 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29978 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29979 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29980 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29981 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29982 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29983 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29984 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29985 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29986 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29987 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29988 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29989 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29990 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29991 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29992 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29993 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29994 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29995 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29996 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29997 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29998 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29999 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30000 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30001 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30002 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
30003 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30004 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30005 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30006 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30007 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30008 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
30009 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30010 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30011 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
30012 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30013 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30014 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30015 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30016 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
30017 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30018 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30019 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30020 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30021 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30022 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30023 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30024 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30025 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30026 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30027 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30028 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30029 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30030 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30031 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30032 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30033 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30034 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30035 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30036 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30037 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30038 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30039 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30040 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30041 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30042 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30043 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30044 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30045 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30046 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30047 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30048 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
30049 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30050 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30051 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
30052 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
30053 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30054 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
30055 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
30056 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30057 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30058 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30059 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30060 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30061 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
30062 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30063 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30064 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30065 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30066 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
30067 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
30068 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30069 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30070 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30071 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30072 * sysdeps/ieee754/s_lib_version.c: Likewise.
30073 * sysdeps/ieee754/s_matherr.c: Likewise.
30074 * sysdeps/ieee754/s_signgam.c: Likewise.
30075 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30076 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30077 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
30078 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
30079 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
30080 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30081 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
30082 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
30083 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
30084 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
30085 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30086 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
30087 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30088 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30089 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
30090 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30091 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30092 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30093 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30094 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30095 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30097 2012-03-09 Joseph Myers <joseph@codesourcery.com>
30099 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
30100 * sunrpc/rpc_main.c: Likewise.
30101 * sunrpc/rpc_svcout.c: Likewise.
30103 2012-03-09 David S. Miller <davem@davemloft.net>
30105 * include/math_private.h: New file.
30107 2012-03-09 Joseph Myers <joseph@codesourcery.com>
30109 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
30110 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
30111 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
30112 from <bits/socket_type.h>.
30113 (enum __socket_type): Don't define here.
30114 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
30115 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30116 bits/socket_type.h.
30119 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
30120 checking __USE_GNU.
30122 * Makerules ($(inst_includedir)/%.h): New rule.
30123 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
30124 (install-others): Remove variable setting.
30125 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
30127 2012-03-08 Richard Henderson <rth@twiddle.net>
30129 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
30130 from macro to inline function; merge with the
30131 !__LIBC_INTERNAL_MATH_INLINES version.
30132 (__ieee754_sqrtf): Likewise.
30134 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
30135 to inline function.
30136 (__rintf, __floor, __floorf): Likewise.
30138 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
30139 macro to inline function.
30140 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
30142 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
30143 not <math/math_private.h>.
30145 2012-03-08 David S. Miller <davem@davemloft.net>
30147 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
30149 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
30151 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
30153 * resolv/gai_misc.c (handle_requests): Fix struct timespec
30155 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
30156 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30158 2012-03-08 Ulrich Drepper <drepper@gmail.com>
30160 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
30161 be defined individually, they must be defined as a block. Define
30162 S for printing a string instead of hidint the different by using a
30163 macro for adding the 'l'.
30164 * stdio-common/tst-fphex-wide.c: Adjust.
30166 2012-03-07 Marek Polacek <polacek@redhat.com>
30168 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
30170 2012-03-08 Marek Polacek <polacek@redhat.com>
30173 * stdio-common/Makefile (tests): Add tst-fphex-wide.
30174 * stdio-common/tst-fphex.c: Define a few macros to make the
30175 test reusable. Use them.
30176 * stdio-common/tst-fphex-wide.c: New file.
30178 2012-03-08 Joseph Myers <joseph@codesourcery.com>
30181 * manual/macros.texi (gnusystems): New macro.
30182 (nongnusystems): Likewise.
30183 (gnulinuxhurdsystems): Likewise.
30184 (gnuhurdsystems): Likewise..
30185 (gnulinuxsystems): Likewise.
30186 * manual/charset.texi: Use new macros or @theglibc{} to refer to
30187 variants of the GNU system, not "GNU system".
30188 * manual/conf.texi: Likewise.
30189 * manual/errno.texi: Likewise. Update example of errno macro
30191 * manual/filesys.texi: Likewise.
30192 (getumask): Document as specific to GNU/Hurd.
30193 * manual/install.texi: Likewise. Reword some references to
30195 * manual/intro.texi: Likewise.
30196 * manual/io.texi: Likewise.
30197 (File Name Portability): Detail which constraints are inapplicable
30198 to all GNU systems and which are only inapplicable to GNU/Hurd.
30199 * manual/job.texi: Likewise.
30200 * manual/llio.texi: Likewise.
30201 (O_NOCTTY): Document as present on GNU/Linux.
30202 * manual/maint.texi: Likewise.
30203 * manual/memory.texi: Likewise.
30204 * manual/pattern.texi: Likewise.
30205 * manual/pipe.texi: Likewise.
30206 * manual/process.texi: Likewise.
30207 * manual/resource.texi: Likewise.
30208 (RUSAGE_CHILDREN): Remove statement about specifying a particular
30210 * manual/setjmp.texi: Likewise.
30211 * manual/signal.texi: Likewise.
30212 * manual/startup.texi: Likewise.
30213 * manual/stdio.texi: Likewise.
30214 * manual/terminal.texi: Likewise.
30215 (ONLCR): Document as POSIX.
30216 (OXTABS): Document availability on GNU/Linux as XTABS.
30217 (ONOEOT): Document availability separately from other bits.
30218 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
30219 * manual/time.texi: Likewise.
30220 * manual/users.texi: Likewise.
30221 * INSTALL: Regenerated.
30222 * sysdeps/gnu/errlist.c: Regenerated.
30224 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
30225 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
30226 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
30228 * configure: Regenerated.
30230 2012-03-07 Joseph Myers <joseph@codesourcery.com>
30232 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
30233 default includes instead of AC_HEADER_CHECK.
30234 * sysdeps/i386/configure: Regenerated.
30237 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
30238 * math/s_cacoshf.c (__cacoshf): Likewise.
30239 * math/s_cacoshl.c (__cacoshl): Likewise.
30240 * math/s_casinh.c (__casinh): Set signs of result from argument.
30241 * math/s_casinhf.c (__casinhf): Likewise.
30242 * math/s_casinhl.c (__casinhl): Likewise.
30243 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
30244 (casinh_test): Add more tests.
30245 * sysdeps/i386/fpu/libm-test-ulps: Update.
30246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30248 2012-03-07 Ulrich Drepper <drepper@gmail.com>
30250 * po/zh_TW.po: Update from translation team.
30252 * login/Makefile (distribute): Remove variable.
30253 * catgets/Makefile: Likewise.
30254 * mach/Makefile: Likewise.
30255 * malloc/Makefile: Likewise.
30256 * misc/Makefile: Likewise.
30257 * iconv/Makefile: Likewise.
30258 * nscd/Makefile: Likewise.
30259 * hurd/Makefile: Likewise.
30260 * manual/Makefile: Likewise.
30261 * locale/Makefile: Likewise.
30262 * intl/Makefile: Likewise.
30263 * conform/Makefile: Likewise.
30264 * nss/Makefile: Likewise.
30265 * time/Makefile: Likewise.
30266 * soft-fp/Makefile: Likewise.
30267 * dirent/Makefile: Likewise.
30268 * gmon/Makefile: Likewise.
30269 * po/Makefile: Likewise.
30270 * rt/Makefile: Likewise.
30271 * socket/Makefile: Likewise.
30272 * math/Makefile: Likewise.
30273 * signal/Makefile: Likewise.
30274 * debug/Makefile: Likewise.
30275 * elf/Makefile: Likewise.
30276 * timezone/Makefile: Likewise.
30277 * stdlib/Makefile: Likewise.
30278 * iconvdata/Makefile: Likewise.
30279 * sunrpc/Makefile: Likewise.
30280 * io/Makefile: Likewise.
30281 * argp/Makefile: Likewise.
30282 * inet/Makefile: Likewise.
30283 * hesiod/Makefile: Likewise.
30284 * grp/Makefile: Likewise.
30285 * csu/Makefile: Likewise.
30286 * wctype/Makefile: Likewise.
30287 * crypt/Makefile: Likewise.
30288 * libio/Makefile: Likewise.
30289 * string/Makefile: Likewise.
30290 * nis/Makefile: Likewise.
30291 * resolv/Makefile: Likewise.
30292 * stdio-common/Makefile: Likewise.
30293 * wcsmbs/Makefile: Likewise.
30294 * dlfcn/Makefile: Likewise.
30295 * posix/Makefile: Likewise.
30298 * timezone/Makefile: Don't install timezone files, just the programs
30301 2012-03-06 Ulrich Drepper <drepper@gmail.com>
30303 * nss/databases.def: Add missing gshadow entry.
30305 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
30307 2012-03-06 Marek Polacek <polacek@redhat.com>
30310 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
30311 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30312 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
30313 * stdio-common/tst-long-dbl-fphex.c: New file.
30315 2012-03-06 David S. Miller <davem@davemloft.net>
30317 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30318 (set_obp_int): New function.
30319 (get_obp_int): New function.
30320 (__get_clockfreq_via_dev_openprom): Likewise.
30321 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
30322 Avoid unused variable warnings on 'val' and use builtin_expect.
30323 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
30325 (INLINE_CLONE_SYSCALL): Likewise.
30327 2012-03-05 David S. Miller <davem@davemloft.net>
30329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30331 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
30333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30335 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
30336 only for |x| >= 40.
30337 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30339 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
30341 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
30342 Replace gettimeofday with __vdso_gettimeofday.
30344 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30345 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
30346 __vdso_clock_gettime and __vdso_getcpu.
30348 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
30349 time with __vdso_time.
30351 2012-03-05 Joseph Myers <joseph@codesourcery.com>
30353 * manual/lang.texi (size_t): Note types to which size_t may be
30354 equivalent with the GNU C Library, but do not describe when
30355 differences between them are significant.
30357 2012-03-05 Andreas Jaeger <aj@suse.de>
30359 * sysdeps/i386/fpu/libm-test-ulps: Update.
30361 2012-03-05 Joseph Myers <joseph@codesourcery.com>
30364 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
30365 (__ieee754_pow): Save and restore rounding mode and use
30366 round-to-nearest for main computations.
30367 * math/libm-test.inc (pow_test_tonearest): New function.
30368 (pow_test_towardzero): Likewise.
30369 (pow_test_downward): Likewise.
30370 (pow_test_upward): Likewise.
30371 (main): Call the new functions.
30372 * sysdeps/i386/fpu/libm-test-ulps: Update.
30373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30376 * math/libm-test.inc (cosh_test_tonearest): New function.
30377 (cosh_test_towardzero): Likewise.
30378 (cosh_test_downward): Likewise.
30379 (cosh_test_upward): Likewise.
30380 (sinh_test_tonearest): Likewise.
30381 (sinh_test_towardzero): Likewise.
30382 (sinh_test_downward): Likewise.
30383 (sinh_test_upward): Likewise.
30384 (main): Call the new functions.
30385 * sysdeps/i386/fpu/libm-test-ulps: Update.
30386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30388 2012-03-05 Tom de Vries <tom@codesourcery.com>
30390 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
30391 default stack guard is set in last bytes.
30392 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
30394 2012-03-05 Kees Cook <keescook@chromium.org>
30396 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
30399 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
30400 possibly allocate from heap instead of stack.
30401 * stdio-common/bug-vfprintf-nargs.c: New file.
30402 * stdio-common/Makefile (tests): Add nargs overflow test.
30404 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
30406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30408 2012-03-03 Marek Polacek <polacek@redhat.com>
30410 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
30411 * math/math_private.h: Likewise.
30412 * stdlib/tst-strtod.c: Likewise.
30413 * sysdeps/i386/i486/bits/atomic.h: Likewise.
30414 * sysdeps/x86_64/bits/atomic.h: Likewise.
30416 2012-03-02 David S. Miller <davem@davemloft.net>
30418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
30419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
30420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
30421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
30422 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
30423 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
30424 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
30425 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
30427 2012-03-02 Roland McGrath <roland@hack.frob.com>
30430 * manual/examples/README: New file, says the example source files
30431 can be used under GPL>=2.
30432 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
30433 line containing just "*/".
30434 * manual/examples/add.c: Add copyright header (GPL>=2).
30435 * manual/examples/argp-ex1.c: Likewise.
30436 * manual/examples/argp-ex2.c: Likewise.
30437 * manual/examples/argp-ex3.c: Likewise.
30438 * manual/examples/argp-ex4.c: Likewise.
30439 * manual/examples/atexit.c: Likewise.
30440 * manual/examples/db.c: Likewise.
30441 * manual/examples/dir.c: Likewise.
30442 * manual/examples/dir2.c: Likewise.
30443 * manual/examples/execinfo.c: Likewise.
30444 * manual/examples/filecli.c: Likewise.
30445 * manual/examples/filesrv.c: Likewise.
30446 * manual/examples/fmtmsgexpl.c: Likewise.
30447 * manual/examples/genpass.c: Likewise.
30448 * manual/examples/inetcli.c: Likewise.
30449 * manual/examples/inetsrv.c: Likewise.
30450 * manual/examples/isockad.c: Likewise.
30451 * manual/examples/longopt.c: Likewise.
30452 * manual/examples/memopen.c: Likewise.
30453 * manual/examples/memstrm.c: Likewise.
30454 * manual/examples/mkfsock.c: Likewise.
30455 * manual/examples/mkisock.c: Likewise.
30456 * manual/examples/mygetpass.c: Likewise.
30457 * manual/examples/pipe.c: Likewise.
30458 * manual/examples/popen.c: Likewise.
30459 * manual/examples/rprintf.c: Likewise.
30460 * manual/examples/search.c: Likewise.
30461 * manual/examples/select.c: Likewise.
30462 * manual/examples/setjmp.c: Likewise.
30463 * manual/examples/sigh1.c: Likewise.
30464 * manual/examples/sigusr.c: Likewise.
30465 * manual/examples/stpcpy.c: Likewise.
30466 * manual/examples/strdupa.c: Likewise.
30467 * manual/examples/strftim.c: Likewise.
30468 * manual/examples/strncat.c: Likewise.
30469 * manual/examples/subopt.c: Likewise.
30470 * manual/examples/swapcontext.c: Likewise.
30471 * manual/examples/termios.c: Likewise.
30472 * manual/examples/testopt.c: Likewise.
30473 * manual/examples/testpass.c: Likewise.
30474 * manual/examples/timeval_subtract.c: Likewise.
30477 * manual/time.texi (Elapsed Time): Move timeval_subtract example
30479 * manual/timeval_subtract.c.texi: ... here, new file.
30481 2012-03-02 David S. Miller <davem@davemloft.net>
30483 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
30485 2012-03-02 Joseph Myers <joseph@codesourcery.com>
30488 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
30489 (__sin): Save and restore rounding mode and use round-to-nearest
30490 for all computations.
30491 (__cos): Save and restore rounding mode and use round-to-nearest
30492 for all computations.
30493 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
30495 (tan): Save and restore rounding mode and use round-to-nearest for
30497 * math/libm-test.inc (cos_test_tonearest): New function.
30498 (cos_test_towardzero): Likewise.
30499 (cos_test_downward): Likewise.
30500 (cos_test_upward): Likewise.
30501 (sin_test_tonearest): Likewise.
30502 (sin_test_towardzero): Likewise.
30503 (sin_test_downward): Likewise.
30504 (sin_test_upward): Likewise.
30505 (tan_test_tonearest): Likewise.
30506 (tan_test_towardzero): Likewise.
30507 (tan_test_downward): Likewise.
30508 (tan_test_upward): Likewise.
30509 (main): Call the new functions.
30510 * sysdeps/i386/fpu/libm-test-ulps: Update.
30511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30514 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
30515 small n, then large n, before computing and testing k+n.
30516 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
30517 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
30519 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
30521 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
30522 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
30523 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
30524 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
30525 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30526 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30527 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
30528 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
30529 * math/libm-test.inc (scalbn_test): Add more tests.
30530 (scalbln_test): Likewise.
30532 * manual/filesys.texi (mode_t): Describe constraints on size and
30533 signedness, not exact equivalence to a particular type.
30535 (ino64_t): Likewise.
30537 (nlink_t): Likewise.
30538 (blkcnt_t): Likewise.
30539 (blkcnt64_t): Likewise.
30540 * manual/llio.texi (off_t): Likewise.
30543 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
30544 (__ieee754_exp): Save and restore rounding mode and use
30545 round-to-nearest for all computations.
30546 * math/libm-test.inc (exp_test_tonearest): New function.
30547 (exp_test_towardzero): Likewise.
30548 (exp_test_downward): Likewise.
30549 (exp_test_upward): Likewise.
30550 (main): Call the new functions.
30551 * sysdeps/i386/fpu/libm-test-ulps: Update.
30552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30554 2012-03-01 Chris Demetriou <cgd@google.com>
30556 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
30557 have predictable order.
30559 2012-03-01 David S. Miller <davem@davemloft.net>
30561 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
30563 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
30564 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
30565 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
30566 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
30568 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
30569 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
30570 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
30571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
30572 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
30573 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
30574 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
30575 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
30576 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
30578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30580 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
30581 * sysdeps/sparc/fpu/libm-test-ulps: to here.
30582 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
30584 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
30585 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30586 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30587 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
30588 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
30589 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
30590 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
30591 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30592 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30593 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
30594 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
30595 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30596 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30597 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30598 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30599 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30600 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
30601 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
30602 * sysdeps/sparc/elf/configure: Regenerated.
30604 2012-03-01 Joseph Myers <joseph@codesourcery.com>
30606 * configure.in (AS, LD): Require binutils 2.20 or later.
30607 * configure: Regenerated.
30608 * manual/install.texi (Tools for Compilation): Give binutils 2.20
30609 as required minimum version.
30610 * INSTALL: Regenerated.
30614 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
30615 before squaring exponent.
30616 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
30617 bottom long double and 27 bits of top long double before squaring
30619 * math/libm-test.inc (erfc_test): Add more tests.
30620 * sysdeps/i386/fpu/libm-test-ulps: Update.
30621 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30624 2012-03-01 Kai Tietz <ktietz@redhat.com>
30626 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
30627 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
30628 containing bit-fields.
30629 * soft-fp/extended.h (_FP_UNION_E): Likewise.
30630 * soft-fp/single.h (_FP_UNION_S): Likewise.
30631 * soft-fp/double.h (_FP_UNION_D): Likewise.
30633 2012-02-29 Joseph Myers <joseph@codesourcery.com>
30636 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
30637 not include ../strcmp.S.
30638 [USE_AS_STRNCASECMP_L]: Likewise.
30639 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
30640 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
30641 * sysdeps/i386/i686/multiarch/strncase_l-c.c
30642 (__strncasecmp_l_ia32): Define as alias to
30643 __strncasecmp_l_nonascii.
30646 * math/libm-test.inc (expm1_test): Add test for bug 5794.
30647 * sysdeps/i386/fpu/libm-test-ulps: Update.
30648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30650 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
30651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30653 2012-02-29 Jeff Law <law@redhat.com>
30655 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
30656 out of bounds read.
30658 2012-02-29 Marek Polacek <polacek@redhat.com>
30661 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
30662 * elf/Makefile: Add rules to run tst-unused-dep.out.
30664 2012-02-28 David S. Miller <davem@davemloft.net>
30666 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
30667 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
30668 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
30669 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
30670 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
30671 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
30673 2012-02-29 Joseph Myers <joseph@codesourcery.com>
30675 * math/libm-test.inc (llround_test): Move one test from
30676 lround_test. Use TEST_f_L in moved test.
30677 (lround_test): Move misplaced test to llround_test. Add testcase
30680 2012-02-28 Ulrich Drepper <drepper@gmail.com>
30682 * sysdeps/x86_64/fpu/e_expf.S: New file.
30683 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
30685 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
30688 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
30689 of remain_len that may cause incomplete multi-byte character and
30691 * posix/bug-regex33.c: New file.
30692 * posix/Makefile (tests): Add bug-regex33.
30694 2012-02-28 Joseph Myers <joseph@codesourcery.com>
30696 * manual/macros.texi: New file.
30697 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
30698 * manual/libc.texinfo: Include macros.texi.
30699 * manual/creatute.texi: Likewise.
30700 * manual/install.texi: Likewise.
30701 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
30702 @glibcadj{} in references to the GNU C Library.
30703 * manual/charset.texi: Likewise.
30704 * manual/conf.texi: Likewise.
30705 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
30706 when not using those macros.
30707 * manual/creature.texi: Likewise.
30708 * manual/crypt.texi: Likewise.
30709 * manual/errno.texi: Likewise.
30710 * manual/filesys.texi: Likewise.
30711 * manual/header.texi: Likewise.
30712 * manual/install.texi: Likewise.
30713 * manual/intro.texi: Likewise.
30714 * manual/io.texi: Likewise.
30715 * manual/job.texi: Likewise.
30716 * manual/lang.texi: Likewise.
30717 * manual/libc.texiinfo: Likewise.
30718 * manual/llio.texi: Likewise.
30719 * manual/locale.texi: Likewise.
30720 * manual/maint.texi: Likewise.
30721 * manual/math.texi: Likewise.
30722 * manual/memory.texi: Likewise.
30723 * manual/message.texi: Likewise.
30724 * manual/nss.texi: Likewise.
30725 * manual/pattern.texi: Likewise.
30726 * manual/process.texi: Likewise.
30727 * manual/resource.texi: Likewise.
30728 * manual/search.texi: Likewise.
30729 * manual/setjmp.texi: Likewise.
30730 * manual/signal.texi: Likewise.
30731 * manual/socket.texi: Likewise.
30732 * manual/startup.texi: Likewise.
30733 * manual/stdio.texi: Likewise.
30734 * manual/string.texi: Likewise.
30735 * manual/sysinfo.texi: Likewise.
30736 * manual/syslog.texi: Likewise.
30737 * manual/terminal.texi: Likewise.
30738 * manual/time.texi: Likewise.
30739 * manual/users.texi: Likewise.
30740 * INSTALL: Regenerated.
30741 * NOTES: Regenerated.
30742 * sysdeps/gnu/errlist.c: Regenerated.
30744 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
30746 * include/dirent.h: Include <dirstream.h> before
30749 2012-02-28 David S. Miller <davem@davemloft.net>
30751 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30752 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30753 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30754 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30756 2012-02-27 David S. Miller <davem@davemloft.net>
30758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30760 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30761 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30764 frame pointer instead of stack pointer relative arg slot.
30765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30766 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30767 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30769 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
30772 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30774 2012-02-27 David S. Miller <davem@davemloft.net>
30776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30780 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30781 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30782 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30783 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30785 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30787 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30788 later. Allow versions 5-9.
30789 * configure: Regenerated.
30790 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30791 required minimum version and 4.6 as recommended version. Do not
30792 mention bugs in GCC 2.7 and 2.8.
30793 * INSTALL: Regenerated.
30795 2012-02-27 David S. Miller <davem@davemloft.net>
30797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30801 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30802 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30803 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30804 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30806 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30807 manipulate bits before adding and subtracting TWO112[sx].
30808 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30810 2012-02-27 Roland McGrath <roland@hack.frob.com>
30813 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30814 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30815 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30816 being in POSIX, because they are in 1003.1-2008.
30818 * rt/tst-aio.c: Include <fcntl.h>.
30819 * rt/tst-aio7.c: Likewise.
30820 * rt/tst-aio64.c: Likewise.
30822 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30824 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30826 * manual/install.texi (--with-headers): Describe headers as
30827 interface headers, not private headers.
30828 (Specific advice for GNU/Linux systems): Describe use of headers
30829 from "make headers_install", not private headers from older
30831 * INSTALL: Regenerated.
30832 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30834 * sysdeps/unix/sysv/linux/configure: Regenerated.
30836 * manual/llio.texi (fclean): Remove documentation.
30838 * manual/Makefile (libc-texi-generated): New variable. Include
30840 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30841 $(libc-texi-generated), not duplicated list of files.
30842 (version.texi, stamp-version): New rules.
30843 (realclean): Remove $(libc-texi-generated), not individual files
30844 from that list. Do not remove dir-add.texinfo.
30845 * manual/libc.texinfo: Comment out uses of edition numbers and
30846 references to printed manual. Remove last-updated dates.
30847 (EDITION): Comment out.
30849 (VERSION, UPDATED): Remove.
30850 (version.texi): Include.
30852 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
30854 * sysdeps/posix/spawni.c: Include <signal.h>.
30855 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30856 * sysdeps/pthread/aio_fsync.c: Likewise.
30858 2012-02-26 Ulrich Drepper <drepper@gmail.com>
30860 * conform/Makefile (tests): Run only when not cross-compiling and
30861 when fast-check is not defined.
30863 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30864 * conform/data/limits.h-data: Fixes for POSIX2008.
30865 * conform/run-conformtest.sh: Run all tests.
30866 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30868 * include/bits/dlfcn.h: Likewise.
30869 * include/langinfo.h: Likewise.
30870 * include/monetary.h: Likewise.
30871 * include/sys/poll.h: Likewise.
30873 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30875 * posix/spawn.h: Define __need_sigset_t.
30876 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30877 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30878 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
30879 to get sigevent_t only.
30880 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30881 only for __USE_GNU.
30882 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30883 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30884 process_vm_writev only for __USE_GNU.
30885 * termios/termios.h: Declare tcgetsid also for POSIX2008.
30887 * conform/Makefile: For now ignore errors from run-conformtest.
30888 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
30889 POSIX to avoid namespace pollution. Don't prepend headers.
30890 * conform/data/aio.h-data: Fixes for POSIX testing.
30891 * conform/data/fcntl.h-data: Likewise.
30892 * conform/data/glob.h-data: Likewise.
30893 * conform/data/grp.h-data: Likewise.
30894 * conform/data/pthread.h-data: Likewise.
30895 * conform/data/pwd.h-data: Likewise.
30896 * conform/data/signal.h-data: Likewise.
30897 * conform/data/spawn.h-data: Likewise.
30898 * conform/data/stdio.h-data: Likewise.
30899 * conform/data/stdlib.h-data: Likewise.
30900 * conform/data/stropts.h-data: Likewise.
30901 * conform/data/sys/mman.h-data: Likewise.
30902 * conform/data/sys/stat.h-data: Likewise.
30903 * conform/data/sys/types.h-data: Likewise.
30904 * conform/data/sys/wait.h-data: Likewise.
30905 * conform/data/time.h-data: Likewise.
30906 * conform/data/unistd.h-data: Likewise.
30907 * conform/data/utime.h-data: Likewise.
30909 * io/sys/stat.h: fchmod was always in POSIX.
30910 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30911 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30912 * rt/aio.h: Define __need_timespec before including <time.h>.
30913 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30914 struct. Add forward declaration of pthread_attr_t and use it in
30916 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30917 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30918 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30919 always remove CLK_TCK definition.
30921 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
30923 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30925 2012-02-25 Ulrich Drepper <drepper@gmail.com>
30927 * conform/run-conformtest.sh: New file.
30928 * conform/Makefile: Run run-conformtest for tests.
30929 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
30932 * conform/data/uchar.h-data: New file.
30933 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30934 * conform/data/arpa/inet.h-data: Likewise.
30935 * conform/data/assert.h-data: Likewise.
30936 * conform/data/complex.h-data: Likewise.
30937 * conform/data/cpio.h-data: Likewise.
30938 * conform/data/ctype.h-data: Likewise.
30939 * conform/data/dirent.h-data: Likewise.
30940 * conform/data/dlfcn.h-data: Likewise.
30941 * conform/data/errno.h-data: Likewise.
30942 * conform/data/fcntl.h-data: Likewise.
30943 * conform/data/float.h-data: Likewise.
30944 * conform/data/fmtmsg.h-data: Likewise.
30945 * conform/data/fnmatch.h-data: Likewise.
30946 * conform/data/ftw.h-data: Likewise.
30947 * conform/data/glob.h-data: Likewise.
30948 * conform/data/grp.h-data: Likewise.
30949 * conform/data/iconv.h-data: Likewise.
30950 * conform/data/inttypes.h-data: Likewise.
30951 * conform/data/langinfo.h-data: Likewise.
30952 * conform/data/libgen.h-data: Likewise.
30953 * conform/data/limits.h-data: Likewise.
30954 * conform/data/locale.h-data: Likewise.
30955 * conform/data/math.h-data: Likewise.
30956 * conform/data/monetary.h-data: Likewise.
30957 * conform/data/mqueue.h-data: Likewise.
30958 * conform/data/ndbm.h-data: Likewise.
30959 * conform/data/net/if.h-data: Likewise.
30960 * conform/data/netdb.h-data: Likewise.
30961 * conform/data/netinet/in.h-data: Likewise.
30962 * conform/data/nl_types.h-data: Likewise.
30963 * conform/data/poll.h-data: Likewise.
30964 * conform/data/pthread.h-data: Likewise.
30965 * conform/data/pwd.h-data: Likewise.
30966 * conform/data/regex.h-data: Likewise.
30967 * conform/data/sched.h-data: Likewise.
30968 * conform/data/search.h-data: Likewise.
30969 * conform/data/semaphore.h-data: Likewise.
30970 * conform/data/setjmp.h-data: Likewise.
30971 * conform/data/signal.h-data: Likewise.
30972 * conform/data/spawn.h-data: Likewise.
30973 * conform/data/stdarg.h-data: Likewise.
30974 * conform/data/stdio.h-data: Likewise.
30975 * conform/data/stdlib.h-data: Likewise.
30976 * conform/data/string.h-data: Likewise.
30977 * conform/data/strings.h-data: Likewise.
30978 * conform/data/stropts.h-data: Likewise.
30979 * conform/data/sys/ipc.h-data: Likewise.
30980 * conform/data/sys/mman.h-data: Likewise.
30981 * conform/data/sys/msg.h-data: Likewise.
30982 * conform/data/sys/resource.h-data: Likewise.
30983 * conform/data/sys/select.h-data: Likewise.
30984 * conform/data/sys/sem.h-data: Likewise.
30985 * conform/data/sys/shm.h-data: Likewise.
30986 * conform/data/sys/socket.h-data: Likewise.
30987 * conform/data/sys/stat.h-data: Likewise.
30988 * conform/data/sys/statvfs.h-data: Likewise.
30989 * conform/data/sys/time.h-data: Likewise.
30990 * conform/data/sys/timeb.h-data: Likewise.
30991 * conform/data/sys/times.h-data: Likewise.
30992 * conform/data/sys/types.h-data: Likewise.
30993 * conform/data/sys/uio.h-data: Likewise.
30994 * conform/data/sys/un.h-data: Likewise.
30995 * conform/data/sys/utsname.h-data: Likewise.
30996 * conform/data/sys/wait.h-data: Likewise.
30997 * conform/data/syslog.h-data: Likewise.
30998 * conform/data/tar.h-data: Likewise.
30999 * conform/data/termios.h-data: Likewise.
31000 * conform/data/utime.h-data: Likewise.
31001 * conform/data/utmpx.h-data: Likewise.
31002 * conform/data/varargs.h-data: Likewise.
31003 * conform/data/wchar.h-data: Likewise.
31004 * conform/data/wctype.h-data: Likewise.
31005 * conform/data/wordexp.h-data: Likewise.
31007 * include/stropts.h: New file.
31008 * include/uchar.h: New file.
31009 * include/aio.h: Changes to allow conformtest.pl to use the headers.
31010 * include/assert.h: Likewise.
31011 * include/ctype.h: Likewise.
31012 * include/dirent.h: Likewise.
31013 * include/dlfcn.h: Likewise.
31014 * include/fcntl.h: Likewise.
31015 * include/fnmatch.h: Likewise.
31016 * include/glob.h: Likewise.
31017 * include/grp.h: Likewise.
31018 * include/libio.h: Likewise.
31019 * include/locale.h: Likewise.
31020 * include/math.h: Likewise.
31021 * include/net/if.h: Likewise.
31022 * include/netdb.h: Likewise.
31023 * include/netinet/in.h: Likewise.
31024 * include/pthread.h: Likewise.
31025 * include/pwd.h: Likewise.
31026 * include/regex.h: Likewise.
31027 * include/sched.h: Likewise.
31028 * include/search.h: Likewise.
31029 * include/setjmp.h: Likewise.
31030 * include/signal.h: Likewise.
31031 * include/stdio.h: Likewise.
31032 * include/stdlib.h: Likewise.
31033 * include/string.h: Likewise.
31034 * include/sys/cdefs.h: Likewise.
31035 * include/sys/mman.h: Likewise.
31036 * include/sys/msg.h: Likewise.
31037 * include/sys/resource.h: Likewise.
31038 * include/sys/select.h: Likewise.
31039 * include/sys/socket.h: Likewise.
31040 * include/sys/stat.h: Likewise.
31041 * include/sys/statvfs.h: Likewise.
31042 * include/sys/time.h: Likewise.
31043 * include/sys/times.h: Likewise.
31044 * include/sys/uio.h: Likewise.
31045 * include/sys/utsname.h: Likewise.
31046 * include/sys/wait.h: Likewise.
31047 * include/termios.h: Likewise.
31048 * include/time.h: Likewise.
31049 * include/ulimit.h: Likewise.
31050 * include/unistd.h: Likewise.
31051 * include/utime.h: Likewise.
31052 * include/wchar.h: Likewise.
31053 * include/wctype.h: Likewise.
31054 * include/wordexp.h: Likewise.
31056 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31058 * time/time.h: TIME_UTC must be a macro.
31059 Make timespec_get available for ISO C11 only as well.
31061 2012-02-24 Ulrich Drepper <drepper@gmail.com>
31063 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
31064 Reported by Peng Haitao <penght@cn.fujitsu.com>.
31066 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31068 * configure.in: Use -o not -a in test for unsupported multi-arch.
31070 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31072 * manual/texinfo.tex: Update to version 2012-01-19.16.
31074 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31076 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
31078 2012-02-24 Roland McGrath <roland@hack.frob.com>
31081 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
31082 * manual/fdl-1.3.texi: New file.
31083 * manual/fdl-1.1.texi: File removed.
31086 * manual/libc.texinfo (FDL_VERSION): New @set.
31087 Use it for mention of FDL in cover text.
31088 (Documentation License): Use it in @include file name.
31090 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31091 Roland McGrath <roland@hack.frob.com>
31094 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
31095 not LONG_LONG_MAX and LONG_LONG_MIN.
31096 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
31097 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
31099 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
31101 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31105 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
31106 manipulate bits before adding and subtracting TWO23[sx].
31107 * math/libm-test.inc (nearbyint_test): Add more tests.
31109 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31112 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
31113 bits before adding and subtracting TWO23[sx].
31114 * math/libm-test.inc (rint_test): Add more tests.
31115 (rint_test_tonearest): Likewise.
31116 (rint_test_towardzero): Likewise.
31117 (rint_test_downward): Likewise.
31118 (rint_test_upward: Likewise.
31120 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31123 * include/stdc-predef.h: New file. Extracted from features.h.
31124 * include/features.h: Include stdc-predef.h.
31125 * Makefile (headers): Add stdc-predef.h.
31126 * CONFORMANCE (Compiler limitations): Update.
31128 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31130 * manual/libc.texinfo (VERSION, UPDATED): Revert.
31132 2012-02-21 David S. Miller <davem@davemloft.net>
31134 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
31135 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31137 2012-02-20 David S. Miller <davem@davemloft.net>
31139 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
31140 using a normal save/restore sequence, rather than allocating a
31141 dummy stack frame just to store a frame pointer and restore.
31142 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31144 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31146 * manual/install.texi: Fix stray word in line-wrapped comment.
31148 2012-02-20 David S. Miller <davem@davemloft.net>
31150 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
31151 both binutils and gcc support GOTDATA.
31153 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
31154 "rd %pc" in the PIC register setup sequences.
31156 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
31157 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31158 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31159 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31160 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31161 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31162 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31163 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31164 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
31165 (SYSCALL_ERROR_HANDLER): Likewise.
31166 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31167 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31168 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
31169 (SYSCALL_ERROR_HANDLER): Likewise.
31171 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
31172 (HAVE_GCC_GOTDATA): New.
31173 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
31174 relocation support in both binutils and gcc.
31175 * sysdeps/sparc/elf/configure: Regenerate.
31177 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
31178 * sysdeps/sparc/sparc32/elf/configure: Delete.
31179 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
31180 * sysdeps/sparc/sparc64/elf/configure: Delete.
31181 * sysdeps/sparc/elf/configure.in: New file.
31182 * sysdeps/sparc/elf/configure: Generate.
31184 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
31185 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
31186 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31187 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
31188 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
31190 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31192 * manual/install.texi: Do not mention specific glibc version
31194 * manual/libc.texinfo (VERSION, UPDATED): Update.
31195 (@copying): Use @copyright{} and range of years.
31197 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31200 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
31201 [crti.S not in sysdirs] (generated): Do not append.
31202 [crti.S not in sysdirs] (omit-deps): Likewise.
31203 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
31204 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
31205 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
31206 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
31207 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
31209 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
31210 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
31211 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
31212 * csu/defs.awk: Remove file.
31213 * sysdeps/generic/initfini.c: Likewise.
31214 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
31216 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
31219 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31221 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
31222 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
31223 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
31224 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
31225 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31226 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
31228 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
31229 (__EPOLL_PACKED): Define to empty if not defined by
31231 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
31232 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31235 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31237 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
31238 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
31239 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
31240 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
31242 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
31243 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31246 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31248 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
31250 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31251 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31252 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
31253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31255 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
31257 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31258 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31260 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
31262 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
31263 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
31265 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
31267 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
31270 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
31272 * math/w_acos.c: Use non-signaling floating-point comparisons.
31273 * math/w_acosf.c: Likewise.
31274 * math/w_acosh.c: Likewise.
31275 * math/w_acoshf.c: Likewise.
31276 * math/w_acoshl.c: Likewise.
31277 * math/w_acosl.c: Likewise.
31278 * math/w_asin.c: Likewise.
31279 * math/w_asinf.c: Likewise.
31280 * math/w_asinl.c: Likewise.
31281 * math/w_atanh.c: Likewise.
31282 * math/w_atanhf.c: Likewise.
31283 * math/w_atanhl.c: Likewise.
31284 * math/w_exp2.c: Likewise.
31285 * math/w_exp2f.c: Likewise.
31286 * math/w_exp2l.c: Likewise.
31287 * math/w_j0.c: Likewise.
31288 * math/w_j0f.c: Likewise.
31289 * math/w_j0l.c: Likewise.
31290 * math/w_j1.c: Likewise.
31291 * math/w_j1f.c: Likewise.
31292 * math/w_j1l.c: Likewise.
31293 * math/w_jn.c: Likewise.
31294 * math/w_jnf.c: Likewise.
31295 * math/w_log.c: Likewise.
31296 * math/w_log10.c: Likewise.
31297 * math/w_log10f.c: Likewise.
31298 * math/w_log10l.c: Likewise.
31299 * math/w_log2.c: Likewise.
31300 * math/w_log2f.c: Likewise.
31301 * math/w_log2l.c: Likewise.
31302 * math/w_logf.c: Likewise.
31303 * math/w_logl.c: Likewise.
31304 * math/w_sqrt.c: Likewise.
31305 * math/w_sqrtf.c: Likewise.
31306 * math/w_sqrtl.c: Likewise.
31307 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31308 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31309 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31310 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31311 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31313 2012-02-19 Joseph Myers <joseph@codesourcery.com>
31316 * manual/string.texi (strnlen): Use correct parameter name in
31317 equivalent expression.
31319 2012-02-19 Joseph Myers <joseph@codesourcery.com>
31322 * manual/users.texi (seteuid): Consistently use neweuid for
31325 2012-02-19 Joseph Myers <joseph@codesourcery.com>
31328 * manual/nss.texi (Services in the NSS configuration): Correct
31329 list of services in example configuration file.
31331 2012-02-19 Nick Bowler <nbowler@draconx.ca>
31334 * manual/arith.texi: Remove statements about negative zero
31335 behaving identically to zero.
31337 2012-02-18 Joseph Myers <joseph@codesourcery.com>
31340 * manual/install.texi: Do not document upgrading from libc5.
31342 2012-02-18 Joseph Myers <joseph@codesourcery.com>
31345 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
31347 2012-02-18 David S. Miller <davem@davemloft.net>
31349 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
31350 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
31351 %o7 across the call.
31352 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
31354 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
31355 SETUP_PIC_REG_LEAF.
31356 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31357 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
31358 * sysdeps/sparc/crtn.S: Likewise.
31360 2012-02-17 Ulrich Drepper <drepper@gmail.com>
31362 * aout/Makefile: Remove.
31364 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
31367 * manual/examples/argp-ex1.c (main): Format definition in GNU
31369 * manual/examples/argp-ex2.c (main): Likewise.
31370 * manual/examples/argp-ex3.c (main): Likewise.
31371 * manual/examples/argp-ex4.c (main): Likewise.
31372 * manual/examples/longopt.c (main): Use new-style prototype
31374 * manual/examples/strncat.c (main): Specify return type and use
31375 (void) for arguments.
31376 * manual/examples/subopt.c (main): Use char **argv argument.
31378 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31381 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
31384 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
31387 * manual/string.texi (strchr): Change when strchrnul is
31390 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
31393 * manual/locale.texi (setlocale): Document LOCPATH.
31395 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31398 * manual/process.texi (execle): Move @dots{} before last argument.
31400 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
31403 * manual/charset.texi (Generic Charset Conversion): Fix typo
31404 (LC_TYPE -> LC_CTYPE).
31406 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
31409 * manual/arith.texi (scalbn): Use @var{} on parameter names.
31410 (scalbnf): Likewise.
31411 (scalbnl): Likewise.
31412 (scalbln): Likewise.
31413 (scalblnf): Likewise.
31414 (scalblnl): Likewise.
31415 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
31416 (vwarnx): Likewise.
31419 * manual/filesys.texi (telldir): Use braces around return type.
31420 * manual/llio.texi (mmap): Add space after comma.
31421 (mmap64): Likewise.
31422 * manual/math.texi (jn): Use @var{} on parameter names.
31428 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
31430 * manual/resource.texi (ulimit): Use @dots{} instead of literal
31432 (sched_get_priority_min): Remove semicolon on @deftypefun line.
31433 (sched_get_priority_max): Likewise.
31434 * manual/signal.texi (sigvec): Add space after comma.
31435 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
31437 (if_indextoname): Likewise.
31438 (if_freenameindex): Likewise.
31439 (sendto): Use ',' instead of '.' in prototype.
31440 * manual/startup.texi (syscall): Use @dots{} instead of literal
31442 * manual/stdio.texi (__fpending): Separate initial words of
31443 paragraph from @deftypefun line.
31444 * manual/syslog.texi (syslog): Use @dots{} instead of literal
31446 (vsyslog): Use @var{} on parameter names.
31447 * manual/terminal.texi (stty): Use @var{} on parameter names.
31448 * manual/users.texi (getutmp): Use @var{} on parameter names.
31449 (getutmpx): Likewise.
31451 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31454 * manual/stdio.texi (fopen): Fix typos in description of
31457 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
31460 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
31461 get clock_id definition.
31463 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
31466 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
31467 (madvise): Cast every argument to void on its own.
31469 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31472 * manual/startup.texi (Exit Status): Fix typo.
31474 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31477 * manual/examples/argp-ex1.c: Include <stdlib.h>.
31478 * manual/examples/argp-ex2.c: Likewise.
31479 * manual/examples/argp-ex3.c: Likewise.
31481 2012-02-16 Richard Henderson <rth@redhat.com>
31483 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
31484 * sysdeps/s390/s390-32/initfini.c: Remove.
31485 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
31486 * sysdeps/s390/s390-64/initfini.c: Remove.
31488 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31490 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
31491 compiler output for sysdeps/generic/initfini.c.
31492 * sysdeps/sh/elf/initfini.c: Remove file.
31494 2012-02-16 David S. Miller <davem@davemloft.net>
31497 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
31499 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
31500 * sysdeps/sparc/crti.S: New file.
31501 * sysdeps/sparc/crtn.S: New file.
31502 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
31503 * sysdeps/sparc/sparc64/Makefile: Likewise.
31505 2012-02-15 Mike Frysinger <vapier@gentoo.org>
31508 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
31510 2012-02-15 Roland McGrath <roland@hack.frob.com>
31513 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
31515 * mach/devstream.c (cookie_io_functions_t): Macro removed.
31516 (write, read, close): Likewise.
31517 Patch by Aurelien Jarno <aurelien@aurel32.net>.
31519 2012-02-15 Joseph Myers <joseph@codesourcery.com>
31521 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
31522 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
31523 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
31524 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
31526 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
31527 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31530 2012-02-14 Marek Polacek <polacek@redhat.com>
31532 * sysdeps/x86_64/crti.S: New file.
31533 * sysdeps/x86_64/crtn.S: New file.
31534 * sysdeps/x86_64/elf/initfini.c: Remove file.
31536 2012-02-13 Joseph Myers <joseph@codesourcery.com>
31538 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
31539 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
31540 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
31541 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
31543 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
31544 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31547 2012-02-13 Joseph Myers <joseph@codesourcery.com>
31549 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
31550 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
31551 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
31552 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
31554 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
31555 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31558 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
31560 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
31561 __feraiseexcept instead of feraiseexcept.
31563 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
31564 nanosleep invocations.
31565 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
31566 strings, and add error checking for a nanosleep invocations.
31568 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
31570 Replace FSF snail mail address with URLs, as per GNU coding standards.
31571 Most of the snail mail addresses were wrong anyway, and omitting
31572 them makes the source code easier to maintain. Almost all of the
31573 changes are to license notices and to locale LC_IDENTIFICATION
31574 addresses, except for this one:
31575 * manual/libc.texinfo: In "Published by", give the FSF's URL,
31576 not its snail mail address.
31578 2012-02-09 Richard Henderson <rth@twiddle.net>
31580 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
31581 of kernel-features.h.
31583 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
31585 2012-02-08 Marek Polacek <polacek@redhat.com>
31587 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
31588 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
31589 * sysdeps/gnu/_G_config.h: Likewise.
31590 * sysdeps/generic/_G_config.h: Likewise.
31592 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
31594 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
31596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31598 * sysdeps/powerpc/powerpc32/crti.S: New file.
31599 * sysdeps/powerpc/powerpc32/crtn.S: New file.
31600 * sysdeps/powerpc/powerpc64/crti.S: New file.
31601 * sysdeps/powerpc/powerpc64/crtn.S: New file.
31603 * Makeconfig (have-initfini): Don't set.
31604 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
31605 * configure.in (nopic_initfini): Don't substitute.
31606 * config.h.in (HAVE_INITFINI): Don't #undef.
31607 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
31608 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
31610 2012-02-08 Joseph Myers <joseph@codesourcery.com>
31612 Support crti.S and crtn.S provided directly by architectures.
31613 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
31614 [crti.S in sysdirs] (omit-deps): Likewise.
31615 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
31616 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
31617 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
31618 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
31619 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
31620 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
31621 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
31622 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
31623 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
31624 compiler output for sysdeps/generic/initfini.c.
31625 * sysdeps/i386/elf/Makefile: Remove file.
31626 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
31628 2012-02-07 Marek Polacek <polacek@redhat.com>
31630 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
31631 * sysdeps/gnu/_G_config.h: Likewise.
31632 * sysdeps/mach/hurd/_G_config.h: Likewise.
31634 2012-02-07 Marek Polacek <polacek@redhat.com>
31636 * math/Makefile (tests): Add tst-CMPLX2.
31637 * math/tst-CMPLX2.c: New file.
31639 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
31641 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31643 * math/libm-test.inc (jn_test): Add missing L suffix.
31645 2012-02-06 Marek Polacek <polacek@redhat.com>
31647 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
31648 * sysdeps/i386/fpu/e_powf.S: Likewise.
31649 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31650 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31651 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31652 * sysdeps/i386/fpu/e_pow.S: Likewise.
31653 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31654 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31655 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31656 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31657 * sysdeps/i386/fpu/e_log2.S: Likewise.
31658 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31659 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31660 * sysdeps/i386/fpu/e_powl.S: Likewise.
31661 * sysdeps/i386/fpu/s_log1p.S: Likewise.
31662 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31663 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31664 * sysdeps/i386/fpu/e_logl.S: Likewise.
31665 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31666 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
31667 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31668 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31669 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31670 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31671 * sysdeps/i386/fpu/e_log.S: Likewise.
31672 * sysdeps/i386/fpu/s_cexp.S: Likewise.
31673 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31674 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
31675 * sysdeps/i386/fpu/e_logf.S: Likewise.
31676 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31677 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31678 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
31679 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31680 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31681 * sysdeps/i386/fpu/e_log10.S: Likewise.
31682 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31683 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31684 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31685 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31686 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31687 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31688 * sysdeps/i386/asm-syntax.h: Likewise.
31689 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31690 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31691 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31692 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
31693 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
31694 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31695 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31696 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31697 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31698 * sysdeps/powerpc/sysdep.h: Likewise.
31699 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
31700 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31702 2012-02-06 Joseph Myers <joseph@codesourcery.com>
31705 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
31707 2012-02-06 Joseph Myers <joseph@codesourcery.com>
31709 * sysdeps/i386/sysdep.h: Include <features.h>.
31710 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
31713 2012-02-05 Joseph Myers <joseph@codesourcery.com>
31715 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31717 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31720 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31722 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
31723 (SETUP_PIC_REG): Use GET_PC_THUNK.
31724 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31727 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31729 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31730 for non-PIC compilation.
31731 (SETUP_PIC_REG): Add .p2align directive.
31732 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31733 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31734 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31735 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31736 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31737 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31738 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31739 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31740 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31741 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31742 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31743 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31744 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31745 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31746 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31747 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31748 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31749 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31750 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31751 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31752 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31753 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31754 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31755 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31756 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31757 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31758 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31759 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31760 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31761 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31762 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31763 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31764 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31765 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31766 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31767 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31768 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31769 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31770 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31771 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31772 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31774 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31776 * math/tst-CMPLX.c: Include <stdio.h>.
31778 2012-01-31 Joseph Myers <joseph@codesourcery.com>
31780 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31782 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31783 * sysdeps/sparc/bits/mathdef.h: Likewise.
31785 2012-01-31 Marek Polacek <polacek@redhat.com>
31787 * libio/libio.h: Don't define _PARAMS.
31788 * locale/programs/config.h: Don't define PARAMS.
31789 * stdlib/strtol_l.c: Likewise.
31790 (__strtol_l): Remove PARAMS from the prototype.
31792 2012-01-31 Ulrich Drepper <drepper@gmail.com>
31794 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
31795 names. Just use the correct names. Remove unnecessary wrapper
31797 * malloc/arena.c: Likewise.
31798 * malloc/hooks.c: Likewise.
31800 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31801 ARENA_TEST says not to. Simplify test for creation of a new arena.
31802 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31804 2012-01-30 Ulrich Drepper <drepper@gmail.com>
31806 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31808 (update_get_addr): New function.
31809 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31810 GET_ADDR_MODULE parameter.
31812 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31814 * crypt/cert.c: Remove __STDC__ conditionals.
31815 * crypt/crypt-entry.c: Likewise.
31816 * crypt/crypt_util.c: Likewise.
31817 * libio/filedoalloc.c: Likewise.
31818 * libio/fileops.c: Likewise.
31819 * libio/genops.c: Likewise.
31820 * libio/iofclose.c: Likewise.
31821 * libio/iofdopen.c: Likewise.
31822 * libio/iofopen.c: Likewise.
31823 * libio/iofopen64.c: Likewise.
31824 * libio/iogetdelim.c: Likewise.
31825 * libio/iopopen.c: Likewise.
31826 * libio/obprintf.c: Likewise.
31827 * libio/oldfileops.c: Likewise.
31828 * libio/oldiofclose.c: Likewise.
31829 * libio/oldiofdopen.c: Likewise.
31830 * libio/oldiofopen.c: Likewise.
31831 * libio/oldiopopen.c: Likewise.
31832 * libio/wfiledoalloc.c: Likewise.
31833 * libio/wgenops.c: Likewise.
31834 * locale/programs/xmalloc.c: Likewise.
31835 * misc/syslog.c: Likewise.
31836 * stdio-common/xbug.c: Likewise.
31837 * string/memchr.c: Likewise.
31838 * string/memcmp.c: Likewise.
31839 * string/memrchr.c: Likewise.
31840 * string/rawmemchr.c: Likewise.
31841 * sysdeps/posix/getcwd.c: Likewise.
31842 * time/strftime_l.c: Likewise.
31844 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31846 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31847 * config.make.in (config-cflags-sse2avx): Define.
31848 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31851 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
31853 * scripts/config.guess: Update from upstream config git repository.
31854 * scripts/config.sub: Likewise.
31856 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
31858 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31860 (R_TILEPRO_*, R_TILEGX_*): New macros.
31862 * scripts/firstversions.awk: Fix bug in version range handling.
31864 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31866 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31868 * include/sys/epoll.h: New file.
31869 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31872 2012-01-28 Ulrich Drepper <drepper@gmail.com>
31874 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31875 Avoid unnecessary __WORDSIZE == 64 test.
31876 (fmaxf): Use VEX format if possible.
31881 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31882 * math/math_private.h: Remove libc_fegetround* and
31884 * sysdeps/i386/configure.in: Check for -msse2avx.
31885 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31886 also if SSE2AVX is defined.
31887 Remove libc_fegetround* and libc_fesetround*.
31888 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31889 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
31890 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31892 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31893 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31894 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31895 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31896 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31898 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31900 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31902 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31904 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31906 2012-01-27 Ulrich Drepper <drepper@gmail.com>
31909 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31911 * Makeconfig (libm): Define.
31912 * elf/Makefile: Add rules to build and run tst-relsort1.
31913 * elf/tst-relsort1.c: New file.
31914 * elf/tst-relsort1mod1.c: New file.
31915 * elf/tst-relsort1mod2.c: New file.
31917 2012-01-27 Joseph Myers <joseph@codesourcery.com>
31919 * math/s_ldexp.c: Remove __STDC__ conditionals.
31920 * math/s_ldexpf.c: Likewise.
31921 * math/s_ldexpl.c: Likewise.
31922 * math/s_nextafter.c: Likewise.
31923 * math/s_nexttowardf.c: Likewise.
31924 * math/s_significand.c: Likewise.
31925 * math/s_significandf.c: Likewise.
31926 * math/s_significandl.c: Likewise.
31927 * math/w_jnl.c: Likewise.
31928 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31929 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31930 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31931 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31932 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31933 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31934 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31935 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31936 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31937 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31938 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31939 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31940 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31941 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31942 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31943 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31944 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31945 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31946 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31947 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31948 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31949 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31950 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31951 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31952 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31953 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31954 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31955 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31956 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31957 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31958 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31959 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31960 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31961 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31962 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31963 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31964 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31965 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31966 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31967 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31968 * sysdeps/ieee754/k_standard.c: Likewise.
31969 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31970 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31971 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31972 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31973 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31974 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31975 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31976 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31977 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31978 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31979 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31980 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31981 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31982 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31983 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31984 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31985 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31986 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31987 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31988 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31989 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31990 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31991 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31992 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31993 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31994 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31995 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31996 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31997 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31998 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31999 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32000 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
32001 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32002 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32003 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32004 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32005 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
32006 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32007 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32008 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
32009 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
32010 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32011 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32012 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
32013 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32014 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32015 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32016 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32017 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32018 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32019 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
32020 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32021 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32022 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32023 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32024 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32025 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32026 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32027 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32028 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32029 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32030 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32031 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32032 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32033 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32034 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32035 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32036 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32037 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32038 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32039 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32040 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32041 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32042 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32043 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32044 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32045 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32046 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32047 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32048 * sysdeps/ieee754/s_matherr.c: Likewise.
32049 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32050 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32051 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32052 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32054 2012-01-26 Joseph Myers <joseph@codesourcery.com>
32056 * crypt/md5.h: Remove __STDC__ conditionals.
32057 * libio/libioP.h: Likewise.
32058 * locale/programs/config.h: Likewise.
32059 * sysdeps/generic/sysdep.h: Likewise.
32060 * sysdeps/i386/asm-syntax.h: Likewise.
32061 * sysdeps/s390/asm-syntax.h: Likewise.
32062 * sysdeps/unix/sysdep.h: Likewise.
32063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32066 2012-01-26 Joseph Myers <joseph@codesourcery.com>
32068 * libio/libio.h: Remove __STDC__ conditionals.
32069 * malloc/obstack.h: Likewise.
32070 * math/complex.h: Likewise.
32071 * math/math.h: Likewise.
32072 * sysdeps/generic/_G_config.h: Likewise.
32073 * sysdeps/gnu/_G_config.h: Likewise.
32074 * sysdeps/mach/hurd/_G_config.h: Likewise.
32075 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32076 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32077 * sysdeps/sparc/bits/mathdef.h: Likewise.
32079 2012-01-26 Ulrich Drepper <drepper@gmail.com>
32082 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
32083 Clean up HAS_* macros.
32084 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
32085 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
32087 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
32089 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32090 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32091 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32092 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32093 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32095 2012-01-25 Joseph Myers <joseph@codesourcery.com>
32097 * elf/tst-unique3.cc (gets): Remove declaration.
32098 * elf/tst-unique3lib.cc (gets): Likewise.
32099 * elf/tst-unique3lib2.cc (gets): Likewise.
32100 * elf/tst-unique4.cc (gets): Likewise.
32102 2012-01-24 Ulrich Drepper <drepper@gmail.com>
32104 * include/stdio.h: Add C++ protection. Add gets declarations and
32106 * debug/tst-chk1.c: Don't declare gets here.
32107 * stdio-common/tst-gets.c: Likewise.
32109 2012-01-24 Joseph Myers <joseph@codesourcery.com>
32111 * posix/glob: Remove directory.
32113 2012-01-24 Joseph Myers <joseph@codesourcery.com>
32115 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
32117 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
32119 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
32120 of the non-standard EPFNOSUPPORT.
32122 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
32124 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
32125 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
32126 ANYWHERE set to 1 only on KERN_NO_SPACE error.
32128 2012-01-21 Ulrich Drepper <drepper@gmail.com>
32130 * wcsmbs/uchar.h: Test __STDC_VERSION__.
32132 2012-01-20 Ulrich Drepper <drepper@gmail.com>
32134 * nscd/aicache.c (addhstaiX): Do not cache negative results of
32136 * nscd/grpcache.c (cache_addgr): Likewise.
32137 * nscd/hstcache.c (cache_addhst): Likewise.
32138 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32139 * nscd/pwdcache.c (cache_addpw): Likewise.
32140 * nscd/servicescache.c (cache_addserv): Likewise.
32142 2012-01-16 Ulrich Drepper <drepper@gmail.com>
32144 * malloc/malloc.c: Various cleanups.
32145 * malloc/hooks.c: Likewise.
32147 * stdlib/Makefile (tests): Add bug-fmtmsg1.
32148 * stdlib/bug-fmtmsg1.c: New file.
32150 * stdlib/fmtmsg.c (init): Add missing unlock.
32151 Patch by Peng Haitao <penght@cn.fujitsu.com>.
32153 2012-01-12 Marek Polacek <polacek@redhat.com>
32155 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
32158 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32160 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
32161 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
32162 macro to ensure uniqueness of label name.
32163 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32164 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32166 2012-01-11 Ulrich Drepper <drepper@gmail.com>
32168 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
32170 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
32171 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32172 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32173 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
32175 2012-01-10 Ulrich Drepper <drepper@gmail.com>
32177 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
32179 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
32180 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32181 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32183 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
32185 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
32186 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32187 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32188 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
32190 * math/bits/math-finite.h: Add ldexp support.
32192 2012-01-10 Marek Polacek <polacek@redhat.com>
32194 * locale/programs/localedef.h (show_archive_content): Add noreturn
32197 2012-01-09 Ulrich Drepper <drepper@gmail.com>
32199 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
32201 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32203 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
32205 * io/Makefile (headers): Add bits/poll2.h.
32207 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
32209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
32210 typo #include statement.
32212 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32214 * include/sys/cdefs.h: Define __attribute_alloc_size.
32215 * catgets/gencat.c: Add alloc_size attribute and apply consistently
32216 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
32217 * elf/pldd.c: Likewise.
32218 * iconv/iconv_charmap.c: Likewise.
32219 * iconv/iconvconfig.c: Likewise.
32220 * iconv/strtab.c: Likewise.
32221 * locale/programs/locale.c: Likewise.
32222 * locale/programs/localedef.h: Likewise.
32223 * locale/programs/simple-hash.c: Likewise.
32224 * nscd/nscd.h: Likewise.
32225 * nss/makedb.c: Likewise.
32226 * sysdeps/generic/ldconfig.h: Likewise.
32227 * locale/programs/localedef.c: Remove xmalloc prototype.
32228 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
32230 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32232 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
32235 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32237 * math/Makefile (tests): Add tst-CMPLX.
32238 * math/tst-CMPLX.c: New file.
32240 * math/complex.h (CMPLXL): Fix typo.
32242 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
32243 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
32245 * debug/tst-chk1.c: Add poll and ppoll tests.
32246 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
32247 * include/sys/poll.h: Add hidden proto for ppoll.
32248 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
32249 * sysdeps/mach/hurd/ppoll.c: Likewise.
32250 * io/ppoll.c: Likewise.
32251 * debug/poll_chk.c: New file.
32252 * debug/ppoll_chk.c: New file.
32253 * include/bits/poll2.h: New file.
32254 * io/bits/poll2.h: New file.
32257 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
32259 * configure.in: static is always set to yes. Remove.
32260 * config.make.in: Don't set build-static.
32261 * Makeconfig: Remove use of build-static.
32262 * dlfcn/Makefile: Likewise.
32263 * elf/Makefile: Likewise.
32264 * math/Makefile: Likewise.
32265 * misc/Makefile: Likewise.
32266 * nptl/Makefile: Likewise.
32267 * sysdeps/mach/hurd/Makefile: Likewise.
32269 * configure.in: PWD_P is not used anymore.
32270 * config.make.in: Remove PWD_P entry.
32272 * configure.in: Remove last remnants of RANLIB.
32273 No need to check for signed size_t anymore.
32274 Don't set libc_commonpagesize and libc_relro_required here for Alpha
32276 Remove __builtin_expect test because we require at least gcc 3.4.
32277 * aclocal.m4: Likewise.
32279 * wcsmbs/mbrtoc16.c: Implement using towc function.
32280 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
32281 * wcsmbs/wcsmbsload.c: Likewise.
32282 * iconv/gconv_simple.c: Likewise.
32283 * iconv/gconv_int.h: Likewise.
32284 * iconv/gconv_builtin.h: Likewise.
32285 * iconv/iconv_prog.c: Remove CHAR16 handling.
32287 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
32289 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
32291 * configure.in: Remove --with-elf and --enable-bounded options.
32292 Dont set base_machine for ia64. More non-ELF conditions removed.
32293 Remove testing and setting of leading underscore information.
32294 * config.make.in (build-bounded): Set to no.
32295 * config.h.in: Remove NO_UNDERSCORES entry.
32296 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
32298 * csu/start.c: Remove !NO_UNDERSCORE code.
32299 * locale/localeinfo.h: Likewise.
32300 * sysdeps/generic/machine-gmon.h: Likewise.
32301 * sysdeps/generic/sysdep.h: Likewise.
32302 * sysdeps/i386/sysdep.h: Likewise.
32303 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32304 * sysdeps/mach/sysdep.h: Likewise.
32305 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32306 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32307 * sysdeps/sh/sysdep.h: Likewise.
32308 * sysdeps/sparc/sparc32/alloca.S: Likewise.
32309 * sysdeps/unix/i386/sysdep.S: Likewise.
32310 * sysdeps/unix/sparc/start.c: Likewise.
32311 * sysdeps/unix/sparc/sysdep.S: Likewise.
32312 * sysdeps/unix/sparc/sysdep.h: Likewise.
32313 * sysdeps/unix/start.c: Likewise.
32314 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32315 * sysdeps/x86_64/sysdep.h: Likewise.
32317 2012-01-07 Ulrich Drepper <drepper@gmail.com>
32320 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
32322 * argp/argp-fmtstream.h: Use const instead __const.
32323 * argp/argp.h: Likewise.
32324 * assert/assert.h: Likewise.
32325 * bits/fenv.h: Likewise.
32326 * bits/sched.h: Likewise.
32327 * bits/sigset.h: Likewise.
32328 * bits/sigthread.h: Likewise.
32329 * catgets/nl_types.h: Likewise.
32330 * conform/data/pthread.h-data: Likewise.
32331 * crypt/crypt-private.h: Likewise.
32332 * crypt/crypt.h: Likewise.
32333 * crypt/crypt_util.c: Likewise.
32334 * ctype/ctype.h: Likewise.
32335 * debug/execinfo.h: Likewise.
32336 * debug/mbsnrtowcs_chk.c: Likewise.
32337 * debug/mbsrtowcs_chk.c: Likewise.
32338 * debug/wcsnrtombs_chk.c: Likewise.
32339 * debug/wcsrtombs_chk.c: Likewise.
32340 * debug/wcstombs_chk.c: Likewise.
32341 * dirent/dirent.h: Likewise.
32342 * dlfcn/dlfcn.h: Likewise.
32343 * elf/neededtest4.c: Likewise.
32344 * grp/grp.h: Likewise.
32345 * gshadow/gshadow.h: Likewise.
32346 * iconv/gconv.h: Likewise.
32347 * iconv/gconv_int.h: Likewise.
32348 * iconv/gconv_simple.c: Likewise.
32349 * iconv/iconv.h: Likewise.
32350 * iconv/loop.c: Likewise.
32351 * iconv/skeleton.c: Likewise.
32352 * include/aio.h: Likewise.
32353 * include/aliases.h: Likewise.
32354 * include/argz.h: Likewise.
32355 * include/arpa/inet.h: Likewise.
32356 * include/assert.h: Likewise.
32357 * include/dirent.h: Likewise.
32358 * include/dlfcn.h: Likewise.
32359 * include/execinfo.h: Likewise.
32360 * include/fcntl.h: Likewise.
32361 * include/fenv.h: Likewise.
32362 * include/glob.h: Likewise.
32363 * include/grp.h: Likewise.
32364 * include/libintl.h: Likewise.
32365 * include/mntent.h: Likewise.
32366 * include/netdb.h: Likewise.
32367 * include/pwd.h: Likewise.
32368 * include/rpc/netdb.h: Likewise.
32369 * include/sched.h: Likewise.
32370 * include/search.h: Likewise.
32371 * include/shadow.h: Likewise.
32372 * include/signal.h: Likewise.
32373 * include/stdio.h: Likewise.
32374 * include/stdlib.h: Likewise.
32375 * include/string.h: Likewise.
32376 * include/sys/socket.h: Likewise.
32377 * include/sys/stat.h: Likewise.
32378 * include/sys/statfs.h: Likewise.
32379 * include/sys/statvfs.h: Likewise.
32380 * include/sys/syslog.h: Likewise.
32381 * include/sys/time.h: Likewise.
32382 * include/sys/uio.h: Likewise.
32383 * include/time.h: Likewise.
32384 * include/unistd.h: Likewise.
32385 * include/utmp.h: Likewise.
32386 * include/wchar.h: Likewise.
32387 * include/wctype.h: Likewise.
32388 * inet/aliases.h: Likewise.
32389 * inet/arpa/inet.h: Likewise.
32390 * inet/netinet/ether.h: Likewise.
32391 * inet/netinet/in.h: Likewise.
32392 * intl/libintl.h: Likewise.
32393 * io/bits/fcntl2.h: Likewise.
32394 * io/fcntl.h: Likewise.
32395 * io/ftw.h: Likewise.
32396 * io/sys/poll.h: Likewise.
32397 * io/sys/stat.h: Likewise.
32398 * io/sys/statfs.h: Likewise.
32399 * io/sys/statvfs.h: Likewise.
32400 * io/utime.h: Likewise.
32401 * libio/bits/stdio.h: Likewise.
32402 * libio/bits/stdio2.h: Likewise.
32403 * libio/libio.h: Likewise.
32404 * libio/libioP.h: Likewise.
32405 * libio/stdio.h: Likewise.
32406 * locale/lc-ctype.c: Likewise.
32407 * locale/locale.h: Likewise.
32408 * login/utmp.h: Likewise.
32409 * malloc/arena.c: Likewise.
32410 * malloc/malloc.c: Likewise.
32411 * malloc/malloc.h: Likewise.
32412 * malloc/mcheck.c: Likewise.
32413 * malloc/mtrace.c: Likewise.
32414 * math/bits/mathcalls.h: Likewise.
32415 * math/fenv.h: Likewise.
32416 * math/math_private.h: Likewise.
32417 * misc/bits/error.h: Likewise.
32418 * misc/bits/syslog.h: Likewise.
32419 * misc/err.h: Likewise.
32420 * misc/error.h: Likewise.
32421 * misc/fstab.h: Likewise.
32422 * misc/mntent.h: Likewise.
32423 * misc/regexp.h: Likewise.
32424 * misc/search.h: Likewise.
32425 * misc/sgtty.h: Likewise.
32426 * misc/sys/mman.h: Likewise.
32427 * misc/sys/syslog.h: Likewise.
32428 * misc/sys/uio.h: Likewise.
32429 * misc/sys/xattr.h: Likewise.
32430 * misc/ttyent.h: Likewise.
32431 * nis/rpcsvc/ypclnt.h: Likewise.
32432 * nss/nss.h: Likewise.
32433 * posix/bits/unistd.h: Likewise.
32434 * posix/fnmatch.h: Likewise.
32435 * posix/glob.h: Likewise.
32436 * posix/sched.h: Likewise.
32437 * posix/spawn.h: Likewise.
32438 * posix/sys/wait.h: Likewise.
32439 * posix/unistd.h: Likewise.
32440 * posix/wordexp.h: Likewise.
32441 * pwd/pwd.h: Likewise.
32442 * resolv/netdb.h: Likewise.
32443 * resource/sys/resource.h: Likewise.
32444 * rt/aio.h: Likewise.
32445 * rt/bits/mqueue2.h: Likewise.
32446 * rt/mqueue.h: Likewise.
32447 * shadow/shadow.h: Likewise.
32448 * signal/signal.h: Likewise.
32449 * socket/send.c: Likewise.
32450 * socket/sendto.c: Likewise.
32451 * socket/sys/socket.h: Likewise.
32452 * stdio-common/printf.h: Likewise.
32453 * stdlib/bits/stdlib.h: Likewise.
32454 * stdlib/fmtmsg.h: Likewise.
32455 * stdlib/monetary.h: Likewise.
32456 * stdlib/stdlib.h: Likewise.
32457 * stdlib/ucontext.h: Likewise.
32458 * streams/stropts.h: Likewise.
32459 * string/argz.h: Likewise.
32460 * string/bits/string2.h: Likewise.
32461 * string/string.h: Likewise.
32462 * string/strings.h: Likewise.
32463 * sunrpc/rpc/auth.h: Likewise.
32464 * sunrpc/rpc/auth_des.h: Likewise.
32465 * sunrpc/rpc/clnt.h: Likewise.
32466 * sunrpc/rpc/netdb.h: Likewise.
32467 * sunrpc/rpc/pmap_clnt.h: Likewise.
32468 * sunrpc/rpc/xdr.h: Likewise.
32469 * sysdeps/generic/inttypes.h: Likewise.
32470 * sysdeps/generic/net/if.h: Likewise.
32471 * sysdeps/generic/sys/swap.h: Likewise.
32472 * sysdeps/gnu/net/if.h: Likewise.
32473 * sysdeps/gnu/utmpx.h: Likewise.
32474 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
32475 * sysdeps/i386/i486/bits/string.h: Likewise.
32476 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
32477 * sysdeps/s390/bits/string.h: Likewise.
32478 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
32479 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
32480 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32481 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
32482 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
32483 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
32484 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
32485 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
32486 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
32487 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32488 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
32489 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32490 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
32491 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32492 * sysdeps/unix/sysv/linux/readv.c: Likewise.
32493 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
32494 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
32495 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32496 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32497 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32498 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32499 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
32500 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
32501 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
32502 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
32503 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
32504 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
32505 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32506 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
32507 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
32508 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
32509 * sysvipc/sys/ipc.h: Likewise.
32510 * sysvipc/sys/msg.h: Likewise.
32511 * sysvipc/sys/sem.h: Likewise.
32512 * sysvipc/sys/shm.h: Likewise.
32513 * termios/termios.h: Likewise.
32514 * time/sys/time.h: Likewise.
32515 * time/time.h: Likewise.
32516 * wcsmbs/bits/wchar2.h: Likewise.
32517 * wcsmbs/uchar.h: Likewise.
32518 * wcsmbs/wchar.h: Likewise.
32519 * wctype/wctype.h: Likewise.
32522 * Makeconfig: Remove all but ELF support including AIX support.
32523 * Makerules: Likewise.
32524 * config.h.in: Likewise.
32525 * config.make.in: Likewise.
32526 * configure: Likewise.
32527 * configure.in: Likewise.
32528 * csu/Makefile: Likewise.
32529 * csu/version.c: Likewise.
32530 * debug/Makefile: Likewise.
32531 * dlfcn/Makefile: Likewise.
32532 * elf/Makefile: Likewise.
32533 * extra-lib.mk: Likewise.
32534 * iconv/Makefile: Likewise.
32535 * include/libc-symbols.h: Likewise.
32536 * include/shlib-compat.h: Likewise.
32537 * resolv/Makefile: Likewise.
32538 * resolv/res_libc.c: Likewise.
32539 * rt/Makefile: Likewise.
32540 * sysdeps/i386/asm-syntax.h: Likewise.
32541 * sysdeps/i386/sysdep.h: Likewise.
32542 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32543 * sysdeps/mach/sysdep.h: Likewise.
32544 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
32545 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
32546 * sysdeps/s390/asm-syntax.h: Likewise.
32547 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32548 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32549 * sysdeps/sh/sysdep.h: Likewise.
32550 * sysdeps/unix/sparc/sysdep.h: Likewise.
32551 * sysdeps/wordsize-32/divdi3.c: Likewise.
32552 * sysdeps/x86_64/sysdep.h: Likewise.
32554 * argp/Versions: Remove _argp_unlock_xxx.
32557 * abilist/ld.abilist: Update. Adjust for removal of tls option.
32558 * abilist/libBrokenLocale.abilist: Likewise.
32559 * abilist/libanl.abilist: Likewise.
32560 * abilist/libc.abilist: Likewise.
32561 * abilist/libcrypt.abilist: Likewise.
32562 * abilist/libdl.abilist: Likewise.
32563 * abilist/libm.abilist: Likewise.
32564 * abilist/libnsl.abilist: Likewise.
32565 * abilist/libpthread.abilist: Likewise.
32566 * abilist/libresolv.abilist: Likewise.
32567 * abilist/librt.abilist: Likewise.
32568 * abilist/libthread_db.abilist: Likewise.
32569 * abilist/libutil.abilist: Likewise.
32570 * abilist/libnss_db.abilist: New file.
32572 * scripts/abilist.awk: Add support for indirect functions.
32574 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
32576 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
32578 * shlib-versions: Remove entries for ports architectures.
32580 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
32582 * elf/stackguard-macros.h: Remove support for IA-64.
32583 * elf/tst-auditmod1.c: Likewise.
32584 * sysdeps/generic/ldsodefs.h: Likewise.
32586 * sysdeps/unix/sysv/linux/configure.in: Ports should define
32587 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
32591 * configure.in: Remove --enable-omitfp support.
32593 * config.make.in: Likewise.
32594 * Makeconfig: Likewise.
32595 * manual/install.texi: Likewise.
32597 In case anyone cares, the IA-64 architecture could move to ports.
32598 * sysdeps/ia64/*: Removed.
32599 * sysdeps/unix/sysv/linux/ia64/*: Removed.
32600 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
32603 * configure.in: Remove entries for unsupported architectures.
32606 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
32607 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
32609 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
32610 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
32611 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
32612 fall back to using wcrtomb.
32613 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
32614 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
32616 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
32617 * wcsmbs/tst-c16c32-1.c: New file.
32619 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
32622 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
32624 * elf/tst-unique3.cc: Add explicit declaration of gets.
32625 * elf/tst-unique3lib.cc: Likewise.
32626 * elf/tst-unique3lib2.cc: Likewise.
32627 * elf/tst-unique4.cc: Likewise.
32629 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
32631 2012-01-06 Joseph Myers <joseph@codesourcery.com>
32634 * assert/assert.h (static_assert): Don't define for C++.
32635 * libio/stdio.h (gets): Do declare for C++ <= C++11.
32636 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
32638 2012-01-03 Ulrich Drepper <drepper@gmail.com>
32640 * iconv/loop.c (single loop): Fix assertion in storing of
32643 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
32645 2012-01-01 Ulrich Drepper <drepper@gmail.com>
32647 * posix/getconf.c: Update copyright year.
32648 * nss/getent.c: Likewise.
32649 * nss/makedb.c: Likewise.
32650 * iconv/iconvconfig.c: Likewise.
32651 * iconv/iconv_prog.c: Likewise.
32652 * elf/ldconfig.c: Likewise.
32653 * elf/pldd.c: Likewise.
32654 * elf/sotruss.ksh: Likewise.
32655 * catgets/gencat.c: Likewise.
32656 * csu/version.c: Likewise.
32657 * elf/ldd.bash.in: Likewise.
32658 * elf/sprof.c (print_version): Likewise.
32659 * locale/programs/locale.c: Likewise.
32660 * locale/programs/localedef.c: Likewise.
32661 * login/programs/pt_chown.c: Likewise.
32662 * nscd/nscd.c (print_version): Likewise.
32663 * debug/xtrace.sh: Likewise.
32664 * malloc/memusage.sh: Likewise.
32665 * malloc/mtrace.pl: Likewise.
32666 * debug/catchsegv.sh: Likewise.
32668 2011-12-30 Jakub Jelinek <jakub@redhat.com>
32670 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
32673 2011-12-24 Ulrich Drepper <drepper@gmail.com>
32676 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
32677 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
32679 * iconv/gconv_int.h: Likewise.
32680 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
32681 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
32682 from libc for GLIBC_2.16.
32683 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
32684 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
32685 * wcsmbs/uchar.h: Really define mbstate_t.
32686 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
32687 * wcsmbs/c16rtomb.c: New file.
32688 * wcsmbs/mbrtoc16.c: New file.
32689 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
32690 for C/POSIX locale.
32691 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
32692 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
32694 * wcsmbs/wchar.h: Add missing __restrict.
32696 2011-12-23 Ulrich Drepper <drepper@gmail.com>
32699 * time/Makefile (routines): Add timespec_get.
32700 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
32701 * time/time.h: Define TIME_UTC and declare timespec_get. Define
32702 timespec for ISO C11.
32703 * time/timespec_get.c: New file.
32704 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
32705 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
32708 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
32709 * stdlib/stdlib.h: Declare aligned_alloc.
32710 * Versions.def: Add GLIBC_2.16 for libc.
32711 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
32714 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
32717 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
32721 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32724 * assert/assert.h (static_assert): Define.
32726 * version.h: Update for 2.16 development version.
32729 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32732 * version.h (RELEASE): Bump for 2.15 release.
32733 * include/features.h (__GLIBC_MINOR__): Bump to 15.
32735 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32736 Patch by Marek Polacek <mpolacek@redhat.com>.
32738 * bits/byteswap.h: Protect long long constants with __extension__.
32739 * sysdeps/i386/bits/byteswap.h: Likewise.
32740 * sysdeps/ia64/bits/byteswap.h: Likewise.
32741 * sysdeps/s390/bits/byteswap.h: Likewise.
32742 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32744 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32747 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32748 destination buffer.
32749 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32751 2011-12-23 Marek Polacek <polacek@redhat.com>
32753 * elf/dl-addr.c (determine_info): Add inline keyword.
32754 * elf/tst-auditmod4b.c (check_avx): Likewise.
32755 * elf/tst-auditmod6b.c (check_avx): Likewise.
32756 * elf/tst-auditmod6c.c (check_avx): Likewise.
32757 * elf/tst-auditmod7b.c (check_avx): Likewise.
32759 2011-12-23 Ulrich Drepper <drepper@gmail.com>
32761 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32764 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32767 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32768 processing for last bytes.
32770 2011-08-06 Bruno Haible <bruno@clisp.org>
32773 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32774 U+0385, not to U+1FEE.
32777 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32778 entry for U+00A5 U+0301.
32780 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32783 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32784 buffer for the output is too small.
32786 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32790 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32791 SSE flags if possible.
32793 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32796 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32797 processing for last bytes.
32799 2011-12-22 Joseph Myers <joseph@codesourcery.com>
32801 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32802 (syscall-list-default-options, syscall-list-default-condition)
32803 (syscall-list-includes): Define.
32804 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32805 list of ABIs and options and #if conditions for each ABI. Do not
32806 handle common syscalls between ABIs specially.
32807 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32809 (syscall-list-variants, syscall-list-32bit-options)
32810 (syscall-list-32bit-condition, syscall-list-64bit-options)
32811 (syscall-list-64bit-condition): Define.
32812 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32813 (syscall-list-variants, syscall-list-32bit-options)
32814 (syscall-list-32bit-condition, syscall-list-64bit-options)
32815 (syscall-list-64bit-condition): Define.
32816 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32818 (syscall-list-variants, syscall-list-32bit-options)
32819 (syscall-list-32bit-condition, syscall-list-64bit-options)
32820 (syscall-list-64bit-condition): Define.
32821 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32823 (syscall-list-variants, syscall-list-32bit-options)
32824 (syscall-list-32bit-condition, syscall-list-64bit-options)
32825 (syscall-list-64bit-condition): Define.
32827 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32829 * locale/iso-639.def: Add brx entry.
32832 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32833 Proposed by Mariusz_Cukr <marcukr@op.pl>.
32835 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32836 __feraiseexcept_renamed.
32838 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32841 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32842 EPOLLET with unsigned values.
32843 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32844 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32846 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32847 to large cancellation.
32848 * math/s_cacoshf.c: Likewise.
32849 * math/s_cacoshl.c: Likewise.
32851 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
32855 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32856 * math/s_cacoshf.c: Likewise.
32857 * math/s_cacoshl.c: Likewise.
32859 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32862 * iconv/gconv.h: Define __GCONV_SWAP.
32863 * iconvdata/unicode.c: The swap bit must be stored in __flags.
32864 * iconvdata/utf-16.c: Likewise.
32865 * iconvdata/utf-32.c: Likewise.
32867 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
32870 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32871 numerator after shifting it by one limb.
32873 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
32875 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32876 under [__USE_EXTERN_INLINES].
32878 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32881 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32883 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32885 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32886 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32888 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32889 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32890 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32891 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32892 for strncasecmp/strncasecmp_l compilation.
32893 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32894 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32896 2011-12-08 Marek Polacek <mpolacek@redhat.com>
32899 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32902 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32905 * time/tzfile.c (__tzfile_read): Check values from file header.
32907 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32909 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32910 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32911 * powerpc/powerpc32/dl-start.S: Likewise.
32912 * powerpc/powerpc32/elf/start.S: Likewise.
32913 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32914 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32915 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32916 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32917 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32918 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32919 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32920 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32921 * powerpc/powerpc32/fpu/s_round.S: Likewise.
32922 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32923 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32924 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32925 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32926 * powerpc/powerpc32/memset.S: Likewise.
32927 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32928 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32929 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32930 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32931 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32932 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32933 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32934 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32935 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32936 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32937 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32938 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32939 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32941 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32943 * math/libm-test.inc: Added more nearbyint tests.
32944 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32945 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32946 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32947 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32949 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
32951 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32954 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32956 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32957 Add wcscpy-ssse3 wcscpy-c.
32958 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32959 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32960 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32961 * sysdeps/x86_64/wcschr.S: New file.
32962 * sysdeps/x86_64/wcsrchr.S: New file.
32963 * string/test-strcmp.c: Remove checking of wcscmp function for
32965 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32966 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32967 wcsrchr-sse2 wcsrchr-c.
32968 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32969 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32970 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32971 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32972 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32973 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32974 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32975 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32976 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32977 * wcsmbc/wcschr.c (WCSCHR): New macro.
32979 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32981 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32982 * wcsmbs/test-wcsrchr.c: New file.
32983 * string/test-strrchr.c: Add wcsrchr support.
32985 * wcsmbs/test-wcscpy.c: New file.
32986 * string/test-strcpy.c: Add wcscpy support.
32989 2011-12-10 Ulrich Drepper <drepper@gmail.com>
32991 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32994 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
32997 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32999 2011-12-04 Ulrich Drepper <drepper@gmail.com>
33001 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
33002 Minor optimizations.
33004 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
33005 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
33006 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33008 2011-12-03 Ulrich Drepper <drepper@gmail.com>
33010 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
33011 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
33012 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
33013 for gcc to avoid warnings.
33014 * inet/Makefile (tests): Add tst-checks.
33015 * inet/tst-checks.c: New file.
33017 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33020 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33023 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33024 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33026 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33028 2011-12-02 Ulrich Drepper <drepper@gmail.com>
33030 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33033 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33035 2011-11-29 Joseph Myers <joseph@codesourcery.com>
33037 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33038 conditional on GCC version.
33039 (__arch_compare_and_exchange_val_8_acq)
33040 (__arch_compare_and_exchange_val_16_acq)
33041 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33042 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33043 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33045 2011-12-02 Joseph Myers <joseph@codesourcery.com>
33047 * sysdeps/sh/backtrace.c: New file.
33049 2011-12-02 Andreas Schwab <schwab@redhat.com>
33051 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
33054 2011-12-01 Andreas Schwab <schwab@redhat.com>
33056 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33057 falling back to utime.
33059 2011-11-30 Andreas Schwab <schwab@redhat.com>
33061 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
33062 expectations for float.
33064 2011-11-29 Andreas Schwab <schwab@redhat.com>
33066 * locale/weight.h (findidx): Add parameter len.
33067 * locale/weightwc.h (findidx): Likewise.
33068 * posix/fnmatch_loop.c (FCT): Adjust caller.
33069 * posix/regcomp.c (build_equiv_class): Likewise.
33070 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
33071 * posix/regexec.c (check_node_accept_bytes): Likewise.
33072 * string/strcoll_l.c (STRCOLL): Likewise.
33073 * string/strxfrm_l.c (STRXFRM): Likewise.
33075 2011-11-17 Ulrich Drepper <drepper@gmail.com>
33077 * Makefile.in: Remove CVSOPT handling.
33078 * configure.in: Remove use of AC_REVISION.
33079 * iconvdata/Makefile (distribute): No need to filter out CVS.
33080 * scripts/list-sources.sh: Remove CVS, subversion and monotone
33083 2011-11-16 Andreas Schwab <schwab@redhat.com>
33085 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
33086 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
33087 [USE_AS_STRNCASECMP_L]: Likewise.
33088 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
33089 NO_TLS_DIRECT_SEG_REFS.
33090 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
33091 Fix argument offsets for non-PIC.
33092 [USE_AS_STRNCASECMP_L]: Likewise.
33093 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
33094 NO_TLS_DIRECT_SEG_REFS.
33096 2011-11-15 Ulrich Drepper <drepper@gmail.com>
33098 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
33100 * locale/loadlocale.c (_nl_load_locale): Likewise.
33102 2011-11-15 Andreas Schwab <schwab@redhat.com>
33104 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
33105 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
33106 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
33107 (SYSCALL_GETTIME): Set errno on error.
33109 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
33110 count references to noai6ai_cached.
33112 2011-11-15 Ulrich Drepper <drepper@gmail.com>
33114 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
33116 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
33117 FD_CLOEXEC for /proc/self/maps.
33119 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
33120 FD_CLOEXEC for /proc/meminfo.
33122 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
33125 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
33126 FD_CLOEXEC for given file.
33128 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
33130 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
33131 FD_CLOEXEC for /etc/hosts.
33132 (_gethtent): Likewise.
33134 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
33136 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
33137 cancellation and set FD_CLOEXEC for /etc/netgroup.
33139 * nss/nss_files/files-key.c (search): Don't allow cancellation when
33140 reading /etc/publickey.
33142 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
33143 allow cancellation when reading /etc/group.
33145 * nss/nss_files/files-alias.c (internal_setent): Don't allow
33147 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
33149 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
33150 when using data file.
33152 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
33154 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
33155 (write_nis_obj): Use "c" and "e" in fopen.
33157 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
33159 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
33161 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
33163 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
33165 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
33168 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
33170 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
33172 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
33174 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
33175 file parsing and set FD_CLOEXEC.
33177 2011-11-14 Ulrich Drepper <drepper@gmail.com>
33179 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
33181 2011-11-14 Andreas Schwab <schwab@redhat.com>
33183 * malloc/arena.c (arena_get2): Don't call reused_arena when
33184 _int_new_arena failed.
33186 2011-11-14 Ulrich Drepper <drepper@gmail.com>
33188 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
33189 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
33190 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
33191 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33192 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33193 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
33194 to compile strcasecmp and strncasecmp.
33195 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
33196 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
33198 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
33200 2011-11-13 Ulrich Drepper <drepper@gmail.com>
33202 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
33203 locale-defines.sym to gen-as-const-headers.
33204 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
33205 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
33206 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
33207 to compile strcasecmp and strncasecmp.
33208 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
33209 strcasecmp_l and strncasecmp_l.
33210 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
33211 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
33212 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
33213 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
33214 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
33215 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
33216 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
33217 * sysdeps/i386/i686/multiarch/strncase.S: New file.
33218 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
33219 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
33220 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
33222 2011-11-12 Ulrich Drepper <drepper@gmail.com>
33224 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
33225 result of SYSDEP_GETTIME_CPU to retval.
33226 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
33227 parameter list to macro. Remove trailing semicolon. Adjust users.
33229 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
33232 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
33234 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33236 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
33237 from unused variable.
33239 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
33241 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
33244 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
33247 * sunrpc/rpc_prot.c (rejected): Fix case value.
33249 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
33250 unsigned long long int to avoid warnings in shift.
33252 * posix/regex_internal.c (re_string_reconstruct): Actually use result
33254 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
33257 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
33258 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
33259 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
33261 * nis/nis_table.c (nis_list): Use variable of correct type for
33262 result of __follow_path call.
33264 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33266 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
33267 of math functions ceil, trunc, floor, round, and sqrt, when
33268 avaliable on the platform.
33269 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
33271 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33272 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33273 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33275 2011-10-30 Marek Polacek <mpolacek@redhat.com>
33277 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
33278 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33280 2011-11-11 Roland McGrath <roland@hack.frob.com>
33282 * include/unistd.h: Fix __readlink return type.
33283 Reported by Chris Metcalf <cmetcalf@tilera.com>.
33285 2011-11-11 Ulrich Drepper <drepper@gmail.com>
33287 * stdlib/ucontext.h: Undo last change for makecontext.
33289 2011-11-11 Andreas Schwab <schwab@redhat.com>
33291 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
33293 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
33294 * setjmp/setjmp.h: Mark functions as non-leaf.
33295 * setjmp/bits/setjmp2.h: Likewise.
33296 * stdlib/ucontext.h: Likewise.
33298 2011-11-10 Andreas Schwab <schwab@redhat.com>
33300 * malloc/arena.c (_int_new_arena): Don't increment narenas.
33301 (reused_arena): Don't check arena limit.
33302 (arena_get2): Atomically check arena limit.
33304 2011-11-08 Ulrich Drepper <drepper@gmail.com>
33306 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
33307 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
33309 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
33312 2011-11-07 Andreas Schwab <schwab@redhat.com>
33314 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
33315 handler when locking.
33317 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33318 Fix size of allocated buffer.
33320 2011-11-04 Andreas Schwab <schwab@redhat.com>
33323 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
33324 declarations for long double functions.
33325 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
33327 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
33329 2011-11-03 Andreas Schwab <schwab@redhat.com>
33331 * nscd/nscd.c (main): Don't start AVC thread until credentials are
33334 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
33337 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33339 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
33341 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
33343 * include/alloca.h (stackinfo_alloca_round): Define.
33344 (extend_alloca): Use it.
33345 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
33346 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
33349 * scripts/check-local-headers.sh: Ignore libaudit.h.
33351 * nscd/Makefile (extra-objs): Make recursively expanded.
33353 2011-11-01 Ulrich Drepper <drepper@gmail.com>
33355 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
33356 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33358 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
33359 * posix/tst-rfc3484-2.c: Likewise.
33360 * posix/tst-rfc3484-3.c: Likewise.
33362 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33364 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
33366 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
33367 process_vm_writev from libc using GLIBC_2.15 version.
33369 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
33371 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
33373 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
33376 2011-10-31 Ulrich Drepper <drepper@gmail.com>
33379 * nss/getent.c (initgroups_keys): Show error message in case no group
33382 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
33383 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
33384 __bump_nl_timestamp.
33385 * nscd/connections (nscd_init): When host database is served open
33386 netlink socket and request notification about configuration changes.
33387 (main_loop_poll): Track netlink file descriptor and bump timestamp
33388 in case data becomes available.
33389 (main_loop_epoll): Likewise.
33390 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
33391 (database_pers_head): Add extra_data fileds.
33392 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
33393 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
33394 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
33396 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
33397 in6ai data, call __free_in6ai.
33398 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
33399 Add -DHAVE_NETLINK.
33400 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
33401 interface information. Reuse previous data if netlink timestamp
33403 (__bump_nl_timestamp): New function.
33404 (__free_in6ai): New function.
33406 2011-10-30 Ulrich Drepper <drepper@gmail.com>
33408 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
33409 close_not_cancel_no_status here.
33410 (__check_pf): Reorganize code a bit to not call close twice if OOM.
33412 2011-10-29 Ulrich Drepper <drepper@gmail.com>
33415 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
33418 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
33419 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
33420 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
33422 2011-07-03 Andreas Jaeger <aj@suse.de>
33425 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
33426 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
33427 * math/libm-test.inc (sin_test): Add test case.
33429 2011-10-29 Ulrich Drepper <drepper@gmail.com>
33432 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
33433 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33435 * elf/chroot_canon.c (chroot_canon): Cleanups.
33437 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
33440 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
33441 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33443 * string/test-strchr.c: Make usable for strchrnul testing.
33444 * string/test-strchrnul.c: New file.
33445 * string/Makefile (strop-tests): Add strchrnul.
33447 * po/it.po: Update from translation team.
33448 * po/es.po: Likewise.
33450 2011-10-28 Ulrich Drepper <drepper@gmail.com>
33452 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
33453 the three constants needed as parameters. Drop the others.
33454 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
33455 __m128i_strloadu_tolower.
33456 Create and initialize variable zero and use it in all the places
33457 where _mm_setzero_si128 was used.
33459 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
33460 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
33461 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
33462 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
33464 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
33465 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
33466 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
33467 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
33468 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
33469 __mpranred, __mptan.
33470 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
33471 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
33472 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
33473 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
33474 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
33475 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
33476 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
33477 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
33478 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
33480 2011-10-28 Andreas Schwab <schwab@redhat.com>
33482 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
33483 redefine if SHARED.
33484 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
33486 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
33487 wide char related routines to wcsmbs subdir.
33489 2011-10-27 Andreas Schwab <schwab@redhat.com>
33492 * misc/sys/cdefs.h (__THROWNL): Define.
33493 * posix/unistd.h: Use __THREADNL instead of __THREAD
33494 for memory synchronization functions.
33496 2011-10-26 Roland McGrath <roland@hack.frob.com>
33499 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
33501 * manual/stdio.texi (Obstack Streams): Node removed.
33503 2011-10-26 Andreas Schwab <schwab@redhat.com>
33505 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
33506 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33507 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33509 * math/math_private.h (math_force_eval): Allow non-addressable
33511 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
33513 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33515 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
33516 file is not needed.
33518 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
33519 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33520 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33521 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33522 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33523 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33524 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33525 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
33527 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
33528 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
33529 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
33530 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
33531 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
33532 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
33533 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
33534 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
33535 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
33536 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
33537 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
33538 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
33539 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
33540 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
33541 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
33542 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
33543 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
33544 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
33545 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
33547 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
33548 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
33550 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
33551 place. Use VEX encoding when compiling for AVX.
33553 2011-10-25 Andreas Schwab <schwab@redhat.com>
33555 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
33556 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33558 * string/test-strchr.c (do_test): Don't generate NUL bytes.
33560 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33562 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
33563 useless if() expression.
33564 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33565 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33566 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33567 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33568 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33569 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33570 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33571 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33572 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33573 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33574 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33575 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33576 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33577 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33578 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33579 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33580 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33581 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33582 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33584 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
33586 2011-10-25 Andreas Schwab <schwab@redhat.com>
33588 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
33590 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33592 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33594 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
33595 .text section. Avoid duplicate constants.
33596 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33597 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33598 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33599 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33600 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33601 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33602 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33603 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33604 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33605 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
33606 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33607 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33608 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33609 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33610 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33611 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33612 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33613 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33614 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33615 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33616 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33617 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33618 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33619 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
33620 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
33621 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
33622 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
33623 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
33624 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
33625 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
33626 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
33627 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
33628 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33629 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
33630 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
33631 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
33632 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
33633 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
33634 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
33635 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
33636 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
33637 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
33638 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
33639 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
33640 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
33642 2011-10-24 Ulrich Drepper <drepper@gmail.com>
33644 * sysdeps/x86_64/dla.h: Move to ...
33645 * sysdeps/x86_64/fpu/dla.h: ...here.
33646 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
33647 situations. Use __builtin_fma only for gcc 4.6 and up.
33649 * config.make.in: Add have-mfma4 entry.
33650 * configure.in: Substitute libc_cv_cc_fma4.
33651 * math/Makefile (dbl-only-routines): Add sincostab.
33652 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
33653 Use __sincostab not sincos.
33654 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
33656 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33657 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33658 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33659 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
33661 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
33662 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
33663 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
33664 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
33666 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
33667 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
33669 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
33670 define aliases when function name is a macro.
33671 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
33672 sysdeps/ieee754/dbl-64/sincos.tbl.
33673 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
33674 fma4-enabled routines.
33675 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
33676 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
33677 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
33678 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
33679 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
33680 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
33681 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
33682 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
33683 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
33684 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
33685 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
33686 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
33687 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
33688 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
33689 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
33690 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
33691 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
33692 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
33693 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
33694 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
33695 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
33696 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
33697 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
33698 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
33699 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
33700 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
33701 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
33702 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
33703 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
33704 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
33706 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
33708 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33709 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33710 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33711 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33712 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33713 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33714 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33715 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33717 2011-10-24 Andreas Schwab <schwab@redhat.com>
33719 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33721 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33723 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33725 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33727 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33729 * string/strnlen.c: Don't define STRNLEN, reverse logic.
33730 Remove unused variable magic_bits.
33731 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33733 * string/strnlen.c: Define and use STRNLEN macro.
33734 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33735 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33736 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33737 * wcsmbs/wcslen.c: Define and use WCSLEN.
33738 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33739 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33740 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33741 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33742 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33743 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33744 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33746 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33748 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33749 strnlen-sse2-no-bsf.
33750 Rename strlen-no-bsf to strlen-sse2-no-bsf.
33751 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33752 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33753 Add strnlen support.
33754 (USE_AS_STRNLEN): New macro.
33755 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33756 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33757 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33758 * sysdeps/x86_64/wcslen.S: New file.
33760 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
33762 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33763 XMM-moves are used for copying on small sizes.
33765 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33767 * wcsmbs/Makefile (strop-tests): Add wcschr.
33768 * wcsmbs/test-wcschr.c: New file.
33769 * string/test-strchr.c: Update.
33770 Add wcschr support.
33773 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33775 * wcsmbs/Makefile (strop-tests): Add wcslen.
33776 * wcsmbs/test-wcslen.c: New file.
33777 * string/test-strlen.c: Update.
33778 Add wcslen support.
33781 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33783 * po/it.po: Update from translation team.
33785 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33787 * sysdeps/x86_64/wcscmp.S: Update.
33788 Fix wrong comparison semantics.
33789 wcscmp shall use signed comparison not unsigned.
33790 Don't use substraction to avoid overflow bug.
33791 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33792 * wcsmbc/wcscmp.c: Likewise.
33793 * string/test-strcmp.c: Likewise.
33794 Add new tests to check cases with negative values.
33796 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33798 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33799 * sysdeps/x86_64/dla.h: ...here. New file.
33800 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33801 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33802 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33803 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33804 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33805 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33806 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33807 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33808 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33810 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
33812 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33813 __ynl_finite aliases.
33815 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33817 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33819 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33821 [DLA_FMA] (EMULV): Use DLA_FMA.
33822 [DLA_FMA] (MUL12): Use EMULV.
33823 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33824 that are not needed.
33825 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33826 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33827 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33828 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33829 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33830 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33831 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33833 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
33835 * math/s_nan.c: Undef __nan.
33836 * math/s_nanf.c: Undef __nanf.
33837 * math/s_nanl.c: Undef __nanl.
33838 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33841 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33843 * math/s_catan.c: Add branch predictions.
33844 * math/s_catanf.c: Likewise.
33845 * math/s_catanh.c: Likewise.
33846 * math/s_catanhf.c: Likewise.
33847 * math/s_catanhl.c: Likewise.
33848 * math/s_catanl.c: Likewise.
33849 * math/s_cexp.c: Likewise.
33850 * math/s_cexpf.c: Likewise.
33851 * math/s_cexpl.c: Likewise.
33852 * math/s_clog.c: Likewise.
33853 * math/s_clog10.c: Likewise.
33854 * math/s_clog10f.c: Likewise.
33855 * math/s_clog10l.c: Likewise.
33856 * math/s_clogf.c: Likewise.
33857 * math/s_clogl.c: Likewise.
33858 * math/s_csqrt.c: Likewise.
33859 * math/s_csqrtf.c: Likewise.
33860 * math/s_csqrtl.c: Likewise.
33861 * math/s_ctanf.c: Likewise.
33862 * math/s_ctanh.c: Likewise.
33863 * math/s_ctanhf.c: Likewise.
33864 * math/s_ctanhl.c: Likewise.
33865 * math/s_ctanl.c: Likewise.
33867 * math/math_private.h: Define __nan, __nanf, __nanl.
33868 * math/s_cacosh.c: Include <math_private.h>.
33869 * math/s_cacoshl.c: Likewise.
33870 * math/s_casinh.c: Likewise.
33871 * math/s_casinhf.c: Likewise.
33872 * math/s_casinhl.c: Likewise.
33873 * math/s_ccos.c: Rely entire on ccosh.
33874 * math/s_ccosf.c: Rely entire on ccoshf.
33875 * math/s_ccosl.c: Rely entirely on ccoshl.
33876 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
33877 Remove tests for FE_INVALID.
33878 * math/s_ccoshf.c: Likewise.
33879 * math/s_ccoshl.c: Likewise.
33880 * math/s_csin.c: Likewise.
33881 * math/s_csinf.c: Likewise.
33882 * math/s_csinh.c Likewise.
33883 * math/s_csinhf.c: Likewise.
33884 * math/s_csinhl.c: Likewise.
33885 * math/s_csinl.c: Likewise.
33886 * math/s_ctan.c: Likewise.
33887 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33888 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33889 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33891 2011-10-21 Ulrich Drepper <drepper@gmail.com>
33893 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33894 compilation problems.
33896 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33899 2011-10-20 Ulrich Drepper <drepper@gmail.com>
33901 * sysdeps/i386/configure.in: Test for -mfma4 option.
33902 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33903 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33904 COMMON_CPUID_INDEX_80000001.
33905 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33906 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33907 use it if FMA3 is not supported.
33908 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33910 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33911 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33913 2011-10-20 Andreas Schwab <schwab@redhat.com>
33916 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33917 it would create a cycle with a link time dependency.
33919 2011-10-19 Ulrich Drepper <drepper@gmail.com>
33921 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33923 * string/Makefile (strop-tests): Add rawmemchr.
33924 * string/test-rawmemchr.c: New file.
33926 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33927 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
33928 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
33929 when compiling str{,n}casecmp and when AVX is available. Hook up
33930 new optimized code in initializers.
33932 2011-10-19 Andreas Schwab <schwab@redhat.com>
33934 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33935 __feraiseexcept instead of feraiseexcept.
33937 2011-10-18 Ulrich Drepper <drepper@gmail.com>
33939 * math/math_private.h: Define defaults for libc_fetestexcept and
33941 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33942 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33943 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33944 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33945 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33946 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33947 libc_fetestexcept and libc_feupdateenv.
33949 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33950 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33951 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33952 * sysdeps/x86_64/fpu/math_private.h: Define special version of
33953 libc_feholdexcept_setround.
33955 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33956 Add s_nearbyint-c and s_nearbyintf-c.
33957 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33958 nearbyintf inlines.
33959 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33960 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33961 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33962 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33964 * math/math_private.h: Define defaults for libc_fegetround,
33965 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33966 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33967 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33968 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33969 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33970 standard functions.
33971 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33972 Remove comments and hacks for old compiler versions.
33973 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33974 libc_fegetround, libc_fesetround, libc_feholdexcept, and
33975 libc_feholdexceptl.
33977 2011-10-18 Andreas Schwab <schwab@redhat.com>
33979 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
33980 (__feraiseexcept_renamed): Add __NTH.
33981 (feraiseexcept): Add __NTH. Rename local variables to fix
33982 namespace violations.
33984 2011-10-17 Ulrich Drepper <drepper@gmail.com>
33986 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33988 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33990 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33991 recently added interfaces.
33992 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33994 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33995 about macro parameter expansion.
33997 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33998 __NO_MATH_INLINES is defined. Cleanups.
34000 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
34001 and __floorf is target has SSE4.1.
34002 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
34003 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
34004 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
34005 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
34007 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
34009 (floorf): Likewise.
34011 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34013 2011-10-17 Andreas Schwab <schwab@redhat.com>
34015 * misc/sys/cdefs.h: Fix last change.
34017 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34020 2011-10-16 Ulrich Drepper <drepper@gmail.com>
34022 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34024 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34025 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34026 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34027 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34028 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34029 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34030 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34031 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34032 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34033 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34034 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34035 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34036 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34037 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34038 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34039 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34040 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34041 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34042 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34043 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34044 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34045 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34047 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34048 ceil, ceilf, floor, floorf.
34050 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34051 Perform IRELATIVE relocations last.
34053 * elf/do-rel.h: Add another parameter nrelative, replacing the
34054 local variable with the same name. Change name of the function
34055 to end in Rel or Rela (uppercase).
34056 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
34057 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
34058 elf_dynamic_do_##reloc function.
34060 2011-10-15 Ulrich Drepper <drepper@gmail.com>
34062 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
34063 is sufficient, at least on modern CPUs.
34065 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
34067 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
34068 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
34070 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
34072 * math/bits/math-finite.h: Add entries for exp.
34073 * math/e_expl.c: Add __*_finite alias.
34074 * sysdeps/i386/fpu/e_exp.S: Likewise.
34075 * sysdeps/i386/fpu/e_expf.S: Likewise.
34076 * sysdeps/i386/fpu/e_expl.c: Likewise.
34077 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34078 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34079 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34080 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34081 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
34082 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34083 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34085 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
34086 is sufficient, at least on modern CPUs.
34088 * ctype/ctype-info.c (__ctype_init): Define.
34089 * include/ctype.h (__ctype_init): Declare.
34090 (__ctype_b_loc): The variable is always initialized.
34091 (__ctype_toupper_loc): Likewise.
34092 (__ctype_tolower_loc): Likewise.
34093 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
34094 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
34096 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
34098 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
34100 * configure.in: Also look in $cxxmachine/include for C++ system
34103 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34105 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
34106 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
34107 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
34108 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
34109 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
34110 (USE_AS_WMEMCMP): New macro.
34112 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
34113 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
34114 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
34115 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
34116 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34117 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
34118 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
34119 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
34120 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
34121 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
34122 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
34123 (USE_AS_WMEMCMP): New macro.
34124 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
34125 * sysdeps/string/test-memcmp.c: Update.
34126 Fix simple_wmemcmp.
34128 * wcsmbs/wmemcmp.c: Update.
34129 (WMEMCMP): New macro.
34132 2011-10-12 Andreas Jaeger <aj@suse.de>
34135 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
34137 2011-10-15 Ulrich Drepper <drepper@gmail.com>
34139 * libio/iofwide.c (do_length): Avoid warning.
34141 * ctype/ctype.h (__isctype_f): Add missing __THROW.
34143 2011-10-14 Ulrich Drepper <drepper@gmail.com>
34145 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
34147 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
34148 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
34149 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
34150 * sysdeps/i386/i686/fpu/e_log.S: New file.
34151 * sysdeps/i386/i686/fpu/e_logf.S: New file.
34152 * sysdeps/i386/i686/fpu/e_logl.S: New file.
34154 * ctype/ctype.h: Add support for inlined isXXX functions when
34155 compiling C++ code.
34157 2011-10-14 Andreas Schwab <schwab@redhat.com>
34159 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34161 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
34163 2011-10-13 Roland McGrath <roland@hack.frob.com>
34166 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
34168 2011-10-13 Andreas Schwab <schwab@redhat.com>
34170 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
34171 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
34174 * sysdeps/x86_64/memrchr.S: Check for zero size.
34176 * string/stratcliff.c: Add memrchr tests.
34178 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34180 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34181 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
34182 rawmemchr-sse2 rawmemchr-sse2-bsf.
34183 * sysdeps/i386/i686/multiarch/memchr.S: New file.
34184 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
34185 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
34186 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
34187 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
34188 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
34189 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
34190 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
34191 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
34192 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
34193 * string/memrchr.c (MEMRCHR): New macro.
34195 2011-10-12 Ulrich Drepper <drepper@gmail.com>
34197 Add integration with gcc's -ffinite-math-only and optimize wrapper
34199 * Versions.def: Define GLIBC_2.15 version for libm.
34200 * math/Makefile (headers): Add bits/math-finite.h.
34201 * math/bits/math-finite.h: New file.
34202 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
34203 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
34204 * math/e_acoshl.c: Add __*_finite alias.
34205 * math/e_acosl.c: Likewise.
34206 * math/e_asinl.c: Likewise.
34207 * math/e_atan2l.c: Likewise.
34208 * math/e_atanhl.c: Likewise.
34209 * math/e_coshl.c: Likewise.
34210 * math/e_exp10.c: Likewise.
34211 * math/e_exp10f.c: Likewise.
34212 * math/e_exp10l.c: Likewise.
34213 * math/e_exp2l.c: Likewise.
34214 * math/e_fmodl.c: Likewise.
34215 * math/e_gammal_r.c: Likewise.
34216 * math/e_hypotl.c: Likewise.
34217 * math/e_j0l.c: Likewise.
34218 * math/e_j1l.c: Likewise.
34219 * math/e_jnl.c: Likewise.
34220 * math/e_lgammal_r.c: Likewise.
34221 * math/e_log10l.c: Likewise.
34222 * math/e_log2l.c: Likewise.
34223 * math/e_logl.c: Likewise.
34224 * math/e_powl.c: Likewise.
34225 * math/e_sinhl.c: Likewise.
34226 * math/e_sqrtl.c: Likewise.
34227 * math/e_scalb.c: Completely rewritten and optimized.
34228 * math/e_scalbf.c: Likewise.
34229 * math/e_scalbl.c: Likewise.
34230 * math/w_acos.c: Likewise.
34231 * math/w_acosf.c: Likewise.
34232 * math/w_acosl.c: Likewise.
34233 * math/w_acosh.c: Likewise.
34234 * math/w_acoshf.c: Likewise.
34235 * math/w_acoshl.c: Likewise.
34236 * math/w_asin.c: Likewise.
34237 * math/w_asinf.c: Likewise.
34238 * math/w_asinl.c: Likewise.
34239 * math/w_atan2.c: Likewise.
34240 * math/w_atan2f.c: Likewise.
34241 * math/w_atan2l.c: Likewise.
34242 * math/w_atanh.c: Likewise.
34243 * math/w_atanhf.c: Likewise.
34244 * math/w_atanhl.c: Likewise.
34245 * math/w_exp10.c: Likewise.
34246 * math/w_exp10f.c: Likewise.
34247 * math/w_exp10l.c: Likewise.
34248 * math/w_fmod.c: Likewise.
34249 * math/w_fmodf.c: Likewise.
34250 * math/w_fmodl.c: Likewise.
34251 * math/w_j0.c: Likewise.
34252 * math/w_j0f.c: Likewise.
34253 * math/w_j0l.c: Likewise.
34254 * math/w_j1.c: Likewise.
34255 * math/w_j1f.c: Likewise.
34256 * math/w_j1l.c: Likewise.
34257 * math/w_jn.c: Likewise.
34258 * math/w_jnf.c: Likewise.
34259 * math/w_log.c: Likewise.
34260 * math/w_logf.c: Likewise.
34261 * math/w_logl.c: Likewise.
34262 * math/w_log10.c: Likewise.
34263 * math/w_log10f.c: Likewise.
34264 * math/w_log10l.c: Likewise.
34265 * math/w_log2.c: Likewise.
34266 * math/w_log2f.c: Likewise.
34267 * math/w_log2l.c: Likewise.
34268 * math/w_pow.c: Likewise.
34269 * math/w_powf.c: Likewise.
34270 * math/w_powl.c: Likewise.
34271 * math/w_remainder.c: Likewise.
34272 * math/w_remainderf.c: Likewise.
34273 * math/w_remainderl.c: Likewise.
34274 * math/w_scalb.c: Likewise.
34275 * math/w_scalbf.c: Likewise.
34276 * math/w_scalbl.c: Likewise.
34277 * math/w_sqrt.c: Likewise.
34278 * math/w_sqrtf.c: Likewise.
34279 * math/w_sqrtl.c: Likewise.
34280 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
34281 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
34283 * math/math_private.h: Declare __kernel_standard_f.
34284 * math/w_cosh.c: Remove cruft and optimize a bit.
34285 * math/w_coshf.c: Likewise.
34286 * math/w_coshl.c: Likewise.
34287 * math/w_exp2.c: Likewise.
34288 * math/w_exp2f.c: Likewise.
34289 * math/w_exp2l.c: Likewise.
34290 * math/w_hypot.c: Likewise.
34291 * math/w_hypotf.c: Likewise.
34292 * math/w_hypotl.c: Likewise.
34293 * math/w_lgamma.c: Likewise.
34294 * math/w_lgamma_r.c: Likewise.
34295 * math/w_lgammaf.c: Likewise.
34296 * math/w_lgammaf_r.c: Likewise.
34297 * math/w_lgammal.c: Likewise.
34298 * math/w_lgammal_r.c: Likewise.
34299 * math/w_sinh.c: Likewise.
34300 * math/w_sinhf.c: Likewise.
34301 * math/w_sinhl.c: Likewise.
34302 * math/w_tgamma.c: Likewise.
34303 * math/w_tgammaf.c: Likewise.
34304 * math/w_tgammal.c: Likewise.
34305 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34306 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34307 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
34308 Minor optimizations. Pretty printing. Remove cruft.
34309 * sysdeps/i386/fpu/e_acosf.S: Likewise.
34310 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34311 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34312 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34313 * sysdeps/i386/fpu/e_acosl.c: Likewise.
34314 * sysdeps/i386/fpu/e_asin.S: Likewise.
34315 * sysdeps/i386/fpu/e_asinf.S: Likewise.
34316 * sysdeps/i386/fpu/e_atan2.S: Likewise.
34317 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
34318 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
34319 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34320 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34321 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34322 * sysdeps/i386/fpu/e_exp10.S: Likewise.
34323 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
34324 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
34325 * sysdeps/i386/fpu/e_exp2.S: Likewise.
34326 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
34327 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
34328 * sysdeps/i386/fpu/e_fmod.S: Likewise.
34329 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
34330 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
34331 * sysdeps/i386/fpu/e_hypot.S: Likewise.
34332 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
34333 * sysdeps/i386/fpu/e_log.S: Likewise.
34334 * sysdeps/i386/fpu/e_log10.S: Likewise.
34335 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34336 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34337 * sysdeps/i386/fpu/e_log2.S: Likewise.
34338 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34339 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34340 * sysdeps/i386/fpu/e_logf.S: Likewise.
34341 * sysdeps/i386/fpu/e_logl.S: Likewise.
34342 * sysdeps/i386/fpu/e_pow.S: Likewise.
34343 * sysdeps/i386/fpu/e_powf.S: Likewise.
34344 * sysdeps/i386/fpu/e_powl.S: Likewise.
34345 * sysdeps/i386/fpu/e_remainder.S: Likewise.
34346 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
34347 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
34348 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34349 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34350 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34351 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
34352 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
34353 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
34354 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34355 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34356 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34357 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34358 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34359 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34360 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34361 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34362 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34363 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34364 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34365 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34366 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34367 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34368 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34369 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34370 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34371 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34372 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34373 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34374 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34375 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34376 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34377 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34378 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34379 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34380 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34381 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34382 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
34383 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34384 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34385 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34386 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34387 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34388 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34389 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34390 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34391 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34392 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34393 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34394 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34395 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34396 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34397 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34398 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34399 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34400 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34401 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34402 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34403 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
34404 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34405 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34406 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34407 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34408 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34409 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34410 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34411 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34412 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34413 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34414 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34415 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34416 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34417 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34418 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34419 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34420 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34421 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34422 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
34423 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34424 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34425 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34426 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34427 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34428 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34429 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34430 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34431 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34432 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34433 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34434 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34435 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34436 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
34437 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34438 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34439 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34440 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34441 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34442 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34443 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34444 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34445 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34446 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34447 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34448 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34449 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34450 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34451 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
34452 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
34453 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
34454 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
34455 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
34456 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
34457 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
34458 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34459 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34460 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34461 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34462 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
34463 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34464 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
34465 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
34466 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
34467 (__isnanf): Likewise.
34468 (__isinf_ns): Likewise.
34469 (__isinf_nsf): Likewise.
34470 (__finite): Likewise.
34471 (__finitef): Likewise.
34472 (__ieee754_sqrt): Define as macro.
34473 (__ieee754_sqrtf): Define as macro.
34474 (__ieee754_sqrtl): Define as macro.
34475 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
34477 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
34478 __FINITE_MATH_ONLY__ consistent.
34479 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
34481 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
34483 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
34486 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
34488 2011-10-09 Ulrich Drepper <drepper@gmail.com>
34490 * po/ja.po: Update from translation team.
34492 2011-10-08 Roland McGrath <roland@hack.frob.com>
34494 * locale/programs/locarchive.c (prepare_address_space): New function.
34495 (create_archive, enlarge_archive, open_archive): Use it.
34497 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
34498 inside [SHARED], where it is used.
34500 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
34502 * nss/getent.c (netgroup_keys): Remove unused variable.
34503 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34505 2011-10-08 Ulrich Drepper <drepper@gmail.com>
34507 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
34508 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
34509 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
34510 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
34511 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
34512 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
34513 * math/Makefile (libm-calls): Add s_isinf_ns.
34514 * math/divtc3.c: Use __isinf_nsl instead of isinf.
34515 * math/multc3.c: Likewise.
34516 * math/s_casin.c: Likewise.
34517 * math/s_casinf.c: Likewise.
34518 * math/s_casinl.c: Likewise.
34519 * math/s_ccos.c: Likewise.
34520 * math/s_ccosf.c: Likewise.
34521 * math/s_ccosl.c: Likewise.
34522 * math/s_ctan.c: Likewise.
34523 * math/s_ctanf.c: Likewise.
34524 * math/s_ctanh.c: Likewise.
34525 * math/s_ctanhf.c: Likewise.
34526 * math/s_ctanhl.c: Likewise.
34527 * math/s_ctanl.c: Likewise.
34528 * math/w_fmod.c: Likewise.
34529 * math/w_fmodf.c: Likewise.
34530 * math/w_fmodl.c: Likewise.
34531 * math/w_remainder.c: Likewise.
34532 * math/w_remainderf.c: Likewise.
34533 * math/w_remainderl.c: Likewise.
34534 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
34535 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
34536 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
34537 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
34538 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
34539 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
34540 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
34541 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
34543 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
34545 * stdio-common/printf_fphex.c: Likewise.
34546 * stdio-common/printf_size.c: Likewise.
34548 * math/e_exp10.c: Include math_private.h using <...> not "...".
34549 * math/e_exp10f.c: Likewise.
34550 * math/e_exp10l.c: Likewise.
34551 * math/e_exp2l.c: Likewise.
34552 * math/e_j0l.c: Likewise.
34553 * math/e_j1l.c: Likewise.
34554 * math/e_jnl.c: Likewise.
34555 * math/e_lgammal_r.c: Likewise.
34556 * math/e_rem_pio2l.c: Likewise.
34557 * math/e_scalb.c: Likewise.
34558 * math/e_scalbf.c: Likewise.
34559 * math/e_scalbl.c: Likewise.
34560 * math/k_cosl.c: Likewise.
34561 * math/k_sinl.c: Likewise.
34562 * math/k_tanl.c: Likewise.
34563 * math/s_cacoshf.c: Likewise.
34564 * math/s_catan.c: Likewise.
34565 * math/s_catanf.c: Likewise.
34566 * math/s_catanh.c: Likewise.
34567 * math/s_catanhf.c: Likewise.
34568 * math/s_catanhl.c: Likewise.
34569 * math/s_catanl.c: Likewise.
34570 * math/s_ccosh.c: Likewise.
34571 * math/s_ccoshf.c: Likewise.
34572 * math/s_ccoshl.c: Likewise.
34573 * math/s_cexp.c: Likewise.
34574 * math/s_cexpf.c: Likewise.
34575 * math/s_cexpl.c: Likewise.
34576 * math/s_clog.c: Likewise.
34577 * math/s_clog10.c: Likewise.
34578 * math/s_clog10f.c: Likewise.
34579 * math/s_clog10l.c: Likewise.
34580 * math/s_clogf.c: Likewise.
34581 * math/s_clogl.c: Likewise.
34582 * math/s_csin.c: Likewise.
34583 * math/s_csinf.c: Likewise.
34584 * math/s_csinh.c: Likewise.
34585 * math/s_csinhf.c: Likewise.
34586 * math/s_csinhl.c: Likewise.
34587 * math/s_csinl.c: Likewise.
34588 * math/s_csqrt.c: Likewise.
34589 * math/s_csqrtf.c: Likewise.
34590 * math/s_csqrtl.c: Likewise.
34591 * math/s_ctan.c: Likewise.
34592 * math/s_ctanf.c: Likewise.
34593 * math/s_ctanh.c: Likewise.
34594 * math/s_ctanhf.c: Likewise.
34595 * math/s_ctanhl.c: Likewise.
34596 * math/s_ctanl.c: Likewise.
34597 * math/s_ldexp.c: Likewise.
34598 * math/s_ldexpf.c: Likewise.
34599 * math/s_ldexpl.c: Likewise.
34600 * math/s_significand.c: Likewise.
34601 * math/s_significandf.c: Likewise.
34602 * math/s_significandl.c: Likewise.
34603 * math/w_acos.c: Likewise.
34604 * math/w_acosf.c: Likewise.
34605 * math/w_acosh.c: Likewise.
34606 * math/w_acoshf.c: Likewise.
34607 * math/w_acoshl.c: Likewise.
34608 * math/w_acosl.c: Likewise.
34609 * math/w_asin.c: Likewise.
34610 * math/w_asinf.c: Likewise.
34611 * math/w_asinl.c: Likewise.
34612 * math/w_atan2.c: Likewise.
34613 * math/w_atan2f.c: Likewise.
34614 * math/w_atan2l.c: Likewise.
34615 * math/w_atanh.c: Likewise.
34616 * math/w_atanhf.c: Likewise.
34617 * math/w_atanhl.c: Likewise.
34618 * math/w_cosh.c: Likewise.
34619 * math/w_coshf.c: Likewise.
34620 * math/w_coshl.c: Likewise.
34621 * math/w_dremf.c: Likewise.
34622 * math/w_exp10.c: Likewise.
34623 * math/w_exp10f.c: Likewise.
34624 * math/w_exp10l.c: Likewise.
34625 * math/w_exp2.c: Likewise.
34626 * math/w_exp2f.c: Likewise.
34627 * math/w_fmod.c: Likewise.
34628 * math/w_fmodf.c: Likewise.
34629 * math/w_fmodl.c: Likewise.
34630 * math/w_hypot.c: Likewise.
34631 * math/w_hypotf.c: Likewise.
34632 * math/w_hypotl.c: Likewise.
34633 * math/w_j0.c: Likewise.
34634 * math/w_j0f.c: Likewise.
34635 * math/w_j0l.c: Likewise.
34636 * math/w_j1.c: Likewise.
34637 * math/w_j1f.c: Likewise.
34638 * math/w_j1l.c: Likewise.
34639 * math/w_jn.c: Likewise.
34640 * math/w_jnf.c: Likewise.
34641 * math/w_jnl.c: Likewise.
34642 * math/w_lgamma.c: Likewise.
34643 * math/w_lgamma_r.c: Likewise.
34644 * math/w_lgammaf.c: Likewise.
34645 * math/w_lgammaf_r.c: Likewise.
34646 * math/w_lgammal.c: Likewise.
34647 * math/w_lgammal_r.c: Likewise.
34648 * math/w_log.c: Likewise.
34649 * math/w_log10.c: Likewise.
34650 * math/w_log10f.c: Likewise.
34651 * math/w_log10l.c: Likewise.
34652 * math/w_log2.c: Likewise.
34653 * math/w_log2f.c: Likewise.
34654 * math/w_log2l.c: Likewise.
34655 * math/w_logf.c: Likewise.
34656 * math/w_logl.c: Likewise.
34657 * math/w_pow.c: Likewise.
34658 * math/w_powf.c: Likewise.
34659 * math/w_powl.c: Likewise.
34660 * math/w_remainder.c: Likewise.
34661 * math/w_remainderf.c: Likewise.
34662 * math/w_remainderl.c: Likewise.
34663 * math/w_scalb.c: Likewise.
34664 * math/w_scalbf.c: Likewise.
34665 * math/w_scalbl.c: Likewise.
34666 * math/w_sinh.c: Likewise.
34667 * math/w_sinhf.c: Likewise.
34668 * math/w_sinhl.c: Likewise.
34669 * math/w_sqrt.c: Likewise.
34670 * math/w_sqrtf.c: Likewise.
34671 * math/w_sqrtl.c: Likewise.
34672 * math/w_tgamma.c: Likewise.
34673 * math/w_tgammaf.c: Likewise.
34674 * math/w_tgammal.c: Likewise.
34676 * po/ja.po: Update from translation team.
34678 2011-09-29 Andreas Jaeger <aj@suse.de>
34681 * sunrpc/netname.c (netname2host): Fix logic.
34685 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
34687 * math/w_remainder.c (__remainder): Likewise.
34688 * math/w_remainderf.c (__remainderf): Likewise.
34689 * math/libm-test.inc (remainder_test): Add test cases.
34691 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34693 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
34696 2011-10-07 Ulrich Drepper <drepper@gmail.com>
34698 * string/test-memcmp.c: Avoid unncessary #defines.
34699 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34701 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34703 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
34704 Use new sse2 version for core i3 - i7 as it's faster
34705 than sse42 version.
34706 (bit_Prefer_PMINUB_for_stringop): New.
34707 * sysdeps/x86_64/rawmemchr.S: Update.
34708 Replace with faster SSE2 version.
34709 * sysdeps/x86_64/memrchr.S: New file.
34710 * sysdeps/x86_64/memchr.S: Update.
34711 Replace with faster SSE2 version.
34713 2011-09-12 Marek Polacek <mpolacek@redhat.com>
34715 * elf/dl-load.c (lose): Add cast to avoid warning.
34717 2011-10-07 Ulrich Drepper <drepper@gmail.com>
34719 * po/ca.po: Update from translation team.
34721 * inet/getnetgrent_r.c: Hook up nscd.
34722 * nscd/Makefile (routines): Add nscd_netgroup.
34723 (nscd-modules): Add netgroupcache.
34724 (CFLAGS-netgroupcache.c): Define.
34725 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34726 (cache_search): Add const to second parameter.
34727 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34729 (dbs): Add netgrdb entry.
34730 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34731 (verify_persistent_db): Handle netgrdb.
34732 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34733 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34735 (netgroup_response_header): Define.
34736 (innetgroup_response_header): Define.
34737 (datahead): Add netgroup_response_header and innetgroup_response_header
34739 * nscd/nscd.conf: Add entries for netgroup cache.
34740 * nscd/nscd.h (dbtype): Add netgrdb.
34741 (_PATH_NSCD_NETGROUP_DB): Define.
34742 (netgroup_iov_disabled): Declare.
34743 (xmalloc, xcalloc, xrealloc): Move declarations here.
34744 (cache_search): Adjust prototype.
34745 Add netgroup-related prototypes.
34746 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34747 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34748 (__nscd_innetgr): Declare.
34749 * nscd/selinux.c (perms): Use access_vector_t as element type and
34750 add netgroup-related initializers.
34751 * nscd/netgroupcache.c: New file.
34752 * nscd/nscd_netgroup.c: New file.
34753 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34754 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34755 For four parameters use innetgr.
34756 * nss/nss_files/files-init.c: Add definition and callback for netgr.
34757 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34758 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34759 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34761 * nscd/connections.c (register_traced_file): Don't register file
34762 for disabled databases.
34764 2011-10-06 Ulrich Drepper <drepper@gmail.com>
34766 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34768 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34769 from tree and freeing node.
34771 2011-09-25 Jiri Olsa <jolsa@redhat.com>
34773 * nss/nsswitch.c (__nss_database_lookup): Handle
34774 nss_parse_service_list out of memory case.
34776 2011-09-15 Jiri Olsa <jolsa@redhat.com>
34778 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34779 out of memory case.
34781 2011-10-04 Andreas Schwab <schwab@redhat.com>
34783 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34784 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34786 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34787 elf_machine_rela, elf_machine_lazy_rel.
34788 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34789 (ELF_DYNAMIC_DO_REL): Likewise.
34790 (ELF_DYNAMIC_DO_RELA): Likewise.
34791 (ELF_DYNAMIC_RELOCATE): Likewise.
34792 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34793 to ELF_DYNAMIC_DO_REL.
34794 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34795 (dl_main): In trace mode always set __RTLD_NOIFUNC.
34796 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34798 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34799 skip_ifunc, don't call ifunc function if non-zero.
34800 (elf_machine_rela): Likewise.
34801 (elf_machine_lazy_rel): Likewise.
34802 (elf_machine_lazy_rela): Likewise.
34803 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34804 (elf_machine_lazy_rel): Likewise.
34805 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34807 (elf_machine_lazy_rel): Likewise.
34808 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34810 (elf_machine_lazy_rel): Likewise.
34811 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34812 (elf_machine_lazy_rel): Likewise.
34813 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34814 (elf_machine_lazy_rel): Likewise.
34815 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34816 (elf_machine_lazy_rel): Likewise.
34817 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34818 (elf_machine_lazy_rel): Likewise.
34819 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34820 (elf_machine_lazy_rel): Likewise.
34821 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34822 (elf_machine_lazy_rel): Likewise.
34824 2011-09-28 Ulrich Drepper <drepper@gmail.com>
34826 * nss/nss_files/files-init.c (_nss_files_init): Use static
34827 initialization for all the *_traced_file variables.
34829 2011-09-28 Andreas Schwab <schwab@redhat.com>
34831 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34833 2011-09-27 Roland McGrath <roland@hack.frob.com>
34836 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34838 2011-09-27 Andreas Schwab <schwab@redhat.com>
34840 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34841 Reread the line before reparsing it.
34843 2011-09-26 Andreas Schwab <schwab@redhat.com>
34845 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34847 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
34848 Maxim Kuvyrkov <maxim@codesourcery.com>
34849 Joseph Myers <joseph@codesourcery.com>
34851 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34852 if needed for __stack_chk_guard.
34854 2011-09-19 Roland McGrath <roland@hack.frob.com>
34856 * sysdeps/posix/spawni.c (script_execute): Always define it.
34857 It will be optimized away if unused.
34858 (maybe_script_execute): New function.
34859 (__spawni): Call it.
34861 * Makerules: Don't include tls.make.
34862 (config-tls): Always set to thread.
34863 * tls.make.c: File removed.
34865 2011-09-19 Mike Frysinger <vapier@gentoo.org>
34867 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34868 * config.make.in (CPPFLAGS-config): New substituted variable.
34870 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34872 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34875 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34876 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34878 2011-09-15 Roland McGrath <roland@hack.frob.com>
34880 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34881 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34882 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34883 (CALL_FAIL): Likewise.
34884 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34885 (CALL_FAIL): Macro removed.
34886 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34888 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34890 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34891 for __FINITE_MATH_ONLY__ == 1.
34893 2011-09-15 Andreas Schwab <schwab@redhat.com>
34895 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34896 __ieee754_sqrt instead of sqrt.
34897 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34898 __ieee754_sqrtf instead of sqrtf.
34899 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34900 __floorf instead of floorf.
34901 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34902 __floorf, __truncf instead of floorf, truncf.
34904 2011-09-14 Ulrich Drepper <drepper@gmail.com>
34906 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34908 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34909 __extern_always_inline.
34910 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34913 2011-09-14 Andreas Schwab <schwab@redhat.com>
34915 * elf/rtld.c (dl_main): Also relocate in dependency order when
34916 doing symbol dependency testing.
34918 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
34920 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34921 Always define `refsym'.
34923 2011-09-13 Andreas Schwab <schwab@redhat.com>
34925 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34926 (__FD_ELT): Renamed from __FDELT.
34927 * misc/bits/select2.h (__FD_ELT): Likewise.
34928 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34929 __FD_MASK instead of __FDELT, __FDMASK.
34930 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34932 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34935 * elf/Makefile (gen-ldd): Fix pattern.
34937 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34938 (init_tls): Likewise.
34940 2011-09-12 Ulrich Drepper <drepper@gmail.com>
34942 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34944 2011-09-12 Andreas Schwab <schwab@redhat.com>
34946 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34947 `struct cmsghdr *' instead of `void *'.
34948 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34951 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
34953 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34955 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34956 ldd_rewrite_script.
34958 2011-09-11 Ulrich Drepper <drepper@gmail.com>
34960 * configure.in: Remove --with-tls option.
34961 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34962 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34963 out in case it is missing.
34964 * sysdeps/ia64/elf/configure.in: Likewise.
34965 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34966 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34967 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34968 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34969 * sysdeps/sh/elf/configure.in: Likewise.
34970 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34971 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34972 * sysdeps/x86_64/elf/configure.in: Likewise.
34973 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34974 * sysdeps/mach/hurd/tls.h: Likewise.
34977 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34980 * configure.in: Fix use of AC_INIT.
34982 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34984 2011-09-10 Ulrich Drepper <drepper@gmail.com>
34986 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34988 * malloc/hooks.c: Likewise.
34991 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
34992 variables statically.
34993 (narenas): Initialize.
34994 (list_lock): Initialize.
34995 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
34996 initializtion of main_arena and list_lock. Small cleanups.
34997 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34998 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
34999 Add initializers to main_arena and mp_.
35000 (malloc_state): Remove pagesize member. Change all users to use
35003 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
35004 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
35005 is always initialized.
35007 * malloc/malloc.c: Removed unused configurations and dead code.
35008 * malloc/arena.c: Likewise.
35009 * malloc/hooks.c: Likewise.
35010 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
35012 * include/tls.h: Removed. USE___THREAD must always be defined.
35013 * bits/libc-tsd.h: Don't handle !USE___THREAD.
35014 * elf/dl-libc.c: Likewise.
35015 * elf/dl-tsd.c: Likewise.
35016 * include/errno.h: Likewise.
35017 * include/netdb.h: Likewise.
35018 * include/resolv.h: Likewise.
35019 * inet/herrno-loc.c: Likewise.
35020 * inet/herrno.c: Likewise.
35021 * malloc/arena.c: Likewise.
35022 * malloc/hooks.c: Likewise.
35023 * malloc/malloc.c: Likewise.
35024 * resolv/res-state.c: Likewise.
35025 * resolv/res_libc.c: Likewise.
35026 * sysdeps/i386/dl-machine.h: Likewise.
35027 * sysdeps/ia64/dl-machine.h: Likewise.
35028 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35029 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35030 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35031 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35032 * sysdeps/sh/dl-machine.h: Likewise.
35033 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35034 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35035 * sysdeps/unix/i386/sysdep.S: Likewise.
35036 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35037 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35038 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35039 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35040 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35041 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35042 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35043 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35044 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35045 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35046 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35047 * sysdeps/x86_64/dl-machine.h: Likewise.
35048 * tls.make.c: Likewise.
35050 * configure.in: Remove --with-__thread option. Make tests for
35051 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
35052 tls_model attribute fail if no support is available. Remove
35054 * Makeconfig: Adjust for dropped configure option. All features are
35056 * Makerules: Likewise.
35057 * Versions.def: Likewise.
35058 * argp/argp-fmtstream.c: Likewise.
35059 * argp/argp-fmtstream.h: Likewise.
35060 * argp/argp-help.c: Likewise.
35061 * assert/assert.c: Likewise.
35062 * config.h.in: Likewise.
35063 * config.make.in: Likewise.
35064 * configure: Likewise.
35065 * configure.in: Likewise.
35066 * csu/Versions: Likewise.
35067 * csu/init.c: Likewise.
35068 * elf/tst-audit2.c: Likewise.
35069 * elf/tst-tls10.c: Likewise.
35070 * elf/tst-tls10.h: Likewise.
35071 * elf/tst-tls11.c: Likewise.
35072 * elf/tst-tls12.c: Likewise.
35073 * elf/tst-tls14.c: Likewise.
35074 * elf/tst-tlsmod11.c: Likewise.
35075 * elf/tst-tlsmod12.c: Likewise.
35076 * elf/tst-tlsmod13.c: Likewise.
35077 * elf/tst-tlsmod13a.c: Likewise.
35078 * elf/tst-tlsmod14a.c: Likewise.
35079 * elf/tst-tlsmod15b.c: Likewise.
35080 * elf/tst-tlsmod16a.c: Likewise.
35081 * elf/tst-tlsmod16b.c: Likewise.
35082 * elf/tst-tlsmod7.c: Likewise.
35083 * elf/tst-tlsmod8.c: Likewise.
35084 * elf/tst-tlsmod9.c: Likewise.
35085 * gmon/gmon.c: Likewise.
35086 * grp/fgetgrent_r.c: Likewise.
35087 * grp/putgrent.c: Likewise.
35088 * hurd/fopenport.c: Likewise.
35089 * include/libc-symbols.h: Likewise.
35090 * include/tls.h: Likewise.
35091 * intl/gettextP.h: Likewise.
35092 * intl/loadinfo.h: Likewise.
35093 * locale/global-locale.c: Likewise.
35094 * locale/localeinfo.h: Likewise.
35095 * mach/devstream.c: Likewise.
35096 * malloc/arena.c: Likewise.
35097 * malloc/set-freeres.c: Likewise.
35098 * misc/err.c: Likewise.
35099 * misc/getttyent.c: Likewise.
35100 * misc/mntent_r.c: Likewise.
35101 * posix/getopt.c: Likewise.
35102 * posix/wordexp.c: Likewise.
35103 * pwd/fgetpwent_r.c: Likewise.
35104 * resolv/Versions: Likewise.
35105 * resolv/res_hconf.c: Likewise.
35106 * shadow/fgetspent_r.c: Likewise.
35107 * shadow/putspent.c: Likewise.
35108 * stdio-common/printf_fphex.c: Likewise.
35109 * stdio-common/tmpfile.c: Likewise.
35110 * stdlib/abort.c: Likewise.
35111 * stdlib/fmtmsg.c: Likewise.
35112 * sunrpc/auth_unix.c: Likewise.
35113 * sunrpc/clnt_perr.c: Likewise.
35114 * sunrpc/clnt_tcp.c: Likewise.
35115 * sunrpc/clnt_udp.c: Likewise.
35116 * sunrpc/clnt_unix.c: Likewise.
35117 * sunrpc/openchild.c: Likewise.
35118 * sunrpc/svc_simple.c: Likewise.
35119 * sunrpc/svc_tcp.c: Likewise.
35120 * sunrpc/svc_udp.c: Likewise.
35121 * sunrpc/svc_unix.c: Likewise.
35122 * sunrpc/xdr.c: Likewise.
35123 * sunrpc/xdr_array.c: Likewise.
35124 * sunrpc/xdr_rec.c: Likewise.
35125 * sunrpc/xdr_ref.c: Likewise.
35126 * sunrpc/xdr_stdio.c: Likewise.
35128 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35130 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35132 2011-07-03 Andreas Jaeger <aj@suse.de>
35134 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
35135 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
35136 regenerate with gen-libm-tests.pl.
35138 2010-05-12 Petr Baudis <pasky@suse.cz>
35141 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
35142 around j0() zero points by switching to j1().
35143 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35144 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35145 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35146 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35148 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35150 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
35152 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
35154 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35155 Patch in part by Pavel Roskin <proski@gnu.org>.
35158 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
35160 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
35161 Free memory block if necessary.
35164 * libio/genops.c (INTDEF): For string streams the _lock pointer can
35165 be NULL. Don't lock in this case.
35167 2011-09-09 Roland McGrath <roland@hack.frob.com>
35169 * elf/elf.h (ELFOSABI_GNU): New macro.
35170 (ELFOSABI_LINUX): Define to that.
35172 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
35174 * string/strncat.c (strncat): Undef the symbol in case it has been
35175 defined in bits/string.h.
35177 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35179 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
35181 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
35184 2011-08-17 Andreas Jaeger <aj@suse.de>
35186 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
35188 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
35189 Ian Lance Taylor <iant@google.com>
35191 * math/libm-test.inc (lround_test): New testcase.
35192 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
35194 2011-09-08 Ulrich Drepper <drepper@gmail.com>
35196 * Makefile: Remove support for automatic cvs check-ins.
35197 * Makerules: Likewise.
35198 * config.make.in: Likewise.
35199 * configure.in: Likewise.
35200 * intl/Makefile: Likewise.
35201 * locale/Makefile: Likewise.
35202 * po/Makefile: Likewise.
35203 * posix/Makefile: Likewise.
35204 * sysdeps/gnu/Makefile: Likewise.
35205 * sysdeps/mach/hurd/Makefile: Likewise.
35206 * sysdeps/sparc/sparc32/Makefile: Likewise.
35209 * posix/Makefile (bug-regex32-ENV): Define.
35210 Patch by John Stanley <jpsinthemix@verizon.net>.
35212 * misc/Makefile (headers): Add bits/select2.h.
35213 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
35214 * misc/bits/select2.h: New file.
35215 * include/bits/select2.h: New file.
35216 * debug/Makefile (routines): Add fdelt_chk.
35217 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
35218 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
35220 * debug/fdelt_chk.c: New file.
35222 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
35223 * wcsmbs/test-wmemcmp.c: Likewise.
35224 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
35225 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
35227 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35229 * string/Makefile (strop-tests): Add memcmp.
35230 * string/test-wmemcmp.c: New file.
35231 * string/test-memcmp.c: Add wmemcmp support.
35233 2011-09-08 Roland McGrath <roland@hack.frob.com>
35236 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
35239 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
35240 garbage value in a __mach_port_mod_refs call in the cases of the
35241 task-self and thread-self ports.
35243 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35245 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
35247 2011-09-08 Andreas Schwab <schwab@redhat.com>
35249 * elf/dl-load.c (lose): Check for non-null L.
35251 2011-09-07 Ulrich Drepper <drepper@gmail.com>
35253 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
35255 * elf/dl-libc.c (dlerror_run): Pass back error code from
35259 * elf/dl-load.c (lose): Free l_origin if it is valid.
35261 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
35263 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35264 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35265 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35266 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35267 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35268 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
35270 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35272 * sysdeps/powerpc/fpu/e_hypot.c: New file.
35273 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
35274 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
35275 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
35276 * sysdeps/powerpc/fpu/k_cosf.c: New file.
35277 * sysdeps/powerpc/fpu/k_sinf.c: New file.
35278 * sysdeps/powerpc/fpu/s_cosf.c: New file.
35279 * sysdeps/powerpc/fpu/s_sinf.c: New file.
35280 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
35281 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
35283 2011-08-15 Alan Modra <amodra@gmail.com>
35286 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
35287 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
35288 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
35289 ppc_mcount to static-only-routines.
35290 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
35292 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
35293 __mcount_internal with usual JUMPTARGET. Remove useless nop.
35295 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
35297 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
35298 for finite and infinity parameters.
35300 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35302 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
35303 and add nop instructions for throughput optimization.
35304 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35306 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
35308 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
35309 aligned copy for power7 with vector-scalar instructions.
35310 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
35312 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
35314 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
35317 2011-09-07 Andreas Schwab <schwab@redhat.com>
35320 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
35323 2011-09-07 Ulrich Drepper <drepper@gmail.com>
35325 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35326 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
35327 syscall wrapper around clock_gettime in __vdso_clock_gettime.
35328 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
35331 2011-09-06 Ulrich Drepper <drepper@gmail.com>
35333 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
35334 Forgot to demangle the pointer.
35336 * sysdeps/i386/sysdep.h: Define atom_text_section.
35337 * sysdeps/x86_64/sysdep.h: Likewise.
35338 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
35339 section with atom_text_section.
35340 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35341 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35342 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
35343 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35344 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
35346 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
35347 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
35348 already be defined. Change to take two parameters and don't assign
35349 result to variable. Adjust all users.
35350 Define INTERNAL_GETTIME if not already defined.
35351 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
35353 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
35354 HAVE_CLOCK_GETTIME_VSYSCALL.
35355 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
35357 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
35358 gettimeofday vsyscall, just use time.
35360 2011-09-06 Andreas Schwab <schwab@redhat.com>
35362 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
35365 2011-09-06 Ulrich Drepper <drepper@gmail.com>
35367 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
35369 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
35371 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35372 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
35373 syscall if possible.
35375 2011-09-05 Ulrich Drepper <drepper@gmail.com>
35377 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
35378 e_ident. Don't pass to find_mapsXX.
35379 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
35381 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35383 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35384 strchr-sse2-no-bsf strrchr-sse2-no-bsf
35385 * sysdeps/x86_64/multiarch/strchr.S: Update.
35386 Check bit_slow_BSF bit.
35387 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35388 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
35389 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
35391 2011-09-05 Ulrich Drepper <drepper@gmail.com>
35394 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
35396 (tryshell): Define.
35397 (__spawni): Change last parameter to be flag. Test
35398 SPAWN_XFLAGS_USE_PATH flag to use path or not.
35399 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
35400 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
35401 * posix/spawni.c: Likewise.
35402 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
35403 * posix/spawnp.c: Likewise. Change normal version to use
35404 SPAWN_XFLAGS_USE_PATH.
35405 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
35406 SPAWN_XFLAGS_TRY_SHELL.
35409 * posix/glob.h: Remove gcc 1.x support.
35412 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
35414 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35416 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35417 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
35419 * sysdeps/i386/i686/multiarch/strchr.S: New file.
35420 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
35421 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
35422 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
35423 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
35424 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
35426 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35428 * sysdeps/x86_64/wcscmp.S: New file.
35430 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
35431 wcscmp-c wcscmp-sse2
35432 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
35433 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
35434 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
35435 * wcsmbs/wcscmp.c: Allow renaming.
35437 2011-09-05 David S. Miller <davem@davemloft.net>
35439 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
35440 stack slot, rather than the struct return pointer slot.
35441 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
35442 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
35443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
35444 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
35446 2011-09-05 Ulrich Drepper <drepper@gmail.com>
35448 * po/ja.po: Update from translation team.
35451 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
35452 kernel in 64-bit binaries.
35454 2011-09-01 David S. Miller <davem@davemloft.net>
35456 * elf/elf.h (HWCAP_SPARC_*): Move to..
35457 * sysdeps/sparc/sysdep.h: this new file and add new values.
35458 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
35459 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
35460 _DL_HWCAP_COUNT to 24.
35461 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35463 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
35464 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
35465 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
35466 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
35467 instead of magic constants.
35468 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35470 2011-08-31 David S. Miller <davem@davemloft.net>
35472 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
35473 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
35474 Reimplement to do errno handling inline.
35475 (SYSCALL_ERROR_HANDLER): New macro.
35476 (__SYSCALL_STRING): Do not do errno handling in asm.
35477 (__CLONE_SYSCALL_STRING): Delete.
35478 (__INTERNAL_SYSCALL_STRING): Delete.
35479 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
35480 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
35481 (PSEUDO): Reimplement to do errno handling inline.
35482 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
35483 (SYSCALL_ERROR_HANDLER): New macro.
35484 (__SYSCALL_STRING): Do not do errno handling in asm.
35485 (__CLONE_SYSCALL_STRING): Delete.
35486 (__INTERNAL_SYSCALL_STRING): Delete.
35487 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
35488 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
35490 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
35491 (inline_syscall*): Add 'err' argument.
35492 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
35493 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
35494 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
35495 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
35497 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
35498 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35500 2011-08-30 Andreas Schwab <schwab@redhat.com>
35502 * elf/rtld.c (dl_main): Relocate objects in dependency order.
35504 2011-08-29 Jiri Olsa <jolsa@redhat.com>
35506 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
35509 2011-08-24 David S. Miller <davem@davemloft.net>
35511 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
35513 2011-08-24 Andreas Schwab <schwab@redhat.com>
35515 * elf/Makefile: Add rules to build and run unload8 test.
35516 * elf/unload8.c: New file.
35517 * elf/unload8mod1.c: New file.
35518 * elf/unload8mod1x.c: New file.
35519 * elf/unload8mod2.c: New file.
35520 * elf/unload8mod3.c: New file.
35522 * elf/dl-close.c (_dl_close_worker): Reset private search list if
35525 2011-08-23 David S. Miller <davem@davemloft.net>
35527 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
35528 subtract stack bias.
35529 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
35530 %sp not %fp in calculations.
35531 (_JMPBUF_UNWINDS_ADJ): Likewise.
35533 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
35534 (aio_suspend): Call it to force an exception region around the
35535 AIO_MISC_WAIT() invocation.
35537 2011-08-23 Andreas Schwab <schwab@redhat.com>
35539 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
35542 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
35544 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
35546 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
35547 and <dl-machine.h>.
35548 (Elf64_FuncDesc): Remove.
35550 2011-08-22 David S. Miller <davem@davemloft.net>
35552 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
35553 sigaltstack check, add missing cfi directives.
35554 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
35555 missing cfi directives, and sigaltstack handling.
35557 2011-08-16 Andreas Schwab <schwab@redhat.com>
35560 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
35561 object is seen twice.
35562 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35564 * elf/Makefile (distribute): Add tst-initorder2.c.
35565 (tests): Add tst-initorder2.
35566 (modules-names): Add tst-initorder2a tst-initorder2b
35567 tst-initorder2c tst-initorder2d. Add rules to build them.
35568 ($(objpfx)tst-initorder2.out): New rule.
35569 * elf/tst-initorder2.c: New file.
35570 * elf/tst-initorder2.exp: New file.
35572 2011-08-22 Andreas Schwab <schwab@redhat.com>
35574 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
35576 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
35577 dependencies back to end of function.
35579 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35580 $(elfobjdir)/ld.so.
35582 2011-08-21 Ulrich Drepper <drepper@gmail.com>
35584 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
35585 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
35586 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
35587 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
35588 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
35589 of __vdso_gettimeofday.
35590 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
35591 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
35593 (_libc_vdso_platform_setup): Remove initialization of
35594 __vdso_gettimeofday and __vdso_time.
35596 2011-08-20 Ulrich Drepper <drepper@gmail.com>
35598 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
35599 and fgetc_unlocked.
35600 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
35603 * elf/dl-open.c (add_to_global): Report additions to the global scope
35604 for LD_DEBUG=scopes.
35605 (dl_open_worker): Also print scope of newly loaded dependencies.
35606 (_dl_show_scope): Indicate if there is no scope.
35609 * stdio-common/Makefile (tests): Add bug24.
35610 * stdio-common/bug24.c: New file.
35612 2011-08-19 Andreas Jaeger <aj@suse.de>
35615 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
35616 non-existant file when using close-on-exec mode.
35618 2011-08-20 Ulrich Drepper <drepper@gmail.com>
35620 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
35621 the very first instruction.
35623 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
35624 the CFI state in the end.
35625 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
35626 inclusion of dl-trampoline.h.
35627 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
35629 2011-08-19 Andreas Schwab <schwab@redhat.com>
35631 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
35632 expectations for long double.
35634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
35635 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
35637 2011-08-14 David S. Miller <davem@davemloft.net>
35639 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
35640 artificual limit depends upon the system page size.
35642 2011-08-17 Ulrich Drepper <drepper@gmail.com>
35644 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
35645 * resolv/Makefile: Define CFLAGS-libresolv.
35647 2011-08-17 Andreas Schwab <schwab@redhat.com>
35649 * nss/makedb.c (compute_tables): Make variables used in nested
35652 2011-08-17 Ulrich Drepper <drepper@gmail.com>
35654 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
35655 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
35656 if buffer was too small.
35658 * elf/pldd.c (main): Attach to all threads in the process.
35659 Rewrite /proc handling to use *at functions.
35661 2011-08-16 Ulrich Drepper <drepper@gmail.com>
35663 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
35664 specifies first scope to show.
35665 (dl_open_worker): Update callers. Move printing scope of new
35666 object to before the relocation.
35667 * elf/rtld.c (dl_main): Update _dl_show_scope call.
35668 * sysdeps/generic/ldsodefs.h: Update declaration.
35670 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
35671 string for the scope number.
35673 2011-08-14 Ulrich Drepper <drepper@gmail.com>
35675 * nscd/servicescache.c (cache_addserv): Make sure written is always
35678 2011-08-14 Roland McGrath <roland@hack.frob.com>
35680 * sysdeps/i386/i486/bits/atomic.h
35681 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
35682 statement expression, so as to suppress "set but not used" warning.
35683 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
35685 * string/strncat.c (STRNCAT): Use prototype definition.
35687 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
35688 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
35690 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
35691 (localedef-modules): Add localedef.
35692 (locale-modules): Add locale.
35694 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
35695 * elf/rtld.c (dl_main): Invert order of assignment in last change,
35696 to avoid a warning.
35698 2011-08-14 David S. Miller <davem@davemloft.net>
35700 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
35701 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35703 2011-08-13 Ulrich Drepper <drepper@gmail.com>
35705 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
35706 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
35707 * elf/rtld.c (dl_main): Set l_name of vDSO.
35708 Call _dl_show_scope when DL_DEBUG_SCOPES.
35709 (process_dl_debug): Recognize scopes flag and also set it for all.
35710 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
35711 Declare _dl_show_scope.
35713 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
35714 (do_dlopen): Pass caller_dlopen to dl_open.
35715 (__libc_dlopen_mode): Initialize caller_dlopen.
35717 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
35718 of libc. Make tolower call locale-independent. Optimize a bit by
35719 using isdigit instead of isalnum.
35720 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
35722 2011-08-12 Ulrich Drepper <drepper@gmail.com>
35724 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35725 was a dependency or dynamically loaded.
35727 2011-08-11 Ulrich Drepper <drepper@gmail.com>
35729 * intl/l10nflist.c: Allow architecture-specific pop function.
35730 * sysdeps/x86_64/l10nflist.c: New file.
35732 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35735 2011-08-10 Andreas Schwab <schwab@redhat.com>
35737 * include/dirent.h: Add libc_hidden_proto for scandirat and
35738 scandirat64. Don't declare __scandirat64.
35739 * dirent/scandirat.c: Add libc_hidden_def.
35740 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35741 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35743 2011-08-10 David S. Miller <davem@davemloft.net>
35745 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35747 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35748 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35749 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35751 2011-08-09 Ulrich Drepper <drepper@gmail.com>
35753 * Versions.def [libc]: Add GLIBC_2.15.
35754 * dirent/Makefile (routines): Add scandirat and scandirat64.
35755 * dirent/Versions [libc]: Export scandirat and scandirat64 for
35757 * dirent/dirent.h: Declare scandirat and scandirat64.
35758 * dirent/scandirat.c: New file.
35759 * dirent/scandirat64.c: New file.
35760 * sysdeps/wordsize-64/scandirat.c: New file.
35761 * sysdeps/wordsize-64/scandirat64.c: New file.
35762 * dirent/opendir.c: Define opendirat.
35763 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
35765 * dirent/scandir64.c: Adjust for scandir.c change.
35766 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
35767 __scandirat64, and __scandir_cancel_handler.
35768 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
35769 additional parameter and use openat instead of open (outside of ld.so).
35770 Add new __opendir as wrapper around __opendirat.
35771 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35772 here without requiring old scandirat implementation.
35774 2011-08-08 Ulrich Drepper <drepper@gmail.com>
35776 * dirent/scandir.c (cancel_handler): Renamed to
35777 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
35778 defined. Adjust users.
35779 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35780 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35782 2011-08-04 Ulrich Drepper <drepper@gmail.com>
35784 * string/test-string.h (IMPL): Use __STRING to expand name and then
35787 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
35790 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35792 * string/Makefile: Update.
35793 (strop-tests): Append strncat.
35794 * string/test-wcscmp.c: New file.
35795 New comprehensive test for wcscmp.
35796 * string/test-strcmp.c: Update.
35797 (WIDE): New define.
35799 2011-07-22 Andreas Schwab <schwab@redhat.com>
35801 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35804 2011-07-26 Andreas Schwab <schwab@redhat.com>
35806 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35807 encoding to ACE if AI_IDN.
35809 2011-08-01 Jakub Jelinek <jakub@redhat.com>
35811 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35812 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35814 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35816 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35817 Fix overflow bug in strncat.
35818 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35820 * string/test-strncat.c: Update.
35821 Add new tests for checking overflow bugs.
35823 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35825 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35826 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35827 * sysdeps/i386/i686/multiarch/strcat.S: New file.
35828 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35829 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35830 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35831 * sysdeps/i386/i686/multiarch/strncat.S: New file.
35832 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35833 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35835 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35836 (USE_AS_STRCAT): Define.
35837 Add strcat and strncat support.
35838 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35840 2011-07-25 Andreas Schwab <schwab@redhat.com>
35842 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35843 __n bigger than INT_MAX+1.
35844 (__strncmp_g): Likewise.
35846 2011-07-23 Ulrich Drepper <drepper@gmail.com>
35848 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35849 * libio/stido.h: Likewise.
35851 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35853 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35856 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35857 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35858 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35859 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35860 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35863 * scripts/test-installation.pl: Don't expect libnss_test1 to be
35866 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35868 (_dl_x86_64_save_sse): Likewise.
35870 2011-07-22 Ulrich Drepper <drepper@gmail.com>
35872 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35874 (_dl_x86_64_save_sse): Likewise.
35876 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35878 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35880 2011-07-21 Andreas Schwab <schwab@redhat.com>
35882 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35884 (_dl_x86_64_save_sse): Use correct AVX check.
35886 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35888 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35889 bug in strncpy/strncat.
35890 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35892 2011-07-21 Ulrich Drepper <drepper@gmail.com>
35894 * string/tester.c (test_strcat): Add tests for different alignments
35895 of source and destination.
35896 (test_strncat): Likewise.
35898 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35901 * posix/glob.c (glob): Check passed in values before using them in
35902 expressions to avoid some overflows.
35903 (glob_in_dir): Likewise.
35906 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35907 check for AVX enablement so that we don't crash with old kernels and
35909 * elf/tst-audit4.c: Add same checks here.
35910 * elf/tst-audit6.c: Likewise.
35912 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35914 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
35916 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35918 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35920 * po/cs.po: Update from translation team.
35921 * po/bg.po: Likewise.
35923 2011-07-12 Marek Polacek <mpolacek@redhat.com>
35925 * misc/sys/cdefs.h: Add support for const attribute.
35926 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35927 to gnu_dev_{major,minor,makedev} functions.
35929 2011-07-20 Marek Polacek <mpolacek@redhat.com>
35931 * intl/dcigettext.c (get_output_charset): Add missing bracket.
35933 2011-07-20 Andreas Schwab <schwab@redhat.com>
35935 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35938 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35940 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35941 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35942 register in order to avoid conflicts with the soft frame pointer
35943 being held in r11 when necessary.
35944 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35945 (INTERNAL_VSYSCALL_NCS): Likewise.
35947 2011-07-14 Marek Polacek <mpolacek@redhat.com>
35949 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35950 * elf/dl-fini.c (_dl_fini): Adjust caller.
35951 * elf/dl-close.c (_dl_close_worker): Likewise.
35952 * sysdeps/generic/ldsodefs.h: Adjust declaration.
35954 2011-07-15 Marek Polacek <mpolacek@redhat.com>
35956 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35957 "aux_cache->nlibs < 0".
35959 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35960 in the reload-count case.
35962 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35964 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35965 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35966 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35967 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35968 * sysdeps/x86_64/multiarch/strcat.S: New file.
35969 * sysdeps/x86_64/multiarch/strncat.S: New file.
35970 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35971 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35972 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35973 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35974 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35975 (USE_AS_STRCAT): Define.
35976 Add strcat and strncat support.
35977 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35978 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35979 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35980 * string/strncat.c: Update.
35981 (USE_AS_STRNCAT): Define.
35982 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35983 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35985 * sysdeps/x86_64/multiarch/init-arch.h
35986 (bit_Prefer_PMINUB_for_stringop): New.
35987 (index_Prefer_PMINUB_for_stringop): Likewise.
35988 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35989 bit_Prefer_PMINUB_for_stringop.
35991 2011-07-19 Ulrich Drepper <drepper@gmail.com>
35993 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35995 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35996 of casting of buffer.
35997 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35998 buffer32 and buffer64.
35999 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
36000 writes instead of casting of buffer.
36001 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
36003 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
36006 2011-07-19 Andreas Schwab <schwab@redhat.com>
36008 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36010 2011-07-19 Ulrich Drepper <drepper@gmail.com>
36012 * nscd/nscd.c (termination_handler): Don't do anything for a database
36013 if it has not yet been initialized.
36015 2011-07-18 Ulrich Drepper <drepper@gmail.com>
36017 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36019 2011-07-15 Marek Polacek <mpolacek@redhat.com>
36021 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36023 2011-07-18 Ulrich Drepper <drepper@gmail.com>
36025 * po/nl.po: Update from translation team.
36026 * po/sv.po: Likewise.
36028 2011-07-16 Roland McGrath <roland@hack.frob.com>
36030 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36031 now disallowed by GCC.
36033 * configure.in (use-default-link): Default to yes if a test -shared
36034 link meets our qualifications.
36035 * configure: Regenerated.
36037 * config.make.in (output-format): New variable.
36038 * configure.in: Check for ld --print-output-format support.
36039 * configure: Regenerated.
36040 * Makerules ($(common-objpfx)format.lds)
36041 [$(output-format) != unknown]: Just use $(output-format),
36042 instead of the linker-script munging.
36044 2011-07-14 Roland McGrath <roland@hack.frob.com>
36046 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36047 of $(common-objpfx)shlib.lds.
36048 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
36050 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36051 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36053 * configure.in (-z relro check): Adjust test code to add a large
36054 writable data section after it.
36055 * configure: Regenerated.
36057 2011-07-11 Roland McGrath <roland@hack.frob.com>
36059 * configure.in (-z relro check): Fix test code to make the variable
36061 * configure: Regenerated.
36063 2011-07-11 Ulrich Drepper <drepper@gmail.com>
36065 * nscd/nscd.h (struct traced_file): Define.
36066 (struct database_dyn): Remove inotify_descr, reset_res, and filename
36067 elements. Add traced_files.
36068 (inotify_fd): Declare.
36069 (register_traced_file): Declare.
36070 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
36071 (inotify_fd): Export.
36072 (resolv_conf_descr): Remove.
36073 (nscd_init): Move inotify descriptor creation to main.
36074 Don't register files for notification here.
36075 (register_traced_file): New function.
36076 (invalidate_cache): Don't use reset_res to determine whether to call
36077 res_init, go through the list of registered files.
36078 (main_loop_poll): The inotify descriptors are now stored in the
36079 structures for the traced files.
36080 (main_loop_epoll): Likewise
36081 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
36082 to __nss_disable_nscd.
36083 * nscd/cache.c (prune_cache): There is no single inotify descriptor
36084 for a database anymore. Check the records for all the registered
36086 * nss/Makefile (libnss_files-routines): Add files-init.
36087 (libnss_db-routines): Add db-init.
36088 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
36089 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
36090 * nss/nss_db/db-init.c: New file.
36091 * nss/nss_files/files-init.c: New file.
36092 * nss/nsswitch.c (nss_load_library): New function. Broken out of
36093 __nss_lookup_function.
36094 (__nss_lookup_function): Call nss_load_library.
36095 (nss_load_all_libraries): New function.
36096 (__nss_disable_nscd): Take parameter with callback function for files
36097 to register. Set is_nscd. Load all the DSOs for the NSS modules
36098 used for the cached services.
36099 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
36100 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
36101 options for features to all the files in nscd.
36103 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
36105 2011-07-10 Roland McGrath <roland@hack.frob.com>
36107 * csu/elf-init.c (__libc_csu_init): Comment typo.
36109 2011-07-09 Ulrich Drepper <drepper@gmail.com>
36111 * po/pl.po: Update from translation team.
36112 * po/ja.po: Likewise.
36113 * po/ru.po: Likewise.
36114 * po/ko.po: Likewise.
36115 * po/fr.po: Likewise.
36117 2011-07-09 Roland McGrath <roland@hack.frob.com>
36119 * configure.in (.ctors/.dtors header and trailer check):
36120 Use an empirical test on a built program.
36121 * configure: Regenerated.
36123 * configure.in (-z relro check): Use an empirical test on a built DSO.
36124 Detect, but do not require, on ia64.
36125 * configure: Regenerated.
36127 * configure.in (READELF): Find it with AC_CHECK_TOOL.
36128 Update tests that use readelf to use $READELF instead.
36129 * configure: Regenerated.
36131 2011-07-08 Ulrich Drepper <drepper@gmail.com>
36133 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
36134 if the result is not used.
36136 2011-07-05 Andreas Jaeger <aj@suse.de>
36139 * stdlib/tst-strtod.c: Add testcase.
36141 2011-07-07 Ulrich Drepper <drepper@gmail.com>
36143 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
36144 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
36145 The latter has a higher limit. Take additional parameter to pass to
36147 (__pathconf): Pass file to __statfs_link_max.
36148 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
36150 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
36154 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
36155 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36157 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
36158 (__statfs_filesize_max): Likewise.
36159 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
36161 2011-07-05 Andreas Jaeger <aj@suse.de>
36163 * resolv/res_comp.c (dn_skipname): Remove unused variable.
36165 2011-07-06 Marek Polacek <mpolacek@redhat.com>
36167 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
36169 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
36172 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
36174 * Makefile (strop-tests): Add strncat.
36175 * string/test-strncat.c: New file.
36177 2011-06-30 Marek Polacek <mpolacek@redhat.com>
36179 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
36181 2011-06-21 Andreas Jaeger <aj@suse.de>
36183 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
36184 Copy rule from iconvdata/Makefile.
36186 2011-07-06 Ulrich Drepper <drepper@gmail.com>
36189 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
36190 but no long options are defined, just return 'W'.
36192 2011-06-22 Marek Polacek <mpolacek@redhat.com>
36195 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
36197 2011-07-06 Ulrich Drepper <drepper@gmail.com>
36199 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
36201 (innetgr): Likewise.
36203 2011-07-05 Roland McGrath <roland@hack.frob.com>
36205 * config.make.in (install_root): Default to $(DESTDIR).
36207 2011-07-05 Ulrich Drepper <drepper@gmail.com>
36209 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
36211 2011-07-02 Roland McGrath <roland@hack.frob.com>
36213 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
36215 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
36216 containing directory rather than embedding absolute directory names.
36218 * scripts/check-local-headers.sh: Rewritten using awk.
36219 Match by word, not by line. Print error messages for matches.
36220 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
36222 * Makerules [shlib-lds-flags empty]:
36223 ($(common-objpfx)libc_pic.opts): New target.
36224 ($(common-objpfx)libc_pic.os.clean): New target.
36225 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
36227 * config.make.in (OBJCOPY): New variable.
36228 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
36229 * configure: Regenerated.
36231 * config.make.in (use-default-link): New variable.
36232 * configure.in (use_default_link): Grok --with-default-link to set it.
36233 * configure: Regenerated.
36234 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
36235 (shlib-lds, shlib-lds-flags): Define to empty.
36237 * Makerules (shlib-lds): New variable.
36238 (shlib-lds-flags): New variable.
36239 (build-shlib, build-moduile, build-module-asneeded): Use it.
36240 ($(common-objpfx)libc.so): Use $(shlib-lds).
36241 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
36242 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
36244 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
36245 DT_FLAGS/DT_FLAGS_1 with zero flags.
36247 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
36248 linker script munging.
36250 2011-07-02 Ulrich Drepper <drepper@gmail.com>
36252 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
36254 * crypt/sha512.c (sha512_process_block): Perform total addition using
36255 128-bit if possible.
36256 (__sha512_finish_ctx): Likewise.
36257 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
36259 * crypt/sha256.c (SWAP64): Define.
36260 (sha256_process_block): Perform total addition using 64-bit if
36262 (__sha256_finish_ctx): Likewise.
36264 2011-07-01 Ulrich Drepper <drepper@gmail.com>
36266 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
36267 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36268 * nscd/hstcache.c (cache_addhst): Likewise.
36269 * nscd/grpcache.c (cache_addgr): Likewise.
36270 * nscd/aicache.c (addhstaiX): Likewise
36271 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
36273 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
36275 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
36276 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36277 * nscd/hstcache.c (cache_addhst): Likewise.
36278 * nscd/grpcache.c (cache_addgr): Likewise.
36279 * nscd/aicache.c (addhstaiX): Likewise
36281 2011-07-01 Andreas Schwab <schwab@redhat.com>
36283 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
36284 domain only when needed.
36286 2011-06-30 Andreas Schwab <schwab@redhat.com>
36288 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
36289 is always restored.
36291 2011-06-29 Ulrich Drepper <drepper@gmail.com>
36293 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
36294 are re-adding the entry.
36295 * nscd/servicescache.c (cache_addserv): Likewise.
36297 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
36299 * sysdeps/generic/dl-irel.h: fix protection against multiple
36301 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
36303 2011-06-28 Ulrich Drepper <drepper@gmail.com>
36306 * malloc/memusage.sh: Fix quoting in message.
36307 * debug/xtrace.sh: Likewise.
36309 * configure.in: Remove support for --experimental-malloc option, make
36311 * config.make.in: Likewise.
36312 * malloc/Makefile: Likewise.
36314 2011-06-27 Andreas Schwab <schwab@redhat.com>
36316 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
36317 two-byte characters.
36319 2011-06-27 Roland McGrath <roland@hack.frob.com>
36321 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
36322 AC_CACHE_CHECK invocation.
36323 * configure: Regenerated.
36325 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
36327 2011-06-27 Ulrich Drepper <drepper@gmail.com>
36330 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
36331 bit from old_res_options.
36333 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
36335 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
36336 value type for setfct.
36338 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
36340 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36341 __gettimeofday instead of gettimeofday.
36343 2011-06-26 Ulrich Drepper <drepper@gmail.com>
36345 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
36347 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
36349 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
36351 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
36354 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36356 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36357 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36358 strcpy-sse2-unaligned strncpy-sse2-unaligned
36359 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
36360 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
36361 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
36362 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
36363 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
36364 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
36365 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
36366 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
36367 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
36368 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
36369 (STRCPY): Support SSE2 and SSSE3 versions.
36371 2011-06-24 Ulrich Drepper <drepper@gmail.com>
36374 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
36375 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
36376 kernels which artificially limit size of requests.
36378 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36380 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36381 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36382 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
36383 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
36384 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
36385 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
36386 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
36387 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
36388 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
36389 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
36390 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
36391 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
36392 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
36393 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
36394 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
36395 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36396 Enable unaligned load optimization for Intel Core i3, i5 and i7
36398 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
36400 (index_Fast_Unaligned_Load): Define.
36401 (HAS_FAST_UNALIGNED_LOAD): Define.
36403 2011-06-23 Marek Polacek <mpolacek@redhat.com>
36405 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
36407 2011-06-22 Ulrich Drepper <drepper@gmail.com>
36410 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
36411 until it is clear that the information is realy needed.
36412 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
36414 2011-06-22 Andreas Schwab <schwab@redhat.com>
36416 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
36418 2011-06-22 Ulrich Drepper <drepper@gmail.com>
36420 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36421 /sys/devices/system/cpu/online if it is usable.
36423 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
36424 reading the information from the /proc filesystem to once a second.
36426 2011-06-21 Andreas Jaeger <aj@suse.de>
36428 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
36429 NULL after inclusion of kernel headers.
36431 2011-06-21 Ulrich Drepper <drepper@gmail.com>
36433 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
36434 calls to internal_setent.
36437 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
36438 addresses using gethostbyname4_r ignore IPv4 addresses.
36440 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
36441 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
36443 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
36445 2011-06-20 David S. Miller <davem@davemloft.net>
36447 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
36449 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
36451 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
36452 (elf_irel): Use it.
36453 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
36454 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
36455 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
36456 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
36457 * sysdeps/x86_64/dl-irel.h: Likewise.
36459 * elf/dl-runtime.c: Use elf_ifunc_invoke.
36460 * elf/dl-sym.c: Likewise.
36462 2011-06-15 Ulrich Drepper <drepper@gmail.com>
36464 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
36465 need to dereference resplen2.
36467 2011-06-14 Andreas Schwab <schwab@redhat.com>
36469 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
36471 2011-06-15 Ulrich Drepper <drepper@gmail.com>
36473 * Makeconfig: Define vardbdir and inst_vardbdir.
36474 * nss/Makefile: Add rules to install db-Makefile.
36476 * nss/nss_db/db-XXX.c: Cleanup.
36478 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
36479 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
36481 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
36482 * nss/makedb.c: Implement -g option to specify that value strings
36483 are generated and should not be added to table iterated over for
36485 * nss/nss_db/db-initgroups.c: New file.
36487 * nss/getent.c: Add support for initgroups lookups through getgrouplist
36490 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
36491 (internal_getgrouplist): Adjust to name change.
36492 Update use_initgroups_entry if this is not the first call.
36493 * nss/databases.def: Add initgroups entry.
36495 * nss/makedb.c (compute_tables): Check result of multiple hash table
36496 sizes to minimize maximum chain length.
36498 2011-06-14 Ulrich Drepper <drepper@gmail.com>
36500 * Versions.def: Add entry for libnss_db.
36501 * shlib-versions: Likewise.
36502 * nss/Makefile: Add rules to build libnss_db.
36503 * nss/Versions: Add libnss_db information. Organize libnss_files
36505 * nss/db-Makefile: Add gshadow support. Change rules for the new
36506 makedb progra. Some minor improvements to generate smaller files.
36507 * nss/nss_db/nss_db.h: Move NSS database header data structures to
36509 * nss/makedb.c: ...here.
36510 Improve database format to be smaller and require less memory at
36512 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
36514 * nss/nss_db/db-netgrp.c: Likewise.
36515 * nss/nss_db/db-open.c: Likewise.
36516 * nss/nss_files/flies-XXX.x: Adjust comments.
36517 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
36518 * nss/nss_files/files-grp.c: Likewise.
36519 * nss/nss_files/files-hosts.c: Likewise.
36520 * nss/nss_files/files-network.c: Likewise.
36521 * nss/nss_files/files-proto.c: Likewise.
36522 * nss/nss_files/files-pwd.c: Likewise.
36523 * nss/nss_files/files-rpc.c: Likewise.
36524 * nss/nss_files/files-service.c: Likewise.
36525 * nss/nss_files/files-sgrp.c: Likewise.
36526 * nss/nss_files/files-spwd.c: Likewise.
36527 * nss/nss_db/db-alias.c: Removed.
36528 * nss/nss_db/dummy-db.h: Removed.
36530 2011-06-02 Ulrich Drepper <drepper@gmail.com>
36532 * nss/makedb.c: Rewritten to not use database library.
36533 * nss/Makefile: Update to build new makedb program.
36535 2011-06-14 Andreas Jaeger <aj@suse.de>
36537 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
36538 memset declaration.
36540 2011-06-10 Andreas Schwab <schwab@redhat.com>
36542 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
36545 2011-06-10 Roland McGrath <roland@hack.frob.com>
36547 * Makerules (shlib.lds): Fail if the linker script comes out empty.
36548 * elf/Makefile ($(objpfx)ld.so): Likewise.
36550 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
36551 Don't list ld.so twice in dependencies.
36553 * posix/bug-regex31.c: Include <stdlib.h>.
36555 * nscd/hstcache.c (cache_addhst): Remove unused variable.
36557 * nis/nss_compat/compat-spwd.c
36558 (getspent_next_nss_netgr): Remove unused variable.
36559 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
36561 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
36562 nonmembers" output to use the right array.
36564 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
36566 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
36568 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
36569 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
36570 * catgets/gencat.c (read_input_file): Likewise.
36571 * locale/programs/locarchive.c (enlarge_archive): Likewise.
36573 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
36574 variable definition inside #if's controlling its use.
36576 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
36578 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
36580 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
36582 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
36585 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
36587 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
36588 * configure: Regenerated.
36590 * Makerules: Revert last change.
36591 * elf/Makefile: Likewise.
36593 2011-06-09 Roland McGrath <roland@hack.frob.com>
36595 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
36596 * elf/Makefile ($(objpfx)librtld.os): Likewise.
36597 (reloc-link): Likewise.
36599 2011-06-09 Ulrich Drepper <drepper@gmail.com>
36601 * elf/Makefile: Add rules to build pldd.
36602 * elf/pldd.c: New file.
36603 * elf/pldd-xx.c: New file.
36605 2011-06-07 Ulrich Drepper <drepper@gmail.com>
36607 * version.h: Update for 2.15 development version.
36609 2011-06-07 David S. Miller <davem@davemloft.net>
36611 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
36613 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
36614 elf_machine_lazy_rel): Likewise.
36615 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36616 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
36617 elf_machine_lazy_rel): Likewise.
36618 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
36619 dl_hwcap via passed in argument.
36620 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
36623 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36625 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
36627 2011-06-06 Roland McGrath <roland@hack.frob.com>
36630 * manual/fdl-1.1.texi: New file, verbatim from:
36631 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
36632 * manual/lgpl-2.1.texi: New file, verbatim from:
36633 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
36634 * manual/Makefile (licenses): New variable, list those new file names.
36636 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
36638 * manual/fdl.texi: File removed.
36639 * manual/lesser.texi: File removed.
36640 * manual/libc.texinfo (Copying, Documentation License):
36641 Use new @include file names, put @appendix directive before @include.
36643 2011-06-04 Jakub Jelinek <jakub@redhat.com>
36646 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
36647 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
36648 (mq_open): Add __NTH.
36650 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
36652 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36653 Assume Intel Core i3/i5/i7 processor if AVX is available.
36655 2011-05-31 Ulrich Drepper <drepper@gmail.com>
36657 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36660 2011-05-31 Andreas Schwab <schwab@redhat.com>
36662 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
36663 memory. Use alloca_account. Fix memory leak when retrying.
36665 2011-05-31 Ulrich Drepper <drepper@gmail.com>
36667 * version.h (RELEASE): Bump for 2.14 release.
36668 * include/features.h (__GLIBC_MINOR__): Bump to 14.
36670 * config.make.in (RANLIB): Remove entry.
36672 2011-05-30 Ulrich Drepper <drepper@gmail.com>
36674 * po/Makefile (po-sed-cmd): Add ksh to extensions.
36675 (libc.pot): Work around missing support for .ksh extension in xgettext.
36678 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
36679 if both request failed.
36680 (send_dg): In case of server errors clear resplen or *resplen2.
36683 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
36684 when there are multiple maps.
36685 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
36686 (_dl_fini): Remove test here.
36688 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
36690 2011-05-29 Ulrich Drepper <drepper@gmail.com>
36693 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36694 bit from old_res_options.
36695 (gaih_inet): Likewise.
36698 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
36701 * resolv/res_init.c (res_setoptions): Make the code more compact.
36704 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
36708 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
36710 * malloc/malloc.h: Mark malloc hook variables as deprecated.
36713 * malloc/malloc.h: Declare malloc hook variables as volatile.
36715 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36719 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
36720 raise in the comment.
36721 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36722 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36723 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
36725 2011-05-28 Ulrich Drepper <drepper@gmail.com>
36728 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36729 grow the buffers more if it already has to be sufficient.
36730 (build_wcs_upper_buffer): Likewise.
36731 * posix/regexec.c (check_matching): Likewise.
36732 (clean_state_log_if_needed): Likewise.
36733 (extend_buffers): Don't enlarge buffers beyond size of the input
36735 Patches mostly by Emil Wojak <emil@wojak.eu>.
36736 * posix/bug-regex32.c: New file.
36737 * posix/Makefile (tests): Add bug-regex32.
36739 * locale/findlocale.c (_nl_find_locale): Return right away if
36740 _nl_explode_name failed.
36741 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36743 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36745 * debug/xtrace.sh: Unify messages.
36746 * malloc/memusage.sh: Likewise.
36749 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36750 time symbol from vDSO. Substitute with vsyscall if not available.
36751 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36754 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36755 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36756 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36757 Add sendmmsg and internal_sendmmsg.
36758 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36759 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36760 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36762 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36763 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36764 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36766 2011-05-27 Ulrich Drepper <drepper@gmail.com>
36769 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36770 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
36772 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36776 * iconvdata/Makefile (tests): Add bug-iconv9.
36777 * iconvdata/bug-iconv9.c: New file.
36779 2011-05-27 Andreas Schwab <schwab@redhat.com>
36782 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36784 2011-05-25 Jakub Jelinek <jakub@redhat.com>
36786 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36787 (struct user_regs_struct): Change intcs field back to cs.
36789 2011-05-25 Ulrich Drepper <drepper@gmail.com>
36791 * po/ja.po: Update from translation team.
36793 2011-05-23 Ulrich Drepper <drepper@gmail.com>
36796 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36797 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36799 2011-05-20 Andreas Schwab <schwab@redhat.com>
36801 * stdlib/longlong.h: Update from GCC.
36803 2011-05-23 Andreas Schwab <schwab@redhat.com>
36805 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36807 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36808 Add parameter name.
36809 (__sysconf): Pass it down.
36811 2011-05-22 Ulrich Drepper <drepper@gmail.com>
36814 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36816 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36817 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36818 add in in __libc_use_alloca calls. Adjust callers.
36819 (glob): Use malloc in some situations.
36821 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36822 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36825 2011-05-21 Ulrich Drepper <drepper@gmail.com>
36827 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36828 and CLOCK_BOOTTIME_ALARM.
36831 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36834 * string/_strerror.c (__strerror_r): Print negative errors as signed
36838 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36839 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36840 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36842 * configure.in: Fix typo in redirection and correct removal of test
36843 files in two cases.
36846 * locale/setlocale.c (new_composite_name): Fix test to check for
36847 identical name of all categories.
36850 * libio/filedoalloc.c (local_isatty): New function.
36851 (_IO_file_doallocate): Use local_isatty.
36852 * stdio-common/perror.c (perror): In case a new stream is used
36853 forward the stream error.
36854 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36857 2011-05-20 Ulrich Drepper <drepper@gmail.com>
36860 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36862 * include/alloca.h (extend_alloca_account): Define.
36865 * posix/regex.h: Fix comments with documentation of user-accessible
36866 fields after compilation and describe correct free'ing of pattern
36867 after re_compile_pattern.
36868 Patch by Reuben Thomas <rrt@sc3d.org>.
36870 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
36872 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36873 and -mno-altivec to prevent the compiler from using Altivec and/or
36874 VSX instructions when the corresponding registers are not available.
36876 2011-05-19 Andreas Schwab <schwab@redhat.com>
36878 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36880 2011-05-19 Ulrich Drepper <drepper@gmail.com>
36882 * libio/freopen.c (freopen): Use __dup2, not dup2.
36883 * libio/freopen64.c (freopen64): Likewise.
36885 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
36888 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36889 * math/Makefile (tests): Add test-powl.
36890 (CFLAGS-test-powl.c): Define.
36891 * math/test-powl.c: New file.
36893 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
36895 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36897 2011-05-17 Ulrich Drepper <drepper@gmail.com>
36900 * iconvdata/gb18030.c: Update to GB18020-2005.
36902 2011-05-16 Ulrich Drepper <drepper@gmail.com>
36904 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36905 RE_SYNTAX_POSIX_AWK): Update to match recent development.
36906 Patch by Aharon Robbins <arnold@skeeve.com>.
36909 * stdlib/putenv.c (putenv): Don't always create copy of the variable
36913 * misc/pselect.c (__pselect): Handle timeout value errors hidden
36914 through underflows.
36917 * misc/error.c (error_at_line): Ensure file_name and old_file_name
36918 point to strings before performing equality test for error_one_per_line
36922 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36925 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36926 (struct user_fpregs_struct): Avoid __uint*_t types.
36929 * malloc/mtrace.c (tr_where): Add additional parameter to point to
36930 symbol info. Use it instead of calling _dl_addr locally.
36931 (lock_and_info): New function.
36932 (tr_freehook): Call lock_and_info and pass symbol info as additional
36933 parameter to tr_where.
36934 (tr_mallochook): Likewise.
36935 (tr_reallochook): Likewise.
36936 (tr_memalignhook): Likewise.
36938 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
36939 used and couldn't be at all thread-safe.
36941 2011-05-15 Ulrich Drepper <drepper@gmail.com>
36943 * libio/freopen.c (freopen): Don't close old file descriptor
36944 before the new one is opened. Instead dup the new file descriptor
36945 to the old one after the new stream is created.
36946 * libio/freopen64.c (freopen64): Likewise.
36947 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36948 * libio/fileops.c (_IO_new_file_close_it): Handle new
36949 _IO_FLAGS2_NOCLOSE flag.
36950 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36951 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36952 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36953 _IO_FLAGS2_NOCLOSE flag.
36954 * include/unistd.h: Add hidden_proto for dup3.
36955 Define __have_dup3.
36956 * io/dup3.c: Define hidden symbol.
36957 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36960 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36961 when an incomplete long option is used.
36962 * posix/tst-getopt_long1.c: New file.
36963 * posix/Makefile (tests): Add tst-getopt_long1.
36966 * scripts/config.guess: Update from autoconf-2.68.
36967 * scripts/config.sub: Likewise.
36970 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36972 (has_cpuclock): ...this. New function.
36973 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36974 macro here based on has_cpuclock code.
36977 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36978 First byte (not low byte) is now always NUL.
36979 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36981 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36982 Use non-cancelable interfaces.
36985 * locale/iso-639.def: Add entry for Sorani.
36988 * include/stdlib.h: Move include protection to the right place.
36989 Define abort_msg_s. Declare __abort_msg with it.
36990 * stdlib/abort.c (__abort_msg): Adjust type.
36991 * assert/assert.c (__assert_fail_base): New function. Majority
36992 of code from __assert_fail. Allocate memory for __abort_msg with
36994 (__assert_fail): Now call __assert_fail_base.
36995 * assert/assert-perr.c: Remove bulk of implementation. Use
36996 __assert_fail_base.
36997 * include/assert.hL Declare __assert_fail_base.
36998 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
37000 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
37002 2011-05-14 Ulrich Drepper <drepper@gmail.com>
37006 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
37007 until all modules are registered in the DTV.
37008 * elf/Makefile: Add rules to build and run tst-tls19.
37009 * elf/tst-tls19.c: New file.
37010 * elf/tst-tls19mod1.c: New file.
37011 * elf/tst-tls19mod2.c: New file.
37012 * elf/tst-tls19mod3.c: New file.
37013 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
37016 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37020 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37021 two-byte sequence errors.
37022 * iconvdata/Makefile (tests): Add bug-iconv8.
37023 * iconvdata/bug-iconv8.c: New file.
37026 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37029 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37032 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37033 (dummy_getcfa): New function.
37034 (init): Get _Unwind_GetCFA address, use dummy if not found.
37035 (backtrace_helper): In recursion check, also check whether CFA changes.
37036 (__backtrace): Completely initialize arg.
37038 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
37039 storing incomplete byte sequence in state object. Avoid testing for
37040 guaranteed too small input if we know there is enough data available.
37042 2011-05-11 Andreas Schwab <schwab@redhat.com>
37044 * Makeconfig (+link-pie): Indent.
37045 * Rules (binaries-pie): Define if $(have-fpie) and
37047 (binaries-shared): Also filter out $(binaries-pie).
37048 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
37049 * nscd/Makefile (others-pie): Add nscd.
37050 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
37051 ($(objpfx)nscd): Remove command override.
37052 * login/Makefile (others-pie): Add pt_chown.
37053 ($(objpfx)pt_chown): Remove command override.
37054 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
37055 remove command overrides.
37057 2011-05-13 Ulrich Drepper <drepper@gmail.com>
37059 * libio/tst_putwc.c: Fix error messages.
37062 * libio/fileops.c (_IO_new_file_close_it): Always flush when
37063 currently writing and seek to current position when not.
37064 * libio/Makefile (tests): Add bug-fclose1.
37065 * libio/bug-fclose1.c: New file.
37067 2011-05-12 Ulrich Drepper <drepper@gmail.com>
37070 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
37071 don't set DF_1_NODELETE here.
37072 (do_lookup_x): When entering new entry test for copy relocation
37073 and if necessary set DF_1_NODELETE flag.
37074 * elf/tst-unique4.cc: New file.
37075 * elf/tst-unique4.h: New file.
37076 * elf/tst-unique4lib.cc: New file.
37077 * elf/Makefile: Add rules to build and run tst-unique4.
37078 Patch by Piotr Bury <pbury@goahead.com>.
37080 2011-05-11 Ulrich Drepper <drepper@gmail.com>
37083 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
37086 * misc/mntent_r.c (addmntent): Flush the stream after the output
37089 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
37090 (is_trusted_path_normalize): Skip initial colon. Append slash
37091 to empty buffer. Duplicate is_trusted_path code but allow
37092 constructed patch to be prefix.
37093 (is_dst): Allow $ORIGIN followed by /.
37094 (_dl_dst_substitute): Correct clearing of check_for_trusted.
37095 Correct testing of result of is_trusted_path_normalize
37096 (decompose_rpath): Fix warning.
37098 2011-05-10 Ulrich Drepper <drepper@gmail.com>
37101 * grp/initgroups.c (internal_getgrouplist): When we found the service
37102 list through the initgroups entry in nsswitch.conf do not always
37103 continue on a successful lookup. Don't always use the
37104 __nss_group_database value if it is set.
37105 * nss/nsswitch.conf (initgroups): Change action for successful db
37106 lookup to continue for compatibility.
37108 2011-05-09 Ulrich Drepper <drepper@gmail.com>
37111 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
37113 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
37115 * iconvdata/tst-tables.sh: Likewise.
37116 * iconvdata/cp770.c: New file.
37117 * iconvdata/cp771.c: New file.
37118 * iconvdata/cp772.c: New file.
37119 * iconvdata/cp773.c: New file.
37120 * iconvdata/cp774.c: New file.
37121 * iconvdata/testdata/CP770: New file.
37122 * iconvdata/testdata/CP770..UTF8: New file.
37123 * iconvdata/testdata/CP771: New file.
37124 * iconvdata/testdata/CP771..UTF8: New file.
37125 * iconvdata/testdata/CP772: New file.
37126 * iconvdata/testdata/CP772..UTF8: New file.
37127 * iconvdata/testdata/CP773: New file.
37128 * iconvdata/testdata/CP773..UTF8: New file.
37129 * iconvdata/testdata/CP774: New file.
37130 * iconvdata/testdata/CP774..UTF8: New file.
37132 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
37134 * iconvdata/gen-8bit-gap.sh: Likewise.
37135 * iconvdata/gen-8bit.sh: Likewise.
37137 * locale/iso-639.def: Add ary entry.
37140 * locale/C-translit.h.in: Add U20A1 transliteration.
37143 * locale/iso-639.def: Add wae entry.
37144 Patch by Kevin Bortis <bortis@translate-wae.ch>.
37147 * locale/programs/localedef.c (construct_output_path): Use ssize_t
37151 * locale/C-translit.h.in: Add entry for U20B9.
37152 Patch by pravin.d.s@gmail.com.
37154 2011-05-08 Ulrich Drepper <drepper@gmail.com>
37157 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
37158 ENAMETOOLONG use generic getcwd.
37159 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
37160 in rtld. Use *stat64.
37161 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
37162 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
37163 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
37164 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
37165 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
37166 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
37167 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
37168 __fstatat64 macros.
37169 * include/dirent.h: Add libc_hidden_proto for rewinddir.
37170 * dirent/rewinddir.c: Add libc_hidden_def.
37171 * sysdeps/mach/hurd/rewinddir.c: Likewise.
37172 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
37174 * include/dirent.h (__alloc_dir): Add flags parameter.
37175 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
37176 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
37178 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
37179 from fdopendir if O_CLOEXEC is already set.
37181 2011-03-15 Alan Modra <amodra@gmail.com>
37183 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
37184 l_tls_firstbyte_offset non-zero. Save padding offset in
37185 l_tls_firstbyte_offset for later use.
37186 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
37187 freeing static tls block.
37189 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
37191 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
37192 where #ifdef was intended. The intent is to prevent ARG_MAX from
37193 being defined by the kernel headers.
37195 2011-05-07 Ulrich Drepper <drepper@gmail.com>
37198 * resolv/resolv.h: Define RES_NOTLDQUERY.
37199 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
37200 no-tld-query and set RES_NOTLDQUERY.
37201 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
37202 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
37203 modern BIND to search name as TLD unless forbidden.
37205 2011-05-07 Petr Baudis <pasky@suse.cz>
37206 Ulrich Drepper <drepper@gmail.com>
37209 * elf/dl-load.c (fillin_rpath): Move trusted path check...
37210 (is_trusted_path): ...to here.
37211 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
37212 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
37213 using is_trusted_path_normalize() in setuid scripts.
37215 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37217 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
37218 __BEGIN/__END_DECLS.
37220 2011-05-06 Ulrich Drepper <drepper@gmail.com>
37222 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
37223 NSS_STATUS_NOTFOUND if no record was found.
37225 2011-05-05 Andreas Schwab <schwab@redhat.com>
37227 * sunrpc/Makefile (headers): Add rpc/netdb.h.
37228 (headers-not-in-tirpc): Remove rpc/netdb.h
37229 * resolv/netdb.h: Revert last change.
37231 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37233 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
37234 circular dependency between libgcc.a and libc.a.
37236 2011-05-05 Andreas Schwab <schwab@redhat.com>
37238 * resolv/netdb.h: Don't include <rpc/netdb.h>.
37239 * nis/Makefile: Don't install rpcsvc/*.
37240 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
37241 instead of <rpc/types.h>.
37242 (MAXHOSTNAMELEN): Define.
37244 2011-05-03 Andreas Schwab <schwab@redhat.com>
37246 * elf/ldconfig.c (add_dir): Don't crash on empty path.
37248 2011-04-28 Maciej Babinski <mbabinski@google.com>
37251 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
37252 gethostbyname4_r when IPv6 results are possible.
37254 2011-05-02 Ulrich Drepper <drepper@gmail.com>
37257 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
37258 _PC_PIPE_BUF handling.
37260 2011-04-30 Bruno Haible <bruno@clisp.org>
37263 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
37264 * resolv/netdb.h (getnameinfo): Change type of flags parameter
37266 * inet/getnameinfo.c (getnameinfo): Likewise.
37268 2011-04-29 Ulrich Drepper <drepper@gmail.com>
37270 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
37271 to groups setting in database lookup.
37272 * nss/nsswitch.conf: Add initgroups entry.
37274 2011-04-22 Ulrich Drepper <drepper@gmail.com>
37277 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
37279 Patch by Eric Blake <eblake@redhat.com>.
37281 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
37283 * sunrpc/Makefile (need-export-routines): Add svc_run.
37284 (routines): Remove svc_run.
37285 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
37286 * sunrpc/clnt_perr.c (clnt_perrno): Export.
37287 * sunrpc/svc_run.c (svc_run): Likewise.
37288 * sunrpc/svc_udp.c (svcudp_create): Likewise.
37290 2011-04-21 Ulrich Drepper <drepper@gmail.com>
37292 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
37293 problem in reallocation in last patch.
37295 2011-04-20 Ulrich Drepper <drepper@gmail.com>
37297 * sunrpc/Makefile: Move inclusion of Rules.
37299 2011-04-19 Ulrich Drepper <drepper@gmail.com>
37301 * nss/nss_files/files-initgroups.c: New file.
37302 * nss/Makefile (libnss_files-routines): Add files-initgroups.
37303 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
37304 _nss_files_initgroups_dyn.
37306 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
37308 * elf/elf.h (R_ARM_IRELATIVE): Define.
37310 2011-04-19 Ulrich Drepper <drepper@gmail.com>
37312 * po/ru.po: Update from translation team.
37314 2011-04-17 Ulrich Drepper <drepper@gmail.com>
37316 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
37319 2011-02-06 Mike Frysinger <vapier@gentoo.org>
37322 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
37323 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
37324 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37325 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37326 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37328 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
37330 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
37332 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37333 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37334 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37336 2011-04-17 Ulrich Drepper <drepper@gmail.com>
37339 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
37341 * stdlib/bug-getcontext.c: New file.
37342 * stdlib/Makefile: Add rules to build and run bug-getcontext.
37344 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37346 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
37347 instructions into .machine "z9-109".
37348 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
37349 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
37351 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37353 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
37354 between environment variables and auxiliary vector.
37356 2011-04-16 Ulrich Drepper <drepper@gmail.com>
37358 * Makefile: Add rules to build linkobj/libc.so.
37359 * include/libc-symbols.h: Define libc_hidden_nolink.
37360 * include/rpc/auth.h: Mark functions which are to be hidden.
37361 * include/rpc/auth_des.h: Likewise.
37362 * include/rpc/auth_unix.h: Likewise.
37363 * include/rpc/clnt.h: Likewise.
37364 * include/rpc/des_crypt.h: Likewise.
37365 * include/rpc/key_prot.h: Likewise.
37366 * include/rpc/pmap_clnt.h: Likewise.
37367 * include/rpc/pmap_prot.h: Likewise.
37368 * include/rpc/pmap_rmt.h: Likewise.
37369 * include/rpc/rpc_msg.h: Likewise.
37370 * include/rpc/svc.h: Likewise.
37371 * include/rpc/svc_auth.h: Likewise.
37372 * include/rpc/xdr.h: Likewise.
37373 * nis/Makefile: Link all DSOs against linkobj/libc.so.
37374 * nss/Makefile: Likewise.
37375 * sunrpc/Makefile: Don't install headers. Build library with normal
37376 entry points. Don't build rpcinfo. Link RPC tests appropriately.
37377 * sunrpc/auth_des.c: Hide exported symbols by default, export some
37378 for the compat linking library. Remove use of INTDEF/INTUSE.
37379 * sunrpc/auth_none.c: Likewise.
37380 * sunrpc/auth_unix.c: Likewise.
37381 * sunrpc/authdes_prot.c: Likewise.
37382 * sunrpc/authuxprot.c: Likewise.
37383 * sunrpc/clnt_gen.c: Likewise.
37384 * sunrpc/clnt_perr.c: Likewise.
37385 * sunrpc/clnt_raw.c: Likewise.
37386 * sunrpc/clnt_simp.c: Likewise.
37387 * sunrpc/clnt_tcp.c: Likewise.
37388 * sunrpc/clnt_udp.c: Likewise.
37389 * sunrpc/clnt_unix.c: Likewise.
37390 * sunrpc/des_crypt.c: Likewise.
37391 * sunrpc/des_soft.c: Likewise.
37392 * sunrpc/get_myaddr.c: Likewise.
37393 * sunrpc/key_call.c: Likewise.
37394 * sunrpc/key_prot.c: Likewise.
37395 * sunrpc/netname.c: Likewise.
37396 * sunrpc/pm_getmaps.c: Likewise.
37397 * sunrpc/pm_getport.c: Likewise.
37398 * sunrpc/pmap_clnt.c: Likewise.
37399 * sunrpc/pmap_prot.c: Likewise.
37400 * sunrpc/pmap_prot2.c: Likewise.
37401 * sunrpc/pmap_rmt.c: Likewise.
37402 * sunrpc/publickey.c: Likewise.
37403 * sunrpc/rpc_cmsg.c: Likewise.
37404 * sunrpc/rpc_common.c: Likewise.
37405 * sunrpc/rpc_dtable.c: Likewise.
37406 * sunrpc/rpc_prot.c: Likewise.
37407 * sunrpc/rpc_thread.c: Likewise.
37408 * sunrpc/rtime.c: Likewise.
37409 * sunrpc/svc.c: Likewise.
37410 * sunrpc/svc_auth.c: Likewise.
37411 * sunrpc/svc_authux.c: Likewise.
37412 * sunrpc/svc_raw.c: Likewise.
37413 * sunrpc/svc_run.c: Likewise.
37414 * sunrpc/svc_simple.c: Likewise.
37415 * sunrpc/svc_tcp.c: Likewise.
37416 * sunrpc/svc_udp.c: Likewise.
37417 * sunrpc/svc_unix.c: Likewise.
37418 * sunrpc/svcauth_des.c: Likewise.
37419 * sunrpc/xcrypt.c: Likewise.
37420 * sunrpc/xdr.c: Likewise.
37421 * sunrpc/xdr_array.c: Likewise.
37422 * sunrpc/xdr_float.c: Likewise.
37423 * sunrpc/xdr_intXX_t.c: Likewise.
37424 * sunrpc/xdr_mem.c: Likewise.
37425 * sunrpc/xdr_rec.c: Likewise.
37426 * sunrpc/xdr_ref.c: Likewise.
37427 * sunrpc/xdr_sizeof.c: Likewise.
37428 * sunrpc/xdr_stdio.c: Likewise.
37430 2011-04-10 Ulrich Drepper <drepper@gmail.com>
37433 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
37434 * sysdeps/ia64/dl-tls.h: Likewise.
37435 * sysdeps/powerpc/dl-tls.h: Likewise.
37436 * sysdeps/s390/dl-tls.h: Likewise.
37437 * sysdeps/sh/dl-tls.h: Likewise.
37438 * sysdeps/sparc/dl-tls.h: Likewise.
37439 * sysdeps/x86_64/dl-tls.h: Likewise.
37440 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
37442 2011-03-14 Andreas Schwab <schwab@redhat.com>
37444 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
37445 rpath element also skip the following colon.
37446 (expand_dynamic_string_token): Add is_path parameter and pass
37447 down to DL_DST_REQUIRED and _dl_dst_substitute.
37448 (decompose_rpath): Call expand_dynamic_string_token with
37449 non-zero is_path. Ignore empty rpaths.
37450 (_dl_map_object_from_fd): Call expand_dynamic_string_token
37453 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
37455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37458 2011-04-09 Ulrich Drepper <drepper@gmail.com>
37461 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
37462 Patch by Filipe David Manana <fdmanana@apache.org>.
37464 2011-04-07 Andreas Schwab <schwab@redhat.com>
37466 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
37467 Maintain aligned stack.
37468 (CHECK_RSP): Remove unused macro.
37470 2011-04-03 Ulrich Drepper <drepper@gmail.com>
37472 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
37473 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
37475 2011-04-02 Ulrich Drepper <drepper@gmail.com>
37477 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
37479 * include/features.h: Mention __USE_XOPEN2K8 in comment.
37481 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
37484 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
37485 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
37486 * sysdeps/x86_64/memmove.c: New file.
37487 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
37488 (memcpy): Renamed to ...
37489 (__new_memcpy): This.
37490 (memcpy): Provide GLIBC_2_14 memcpy.
37491 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
37492 (memcpy): Provide GLIBC_2_2_5 memcpy.
37494 2011-04-01 Ulrich Drepper <drepper@gmail.com>
37497 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
37499 2011-03-30 Andreas Schwab <schwab@redhat.com>
37501 * misc/syncfs.c: New file.
37502 * misc/Makefile (routines): Add syncfs.
37503 * posix/unistd.h: Declare syncfs.
37504 * sysdeps/unix/syscalls.list: Add syncfs.
37506 2011-04-01 Andreas Schwab <schwab@redhat.com>
37508 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
37510 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37511 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37512 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37513 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37514 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37515 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
37516 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37518 2011-04-01 Ulrich Drepper <drepper@gmail.com>
37520 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
37521 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37522 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
37523 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37524 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37525 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37526 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37528 * io/Makefile: Compile fallocate.c, fallocate64.c, and
37529 sync_file_range.c with -fexceptions.
37530 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
37531 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
37532 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37533 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37534 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
37535 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37536 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
37537 sync_file_range as cancellation point
37538 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
37539 now a wrapper around __call_sync_file_range with cancellation handling.
37540 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
37541 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
37542 function name to __call_sync_file_range.
37543 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
37544 Add call_sync_file_range.
37546 2011-04-01 Andreas Schwab <schwab@redhat.com>
37548 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37551 2011-04-01 Ulrich Drepper <drepper@gmail.com>
37553 * iconv/iconv.h: Fix typo in comment.
37554 * io/fcntl.h: Likewise.
37555 * libio/stdio.h: Likewise.
37556 * posix/spawn.h: Likewise.
37557 * posix/unistd.h: Likewise.
37558 * stdlib/stdlib.h: Likewise.
37559 * time/time.h: Likewise.
37560 * wcsmbs/wchar.h: Likewise.
37562 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
37563 open_by_handle): Add.
37564 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
37565 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
37566 Augment a few comments.
37567 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37568 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37569 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37570 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37571 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37572 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
37575 * io/fcntl.h (AT_EMPTY_PATH): Define.
37577 2011-03-30 Ulrich Drepper <drepper@gmail.com>
37579 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
37580 * sysdeps/unix/sysv/linux/bits/time.h: New file.
37581 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
37583 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
37584 * Versions.def: Add GLIBC_2.14.
37585 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
37588 2011-03-22 Ulrich Drepper <drepper@gmail.com>
37590 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
37592 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37594 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
37597 * string/test-strncmp.c (do_page_test): New function.
37598 (check2): Likewise.
37599 (test_main): Call check2.
37600 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
37602 2011-03-20 Ulrich Drepper <drepper@gmail.com>
37605 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
37606 Handle cache information in CPU leaf 4.
37607 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37609 2011-03-18 Ulrich Drepper <drepper@gmail.com>
37612 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
37613 character representation.
37614 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
37616 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
37618 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
37619 END(__isnan) to END(__isnanf) to match function entry point/label
37620 EALIGN(__isnanf,...).
37622 2011-03-10 Jakub Jelinek <jakub@redhat.com>
37624 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
37626 2011-03-10 Ulrich Drepper <drepper@gmail.com>
37629 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
37630 copy from the symbol referenced in the relocation to initialize the
37632 Patch by Piotr Bury <pbury@goahead.com>.
37633 * elf/Makefile: Add rules to build and tst-unique3.
37634 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
37635 * elf/tst-unique3.cc: New file.
37636 * elf/tst-unique3.h: New file.
37637 * elf/tst-unique3lib.cc: New file.
37638 * elf/tst-unique3lib2.cc: New file.
37640 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
37642 2011-03-10 Mike Frysinger <vapier@gentoo.org>
37644 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
37645 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
37648 2011-03-06 Ulrich Drepper <drepper@gmail.com>
37650 * elf/dl-load.c (_dl_map_object): If we are looking for the first
37651 to-be-loaded object along a path to loader is ld.so.
37653 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37654 Ulrich Drepper <drepper@gmail.com>
37656 * sysdeps/x86_64/memset.S: After aligning destination, code
37657 branches to different locations depending on the value of
37658 misalignment, when multiarch is enabled. Fix this.
37660 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37662 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
37663 Set _x86_64_preferred_memory_instruction for AMD processsors.
37664 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37665 Set bit_Prefer_SSE_for_memop for AMD processors.
37667 2011-03-04 Ulrich Drepper <drepper@gmail.com>
37669 * libio/fmemopen.c (fmemopen): Optimize a bit.
37671 2011-03-03 Andreas Schwab <schwab@redhat.com>
37673 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
37675 2011-03-03 Roland McGrath <roland@redhat.com>
37677 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
37679 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
37681 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
37682 __bzero_ultra1 instead of __memset_ultra1.
37684 2011-02-23 Andreas Schwab <schwab@redhat.com>
37685 Ulrich Drepper <drepper@gmail.com>
37688 * include/link.h (struct link_map): Add l_orig_initfini.
37689 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
37690 returning unsuccessfully.
37691 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
37692 close of a file loaded at startup, restore the original l_initfini
37694 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
37695 list, store the pointer.
37696 * elf/Makefile ($(objpfx)noload-mem): New rule.
37697 (noload-ENV): Define.
37698 (tests): Add $(objpfx)noload-mem.
37699 * elf/noload.c: Include <memcheck.h>.
37700 (main): Call mtrace. Close all opened handles.
37702 2011-02-17 Andreas Schwab <schwab@redhat.com>
37705 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
37706 dependencies are missing.
37708 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
37710 Fix __if_freereq crash: Unlike the generic version which uses free,
37712 * sysdeps/mach/hurd/ifreq.h: New file.
37714 2011-01-27 Petr Baudis <pasky@suse.cz>
37715 Ulrich Drepper <drepper@gmail.com>
37718 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
37719 to extend_alloca().
37720 * stdio-common/bug23.c: New file.
37721 * stdio-common/Makefile (tests): Add bug23.
37723 2010-09-28 Andreas Schwab <schwab@redhat.com>
37724 Ulrich Drepper <drepper@gmail.com>
37727 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37728 before performing relro protection. At old place add assertion
37729 to make sure nothing changed.
37731 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
37732 Glauber de Oliveira Costa <glommer@gmail.com>
37734 * elf/elf.h: Add new ARM TLS relocs.
37736 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
37738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37739 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37741 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
37743 * sysdeps/wordsize-64/tst-writev.c: New file.
37745 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
37747 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37748 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37749 insns in _dl_start to prevent a TOC reference before relocs are
37752 2011-02-15 Ulrich Drepper <drepper@gmail.com>
37755 * Makeconfig: Remove RANLIB definition.
37756 * Makerules: Don't use RANLIB.
37757 * aclocal.m4: Remove ranlib test.
37758 * configure.in: No need to check for ranlib.
37759 * elf/rtld-Rules: Don't use RANLIB.
37761 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
37763 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37765 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37766 inclusion protection macro.
37768 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37769 SIGRTMIN and SIGRTMAX and print information in that case only when
37770 SIGRTMIN is defined.
37772 2011-02-11 Jakub Jelinek <jakub@redhat.com>
37774 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37775 arginfo fn returning -1.
37777 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37778 and thousands string is zero terminated.
37780 2011-02-03 Andreas Schwab <schwab@redhat.com>
37782 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37783 sysdeps/unix/sysv/linux/bits/socket.h.
37785 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
37787 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37788 (__CPU_COUNT): Remove old macros.
37789 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37790 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37791 (__CPU_ALLOC, __CPU_FREE): Add macros.
37792 (__sched_cpualloc, __sched_cpufree): Add declarations.
37794 2011-02-05 Ulrich Drepper <drepper@gmail.com>
37796 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37797 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37798 * nscd/aicache.c (addhstaiX): Return timeout of added value.
37799 (readdhstai): Return value of addhstaiX call.
37800 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37801 (addgrbyX): Return value returned by cache_addgr.
37802 (readdgrbyname): Return value returned by addgrbyX.
37803 (readdgrbygid): Likewise.
37804 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37805 (addpwbyX): Return value returned by cache_addpw.
37806 (readdpwbyname): Return value returned by addhstbyX.
37807 (readdpwbyuid): Likewise.
37808 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37809 (addservbyX): Return value returned by cache_addserv.
37810 (readdservbyname): Return value returned by addservbyX:
37811 (readdservbyport): Likewise.
37812 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37813 (addhstbyX): Return value returned by cache_addhst.
37814 (readdhstbyname): Return value returned by addhstbyX.
37815 (readdhstbyaddr): Likewise.
37816 (readdhstbynamev6): Likewise.
37817 (readdhstbyaddrv6): Likewise.
37818 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37819 (readdinitgroups): Return value returned by addinitgroupsX.
37820 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37821 (prune_cache): Keep track of timeout value of re-added entries.
37822 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37823 * nscd/nscd.h: Adjust prototypes of readd* functions.
37825 2011-02-04 Roland McGrath <roland@redhat.com>
37827 * nis/nis_server.c (nis_servstate): Use the right name for 0.
37828 (nis_stats): Likewise.
37829 * nis/nis_modify.c (nis_modify): Likewise.
37830 * nis/nis_remove.c (nis_remove): Likewise.
37831 * nis/nis_add.c (nis_add): Likewise.
37833 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37835 * posix/fnmatch_loop.c: Add some consts.
37837 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37839 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
37842 * config.make.in (config-cflags-novzeroupper): Define.
37843 * configure.in: Substitute libc_cv_cc_novzeroupper.
37844 * elf/Makefile (AVX-CFLAGS): Define.
37845 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37846 (CFLAGS-tst-auditmod4a.c): Likewise.
37847 (CFLAGS-tst-auditmod4b.c): Likewise.
37848 (CFLAGS-tst-auditmod6b.c): Likewise.
37849 (CFLAGS-tst-auditmod6c.c): Likewise.
37850 (CFLAGS-tst-auditmod7b.c): Likewise.
37851 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37853 2011-02-02 Ulrich Drepper <drepper@gmail.com>
37855 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37856 function to the callback.
37857 Patch partly by Jiri Olsa <jolsa@redhat.com>.
37859 2011-02-02 Andreas Schwab <schwab@redhat.com>
37861 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37864 2011-01-19 Ulrich Drepper <drepper@gmail.com>
37867 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37869 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37871 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37874 * elf/Makefile: Add rules to build and run new test.
37875 * elf/tst-initorder.c: New file.
37876 * elf/tst-initorder.exp: New file.
37877 * elf/tst-initordera1.c: New file.
37878 * elf/tst-initordera2.c: New file.
37879 * elf/tst-initordera3.c: New file.
37880 * elf/tst-initordera4.c: New file.
37881 * elf/tst-initorderb1.c: New file.
37882 * elf/tst-initorderb2.c: New file.
37883 * elf/tst-order-a1.c: New file.
37884 * elf/tst-order-a2.c: New file.
37885 * elf/tst-order-a3.c: New file.
37886 * elf/tst-order-a4.c: New file.
37887 * elf/tst-order-b1.c: New file.
37888 * elf/tst-order-b2.c: New file.
37889 * elf/tst-order-main.c: New file.
37890 New test case by George Gensure <werkt0@gmail.com>.
37892 2010-10-01 Andreas Schwab <schwab@redhat.com>
37894 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37895 decoding ACE if AI_CANONIDN.
37897 2011-01-18 Ulrich Drepper <drepper@gmail.com>
37899 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37901 2011-01-17 Ulrich Drepper <drepper@gmail.com>
37903 * version.h (RELEASE): Bump for 2.13 release.
37904 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37906 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37908 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37910 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37911 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37912 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37913 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37914 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37915 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37917 * posix/getconf.c: Update copyright year.
37918 * catgets/gencat.c: Likewise.
37919 * csu/version.c: Likewise.
37920 * debug/catchsegv.sh: Likewise.
37921 * debug/xtrace.sh: Likewise.
37922 * elf/ldconfig.c: Likewise.
37923 * elf/ldd.bash.in: Likewise.
37924 * elf/sprof.c (print_version): Likewise.
37925 * iconv/iconv_prog.c: Likewise.
37926 * iconv/iconvconfig.c: Likewise.
37927 * locale/programs/locale.c: Likewise.
37928 * locale/programs/localedef.c: Likewise.
37929 * malloc/memusage.sh: Likewise.
37930 * malloc/mtrace.pl: Likewise.
37931 * nscd/nscd.c (print_version): Likewise.
37932 * nss/getent.c: Likewise.
37934 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37935 PF_CAIF, and PF_ALG.
37936 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37938 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
37940 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37941 (modules-names): Use them.
37942 (ifunc-test-modules, ifunc-pie-tests): Define.
37943 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37944 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37945 (test-extras): Likewise.
37946 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37947 $(compile-command.c).
37948 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37949 (all-built-dso): Define.
37950 (check-textrel.out, check-execstack.out): Depend on it.
37952 * configure.in: Don't override --enable-multi-arch.
37954 2011-01-15 Ulrich Drepper <drepper@gmail.com>
37957 * nscd/hstcache.c (tryagain): Define.
37958 (cache_addhst): Return tryagain not notfound for temporary errors.
37959 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37962 2011-01-14 Ulrich Drepper <drepper@gmail.com>
37965 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37966 to make the syscall.
37967 * sysdeps/unix/sysv/linux/setgroups.c: New file.
37970 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37971 and fall back to matching as normal character if the string ends before
37972 the matching ']' is found. This is what POSIX requires.
37973 * posix/testfnm.c: Adjust test result.
37974 * posix/globtest.sh: Adjust test result. Add new test.
37975 * posix/tst-fnmatch.input: Likewise.
37976 * posix/tst-fnmatch2.c: Add new test.
37978 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
37980 * elf/Makefile (check-execstack): Revert last change. Depend on
37982 (check-execstack.h): New target.
37983 (generated): Add check-execstack.h.
37984 * elf/check-execstack.c: Include "check-execstack.h".
37985 (main): Revert last change.
37986 (handle_file): Return zero if GNU_STACK is absent and
37987 DEFAULT_STACK_PERMS doesn't include PF_X.
37989 2011-01-13 Ulrich Drepper <drepper@gmail.com>
37991 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37992 in child fails because the descriptor is already closed.
37993 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37994 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37995 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
37998 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
38002 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
38003 temporary buffer used to handle multi lookups locally.
38004 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
38006 2011-01-12 Ulrich Drepper <drepper@gmail.com>
38008 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38011 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
38013 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38014 alignment for SSE2.
38016 2011-01-12 Ulrich Drepper <drepper@gmail.com>
38019 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38020 characters. When rounding increased number of integer digits recompute
38022 * stdio-common/tst-grouping.c: New file.
38023 * stdio-common/Makefile: Add rules to build and run tst-grouping.
38025 2011-01-09 Ulrich Drepper <drepper@gmail.com>
38027 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38028 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
38030 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38032 * bits/select.h: Likewise.
38034 2011-01-08 Ulrich Drepper <drepper@gmail.com>
38036 * po/ja.po: Update from translation team.
38038 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
38041 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38042 implementation just like for lxstat, fxstatat, et al.
38044 2010-12-27 Jim Meyering <meyering@redhat.com>
38047 * posix/regexec.c (build_trtable): Return failure indication upon
38048 calloc failure. Otherwise, re_search_internal could infloop on OOM.
38050 2010-12-25 Ulrich Drepper <drepper@gmail.com>
38053 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
38054 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
38055 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
38056 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
38059 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
38062 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
38063 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
38065 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
38067 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
38068 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
38069 script has SORT_BY_INIT_PRIORITY.
38070 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
38071 NO_CTORS_DTORS_SECTIONS is defined.
38072 * elf/soinit.c: Likewise.
38073 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
38074 NO_CTORS_DTORS_SECTIONS is defined.
38075 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
38076 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
38077 * sysdeps/sh/init-first.c: Likewise.
38078 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
38080 2010-12-24 Ulrich Drepper <drepper@gmail.com>
38082 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
38083 always use the slow path.
38085 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
38087 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
38088 similar rule which adds the sysdep directories to the header search in
38089 order to pick up the correct platform stackinfo.h.
38090 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
38091 perform test if it is, otherwise return successfully without testing.
38092 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
38093 DEFAULT_STACK_PERMS define in stackinfo.h.
38094 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
38095 defined in stackinfo.h.
38096 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
38097 DEFAULT_STACK_PERMS defined in stackinfo.h.
38098 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
38099 * sysdeps/ia64/stackinfo.h: Likewise.
38100 * sysdeps/s390/stackinfo.h: Likewise.
38101 * sysdeps/sh/stackinfo.h: Likewise.
38102 * sysdeps/sparc/stackinfo.h: Likewise.
38103 * sysdeps/x86_64/stackinfo.h: Likewise.
38104 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
38105 PF_X for powerpc64. Retain PF_X for powerpc32.
38107 2010-12-19 Ulrich Drepper <drepper@gmail.com>
38109 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
38111 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
38112 GETDENTS_64BIT_ALIGNED.
38114 2010-12-14 Ulrich Drepper <dreper@gmail.com>
38116 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
38118 2010-12-10 Andreas Schwab <schwab@redhat.com>
38120 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
38123 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
38124 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
38126 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
38127 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
38129 2010-12-09 Ulrich Drepper <drepper@gmail.com>
38132 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
38135 2010-12-09 Jakub Jelinek <jakub@redhat.com>
38137 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
38139 2010-12-03 Ulrich Drepper <drepper@gmail.com>
38141 * po/it.po: Update from translation team.
38143 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
38145 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
38148 2010-11-30 Ulrich Drepper <drepper@gmail.com>
38150 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
38152 2010-11-24 Andreas Schwab <schwab@redhat.com>
38154 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
38156 (gaih_getanswer_slice): Likewise.
38158 2010-10-20 Jakub Jelinek <jakub@redhat.com>
38160 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
38162 2010-05-31 Petr Baudis <pasky@suse.cz>
38165 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
38166 silently even in the chroot mode.
38168 2010-11-22 Ulrich Drepper <drepper@gmail.com>
38170 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
38171 last patch a bit. Pretty printing
38173 2010-05-31 Petr Baudis <pasky@suse.cz>
38176 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
38177 initialization of skip_initgroups_dyn.
38179 2010-11-19 Ulrich Drepper <drepper@gmail.com>
38181 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
38182 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38184 2010-11-16 Ulrich Drepper <drepper@gmail.com>
38186 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
38188 2010-11-11 Andreas Schwab <schwab@redhat.com>
38190 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
38191 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
38192 (tst-fnmatch-ENV): Set MALLOC_TRACE.
38193 ($(objpfx)tst-fnmatch-mem): New rule.
38194 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
38195 * posix/tst-fnmatch.c (main): Call mtrace.
38197 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
38199 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38200 Support Intel processor model 6 and model 0x2c.
38202 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
38204 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
38207 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
38210 * string/test-strncasecmp.c (check_result): New function.
38211 (do_one_test): Use it.
38212 (check1): New function.
38213 (test_main): Use it.
38214 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
38215 Support strcasecmp and strncasecmp.
38217 2010-11-08 Ulrich Drepper <drepper@gmail.com>
38220 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
38221 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38223 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
38225 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
38227 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38229 * sysdeps/x86_64/multiarch/bzero.S: New file.
38230 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
38231 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
38232 * sysdeps/x86_64/multiarch/memset.S: New file.
38233 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
38234 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38235 Set bit_Prefer_SSE_for_memop for Intel processors.
38236 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
38238 (index_Prefer_SSE_for_memop): Define.
38239 (HAS_PREFER_SSE_FOR_MEMOP): Define.
38241 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
38243 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
38244 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
38246 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
38249 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38250 (__x86_64_raw_data_cache_size_half): Likewise.
38251 (__x86_64_raw_shared_cache_size): Likewise.
38252 (__x86_64_raw_shared_cache_size_half): Likewise.
38254 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38255 (__x86_64_raw_data_cache_size_half): Likewise.
38256 (__x86_64_raw_shared_cache_size): Likewise.
38257 (__x86_64_raw_shared_cache_size_half): Likewise.
38258 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
38259 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
38260 and __x86_64_raw_shared_cache_size_half. Round
38261 __x86_64_data_cache_size_half, __x86_64_data_cache_size
38262 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
38263 to multiple of 256 bytes.
38265 2010-11-03 Ulrich Drepper <drepper@gmail.com>
38268 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
38269 of inacessible symlinks. Verify result of symlink before returning it.
38270 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38271 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
38273 2010-10-28 Erich Ritz <erichritz@gmail.com>
38275 * math/math.h (isinf): Fix typo in comment.
38277 2010-11-01 Ulrich Drepper <drepper@gmail.com>
38279 * po/da.po: Update from translation team.
38281 2010-10-26 Ulrich Drepper <drepper@gmail.com>
38283 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
38284 is added to the list.
38286 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38287 Ulrich Drepper <drepper@gmail.com>
38289 * elf/dl-object.c (_dl_new_object): Don't append the new object to
38290 the global list here. Move code to...
38291 (_dl_add_to_namespace_list): ...here. New function.
38292 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
38293 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
38294 * elf/dl-load.c (lose): Don't remove the element from the list.
38295 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
38296 (_dl_map_object): Likewise.
38298 2010-10-25 Ulrich Drepper <drepper@gmail.com>
38301 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
38302 into all bytes of SSE register.
38303 Patch by Richard Li <richardpku@gmail.com>.
38305 2010-10-24 Ulrich Drepper <drepper@gmail.com>
38308 * malloc/malloc.c (_int_free): Fill correct number of bytes when
38311 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
38313 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
38314 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
38315 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
38316 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
38319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
38321 2010-10-22 Andreas Schwab <schwab@redhat.com>
38323 * include/dlfcn.h (__RTLD_SECURE): Define.
38324 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
38325 mode & __RTLD_SECURE instead.
38326 (open_path): Rename preloaded parameter to secure.
38327 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
38328 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
38329 * elf/dl-deps.c (openaux): Likewise.
38330 * elf/rtld.c (struct map_args): Remove is_preloaded.
38331 (map_doit): Don't use it.
38332 (dl_main): Likewise.
38333 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
38334 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
38336 2010-09-09 Andreas Schwab <schwab@redhat.com>
38338 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
38339 (sysd-rules-targets): Remove duplicates.
38340 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
38341 rtld-%.$o dependency.
38343 2010-10-18 Andreas Schwab <schwab@redhat.com>
38345 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
38346 _dl_map_object do it.
38348 2010-10-19 Ulrich Drepper <drepper@gmail.com>
38350 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
38351 fast fma builtins, define the macros in the C99 standard.
38352 (FP_FAST_FMAF): Likewise.
38353 (FP_FAST_FMAL): Likewise.
38354 * sysdeps/x86_64/bits/mathdef.h: Likewise.
38356 * bits/mathdef.h: Update copyright year.
38357 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38359 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
38361 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
38362 builtins, define the macros in the C99 standard.
38363 (FP_FAST_FMAF): Likewise.
38364 (FP_FAST_FMAL): Likewise.
38365 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
38367 (FP_FAST_FMAF): Likewise.
38369 2010-10-15 Jakub Jelinek <jakub@redhat.com>
38372 * math/libm-test.inc (fma_test): Some new testcases.
38373 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
38374 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
38375 y and infinite z. Do multiplication by C already in long double.
38376 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
38377 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
38378 y and infinite z. Do bitwise or of inexact bit into u.d.
38379 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
38380 * sysdeps/i386/fpu/s_fmaf.S: Removed.
38381 * sysdeps/i386/fpu/s_fma.S: Removed.
38382 * sysdeps/i386/fpu/s_fmal.S: Removed.
38384 2010-10-16 Jakub Jelinek <jakub@redhat.com>
38387 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
38388 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
38389 computation is not scheduled after fetestexcept. Fix value
38390 of minimum denormal long double.
38392 2010-10-14 Jakub Jelinek <jakub@redhat.com>
38395 * math/libm-test.inc (fma_test): Add some more tests.
38396 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
38399 2010-10-15 Andreas Schwab <schwab@redhat.com>
38401 * scripts/data/localplt-s390-linux-gnu.data: New file.
38402 * scripts/data/localplt-s390x-linux-gnu.data: New file.
38404 2010-10-13 Jakub Jelinek <jakub@redhat.com>
38407 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
38408 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
38410 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
38412 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
38413 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
38414 if one of x and y is very large and the other is subnormal.
38415 * sysdeps/s390/fpu/s_fmaf.c: New file.
38416 * sysdeps/s390/fpu/s_fma.c: New file.
38417 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
38418 * sysdeps/powerpc/fpu/s_fma.S: New file.
38419 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
38420 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
38421 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
38423 2010-10-12 Jakub Jelinek <jakub@redhat.com>
38426 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
38428 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
38429 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
38430 * sysdeps/i386/i686/multiarch/s_fma.c: Include
38431 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
38432 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
38433 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
38434 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
38436 2010-10-12 Ulrich Drepper <drepper@redhat.com>
38439 * posix/regcomp.c (parse_branch): One more memory leak plugged.
38440 * posix/bug-regex31.input: Add test case.
38442 2010-10-11 Ulrich Drepper <drepper@gmail.com>
38444 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
38445 * posix/bug-regex31.input: New file.
38448 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
38449 (parse_sub_exp): Fix last change, use postorder.
38451 * posix/bug-regex31.c: New file.
38452 * posix/Makefile: Add rules to build and run bug-regex31.
38454 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
38457 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
38460 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
38461 to have entries in sys_siglist.
38464 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
38467 2010-10-07 Jakub Jelinek <jakub@redhat.com>
38470 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
38471 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
38472 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
38473 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
38474 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38475 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
38476 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
38477 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
38478 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
38479 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
38480 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
38481 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
38482 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38483 * math/ftestexcept.c (fetestexcept): Likewise.
38484 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
38485 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
38486 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
38487 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
38488 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
38489 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
38490 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38492 2010-10-11 Ulrich Drepper <drepper@gmail.com>
38495 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
38498 2010-10-06 Ulrich Drepper <drepper@gmail.com>
38500 * string/bug-strstr1.c: New file.
38501 * string/Makefile: Add rules to build and run bug-strstr1.
38503 2010-10-05 Eric Blake <eblake@redhat.com>
38506 * string/str-two-way.h (two_way_long_needle): Always clear memory
38507 when skipping input due to the shift table.
38509 2010-10-03 Ulrich Drepper <drepper@gmail.com>
38512 * malloc/mcheck.c: Handle large requests.
38515 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
38516 for strncmp and strncasecmp.
38517 * string/stratcliff.c: Add tests for strcmp and strncmp.
38518 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
38520 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38522 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
38525 2010-09-30 Andreas Jaeger <aj@suse.de>
38527 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
38528 (CGROUP_SUPER_MAGIC): Define.
38529 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38530 Handle btrfs and cgroup file systems.
38531 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38534 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
38536 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
38537 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
38539 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38542 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
38543 trying to locate the ELF header.
38545 2010-09-27 Andreas Schwab <schwab@redhat.com>
38548 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
38549 Mask out sign-bit copies when constructing f_fsid.
38551 2010-09-24 Petr Baudis <pasky@suse.cz>
38553 * debug/stack_chk_fail_local.c: Add missing licence exception.
38554 * debug/warning-nop.c: Likewise.
38556 2010-09-15 Joseph Myers <joseph@codesourcery.com>
38558 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
38559 implementing getdents64 using getdents syscall, set d_type if
38560 __ASSUME_GETDENTS32_D_TYPE.
38562 2010-09-16 Andreas Schwab <schwab@redhat.com>
38564 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
38565 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
38567 2010-09-21 Ulrich Drepper <drepper@redhat.com>
38570 * posix/unistd.h: Undo change of feature selection for ftruncate from
38573 2010-09-20 Ulrich Drepper <drepper@redhat.com>
38575 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
38578 2010-09-20 Andreas Schwab <schwab@redhat.com>
38580 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
38582 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38584 2010-09-14 Andreas Schwab <schwab@redhat.com>
38586 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
38587 variables after CHECK_SP call.
38588 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
38590 2010-09-13 Andreas Schwab <schwab@redhat.com>
38591 Ulrich Drepper <drepper@redhat.com>
38593 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
38594 re-relocationg ld.so.
38595 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
38596 _dl_init_paths call.
38597 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
38600 2010-09-14 Ulrich Drepper <drepper@redhat.com>
38602 * resolv/res_init.c (__res_vinit): Count the default server we added.
38604 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
38605 Ulrich Drepper <drepper@redhat.com>
38608 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38609 (____longjmp_chk): Use %ebx for saving value across system call.
38612 2010-09-06 Andreas Schwab <schwab@redhat.com>
38614 * manual/Makefile: Don't mix pattern rules with normal rules.
38616 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
38618 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
38620 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
38621 * libio/iofopncook.c (_IO_cookie_init): Likewise.
38622 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
38623 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
38624 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38627 2010-09-04 Ulrich Drepper <drepper@redhat.com>
38630 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
38631 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
38633 2010-09-02 Ulrich Drepper <drepper@redhat.com>
38635 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
38636 * sysdeps/x86_64/addmul_1.S: Likewise.
38637 * sysdeps/x86_64/lshift.S: Likewise.
38638 * sysdeps/x86_64/mul_1.S: Likewise.
38639 * sysdeps/x86_64/rshift.S: Likewise.
38640 * sysdeps/x86_64/sub_n.S: Likewise.
38641 * sysdeps/x86_64/submul_1.S: Likewise.
38643 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
38645 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
38646 Define __sched_param instead of SCHED_* and sched_param when
38647 <bits/sched.h> is included with __need_schedparam defined.
38648 * bits/sched.h [__need_schedparam]
38649 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
38650 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
38651 (__defined_schedparam): Define to 1.
38652 (__sched_param): New structure, identical to sched_param.
38653 (__need_schedparam): Undefine.
38655 2010-08-31 Mike Frysinger <vapier@gentoo.org>
38657 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
38658 (epoll_create1): Declare.
38660 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
38662 2010-08-31 Andreas Schwab <schwab@redhat.com>
38665 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
38666 shifting retval into place.
38668 2010-09-01 Ulrich Drepper <drepper@redhat.com>
38670 * nis/rpcsvc/nis.h: Update copyright notice.
38671 * nis/rpcsvc/nis.x: Likewise.
38672 * nis/rpcsvc/nis_callback.h: Likewise.
38673 * nis/rpcsvc/nis_callback.x: Likewise.
38674 * nis/rpcsvc/nis_object.x: Likewise.
38675 * nis/rpcsvc/nis_tags.h: Likewise.
38676 * nis/rpcsvc/yp.h: Likewise.
38677 * nis/rpcsvc/yp.x: Likewise.
38678 * nis/rpcsvc/ypupd.h: Likewise.
38679 * nis/yp_xdr.c: Likewise.
38680 * nis/ypupdate_xdr.c: Likewise.
38682 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
38683 mainly the body of pmap_getport. Add parameters to specify timeouts.
38684 (pmap_getport): Use __libc_rpc_getport.
38685 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
38686 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
38687 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
38689 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
38691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
38694 2010-08-27 Roland McGrath <roland@redhat.com>
38696 * sysdeps/i386/i686/multiarch/Makefile
38697 (CFLAGS-varshift.c): New variable.
38699 2010-08-27 Ulrich Drepper <drepper@redhat.com>
38701 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
38702 * sysdeps/i386/i686/multiarch/varshift.c: New file.
38704 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
38706 * sysdeps/x86_64/strlen.S: Minimal code improvement.
38708 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
38710 * sysdeps/x86_64/strlen.S: Unroll the loop.
38711 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38712 strlen-sse2 strlen-sse2-bsf.
38713 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
38714 __strlen_no_bsf if bit_Slow_BSF is set.
38715 (__strlen_sse42): Removed.
38716 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
38717 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
38719 2010-08-25 Roland McGrath <roland@redhat.com>
38721 * sysdeps/x86_64/multiarch/varshift.S: File removed.
38722 * sysdeps/x86_64/multiarch/varshift.c: New file.
38723 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38724 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38725 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38726 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38728 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
38730 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38731 strlen-sse2 strlen-sse2-bsf.
38732 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38733 __strlen_sse2_bsf if bit_Slow_BSF is unset.
38734 (__strlen_sse2): Removed.
38735 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38736 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38737 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38738 bit_Slow_BSF for Atom.
38739 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38740 (index_Slow_BSF): Define.
38741 (HAS_SLOW_BSF): Define.
38743 2010-08-25 Ulrich Drepper <drepper@redhat.com>
38746 * resolv/res_init.c (__res_vinit): When no server address at all
38747 is given default to loopback.
38749 2010-08-24 Roland McGrath <roland@redhat.com>
38751 * configure.in: Remove config-name.h generation.
38752 * configure: Regenerated.
38753 * config-name.in: File removed.
38754 * scripts/config-uname.sh: New file.
38755 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38756 ($(objdir)config-name.h): New target.
38758 * sunrpc/rpc_parse.h: Avoid nested comment.
38760 2010-08-24 Richard Henderson <rth@redhat.com>
38761 Ulrich Drepper <drepper@redhat.com>
38762 H.J. Lu <hongjiu.lu@intel.com>
38764 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38765 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38766 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38767 Replace _mm_srli_si128 with __m128i_shift_right. Replace
38768 _mm_alignr_epi8 with _mm_loadu_si128.
38769 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38770 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38771 (__m128i_shift_right): Removed.
38772 * sysdeps/i386/i686/multiarch/varshift.h: New file.
38773 * sysdeps/i386/i686/multiarch/varshift.S: New file.
38774 * sysdeps/x86_64/multiarch/varshift.h: New file.
38775 * sysdeps/x86_64/multiarch/varshift.S: New file.
38777 2010-08-21 Mike Frysinger <vapier@gentoo.org>
38779 * configure.in: Move assembler checks to before sysdep dir checking.
38781 2010-08-20 Petr Baudis <pasky@suse.cz>
38783 * LICENSES: Sync the sunrpc license.
38785 2010-08-19 Ulrich Drepper <drepper@redhat.com>
38787 * sunrpc/auth_des.c: Update copyright notice once again.
38788 * sunrpc/auth_none.c: Likewise.
38789 * sunrpc/auth_unix.c: Likewise.
38790 * sunrpc/authdes_prot.c: Likewise.
38791 * sunrpc/authuxprot.c: Likewise.
38792 * sunrpc/bindrsvprt.c: Likewise.
38793 * sunrpc/clnt_gen.c: Likewise.
38794 * sunrpc/clnt_perr.c: Likewise.
38795 * sunrpc/clnt_raw.c: Likewise.
38796 * sunrpc/clnt_simp.c: Likewise.
38797 * sunrpc/clnt_tcp.c: Likewise.
38798 * sunrpc/clnt_udp.c: Likewise.
38799 * sunrpc/clnt_unix.c: Likewise.
38800 * sunrpc/des_crypt.c: Likewise.
38801 * sunrpc/des_soft.c: Likewise.
38802 * sunrpc/get_myaddr.c: Likewise.
38803 * sunrpc/getrpcport.c: Likewise.
38804 * sunrpc/key_call.c: Likewise.
38805 * sunrpc/key_prot.c: Likewise.
38806 * sunrpc/openchild.c: Likewise.
38807 * sunrpc/pm_getmaps.c: Likewise.
38808 * sunrpc/pm_getport.c: Likewise.
38809 * sunrpc/pmap_clnt.c: Likewise.
38810 * sunrpc/pmap_prot.c: Likewise.
38811 * sunrpc/pmap_prot2.c: Likewise.
38812 * sunrpc/pmap_rmt.c: Likewise.
38813 * sunrpc/rpc/auth.h: Likewise.
38814 * sunrpc/rpc/auth_unix.h: Likewise.
38815 * sunrpc/rpc/clnt.h: Likewise.
38816 * sunrpc/rpc/des_crypt.h: Likewise.
38817 * sunrpc/rpc/key_prot.h: Likewise.
38818 * sunrpc/rpc/netdb.h: Likewise.
38819 * sunrpc/rpc/pmap_clnt.h: Likewise.
38820 * sunrpc/rpc/pmap_prot.h: Likewise.
38821 * sunrpc/rpc/pmap_rmt.h: Likewise.
38822 * sunrpc/rpc/rpc.h: Likewise.
38823 * sunrpc/rpc/rpc_des.h: Likewise.
38824 * sunrpc/rpc/rpc_msg.h: Likewise.
38825 * sunrpc/rpc/svc.h: Likewise.
38826 * sunrpc/rpc/svc_auth.h: Likewise.
38827 * sunrpc/rpc/types.h: Likewise.
38828 * sunrpc/rpc/xdr.h: Likewise.
38829 * sunrpc/rpc_clntout.c: Likewise.
38830 * sunrpc/rpc_cmsg.c: Likewise.
38831 * sunrpc/rpc_common.c: Likewise.
38832 * sunrpc/rpc_cout.c: Likewise.
38833 * sunrpc/rpc_dtable.c: Likewise.
38834 * sunrpc/rpc_hout.c: Likewise.
38835 * sunrpc/rpc_main.c: Likewise.
38836 * sunrpc/rpc_parse.c: Likewise.
38837 * sunrpc/rpc_parse.h: Likewise.
38838 * sunrpc/rpc_prot.c: Likewise.
38839 * sunrpc/rpc_sample.c: Likewise.
38840 * sunrpc/rpc_scan.c: Likewise.
38841 * sunrpc/rpc_scan.h: Likewise.
38842 * sunrpc/rpc_svcout.c: Likewise.
38843 * sunrpc/rpc_tblout.c: Likewise.
38844 * sunrpc/rpc_util.c: Likewise.
38845 * sunrpc/rpc_util.h: Likewise.
38846 * sunrpc/rpcinfo.c: Likewise.
38847 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38848 * sunrpc/rpcsvc/key_prot.x: Likewise.
38849 * sunrpc/rpcsvc/klm_prot.x: Likewise.
38850 * sunrpc/rpcsvc/mount.x: Likewise.
38851 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38852 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38853 * sunrpc/rpcsvc/rex.x: Likewise.
38854 * sunrpc/rpcsvc/rstat.x: Likewise.
38855 * sunrpc/rpcsvc/rusers.x: Likewise.
38856 * sunrpc/rpcsvc/sm_inter.x: Likewise.
38857 * sunrpc/rpcsvc/spray.x: Likewise.
38858 * sunrpc/rpcsvc/yppasswd.x: Likewise.
38859 * sunrpc/rtime.c: Likewise.
38860 * sunrpc/svc.c: Likewise.
38861 * sunrpc/svc_auth.c: Likewise.
38862 * sunrpc/svc_authux.c: Likewise.
38863 * sunrpc/svc_raw.c: Likewise.
38864 * sunrpc/svc_run.c: Likewise.
38865 * sunrpc/svc_simple.c: Likewise.
38866 * sunrpc/svc_tcp.c: Likewise.
38867 * sunrpc/svc_udp.c: Likewise.
38868 * sunrpc/svc_unix.c: Likewise.
38869 * sunrpc/svcauth_des.c: Likewise.
38870 * sunrpc/xcrypt.c: Likewise.
38871 * sunrpc/xdr.c: Likewise.
38872 * sunrpc/xdr_array.c: Likewise.
38873 * sunrpc/xdr_float.c: Likewise.
38874 * sunrpc/xdr_mem.c: Likewise.
38875 * sunrpc/xdr_rec.c: Likewise.
38876 * sunrpc/xdr_ref.c: Likewise.
38877 * sunrpc/xdr_sizeof.c: Likewise.
38878 * sunrpc/xdr_stdio.c: Likewise.
38880 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38883 2010-08-19 Andreas Schwab <schwab@redhat.com>
38885 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38887 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
38889 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38890 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38891 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38892 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38893 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38894 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38895 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38896 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38897 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38898 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38899 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38900 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38901 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38902 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38904 2010-07-26 Anton Blanchard <anton@samba.org>
38906 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38907 * malloc/arena.c (heap_trim): Likewise.
38909 2010-08-16 Ulrich Drepper <drepper@redhat.com>
38911 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38913 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38914 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38916 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
38918 * sysdeps/i386/elf/Makefile: New file.
38920 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38922 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38923 from fanotify_init.
38924 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38925 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38927 2010-08-15 Ulrich Drepper <drepper@redhat.com>
38929 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38931 * sysdeps/multiarch/strcmp.S: Likewise.
38933 2010-08-14 Ulrich Drepper <drepper@redhat.com>
38935 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38936 strncase_l-nonascii.
38937 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38938 Add strncase_l-ssse3.
38939 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38940 * sysdeps/x86_64/strcmp.S: Likewise.
38941 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38942 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38943 * sysdeps/x86_64/strncase.S: New file.
38944 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38945 * sysdeps/x86_64/strncase_l.S: New file.
38946 * string/Makefile (strop-tests): Add strncasecmp.
38947 * string/test-strncasecmp.c: New file.
38949 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38952 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38953 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38955 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38957 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38959 2010-08-12 Ulrich Drepper <drepper@redhat.com>
38961 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38962 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38963 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38965 2010-05-01 Alan Modra <amodra@gmail.com>
38967 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38968 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38969 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38970 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38971 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38972 tidying. Don't tail-call __sigjmp_save for static lib.
38973 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38975 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38976 (CALL_MCOUNT): Add eh info, and nop after bl.
38977 (TAIL_CALL_SYSCALL_ERROR): New macro.
38978 (PSEUDO_RET): Use it.
38979 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38980 Correct save location of integer regs and cr.
38981 (_dl_profile_resolve): Correct cr save location. Delete nops
38982 after bl when SHARED. Reduce cfi size a little by better
38983 placement of cfi directives.
38984 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38985 make a stack frame. Instead use parm save area as a temp.
38986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38987 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
38988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38989 Don't make a stack frame for parent, use parm save area.
38990 Increase child stack frame to 112 bytes. Don't save unused reg,
38991 and adjust reg usage. Set up cfi on error recovery and
38992 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38994 (__makecontext): Add dummy nop after jump to exit.
38995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38996 Use correct parm save area and cr save, reduce stack frame.
38997 Correct cfi for possible PSEUDO_RET frame setup.
38998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38999 Branch to local label emitted by PSEUDO_RET rather than
39002 2010-08-12 Andreas Schwab <schwab@redhat.com>
39005 * locale/programs/locale.c (print_assignment): New function.
39006 (show_locale_vars): Use it.
39008 2010-08-11 Ulrich Drepper <drepper@redhat.com>
39010 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39012 (struct statfs64): Likewise.
39013 (_STATFS_F_FLAGS): Define.
39014 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
39015 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39016 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
39017 (ST_VALID): Define locally.
39018 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
39019 __statvfs_getflags, use the provided value.
39020 * sysdeps/unix/sysv/linux/kernel-features.h: Define
39021 __ASSUME_STATFS_F_FLAGS.
39023 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39025 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39026 Add sys/fanotify.h.
39027 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39028 fanotify_mask for GLIBC_2.13.
39029 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39030 fanotify_init and fanotify_mark.
39031 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39032 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39034 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39036 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39037 prlimit64 for GLIBC_2.13.
39038 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39040 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39043 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39044 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39045 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39046 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
39048 * sysdeps/unix/sysv/linux/prlimit.c: New file.
39051 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39052 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39054 * nss/Makefile: Add rules to build and run tst-nss-test1.
39055 * shlib-versions: Add entry for libnss_test1.
39056 * nss/nss_test1.c: New file.
39057 * nss/tst-nss-test1.c: New file.
39059 * nss/nsswitch.c (__nss_database_custom): Define new variable.
39060 (__nss_configure_lookup): Set appropriate entry in
39061 __nss_configure_lookup to true.
39062 * nss/nsswitch.h: Define enum with indeces of databases in
39063 databases and __nss_database_custom arrays. Declare
39064 __nss_database_custom.
39065 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
39066 to avoid using nscd when custom rules are installed.
39067 * nss/getXXbyYY_r.c: Likewise.
39068 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39070 * nss/nss_files/files-parse.c: Whitespace fixes.
39072 2010-08-09 Ulrich Drepper <drepper@redhat.com>
39075 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
39076 * posix/fnmatch_loop.c: Likewise.
39078 2010-07-17 Andi Kleen <ak@linux.intel.com>
39080 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
39081 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
39082 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
39083 * Versions.def [GLIBC_2.13]: Add.
39085 2010-08-06 Ulrich Drepper <drepper@redhat.com>
39087 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39088 Also fail if tpwd after pwuid call is NULL.
39090 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
39092 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
39093 when converting to ms.
39095 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39097 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
39098 EOPNOTSUPP errors with ENOTTY.
39099 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
39100 EOPNOTSUPP errors with ENOTTY.
39102 2010-07-31 Ulrich Drepper <drepper@redhat.com>
39104 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39105 Add strcasecmp_l-ssse3.
39106 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
39108 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
39109 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
39110 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
39112 2010-07-30 Ulrich Drepper <drepper@redhat.com>
39114 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
39116 * string/Makefile (strop-tests): Add strcasecmp.
39117 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39118 strcasecmp_l-nonascii.
39119 (gen-as-const-headers): Add locale-defines.sym.
39120 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
39121 * sysdeps/x86_64/strcasecmp.S: New file.
39122 * sysdeps/x86_64/strcasecmp_l.S: New file.
39123 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
39124 * sysdeps/x86_64/locale-defines.sym: New file.
39125 * string/test-strcasecmp.c: New file.
39127 * string/test-strcasestr.c: Test both ends of the range of characters.
39128 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
39130 2010-07-29 Roland McGrath <roland@redhat.com>
39133 * manual/locale.texi (Yes-or-No Questions): Fix example code.
39135 2010-07-27 Ulrich Drepper <drepper@redhat.com>
39137 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
39140 2010-07-27 Andreas Schwab <schwab@redhat.com>
39142 * manual/memory.texi (Malloc Tunable Parameters): Document
39145 2010-07-26 Roland McGrath <roland@redhat.com>
39148 * configure.in (-fgnu89-inline check): Set and substitute
39149 gnu89_inline, not libc_cv_gnu89_inline.
39150 * configure: Regenerated.
39151 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
39153 2010-07-26 Ulrich Drepper <drepper@redhat.com>
39155 * string/test-strnlen.c: New file.
39156 * string/Makefile (strop-tests): Add strnlen.
39157 * string/tester.c (test_strnlen): Add a few more test cases.
39158 * string/tst-strlen.c: Better error reporting.
39160 * sysdeps/x86_64/strnlen.S: New file.
39162 2010-07-24 Ulrich Drepper <drepper@redhat.com>
39164 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
39165 lower-latency instructions.
39167 2010-07-23 Ulrich Drepper <drepper@redhat.com>
39169 * string/test-strcasestr.c: New file.
39170 * string/test-strstr.c: New file.
39171 * string/Makefile (strop-tests): Add strstr and strcasestr.
39172 * string/str-two-way.h: Don't undefine MAX.
39173 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
39175 2010-07-21 Andreas Schwab <schwab@redhat.com>
39177 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39178 strcasestr-nonascii.
39179 (CFLAGS-strcasestr-nonascii.c): Define.
39180 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
39181 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
39182 Remove unused attribute.
39184 2010-07-20 Roland McGrath <roland@redhat.com>
39186 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
39187 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
39188 ld.so.cache was broken. With it, there is no way to disable dsocaps
39189 like LD_HWCAP_MASK can disable hwcaps.
39191 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39193 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
39195 2010-07-16 Ulrich Drepper <drepper@redhat.com>
39197 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
39198 call in strcasestr.
39199 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
39200 __strcasestr_sse42_nonascii.
39201 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
39202 strcasestr-nonascii.c.
39203 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
39205 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
39207 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
39208 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
39209 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
39210 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
39212 2010-07-09 Ulrich Drepper <drepper@redhat.com>
39214 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
39217 2010-07-06 Andreas Schwab <schwab@redhat.com>
39220 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
39223 2010-07-06 Ulrich Drepper <drepper@redhat.com>
39225 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
39226 _PC_PIPE_BUF using F_GETPIPE_SZ.
39228 2010-07-05 Roland McGrath <roland@redhat.com>
39230 * manual/arith.texi (Rounding Functions): Fix rint description
39231 implicit in round description.
39233 2010-07-02 Ulrich Drepper <drepper@redhat.com>
39235 * elf/Makefile: Fix linking for a few tests to make recent linker
39238 2010-06-30 Andreas Schwab <schwab@redhat.com>
39240 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39241 $(common-objpfx)libc_nonshared.a.
39243 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
39245 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
39246 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
39247 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39248 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39249 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
39250 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
39251 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39252 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
39254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
39255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
39256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
39258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
39260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
39261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
39262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
39263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
39265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
39267 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
39268 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
39269 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
39270 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
39271 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
39272 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
39273 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
39274 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
39275 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
39276 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
39277 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
39278 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
39279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
39280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
39281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
39282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
39283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
39284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
39285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
39286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
39287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
39288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
39289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
39290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
39291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
39292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
39294 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
39296 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
39297 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
39298 * string/memmove.c (memmove): Renamed to ...
39299 (MEMMOVE): ...this. Default to memmove.
39300 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
39301 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
39303 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39304 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
39305 mempcpy-ssse3-back memmove-ssse3-back.
39306 * sysdeps/x86_64/multiarch/bcopy.S: New file .
39307 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
39308 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
39309 * sysdeps/x86_64/multiarch/memcpy.S: New file.
39310 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
39311 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
39312 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
39313 * sysdeps/x86_64/multiarch/memmove.c: New file.
39314 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
39315 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
39316 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
39317 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
39318 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
39319 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
39321 (index_Fast_Copy_Backward): Define.
39322 (HAS_ARCH_FEATURE): Define.
39323 (HAS_FAST_REP_STRING): Define.
39324 (HAS_FAST_COPY_BACKWARD): Define.
39326 2010-06-21 Andreas Schwab <schwab@redhat.com>
39328 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39329 Restore proper fallback handling.
39331 2010-06-19 Ulrich Drepper <drepper@redhat.com>
39334 * posix/group_member.c (__group_member): Correct checking loop.
39336 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
39337 OOM in getpwuid_r correctly. Return error number when the caller
39338 should return, otherwise -1.
39339 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
39340 call returning > 0 value.
39341 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
39343 2010-06-07 Andreas Schwab <schwab@redhat.com>
39345 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
39346 libc_nonshared.a from targets in modules-names.
39348 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
39350 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
39353 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
39355 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
39356 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
39357 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
39358 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
39360 2010-06-02 Andreas Schwab <schwab@redhat.com>
39362 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
39364 2010-06-14 Ulrich Drepper <drepper@redhat.com>
39366 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
39368 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39369 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39370 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39371 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39372 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39373 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
39375 2010-06-14 Roland McGrath <roland@redhat.com>
39377 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
39379 2010-06-07 Jakub Jelinek <jakub@redhat.com>
39381 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
39382 __REDIRECT followed by __THROW.
39383 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
39384 * posix/getopt.h (getopt): Likewise.
39386 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39388 * hurd/lookup-at.c (__file_name_lookup_at): Accept
39389 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
39390 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
39392 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
39393 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
39395 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
39397 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
39399 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
39402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39403 Properly check family and model.
39405 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
39407 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
39409 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
39411 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
39413 2010-05-21 Ulrich Drepper <drepper@redhat.com>
39415 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
39418 2010-05-19 Andreas Schwab <schwab@redhat.com>
39420 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
39423 2010-05-21 Andreas Schwab <schwab@redhat.com>
39425 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
39426 and internal_recvmmsg.
39427 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
39428 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
39429 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
39430 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
39432 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
39433 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39434 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39436 2010-05-20 Andreas Schwab <schwab@redhat.com>
39438 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
39440 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
39442 POWER7 optimizations.
39443 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
39444 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
39446 2010-05-19 Ulrich Drepper <drepper@redhat.com>
39448 * version.h: Update for 2.13 development version.
39450 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
39452 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
39453 exceptions. Return 0.
39455 2010-05-07 Roland McGrath <roland@redhat.com>
39457 * elf/ldconfig.c (main): Add a const.
39459 2010-05-06 Ulrich Drepper <drepper@redhat.com>
39461 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
39462 (args_options): Add no-idn option.
39463 (ahosts_keys_int): Add idn_flags to ai_flags.
39464 (parse_option): Handle 'i' option to clear idn_flags.
39466 * malloc/malloc.c (_int_free): Possible race in the most recently
39467 added check. Only act on the data if no current modification
39470 See ChangeLog.17 for earlier changes.